[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2007-12-11 12:35 --- Can't reproduce any ICE on {x86_64,i686,ppc}-linux with here referenced testcases at various flags (including e.g. -O3 -fno-strict-aliasing -fno-tree-vectorize to make it more similar to the old setup). The #c1

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #18 from rguenth at gcc dot gnu dot org 2007-12-11 13:20 --- The dups also all work. Let's close this as fixed then. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #19 from jakub at gcc dot gnu dot org 2007-12-11 13:41 --- The testcase that was broken longest is #c3, which got fixed by http://gcc.gnu.org/viewcvs?root=gccview=revrev=130222 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30840

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-10-19 Thread janis at gcc dot gnu dot org
--- Comment #16 from janis at gcc dot gnu dot org 2007-10-19 22:14 --- A regression hunt on powerpc-linux using the testcase from comment #3 identified this patch: http://gcc.gnu.org/viewcvs?view=revrev=119502 r119502 | dberlin | 2006-12-04 19:07:05 + (Mon, 04 Dec 2006)

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-08-25 Thread tbm at gcc dot gnu dot org
--- Comment #14 from tbm at gcc dot gnu dot org 2007-08-25 09:37 --- *** Bug 32607 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30840

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-08-25 Thread tbm at gcc dot gnu dot org
--- Comment #15 from tbm at gcc dot gnu dot org 2007-08-25 09:37 --- *** Bug 31926 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30840

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-08-21 Thread reichelt at gcc dot gnu dot org
--- Comment #13 from reichelt at gcc dot gnu dot org 2007-08-21 19:50 --- Here's an even smaller testcase: = int *p; inline int foo(int *q) { if (*q) *q = 0; return *q; } void bar(int *r, int i) { int *s; while (--i) *(s = r) = foo(p);

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-08-20 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2007-08-20 09:18 --- This testcase needs a rereduction, the two reductions here work now. Reducing now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30840

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-08-20 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2007-08-20 11:55 --- Here is a new reduced testcase (compile at -O3 -fno-strict-aliasing): struct rxvt_salloc { char *firstblock; unsigned int firstfree; }; struct line_t { unsigned int *t; unsigned int f; }; struct

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-08-20 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2007-08-20 11:57 --- Here is a new reduced testcase (compile at -O3 -fno-strict-aliasing): One more note, this testcase ICEs with the C front-end now :). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30840

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-08-20 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2007-08-20 12:00 --- You can also now invoke it just with -O1 -ftree-store-ccp :). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30840

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-06-29 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30840

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-06-07 Thread reichelt at gcc dot gnu dot org
--- Comment #8 from reichelt at gcc dot gnu dot org 2007-06-07 21:52 --- The following simplified testcase still crashes on mainline when compiled with -O2: == struct A { int i, *p; A* a; void foo() { if (p) p++; else { if

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-06-06 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-06-07 02:47 --- This testcase works on the trunk on, it was fixed between 20070513 and 20070531. I will check on the other testcase too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30840

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-05-19 Thread tbm at gcc dot gnu dot org
--- Comment #6 from tbm at gcc dot gnu dot org 2007-05-19 09:07 --- *** Bug 31926 has been marked as a duplicate of this bug. *** -- tbm at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-02-19 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-02-19 11:31 --- It seems to be a problem with ssa-edge simulation ordering. We have # SMT.6_95 = VDEF SMT.6_60 # SMT.8_96 = VDEF SMT.8_70 this_22-firstfree = D.2527_46; in particular, adding only the first output to simulate

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-02-19 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-02-19 12:56 --- We can also simply check before the fact like Index: tree-ssa-ccp.c === *** tree-ssa-ccp.c (revision 122127) --- tree-ssa-ccp.c (working

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-02-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-02-19 06:53 --- Confirmed, reduced testcase as far as I can do it: typedef struct rxvt_term *rxvt_t; struct rxvt_salloc { struct chain { struct chain *next; }; chain *firstline;