[Bug c/39113] New: no warning that a variable may be used uninitialized

2009-02-05 Thread dhill at clusterresources dot com
nitialized Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dhill at clusterresources dot com GCC build triplet: --bu

[Bug c/39113] no warning that a variable may be used uninitialized

2009-02-05 Thread dhill at clusterresources dot com
--- Comment #1 from dhill at clusterresources dot com 2009-02-05 20:51 --- Created an attachment (id=17252) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17252&action=view) .i file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39113

[Bug c/39113] no warning that a variable may be used uninitialized

2009-02-05 Thread dhill at clusterresources dot com
--- Comment #2 from dhill at clusterresources dot com 2009-02-05 21:04 --- Here is the gcc -v output if that is helpful $ gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu12' --with-bugurl=f

[Bug c/39113] no warning that a variable may be used uninitialized

2009-02-05 Thread dhill at clusterresources dot com
--- Comment #3 from dhill at clusterresources dot com 2009-02-05 21:48 --- Note that the warning is correctly reported in older versions of the compiler. The following example is from gcc 3.2.3 $ gcc -O -W um3.c um3.c: In function `main': um3.c:5: warning: `J' mig

[Bug tree-optimization/18501] [4.2/4.3/4.4 Regression] Missing 'used uninitialized' warning (CCP)

2009-02-05 Thread dhill at clusterresources dot com
--- Comment #23 from dhill at clusterresources dot com 2009-02-05 22:44 --- note that gcc version 3.2.3 correctly reports this warning -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501