public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/44738]  New: c-c++-common/uninit-17.c failed
@ 2010-07-01  0:56 hjl dot tools at gmail dot com
  2010-07-01  2:57 ` [Bug middle-end/44738] " howarth at nitro dot med dot uc dot edu
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-01  0:56 UTC (permalink / raw)
  To: gcc-bugs

On Linux/x86-64, c-c++-common/uninit-17.c with -m32:

FAIL: c-c++-common/uninit-17.c  (test for warnings, line 14)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat   (test for warnings, line 14)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat  (test for excess errors)
FAIL: c-c++-common/uninit-17.c (test for excess errors)


-- 
           Summary: c-c++-common/uninit-17.c failed
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44738] c-c++-common/uninit-17.c failed
  2010-07-01  0:56 [Bug middle-end/44738] New: c-c++-common/uninit-17.c failed hjl dot tools at gmail dot com
@ 2010-07-01  2:57 ` howarth at nitro dot med dot uc dot edu
  2010-07-04 14:34 ` danglin at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-07-01  2:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from howarth at nitro dot med dot uc dot edu  2010-07-01 02:56 -------
Also on x86_64-apple-darwin10 at -m64...

Executing on host: /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100630/gcc/testsuite/c-c++-common/uninit-17.c
  -Wc++-compat  -O2 -Wuninitialized -S  -o uninit-17.s    (timeout = 300)
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100630/gcc/testsuite/c-c++-common/uninit-17.c:
In function 'foobar':
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100630/gcc/testsuite/c-c++-common/uninit-17.c:12:9:
warning: 'b' is used uninitialized in this function [-Wuninitialized]
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100630/gcc/testsuite/c-c++-common/uninit-17.c:12:9:
note: 'b' was declared here


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44738] c-c++-common/uninit-17.c failed
  2010-07-01  0:56 [Bug middle-end/44738] New: c-c++-common/uninit-17.c failed hjl dot tools at gmail dot com
  2010-07-01  2:57 ` [Bug middle-end/44738] " howarth at nitro dot med dot uc dot edu
@ 2010-07-04 14:34 ` danglin at gcc dot gnu dot org
  2010-07-04 20:11 ` mikpe at it dot uu dot se
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2010-07-04 14:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from danglin at gcc dot gnu dot org  2010-07-04 14:34 -------
Also seen on hppa64-hp-hpux11.11.


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-04 14:34:30
               date|                            |


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44738] c-c++-common/uninit-17.c failed
  2010-07-01  0:56 [Bug middle-end/44738] New: c-c++-common/uninit-17.c failed hjl dot tools at gmail dot com
  2010-07-01  2:57 ` [Bug middle-end/44738] " howarth at nitro dot med dot uc dot edu
  2010-07-04 14:34 ` danglin at gcc dot gnu dot org
@ 2010-07-04 20:11 ` mikpe at it dot uu dot se
  2010-07-13 16:36 ` uweigand at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mikpe at it dot uu dot se @ 2010-07-04 20:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mikpe at it dot uu dot se  2010-07-04 20:10 -------
Also seen on {powerpc64,sparc64}-linux.


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44738] c-c++-common/uninit-17.c failed
  2010-07-01  0:56 [Bug middle-end/44738] New: c-c++-common/uninit-17.c failed hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-07-04 20:11 ` mikpe at it dot uu dot se
@ 2010-07-13 16:36 ` uweigand at gcc dot gnu dot org
  2010-07-21 12:37 ` bernds at gcc dot gnu dot org
  2010-07-21 12:39 ` bernds at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2010-07-13 16:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from uweigand at gcc dot gnu dot org  2010-07-13 16:35 -------
Also fails on spu-elf.


-- 

uweigand at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uweigand at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44738] c-c++-common/uninit-17.c failed
  2010-07-01  0:56 [Bug middle-end/44738] New: c-c++-common/uninit-17.c failed hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2010-07-13 16:36 ` uweigand at gcc dot gnu dot org
@ 2010-07-21 12:37 ` bernds at gcc dot gnu dot org
  2010-07-21 12:39 ` bernds at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: bernds at gcc dot gnu dot org @ 2010-07-21 12:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from bernds at gcc dot gnu dot org  2010-07-21 12:37 -------
Subject: Bug 44738

Author: bernds
Date: Wed Jul 21 12:36:44 2010
New Revision: 162372

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162372
Log:
        PR middle-end/44738
        * tree-ssa.c (warn_uninit): Avoid emitting an unnecessary message.

        PR middle-end/44738
        * c-c++-common/uninit-17.c: Correct expected error.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/uninit-17.c
    trunk/gcc/tree-ssa.c


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44738] c-c++-common/uninit-17.c failed
  2010-07-01  0:56 [Bug middle-end/44738] New: c-c++-common/uninit-17.c failed hjl dot tools at gmail dot com
                   ` (4 preceding siblings ...)
  2010-07-21 12:37 ` bernds at gcc dot gnu dot org
@ 2010-07-21 12:39 ` bernds at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: bernds at gcc dot gnu dot org @ 2010-07-21 12:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bernds at gcc dot gnu dot org  2010-07-21 12:39 -------
Fixed.


-- 

bernds at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-21 12:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-01  0:56 [Bug middle-end/44738] New: c-c++-common/uninit-17.c failed hjl dot tools at gmail dot com
2010-07-01  2:57 ` [Bug middle-end/44738] " howarth at nitro dot med dot uc dot edu
2010-07-04 14:34 ` danglin at gcc dot gnu dot org
2010-07-04 20:11 ` mikpe at it dot uu dot se
2010-07-13 16:36 ` uweigand at gcc dot gnu dot org
2010-07-21 12:37 ` bernds at gcc dot gnu dot org
2010-07-21 12:39 ` bernds 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).