public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/17606] New: [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 @ 2004-09-22 11:10 micis at gmx dot de 2004-09-22 11:11 ` [Bug tree-optimization/17606] " micis at gmx dot de ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: micis at gmx dot de @ 2004-09-22 11:10 UTC (permalink / raw) To: gcc-bugs I compiled snapshot gcc-4.0-20040919.tar.bz2 and tried that compiler at our application. I get an ICE which occurs only at -O1 and above, not at -O0. There are similar reports in bugzilla: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13186 is marked resolved/fixed http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13674 is marked new with a comment from Andrew Pinski 2004-06-11: Hmm, I can no longer reproduce it with the testcases provided but I know that this is still a bug. I can't judge whether this bug is a duplicate of 13674 or not, therefore I enter it as a new bug report. Michael Cieslinski /usr/local/gcc40/bin/g++40 -c -g -O2 -mcpu=G5 -maltivec -mabi=altivec -o gccbug.o gccbug.ii -v Reading specs from /usr/local/gcc40/lib/gcc/powerpc-unknown-linux- gnu/4.0.0/specs Configured with: ../gcc40/configure --prefix=/usr/local/gcc40 --program- suffix=40 --with-cpu=G5 --enable-altivec --enable-languages=c,c++ --enable- checking Thread model: posix gcc version 4.0.0 20040919 (experimental) /usr/local/gcc40/libexec/gcc/powerpc-unknown-linux-gnu/4.0.0/cc1plus - fpreprocessed gccbug.ii -quiet -dumpbase gccbug.ii -mcpu=G5 -maltivec - mabi=altivec -auxbase-strip gccbug.o -g -O2 -version -o /tmp/ccCc3LJn.s GNU C++ version 4.0.0 20040919 (experimental) (powerpc-unknown-linux-gnu) compiled by GNU C version 4.0.0 20040919 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 gccbug.cpp: In function `int WrkDP(short unsigned int (*)[123], short unsigned int (*)[123], short unsigned int (*)[123], unsigned char (*)[123], IntPair, AParT, int)': gccbug.cpp:162: error: insn does not satisfy its constraints: (insn 1136 1090 1135 0 (set (reg:DI 32 0) (const_int 0 [0x0])) 276 {*movdi_internal32} (nil) (nil)) gccbug.cpp:162: internal compiler error: in reload_cse_simplify_operands, at postreload.c:391 -- Summary: [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: micis at gmx dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-linux-gnu GCC host triplet: powerpc-linux-gnu GCC target triplet: powerpc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17606 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/17606] [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 2004-09-22 11:10 [Bug tree-optimization/17606] New: [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 micis at gmx dot de @ 2004-09-22 11:11 ` micis at gmx dot de 2004-09-22 12:01 ` [Bug rtl-optimization/17606] " pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: micis at gmx dot de @ 2004-09-22 11:11 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From micis at gmx dot de 2004-09-22 11:11 ------- Created an attachment (id=7195) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7195&action=view) mostly reduced preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17606 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug rtl-optimization/17606] [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 2004-09-22 11:10 [Bug tree-optimization/17606] New: [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 micis at gmx dot de 2004-09-22 11:11 ` [Bug tree-optimization/17606] " micis at gmx dot de @ 2004-09-22 12:01 ` pinskia at gcc dot gnu dot org 2004-09-22 17:13 ` [Bug target/17606] " pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-09-22 12:01 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |rtl-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17606 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/17606] [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 2004-09-22 11:10 [Bug tree-optimization/17606] New: [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 micis at gmx dot de 2004-09-22 11:11 ` [Bug tree-optimization/17606] " micis at gmx dot de 2004-09-22 12:01 ` [Bug rtl-optimization/17606] " pinskia at gcc dot gnu dot org @ 2004-09-22 17:13 ` pinskia at gcc dot gnu dot org 2004-09-22 17:47 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-09-22 17:13 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-22 17:13 ------- Confirmed, here is the reduced testcase, any further the ICE goes away: struct IntPair { int Y, X; }; struct FATyp { float *pic; int dx, dy, pitch; FATyp (float *Pic, int DY, int DX, int Pitch); }; int Func1 (FATyp& Weight, double Scale); int Func2 (FATyp& Weight, unsigned char Arr04, IntPair Mid); int Func3 (FATyp& Data, unsigned short Pic, IntPair Mid); int WrkDP (IntPair Pos, float ParA2, int DbgLvl) { float Dat01a [31 * 32]; FATyp TplR (Dat01a, 0, 0, 32); float Dat01b [31 * 32]; FATyp TplG (Dat01b, 0, 0, 32); float Dat01c [31 * 32]; FATyp TplB (Dat01c, 0, 0, 32); float Dat01d [31 * 32]; FATyp TplW (Dat01d, 0, 0, 32); float Dat02a [47 * 48]; FATyp SrchR (Dat02a, 0, 0, 48); float Dat02b [47 * 48]; FATyp SrchG (Dat02b, 0, 0, 48); Func3 (TplR, 1, Pos); Func3 (TplG, 1, Pos); Func3 (TplB, 1, Pos); Func1 (TplW, 1.0); Func2 (TplW, 1, Pos); Func3 (SrchR, 1, Pos); Func3 (SrchG, 1, Pos); return 0; } -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|rtl-optimization |target Ever Confirmed| |1 Keywords| |ice-on-valid-code Last reconfirmed|0000-00-00 00:00:00 |2004-09-22 17:13:22 date| | Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17606 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/17606] [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 2004-09-22 11:10 [Bug tree-optimization/17606] New: [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 micis at gmx dot de ` (2 preceding siblings ...) 2004-09-22 17:13 ` [Bug target/17606] " pinskia at gcc dot gnu dot org @ 2004-09-22 17:47 ` pinskia at gcc dot gnu dot org 2004-11-09 5:57 ` pinskia at gcc dot gnu dot org 2004-11-24 6:05 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-09-22 17:47 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-22 17:47 ------- This is a case where movdi_internal32 is lying to reload. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17606 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/17606] [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 2004-09-22 11:10 [Bug tree-optimization/17606] New: [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 micis at gmx dot de ` (3 preceding siblings ...) 2004-09-22 17:47 ` pinskia at gcc dot gnu dot org @ 2004-11-09 5:57 ` pinskia at gcc dot gnu dot org 2004-11-24 6:05 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-11-09 5:57 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-09 05:57 ------- Note my reduced testcase no longer fails but the orginal testcase still does. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17606 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/17606] [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 2004-09-22 11:10 [Bug tree-optimization/17606] New: [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 micis at gmx dot de ` (4 preceding siblings ...) 2004-11-09 5:57 ` pinskia at gcc dot gnu dot org @ 2004-11-24 6:05 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-11-24 6:05 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-24 06:05 ------- This is a dup of bug 18641, aka the patch which I mentioned I reverted fixes the problem also. *** This bug has been marked as a duplicate of 18641 *** -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17606 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-11-24 6:05 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-09-22 11:10 [Bug tree-optimization/17606] New: [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391 micis at gmx dot de 2004-09-22 11:11 ` [Bug tree-optimization/17606] " micis at gmx dot de 2004-09-22 12:01 ` [Bug rtl-optimization/17606] " pinskia at gcc dot gnu dot org 2004-09-22 17:13 ` [Bug target/17606] " pinskia at gcc dot gnu dot org 2004-09-22 17:47 ` pinskia at gcc dot gnu dot org 2004-11-09 5:57 ` pinskia at gcc dot gnu dot org 2004-11-24 6:05 ` pinskia 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).