public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/46322] New: ICE: RTL check: expected code 'const_int', have 'reg' in dbxout_parms, at dbxout.c:3498 with -gstabs
@ 2010-11-05 19:40 zsojka at seznam dot cz
2021-08-13 20:55 ` [Bug debug/46322] " pinskia at gcc dot gnu.org
2022-12-01 1:31 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2010-11-05 19:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46322
Summary: ICE: RTL check: expected code 'const_int', have 'reg'
in dbxout_parms, at dbxout.c:3498 with -gstabs
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
----- testcase.c -----
void foo (int i)
{
char c[0x100000000UL];
}
----------------------
Compiler output:
$ gcc -gstabs testcase.c
testcase.c: In function 'foo':
testcase.c:4:1: internal compiler error: RTL check: expected code 'const_int',
have 'reg' in dbxout_parms, at dbxout.c:3498
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions (all with RTL checking):
r166306 - crash
4.5 r165781 - crash
4.4 r165754 - crash
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug debug/46322] ICE: RTL check: expected code 'const_int', have 'reg' in dbxout_parms, at dbxout.c:3498 with -gstabs
2010-11-05 19:40 [Bug debug/46322] New: ICE: RTL check: expected code 'const_int', have 'reg' in dbxout_parms, at dbxout.c:3498 with -gstabs zsojka at seznam dot cz
@ 2021-08-13 20:55 ` pinskia at gcc dot gnu.org
2022-12-01 1:31 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-13 20:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46322
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-08-13
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is still valid:
/* DECL_RTL looks like (MEM (PLUS (REG...) (CONST_INT...))),
in which case we want the value of that CONST_INT,
or (MEM (REG ...)),
in which case we use a value of zero. */
if (!REG_P (XEXP (DECL_RTL (parms), 0)))
number = INTVAL (XEXP (XEXP (DECL_RTL (parms), 0), 1));
else
number = 0;
I heard a rumor that dbxout was going to be removed either in GCC 12 or 13.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug debug/46322] ICE: RTL check: expected code 'const_int', have 'reg' in dbxout_parms, at dbxout.c:3498 with -gstabs
2010-11-05 19:40 [Bug debug/46322] New: ICE: RTL check: expected code 'const_int', have 'reg' in dbxout_parms, at dbxout.c:3498 with -gstabs zsojka at seznam dot cz
2021-08-13 20:55 ` [Bug debug/46322] " pinskia at gcc dot gnu.org
@ 2022-12-01 1:31 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-01 1:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46322
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
Target Milestone|--- |13.0
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Stabs debugging support was removed in GCC 13 by r13-2361-g7e0db0cdf01e9c so
closing as won't fix.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-01 1:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-05 19:40 [Bug debug/46322] New: ICE: RTL check: expected code 'const_int', have 'reg' in dbxout_parms, at dbxout.c:3498 with -gstabs zsojka at seznam dot cz
2021-08-13 20:55 ` [Bug debug/46322] " pinskia at gcc dot gnu.org
2022-12-01 1:31 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).