[Bug tree-optimization/40582] [4.5 Regression] ice for non-trivial conversion at assignment with -O2

2009-06-30 Thread jamborm at gcc dot gnu dot org
--- Comment #8 from jamborm at gcc dot gnu dot org 2009-06-30 11:39 --- As you may have noticed, I changed the testcase a little bit so that it ICEs as my i386 desktop too. A freshly checked out trunk no longer does. So I believe this is indeed fixed. -- jamborm at gcc dot gnu

[Bug tree-optimization/40582] [4.5 Regression] ice for non-trivial conversion at assignment with -O2

2009-06-30 Thread hjl at gcc dot gnu dot org
--- Comment #9 from hjl at gcc dot gnu dot org 2009-06-30 13:56 --- Subject: Bug 40582 Author: hjl Date: Tue Jun 30 13:55:43 2009 New Revision: 149097 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=149097 Log: 2009-06-30 H.J. Lu hongjiu...@intel.com Backport from

[Bug tree-optimization/40582] [4.5 Regression] ice for non-trivial conversion at assignment with -O2

2009-06-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-06-29 11:10 --- Confirmed. -fno-tree-sra fixes this. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/40582] [4.5 Regression] ice for non-trivial conversion at assignment with -O2

2009-06-29 Thread jamborm at gcc dot gnu dot org
--- Comment #3 from jamborm at gcc dot gnu dot org 2009-06-29 11:16 --- OK, I'll have a look at it after I am done with PR 40554. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/40582] [4.5 Regression] ice for non-trivial conversion at assignment with -O2

2009-06-29 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2009-06-29 12:04 --- Reduced tescase (crashes with -O): = struct A { void* q; int i; }; union U { char* p; struct A a; }; struct A foo(union U u) { struct A a = { 0, 0 }; a = u.a;

[Bug tree-optimization/40582] [4.5 Regression] ice for non-trivial conversion at assignment with -O2

2009-06-29 Thread jamborm at gcc dot gnu dot org
--- Comment #5 from jamborm at gcc dot gnu dot org 2009-06-29 17:11 --- Created an attachment (id=18094) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18094action=view) Fix It turns out that build_ref_for_offset apparently needs to check for full type compatibility and node