public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/19084] New: ICE: internal consistency failure
@ 2004-12-19 21:02 aj at gcc dot gnu dot org
2004-12-19 21:03 ` [Bug middle-end/19084] " aj at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: aj at gcc dot gnu dot org @ 2004-12-19 21:02 UTC (permalink / raw)
To: gcc-bugs
Compiling glibc with "gcc -m32" on Linux/AMD64 gives me the following
ICE with current GCC CVS:
/opt/gcc/4.0-devel/libexec/gcc/x86_64-suse-linux-gnu/4.0.0/cc1 -fpreprocessed
lcong48_r.i -quiet -dumpbase lcong48_r.c -m32 -march=i686
-mpreferred-stack-boundary=2 -auxbase-strip
/builds/glibc/4.0-linuxthreads-32bit/stdlib/lcong48_r.o-g -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -std=gnu99 -version -o lcong48_r.s
GNU C version 4.0.0 20041219 (experimental) (x86_64-suse-linux-gnu)
compiled by GNU C version 4.0.0 20041219 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
lcong48_r.i: In function '__lcong48_r':
lcong48_r.i:37: fatal error: internal consistency failure
compilation terminated.
gdb shows:
Breakpoint 3, 0x0000002a9569ce20 in exit () from /lib64/tls/libc.so.6
(gdb) bt
#0 0x0000002a9569ce20 in exit () from /lib64/tls/libc.so.6
#1 0x000000000054a805 in diagnostic_action_after_output (context=Variable
"context" is not available.
)
at /cvs/gcc/gcc/diagnostic.c:247
#2 0x000000000054a91d in diagnostic_report_diagnostic (context=0xa851e0,
diagnostic=0x7fbfffe670) at /cvs/gcc/gcc/diagnostic.c:339
#3 0x000000000054abf5 in fatal_error (msgid=Variable "msgid" is not available.
) at /cvs/gcc/gcc/diagnostic.c:484
#4 0x00000000005a257c in verify_local_live_at_start (new_live_at_start=0xb3db90,
bb=0x2a95971c40) at /cvs/gcc/gcc/flow.c:495
#5 0x00000000005a36b0 in update_life_info (blocks=0xb50920,
extent=UPDATE_LIFE_LOCAL, prop_flags=0) at /cvs/gcc/gcc/flow.c:657
#6 0x00000000007faf4e in schedule_insns (dump_file=Variable "dump_file" is not
available.
)
at /cvs/gcc/gcc/sched-rgn.c:2531
#7 0x000000000075dde5 in rest_of_compilation () at /cvs/gcc/gcc/passes.c:681
#8 0x000000000047ba96 in execute_pass_list (pass=0xa7c7a0)
at /cvs/gcc/gcc/tree-optimize.c:525
#9 0x000000000047bd89 in tree_rest_of_compilation (fndecl=0x2a9596b460)
at /cvs/gcc/gcc/tree-optimize.c:661
#10 0x0000000000419b33 in c_expand_body (fndecl=0x2a9596b460)
at /cvs/gcc/gcc/c-decl.c:6412
#11 0x0000000000788a20 in cgraph_expand_function (node=0x2a9596bee0)
at /cvs/gcc/gcc/cgraphunit.c:822
#12 0x000000000078a071 in cgraph_optimize () at /cvs/gcc/gcc/cgraphunit.c:1689
#13 0x0000000000735f51 in toplev_main (argc=Variable "argc" is not available.
) at /cvs/gcc/gcc/toplev.c:1005
#14 0x0000002a9568900d in __libc_start_main () from /lib64/tls/libc.so.6
#15 0x00000000004023ca in _start () at start.S:113
--
Summary: ICE: internal consistency failure
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aj at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19084
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/19084] ICE: internal consistency failure
2004-12-19 21:02 [Bug middle-end/19084] New: ICE: internal consistency failure aj at gcc dot gnu dot org
@ 2004-12-19 21:03 ` aj at gcc dot gnu dot org
2004-12-19 21:07 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aj at gcc dot gnu dot org @ 2004-12-19 21:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From aj at gcc dot gnu dot org 2004-12-19 21:03 -------
Created an attachment (id=7780)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7780&action=view)
Preprocssed and already shortened file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19084
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/19084] ICE: internal consistency failure
2004-12-19 21:02 [Bug middle-end/19084] New: ICE: internal consistency failure aj at gcc dot gnu dot org
2004-12-19 21:03 ` [Bug middle-end/19084] " aj at gcc dot gnu dot org
@ 2004-12-19 21:07 ` pinskia at gcc dot gnu dot org
2005-01-02 10:36 ` aj at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-19 21:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-19 21:07 -------
Hmm, this works for me with a cross to x86_64 from darwin compiled at -O0.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19084
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/19084] ICE: internal consistency failure
2004-12-19 21:02 [Bug middle-end/19084] New: ICE: internal consistency failure aj at gcc dot gnu dot org
2004-12-19 21:03 ` [Bug middle-end/19084] " aj at gcc dot gnu dot org
2004-12-19 21:07 ` pinskia at gcc dot gnu dot org
@ 2005-01-02 10:36 ` aj at gcc dot gnu dot org
2005-01-09 18:53 ` [Bug middle-end/19084] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aj at gcc dot gnu dot org @ 2005-01-02 10:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From aj at gcc dot gnu dot org 2005-01-02 10:36 -------
This still fails with current GCC CVS:
/opt/gcc/4.0-devel/libexec/gcc/x86_64-suse-linux-gnu/4.0.0/cc1-fpreprocessed
t.i -quiet -dumpbase lcong48_r.c -m32 -march=i686
-auxbase-strip /builds/glibc/4.0-linuxthreads-32bit/stdlib/lcong48_r.o -g -O2
-version -o lcong48_r.s
GNU C version 4.0.0 20050101 (experimental) (x86_64-suse-linux-gnu)
compiled by GNU C version 4.0.0 20050101 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
t.i: In function ?__lcong48_r?:
t.i:37: fatal error: internal consistency failure
compilation terminated.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19084
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/19084] [4.0 Regression] ICE: internal consistency failure
2004-12-19 21:02 [Bug middle-end/19084] New: ICE: internal consistency failure aj at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-01-02 10:36 ` aj at gcc dot gnu dot org
@ 2005-01-09 18:53 ` pinskia at gcc dot gnu dot org
2005-01-11 13:54 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-09 18:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-09 18:53 -------
Confirmed, I don't know if this is a regression or not but I am going to assume so as I could not
reproduce this before.
Reduced testcase:
unsigned long long
__lcong48_r (unsigned short param)
{
return ((unsigned long long) param << 32);
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-09 18:53:53
date| |
Summary|ICE: internal consistency |[4.0 Regression] ICE:
|failure |internal consistency failure
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19084
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/19084] [4.0 Regression] ICE: internal consistency failure
2004-12-19 21:02 [Bug middle-end/19084] New: ICE: internal consistency failure aj at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-01-09 18:53 ` [Bug middle-end/19084] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-01-11 13:54 ` pinskia at gcc dot gnu dot org
2005-01-14 10:51 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-11 13:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-11 13:54 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00591.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19084
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/19084] [4.0 Regression] ICE: internal consistency failure
2004-12-19 21:02 [Bug middle-end/19084] New: ICE: internal consistency failure aj at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-01-11 13:54 ` pinskia at gcc dot gnu dot org
@ 2005-01-14 10:51 ` cvs-commit at gcc dot gnu dot org
2005-01-14 13:02 ` pinskia at gcc dot gnu dot org
2005-01-25 12:15 ` cvs-commit at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-14 10:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 10:50 -------
Subject: Bug 19084
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jakub@gcc.gnu.org 2005-01-14 10:50:19
Modified files:
gcc : ChangeLog basic-block.h recog.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: 20050111-1.c
gcc/testsuite/gcc.dg: 20050111-1.c
Log message:
PR middle-end/19084
PR rtl-optimization/19348
* recog.c (peephole2_optimize): Do global life update if some peephole
decides it doesn't need at least one of its inputs and that change
influences liveness at the start of the basic block.
* basic-block.h (EXECUTE_IF_AND_COMPL_IN_REG_SET): Needs 2 REGSET
arguments instead of 1.
* gcc.dg/20050111-1.c: New test.
* gcc.c-torture/execute/20050111-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7119&r2=2.7120
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/basic-block.h.diff?cvsroot=gcc&r1=1.233&r2=1.234
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/recog.c.diff?cvsroot=gcc&r1=1.215&r2=1.216
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4883&r2=1.4884
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20050111-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20050111-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19084
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/19084] [4.0 Regression] ICE: internal consistency failure
2004-12-19 21:02 [Bug middle-end/19084] New: ICE: internal consistency failure aj at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-01-14 10:51 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-14 13:02 ` pinskia at gcc dot gnu dot org
2005-01-25 12:15 ` cvs-commit at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-14 13:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 13:01 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19084
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/19084] [4.0 Regression] ICE: internal consistency failure
2004-12-19 21:02 [Bug middle-end/19084] New: ICE: internal consistency failure aj at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-01-14 13:02 ` pinskia at gcc dot gnu dot org
@ 2005-01-25 12:15 ` cvs-commit at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-25 12:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-25 12:15 -------
Subject: Bug 19084
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-rhl-branch
Changes by: jakub@gcc.gnu.org 2005-01-25 12:15:21
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: 20050111-1.c
gcc/testsuite/gcc.dg: 20050111-1.c
Log message:
PR middle-end/19084
PR rtl-optimization/19348
* gcc.dg/20050111-1.c: New test.
* gcc.c-torture/execute/20050111-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=1.3389.2.170.2.43&r2=1.3389.2.170.2.44
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20050111-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=NONE&r2=1.1.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20050111-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=NONE&r2=1.1.6.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19084
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-01-25 12:15 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-19 21:02 [Bug middle-end/19084] New: ICE: internal consistency failure aj at gcc dot gnu dot org
2004-12-19 21:03 ` [Bug middle-end/19084] " aj at gcc dot gnu dot org
2004-12-19 21:07 ` pinskia at gcc dot gnu dot org
2005-01-02 10:36 ` aj at gcc dot gnu dot org
2005-01-09 18:53 ` [Bug middle-end/19084] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-11 13:54 ` pinskia at gcc dot gnu dot org
2005-01-14 10:51 ` cvs-commit at gcc dot gnu dot org
2005-01-14 13:02 ` pinskia at gcc dot gnu dot org
2005-01-25 12:15 ` cvs-commit at gcc dot gnu dot 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).