public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/44932] New: gcc.dg/uninit-pred-9_b.c fails
@ 2010-07-13 21:41 pthaugen at gcc dot gnu dot org
2010-07-14 4:13 ` [Bug testsuite/44932] " davidxl at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pthaugen at gcc dot gnu dot org @ 2010-07-13 21:41 UTC (permalink / raw)
To: gcc-bugs
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]
--
Summary: gcc.dg/uninit-pred-9_b.c fails
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pthaugen at gcc dot gnu dot org
GCC build triplet: powerpc64-unknown-linux-gnu
GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44932
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/44932] gcc.dg/uninit-pred-9_b.c fails
2010-07-13 21:41 [Bug testsuite/44932] New: gcc.dg/uninit-pred-9_b.c fails pthaugen at gcc dot gnu dot org
@ 2010-07-14 4:13 ` davidxl at gcc dot gnu dot org
2010-07-14 15:11 ` pthaugen at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: davidxl at gcc dot gnu dot org @ 2010-07-14 4:13 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/44932] gcc.dg/uninit-pred-9_b.c fails
2010-07-13 21:41 [Bug testsuite/44932] New: gcc.dg/uninit-pred-9_b.c fails pthaugen at gcc dot gnu dot org
2010-07-14 4:13 ` [Bug testsuite/44932] " davidxl at gcc dot gnu dot org
@ 2010-07-14 15:11 ` pthaugen at gcc dot gnu dot org
2010-07-14 15:12 ` pthaugen at gcc dot gnu dot org
2010-07-19 16:34 ` davidxl at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pthaugen at gcc dot gnu dot org @ 2010-07-14 15:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pthaugen at gcc dot gnu dot org 2010-07-14 15:11 -------
Created an attachment (id=21200)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21200&action=view)
dump file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44932
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/44932] gcc.dg/uninit-pred-9_b.c fails
2010-07-13 21:41 [Bug testsuite/44932] New: gcc.dg/uninit-pred-9_b.c fails pthaugen at gcc dot gnu dot org
2010-07-14 4:13 ` [Bug testsuite/44932] " davidxl at gcc dot gnu dot org
2010-07-14 15:11 ` pthaugen at gcc dot gnu dot org
@ 2010-07-14 15:12 ` pthaugen at gcc dot gnu dot org
2010-07-19 16:34 ` davidxl at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pthaugen at gcc dot gnu dot org @ 2010-07-14 15:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pthaugen at gcc dot gnu dot org 2010-07-14 15:12 -------
Created an attachment (id=21201)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21201&action=view)
dump file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44932
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/44932] gcc.dg/uninit-pred-9_b.c fails
2010-07-13 21:41 [Bug testsuite/44932] New: gcc.dg/uninit-pred-9_b.c fails pthaugen at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-07-14 15:12 ` pthaugen at gcc dot gnu dot org
@ 2010-07-19 16:34 ` davidxl at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: davidxl at gcc dot gnu dot org @ 2010-07-19 16:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from davidxl at gcc dot gnu dot org 2010-07-19 16:34 -------
Fixed in r162310.
David
--
davidxl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44932
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-07-19 16:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-13 21:41 [Bug testsuite/44932] New: gcc.dg/uninit-pred-9_b.c fails pthaugen at gcc dot gnu dot org
2010-07-14 4:13 ` [Bug testsuite/44932] " davidxl at gcc dot gnu dot org
2010-07-14 15:11 ` pthaugen at gcc dot gnu dot org
2010-07-14 15:12 ` pthaugen at gcc dot gnu dot org
2010-07-19 16:34 ` davidxl at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).