From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26234 invoked by alias); 8 Oct 2010 14:13:03 -0000 Received: (qmail 26214 invoked by uid 22791); 8 Oct 2010 14:13:01 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID,TW_JL X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Oct 2010 14:12:55 +0000 From: "jojelino at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/45936] [4.6 regression] cc1 fails to generate target code with -O2 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jojelino at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 08 Oct 2010 14:13:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg00729.txt.bz2 Message-ID: <20101008141300.TgFOq4wehlN47G3i7soQb_EMJXBYfELWnjF4IQFf7d4@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45936 --- Comment #3 from gee 2010-10-08 14:12:53 UTC --- gcc without -mno-cygwin also fails to generate target code.. version of binutils is 2.20.51.20101005 $ gcc -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -g -DUSE_LIBICONV_GNU -I./obj -I./base -o ./obj/gxfill.o -c ./base/gxfill.c -save-temps -O2 -v;nm -sn ./obj/gxfill.o gcc -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -g -DUSE_LIBICONV_GNU -I./obj -I./base -o ./obj/gxfill.o -c ./base/gxfill.c -save-temps -O2 -v;nm -sn ./obj/gxfill.o Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-cygwin/4.6.0/lto-wrapper.exe Target: i686-pc-cygwin Configured with: ./configure --prefix=/usr --disable-win32-registry --enable-threads=posix --enable-languages=c,c++,lto --with-win32-nlsapi=unicode --enable-tls --disable-bootstrap --enable-shared --disable-sjlj-exceptions --enable-gomp Thread model: posix gcc version 4.6.0 20101005 (experimental) (GCC) COLLECT_GCC_OPTIONS='-D' 'HAVE_HYPOT' '-D' 'HAVE_FILE64' '-D' 'HAVE_FONTCONFIG' '-D' 'HAVE_LIBIDN' '-D' 'HAVE_SETLOCALE' '-Wall' '-Wstrict-prototypes' '-Wundef' '-Wmissing-declarations' '-Wmissing-prototypes' '-Wwrite-strings' '-Wno-strict-aliasing' '-Wdeclaration-after-statement' '-fno-builtin' '-fno-common' '-D' 'HAVE_STDINT_H' '-D' 'GX_COLOR_INDEX_TYPE=unsigned long long' '-g' '-D' 'USE_LIBICONV_GNU' '-I' './obj' '-I' './base' '-o' './obj/gxfill.o' '-c' '-save-temps' '-O2' '-v' '-mtune=generic' '-march=pentiumpro' /usr/libexec/gcc/i686-pc-cygwin/4.6.0/cc1.exe -E -quiet -v -I ./obj -I ./base -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter /usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../include/w32api -idirafter /usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../../include/w32api -D HAVE_HYPOT -D HAVE_FILE64 -D HAVE_FONTCONFIG -D HAVE_LIBIDN -D HAVE_SETLOCALE -D HAVE_STDINT_H -D GX_COLOR_INDEX_TYPE=unsigned long long -D USE_LIBICONV_GNU ./base/gxfill.c -mtune=generic -march=pentiumpro -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -g -fworking-directory -O2 -fpch-preprocess -o gxfill.i ignoring duplicate directory "/usr/include" ignoring duplicate directory "/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../../include/w32api" #include "..." search starts here: #include <...> search starts here: ./obj ./base /usr/lib/gcc/i686-pc-cygwin/4.6.0/include /usr/local/include /usr/lib/gcc/i686-pc-cygwin/4.6.0/include-fixed /usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/include /usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../include/w32api End of search list. COLLECT_GCC_OPTIONS='-D' 'HAVE_HYPOT' '-D' 'HAVE_FILE64' '-D' 'HAVE_FONTCONFIG' '-D' 'HAVE_LIBIDN' '-D' 'HAVE_SETLOCALE' '-Wall' '-Wstrict-prototypes' '-Wundef' '-Wmissing-declarations' '-Wmissing-prototypes' '-Wwrite-strings' '-Wno-strict-aliasing' '-Wdeclaration-after-statement' '-fno-builtin' '-fno-common' '-D' 'HAVE_STDINT_H' '-D' 'GX_COLOR_INDEX_TYPE=unsigned long long' '-g' '-D' 'USE_LIBICONV_GNU' '-I' './obj' '-I' './base' '-o' './obj/gxfill.o' '-c' '-save-temps' '-O2' '-v' '-mtune=generic' '-march=pentiumpro' /usr/libexec/gcc/i686-pc-cygwin/4.6.0/cc1.exe -fpreprocessed gxfill.i -quiet -dumpbase gxfill.c -mtune=generic -march=pentiumpro -auxbase-strip ./obj/gxfill.o -g -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -version -fno-builtin -fno-common -o gxfill.s GNU C (GCC) version 4.6.0 20101005 (experimental) (i686-pc-cygwin) compiled by GNU C version 4.6.0 20100925 (experimental), GMP version 5.0.0, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C (GCC) version 4.6.0 20101005 (experimental) (i686-pc-cygwin) compiled by GNU C version 4.6.0 20100925 (experimental), GMP version 5.0.0, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: 07133399117e0f779c05a33aa9c33ff4 COLLECT_GCC_OPTIONS='-D' 'HAVE_HYPOT' '-D' 'HAVE_FILE64' '-D' 'HAVE_FONTCONFIG' '-D' 'HAVE_LIBIDN' '-D' 'HAVE_SETLOCALE' '-Wall' '-Wstrict-prototypes' '-Wundef' '-Wmissing-declarations' '-Wmissing-prototypes' '-Wwrite-strings' '-Wno-strict-aliasing' '-Wdeclaration-after-statement' '-fno-builtin' '-fno-common' '-D' 'HAVE_STDINT_H' '-D' 'GX_COLOR_INDEX_TYPE=unsigned long long' '-g' '-D' 'USE_LIBICONV_GNU' '-I' './obj' '-I' './base' '-o' './obj/gxfill.o' '-c' '-save-temps' '-O2' '-v' '-mtune=generic' '-march=pentiumpro' /usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/bin/as.exe -o ./obj/gxfill.o gxfill.s COMPILER_PATH=/usr/libexec/gcc/i686-pc-cygwin/4.6.0/:/usr/libexec/gcc/i686-pc-cygwin/4.6.0/:/usr/libexec/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.6.0/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/bin/ LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.6.0/:/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/:/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-D' 'HAVE_HYPOT' '-D' 'HAVE_FILE64' '-D' 'HAVE_FONTCONFIG' '-D' 'HAVE_LIBIDN' '-D' 'HAVE_SETLOCALE' '-Wall' '-Wstrict-prototypes' '-Wundef' '-Wmissing-declarations' '-Wmissing-prototypes' '-Wwrite-strings' '-Wno-strict-aliasing' '-Wdeclaration-after-statement' '-fno-builtin' '-fno-common' '-D' 'HAVE_STDINT_H' '-D' 'GX_COLOR_INDEX_TYPE=unsigned long long' '-g' '-D' 'USE_LIBICONV_GNU' '-I' './obj' '-I' './base' '-o' './obj/gxfill.o' '-c' '-save-temps' '-O2' '-v' '-mtune=generic' '-march=pentiumpro' 00000000 b .bss 00000000 d .data 00000000 t .text