------- Comment #14 from av1474 at comtv dot ru 2009-02-02 23:44 -------
(In reply to comment #8)
> Please provide a preprocessed reduced testcase as similar to the original as
> possible.
>
> I think this is not only predicated PHI but our representation of loops may
> also have something to do.
>
I'm not sure whether following warrants a new bug entry so doing it here,
sorry,
if it was inappropriate.
Following code, triggers:
"repro.c:5: warning: 'b' may be used uninitialized in this function"
with 4.3.0 and 4.3.1 on PowerPC when invoked like this:
gcc -c -O -Wuninitialized repro.c
int f (void);
int g (int a)
{
int b;
if (a) b = f ();
asm volatile ("#");
if (a) return b;
return 1;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36296