------- Comment #2 from zsojka at seznam dot cz 2010-06-08 14:41 -------
Created an attachment (id=20867)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20867&action=view)
different testcase
This testcase fails with similiar message:
$ gcc -O1 -fipa-struct-reorg -fwhole-program pr44336-2.c
pr44336-2.c: In function 'main':
pr44336-2.c:11:1: error: SSA_NAME_DEF_STMT is wrong
Expected definition statement:
# .MEM_4 = VDEF <.MEM_3>
D.2721_1 = foo (s.0);
Actual definition statement:
# .MEM_3 = VDEF <.MEM_2(D)>
D.2721_1 = foo (s);
pr44336-2.c:11:1: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Fails in 4.4 r158133 and 4.5 r158978 too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44336