public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function
@ 2012-07-05 13:40 hjl.tools at gmail dot com
  2012-07-05 13:43 ` [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap: c/c-parser.c:6891:16: error: origtypes " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-05 13:40 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53866
           Summary: [4.8 Regression] c/c-parser.c:6891:16: error:
                    \u2018origtypes\u2019 may be used uninitialized in
                    this function
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


On Linux/ia32, revision 189288 gave

/export/build/gnu/gcc-lto-32bit/build-i686-linux/./prev-gcc/g++
-B/export/build/gnu/gcc-lto-32bit/build-i686-linux/./prev-gcc/
-B/usr/gcc-4.8.0/i686-linux/bin/ -nostdinc++
-B/export/build/gnu/gcc-lto-32bit/build-i686-linux/prev-i686-linux/libstdc++-v3/src/.libs
-B/export/build/gnu/gcc-lto-32bit/build-i686-linux/prev-i686-linux/libstdc++-v3/libsupc++/.libs
-I/export/build/gnu/gcc-lto-32bit/build-i686-linux/prev-i686-linux/libstdc++-v3/include/i686-linux
-I/export/build/gnu/gcc-lto-32bit/build-i686-linux/prev-i686-linux/libstdc++-v3/include
-I/export/gnu/import/git/gcc/libstdc++-v3/libsupc++
-L/export/build/gnu/gcc-lto-32bit/build-i686-linux/prev-i686-linux/libstdc++-v3/src/.libs
-L/export/build/gnu/gcc-lto-32bit/build-i686-linux/prev-i686-linux/libstdc++-v3/libsupc++/.libs
-c  -DIN_GCC_FRONTEND -O3 -mfpmath=sse -msse2 -funroll-loops -ffast-math
-flto=jobserver -frandom-seed=1 -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
 -DHAVE_CONFIG_H -I. -Ic -I/export/gnu/import/git/gcc/gcc
-I/export/gnu/import/git/gcc/gcc/c -I/export/gnu/import/git/gcc/gcc/../include
-I/export/gnu/import/git/gcc/gcc/../libcpp/include 
-I/export/gnu/import/git/gcc/gcc/../libdecnumber
-I/export/gnu/import/git/gcc/gcc/../libdecnumber/bid -I../libdecnumber   
/export/gnu/import/git/gcc/gcc/c/c-parser.c -o c/c-parser.o
/export/gnu/import/git/gcc/gcc/c/c-parser.c: In function
\u2018c_parser_postfix_expression_after_primary(c_parser*, unsigned int,
c_expr)\u2019:
/export/gnu/import/git/gcc/gcc/c/c-parser.c:6891:16: error:
\u2018origtypes\u2019 may be used uninitialized in this function
[-Werror=maybe-uninitialized]


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

* [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap: c/c-parser.c:6891:16: error: origtypes may be used uninitialized in this function
  2012-07-05 13:40 [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function hjl.tools at gmail dot com
@ 2012-07-05 13:43 ` rguenth at gcc dot gnu.org
  2012-07-05 13:53 ` hjl.tools at gmail dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-05 13:43 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0
            Summary|[4.8 Regression]            |[4.8 Regression]
                   |c/c-parser.c:6891:16:       |lto-bootstrap:
                   |error:                      |c/c-parser.c:6891:16:
                   |\u2018origtypes\u2019 may   |error: origtypes may be
                   |be used uninitialized in    |used uninitialized in this
                   |this function               |function


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

* [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap: c/c-parser.c:6891:16: error: origtypes may be used uninitialized in this function
  2012-07-05 13:40 [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function hjl.tools at gmail dot com
  2012-07-05 13:43 ` [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap: c/c-parser.c:6891:16: error: origtypes " rguenth at gcc dot gnu.org
@ 2012-07-05 13:53 ` hjl.tools at gmail dot com
  2012-07-05 14:10 ` hjl.tools at gmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-05 13:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-05 13:53:42 UTC ---
GCC was configured with

BOOT_CFLAGS="-O3 -mfpmath=sse -msse2 -funroll-loops -ffast-math"
RUNTESTFLAGS="--target_board='unix'" /export/gnu/import/git/gcc/configure
--enable-clocale=gnu --with-system-zlib --with-demangler-in-ld
--enable-languages=c,c++,fortran i686-linux --prefix=/usr/gcc-4.8.0
--with-local-prefix=/usr/local --enable-gnu-indirect-function
--with-build-config=bootstrap-lto --with-fpmath=sse

I also got

/export/gnu/import/git/gcc/libiberty/simple-object-mach-o.c: In function
\u2018simple_object_mach_o_find_sections\u2019:
/export/gnu/import/git/gcc/libiberty/simple-object-mach-o.c:653:37: error:
\u2018wrapper_sect_offset\u2019 may be used uninitialized in this function
[-Werror=maybe-uninitialized]
     secoffset = wrapper_sect_offset + subsect_offset;


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

* [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap: c/c-parser.c:6891:16: error: origtypes may be used uninitialized in this function
  2012-07-05 13:40 [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function hjl.tools at gmail dot com
  2012-07-05 13:43 ` [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap: c/c-parser.c:6891:16: error: origtypes " rguenth at gcc dot gnu.org
  2012-07-05 13:53 ` hjl.tools at gmail dot com
@ 2012-07-05 14:10 ` hjl.tools at gmail dot com
  2012-07-05 14:44 ` hjl.tools at gmail dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-05 14:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-05 14:10:28 UTC ---
Also

/export/gnu/import/git/gcc/gcc/bitmap.c:576:8: error: \u2018in_ready.indx\u2019
may be used uninitialized in this function [-Werror=maybe-uninitialized]
   else if (head->indx / 2 < indx)
        ^
In file included from /export/gnu/import/git/gcc/gcc/emit-rtl.c:6649:0,
                 from /export/gnu/import/git/gcc/gcc/config/i386/i386.md:3788,
                 from :6102:
/export/gnu/import/git/gcc/gcc/haifa-sched.c:7586:15: note:
\u2018in_ready.indx\u2019 was declared here
   bitmap_head in_ready;
               ^
lto1: all warnings being treated as errors
make[5]: *** [/tmp/ccS5gs1T.ltrans9.ltrans.o] Error 1


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

* [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap: c/c-parser.c:6891:16: error: origtypes may be used uninitialized in this function
  2012-07-05 13:40 [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2012-07-05 14:10 ` hjl.tools at gmail dot com
@ 2012-07-05 14:44 ` hjl.tools at gmail dot com
  2012-07-05 18:04 ` [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap failed at -O3 hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-05 14:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-05 14:43:48 UTC ---
The problem seems LTO + O3, which leads many
-Werror=maybe-uninitialized error.


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

* [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap failed at -O3
  2012-07-05 13:40 [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2012-07-05 14:44 ` hjl.tools at gmail dot com
@ 2012-07-05 18:04 ` hjl.tools at gmail dot com
  2012-09-19 13:43 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-05 18:04 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.8 Regression]            |[4.8 Regression]
                   |lto-bootstrap:              |lto-bootstrap failed at -O3
                   |c/c-parser.c:6891:16:       |
                   |error: origtypes may be     |
                   |used uninitialized in this  |
                   |function                    |

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-05 18:04:08 UTC ---
This is triggered by -O3 when GCC is configured with

BOOT_CFLAGS="-O3" /export/gnu/import/git/gcc/configure --enable-clocale=gnu
--with-system-zlib --with-demangler-in-ld --enable-languages=c,c++,fortran 
--prefix=/usr/gcc-4.8.0 --with-local-prefix=/usr/local
--enable-gnu-indirect-function --with-build-config=bootstrap-lto
--with-fpmath=sse


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

* [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap failed at -O3
  2012-07-05 13:40 [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2012-07-05 18:04 ` [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap failed at -O3 hjl.tools at gmail dot com
@ 2012-09-19 13:43 ` rguenth at gcc dot gnu.org
  2012-11-15  3:20 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-19 13:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-19 13:42:32 UTC ---
I don't think we necessarily want to fix this ...


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

* [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap failed at -O3
  2012-07-05 13:40 [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2012-09-19 13:43 ` rguenth at gcc dot gnu.org
@ 2012-11-15  3:20 ` pinskia at gcc dot gnu.org
  2012-11-15 20:31 ` hjl.tools at gmail dot com
  2012-12-21 10:36 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-11-15  3:20 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-15 03:20:16 UTC ---
Does this still happen?


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

* [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap failed at -O3
  2012-07-05 13:40 [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2012-11-15  3:20 ` pinskia at gcc dot gnu.org
@ 2012-11-15 20:31 ` hjl.tools at gmail dot com
  2012-12-21 10:36 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-11-15 20:31 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-15 20:31:18 UTC ---
Revision gave 193535:

/export/gnu/import/git/gcc/gcc/c/c-parser.c: In function
\u2018c_parser_postfix_expression_after_primary(c_parser*, unsigned int,
c_expr)\u2019: 
/export/gnu/import/git/gcc/gcc/c/c-parser.c:6917:16: error:
\u2018origtypes\u2019 may be used uninitialized in this function
[-Werror=maybe-uninitialized]
       origtypes);


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

* [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap failed at -O3
  2012-07-05 13:40 [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function hjl.tools at gmail dot com
                   ` (7 preceding siblings ...)
  2012-11-15 20:31 ` hjl.tools at gmail dot com
@ 2012-12-21 10:36 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-21 10:36 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-21 10:35:49 UTC ---
Please use --disable-werror for non-standard flags / build configs.  We can't
possibly fix all warnings that may appear when you enable random flags.


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

end of thread, other threads:[~2012-12-21 10:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-05 13:40 [Bug bootstrap/53866] New: [4.8 Regression] c/c-parser.c:6891:16: error: \u2018origtypes\u2019 may be used uninitialized in this function hjl.tools at gmail dot com
2012-07-05 13:43 ` [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap: c/c-parser.c:6891:16: error: origtypes " rguenth at gcc dot gnu.org
2012-07-05 13:53 ` hjl.tools at gmail dot com
2012-07-05 14:10 ` hjl.tools at gmail dot com
2012-07-05 14:44 ` hjl.tools at gmail dot com
2012-07-05 18:04 ` [Bug bootstrap/53866] [4.8 Regression] lto-bootstrap failed at -O3 hjl.tools at gmail dot com
2012-09-19 13:43 ` rguenth at gcc dot gnu.org
2012-11-15  3:20 ` pinskia at gcc dot gnu.org
2012-11-15 20:31 ` hjl.tools at gmail dot com
2012-12-21 10:36 ` rguenth at gcc dot gnu.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).