This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/44932] gcc.dg/uninit-pred-9_b.c fails



------- Comment #1 from davidxl at gcc dot gnu dot org  2010-07-14 04:12 -------

This seems to be specific to powerpc.

Could you attach the dump files with options:

-O2 -Wuninitialized -fdump-tree-cddce2 -fdump-tree-uninit-details

Thanks,

David


(In reply to comment #0)
> Subject testcase fails on powerpc64.
> 
> FAIL: gcc.dg/uninit-pred-9_b.c bogus warning (test for bogus messages, line 24)
> 
> 
> Compiling standalone I see the following:
> 
> pthaugen/work> ~/install/gcc/trunk/bin/gcc -O2 -S -m32 -Wuninitialized
> ~/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
> /home/pthaugen/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/uninit-pred-9_b.c: In
> function 'foo':
> /home/pthaugen/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/uninit-pred-9_b.c:24:11:
> warning: 'v' may be used uninitialized in this function [-Wuninitialized]
> /home/pthaugen/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/uninit-pred-9_b.c: In
> function 'foo_2':
> /home/pthaugen/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/uninit-pred-9_b.c:41:11:
> warning: 'v' may be used uninitialized in this function [-Wuninitialized]
> 


-- 

davidxl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xinliangli at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44932


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]