[Bug tree-optimization/45085] incorrect -Wuninitialized warning

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-07-27 12:42 --- Simplified testcase for -m32 -O2 -Wuninitialized: struct S { char *s1; long s2; }; struct T { int t1; long t2; long t3; }; extern int fn2 (void); extern int fn3 (struct T); extern struct T fn4 (); extern int fn5

[Bug tree-optimization/45085] incorrect -Wuninitialized warning

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-07-27 12:58 --- Seems to be caused by partial inlining. fnsplit splits off the: q.0D.2030_3 = qD.1248; fn7 (q.0D.2030_3); part of fn9 into fn9.part.0: fn9.part.0 () { intD.0 D.2054; voidD.32 * q.0D.2053; struct T tD.2052;

[Bug tree-optimization/45085] incorrect -Wuninitialized warning

2010-07-26 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2010-07-26 16:12 --- Created an attachment (id=21319) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21319action=view) compressed .i file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45085