* [Bug c/61916] Internal compiler error in symtab_nonoverwritable_alias with -O2
2014-07-26 2:56 [Bug c/61916] New: Internal compiler error in symtab_nonoverwritable_alias with -O2 timothygu99 at gmail dot com
@ 2014-07-26 3:04 ` timothygu99 at gmail dot com
2014-07-26 3:07 ` timothygu99 at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: timothygu99 at gmail dot com @ 2014-07-26 3:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61916
--- Comment #1 from Timothy Gu <timothygu99 at gmail dot com> ---
With `-v`, gcc outputs this:
i686-pc-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I../..
-DPACKAGE_LIB_DIR=\"/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib\"
-I../.. -I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/harfbuzz
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/cairo
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/pixman-1
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/freetype2
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/libpng16
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/glib-2.0
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib/glib-2.0/include -v
-save-temps -O2 -c api.c -o .libs/api.o
Using built-in specs.
COLLECT_GCC=i686-pc-mingw32.shared-gcc
Target: i686-pc-mingw32.shared
Configured with:
/home/timothy_gu/mxe/tmp-gcc-i686-pc-mingw32.shared/gcc-4.9.0/configure
--target=i686-pc-mingw32.shared --build=x86_64-unknown-linux-gnu
--prefix=/home/timothy_gu/mxe/usr --libdir=/home/timothy_gu/mxe/usr/lib
--enable-languages=c,c++,objc,fortran --enable-version-specific-runtime-libs
--with-gcc --with-gnu-ld --with-gnu-as --disable-nls --disable-multilib
--without-x --disable-win32-registry --enable-threads=win32 --disable-libgomp
--disable-libmudflap --with-cloog=/home/timothy_gu/mxe/usr
--with-gmp=/home/timothy_gu/mxe/usr --with-isl=/home/timothy_gu/mxe/usr
--with-mpc=/home/timothy_gu/mxe/usr --with-mpfr=/home/timothy_gu/mxe/usr
--with-as=/home/timothy_gu/mxe/usr/bin/i686-pc-mingw32.shared-as
--with-ld=/home/timothy_gu/mxe/usr/bin/i686-pc-mingw32.shared-ld
--with-nm=/home/timothy_gu/mxe/usr/bin/i686-pc-mingw32.shared-nm
--disable-sjlj-exceptions
Thread model: win32
gcc version 4.9.0 (GCC)
COLLECT_GCC_OPTIONS='-D' 'HAVE_CONFIG_H' '-I' '.' '-I' '../..' '-D'
'PACKAGE_LIB_DIR="/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib"' '-I'
'../..' '-I' '/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/harfbuzz'
'-I' '/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/cairo' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/pixman-1' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/freetype2' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/libpng16' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/glib-2.0' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib/glib-2.0/include' '-v'
'-save-temps' '-O2' '-c' '-o' '.libs/api.o' '-mtune=generic'
'-march=pentiumpro'
/home/timothy_gu/mxe/usr/libexec/gcc/i686-pc-mingw32.shared/4.9.0/cc1 -E
-quiet -v -I . -I ../.. -I ../.. -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/harfbuzz -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/cairo -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/pixman-1 -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/freetype2 -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/libpng16 -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/glib-2.0 -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib/glib-2.0/include -D
HAVE_CONFIG_H -D
PACKAGE_LIB_DIR="/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib" api.c
-mtune=generic -march=pentiumpro -O2 -fpch-preprocess -o api.i
ignoring nonexistent directory
"/home/timothy_gu/mxe/usr/lib/gcc/i686-pc-mingw32.shared/4.9.0/../../../../i686-pc-mingw32.shared/sys-include"
ignoring duplicate directory "../.."
#include "..." search starts here:
#include <...> search starts here:
.
../..
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/harfbuzz
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/cairo
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/pixman-1
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/freetype2
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/libpng16
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/glib-2.0
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib/glib-2.0/include
/home/timothy_gu/mxe/usr/lib/gcc/i686-pc-mingw32.shared/4.9.0/include
/home/timothy_gu/mxe/usr/lib/gcc/i686-pc-mingw32.shared/4.9.0/include-fixed
/home/timothy_gu/mxe/usr/lib/gcc/i686-pc-mingw32.shared/4.9.0/../../../../i686-pc-mingw32.shared/include
End of search list.
COLLECT_GCC_OPTIONS='-D' 'HAVE_CONFIG_H' '-I' '.' '-I' '../..' '-D'
'PACKAGE_LIB_DIR="/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib"' '-I'
'../..' '-I' '/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/harfbuzz'
'-I' '/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/cairo' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/pixman-1' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/freetype2' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/libpng16' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/glib-2.0' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib/glib-2.0/include' '-v'
'-save-temps' '-O2' '-c' '-o' '.libs/api.o' '-mtune=generic'
'-march=pentiumpro'
/home/timothy_gu/mxe/usr/libexec/gcc/i686-pc-mingw32.shared/4.9.0/cc1
-fpreprocessed api.i -quiet -dumpbase api.c -mtune=generic -march=pentiumpro
-auxbase-strip .libs/api.o -O2 -version -o api.s
GNU C (GCC) version 4.9.0 (i686-pc-mingw32.shared)
compiled by GNU C version 4.8.2, GMP version 6.0.0, MPFR version 3.1.2, MPC
version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (GCC) version 4.9.0 (i686-pc-mingw32.shared)
compiled by GNU C version 4.8.2, GMP version 6.0.0, MPFR version 3.1.2, MPC
version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 4a347c25c4b07c7e73591b2b077d36b3
api.c:5411:1: internal compiler error: in symtab_nonoverwritable_alias, at
symtab.c:1234
}
^
0x659ed4 symtab_nonoverwritable_alias(symtab_node*)
/home/timothy_gu/mxe/tmp-gcc-i686-pc-mingw32.shared/gcc-4.9.0/gcc/symtab.c:1234
0x79e161 function_and_variable_visibility
/home/timothy_gu/mxe/tmp-gcc-i686-pc-mingw32.shared/gcc-4.9.0/gcc/ipa.c:1085
0x79e906 whole_program_function_and_variable_visibility
/home/timothy_gu/mxe/tmp-gcc-i686-pc-mingw32.shared/gcc-4.9.0/gcc/ipa.c:1290
0x79e906 execute
/home/timothy_gu/mxe/tmp-gcc-i686-pc-mingw32.shared/gcc-4.9.0/gcc/ipa.c:1334
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/61916] Internal compiler error in symtab_nonoverwritable_alias with -O2
2014-07-26 2:56 [Bug c/61916] New: Internal compiler error in symtab_nonoverwritable_alias with -O2 timothygu99 at gmail dot com
2014-07-26 3:04 ` [Bug c/61916] " timothygu99 at gmail dot com
@ 2014-07-26 3:07 ` timothygu99 at gmail dot com
2014-07-26 3:41 ` timothygu99 at gmail dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: timothygu99 at gmail dot com @ 2014-07-26 3:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61916
Timothy Gu <timothygu99 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |i686-pc-mingw32
Host| |i686-pc-mingw32
Build| |x86_64-unknown-linux-gnu
--- Comment #2 from Timothy Gu <timothygu99 at gmail dot com> ---
By the way, I am running Ubuntu 14.10 LTS "Trusty" with:
$ gcc -v --version
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
COLLECT_GCC_OPTIONS='-v' '--version' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/4.8/cc1 -quiet -v -imultiarch x86_64-linux-gnu
help-dummy -quiet -dumpbase help-dummy -mtune=generic -march=x86-64 -auxbase
help-dummy -version --version -fstack-protector -Wformat -Wformat-security -o
/tmp/cc5aNNFg.s
GNU C (Ubuntu 4.8.2-19ubuntu1) version 4.8.2 (x86_64-linux-gnu)
compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version 3.1.2-p3,
MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COLLECT_GCC_OPTIONS='-v' '--version' '-mtune=generic' '-march=x86-64'
as -v --64 --version -o /tmp/ccoQRpil.o /tmp/cc5aNNFg.s
GNU assembler version 2.24 (x86_64-linux-gnu) using BFD version (GNU Binutils
for Ubuntu) 2.24
GNU assembler (GNU Binutils for Ubuntu) 2.24
Copyright 2013 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-linux-gnu'.
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.8/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '--version' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/4.8/collect2 --sysroot=/ --build-id
--eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker
/lib64/ld-linux-x86-64.so.2 -z relro --version
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o
-L/usr/lib/gcc/x86_64-linux-gnu/4.8
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu
-L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. /tmp/ccoQRpil.o -lgcc --as-needed
-lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o
collect2 version 4.8.2
/usr/bin/ld --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64
--hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z
relro --version
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o
-L/usr/lib/gcc/x86_64-linux-gnu/4.8
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu
-L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. /tmp/ccoQRpil.o -lgcc --as-needed
-lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o
GNU ld (GNU Binutils for Ubuntu) 2.24
Copyright 2013 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/61916] Internal compiler error in symtab_nonoverwritable_alias with -O2
2014-07-26 2:56 [Bug c/61916] New: Internal compiler error in symtab_nonoverwritable_alias with -O2 timothygu99 at gmail dot com
2014-07-26 3:04 ` [Bug c/61916] " timothygu99 at gmail dot com
2014-07-26 3:07 ` timothygu99 at gmail dot com
@ 2014-07-26 3:41 ` timothygu99 at gmail dot com
2014-09-18 23:01 ` [Bug ipa/61916] " timothygu99 at gmail dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: timothygu99 at gmail dot com @ 2014-07-26 3:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61916
Timothy Gu <timothygu99 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|4.9.0 |4.9.1
--- Comment #3 from Timothy Gu <timothygu99 at gmail dot com> ---
I can confirm that this is also reproducible with gcc 4.9.1:
$ i686-pc-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I../..
-DPACKAGE_LIB_DIR=\"/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib\"
-I../.. -I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/harfbuzz
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/cairo
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/pixman-1
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/freetype2
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/libpng16
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/glib-2.0
-I/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib/glib-2.0/include -v
-save-temps -O2 -c api.c -o .libs/api.o
Using built-in specs.
COLLECT_GCC=i686-pc-mingw32.shared-gcc
Target: i686-pc-mingw32.shared
Configured with:
/home/timothy_gu/mxe/tmp-gcc-i686-pc-mingw32.shared/gcc-4.9.1/configure
--target=i686-pc-mingw32.shared --build=x86_64-unknown-linux-gnu
--prefix=/home/timothy_gu/mxe/usr --libdir=/home/timothy_gu/mxe/usr/lib
--enable-languages=c,c++,objc,fortran --enable-version-specific-runtime-libs
--with-gcc --with-gnu-ld --with-gnu-as --disable-nls --disable-multilib
--without-x --disable-win32-registry --enable-threads=win32 --disable-libgomp
--disable-libmudflap --with-cloog=/home/timothy_gu/mxe/usr
--with-gmp=/home/timothy_gu/mxe/usr --with-isl=/home/timothy_gu/mxe/usr
--with-mpc=/home/timothy_gu/mxe/usr --with-mpfr=/home/timothy_gu/mxe/usr
--with-as=/home/timothy_gu/mxe/usr/bin/i686-pc-mingw32.shared-as
--with-ld=/home/timothy_gu/mxe/usr/bin/i686-pc-mingw32.shared-ld
--with-nm=/home/timothy_gu/mxe/usr/bin/i686-pc-mingw32.shared-nm
--disable-sjlj-exceptions
Thread model: win32
gcc version 4.9.1 (GCC)
COLLECT_GCC_OPTIONS='-D' 'HAVE_CONFIG_H' '-I' '.' '-I' '../..' '-D'
'PACKAGE_LIB_DIR="/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib"' '-I'
'../..' '-I' '/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/harfbuzz'
'-I' '/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/cairo' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/pixman-1' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/freetype2' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/libpng16' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/glib-2.0' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib/glib-2.0/include' '-v'
'-save-temps' '-O2' '-c' '-o' '.libs/api.o' '-mtune=generic'
'-march=pentiumpro'
/home/timothy_gu/mxe/usr/libexec/gcc/i686-pc-mingw32.shared/4.9.1/cc1 -E
-quiet -v -I . -I ../.. -I ../.. -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/harfbuzz -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/cairo -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/pixman-1 -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/freetype2 -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/libpng16 -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/glib-2.0 -I
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib/glib-2.0/include -D
HAVE_CONFIG_H -D
PACKAGE_LIB_DIR="/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib" api.c
-mtune=generic -march=pentiumpro -O2 -fpch-preprocess -o api.i
ignoring nonexistent directory
"/home/timothy_gu/mxe/usr/lib/gcc/i686-pc-mingw32.shared/4.9.1/../../../../i686-pc-mingw32.shared/sys-include"
ignoring duplicate directory "../.."
#include "..." search starts here:
#include <...> search starts here:
.
../..
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/harfbuzz
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/cairo
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/pixman-1
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/freetype2
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/libpng16
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/glib-2.0
/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib/glib-2.0/include
/home/timothy_gu/mxe/usr/lib/gcc/i686-pc-mingw32.shared/4.9.1/include
/home/timothy_gu/mxe/usr/lib/gcc/i686-pc-mingw32.shared/4.9.1/include-fixed
/home/timothy_gu/mxe/usr/lib/gcc/i686-pc-mingw32.shared/4.9.1/../../../../i686-pc-mingw32.shared/include
End of search list.
COLLECT_GCC_OPTIONS='-D' 'HAVE_CONFIG_H' '-I' '.' '-I' '../..' '-D'
'PACKAGE_LIB_DIR="/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib"' '-I'
'../..' '-I' '/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/harfbuzz'
'-I' '/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/cairo' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/pixman-1' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/freetype2' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/libpng16' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/include/glib-2.0' '-I'
'/home/timothy_gu/mxe/usr/i686-pc-mingw32.shared/lib/glib-2.0/include' '-v'
'-save-temps' '-O2' '-c' '-o' '.libs/api.o' '-mtune=generic'
'-march=pentiumpro'
/home/timothy_gu/mxe/usr/libexec/gcc/i686-pc-mingw32.shared/4.9.1/cc1
-fpreprocessed api.i -quiet -dumpbase api.c -mtune=generic -march=pentiumpro
-auxbase-strip .libs/api.o -O2 -version -o api.s
GNU C (GCC) version 4.9.1 (i686-pc-mingw32.shared)
compiled by GNU C version 4.8.2, GMP version 6.0.0, MPFR version 3.1.2, MPC
version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (GCC) version 4.9.1 (i686-pc-mingw32.shared)
compiled by GNU C version 4.8.2, GMP version 6.0.0, MPFR version 3.1.2, MPC
version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 683f91d6f0f6ca509c8bb2e640a70280
api.c:5411:1: internal compiler error: in symtab_nonoverwritable_alias, at
symtab.c:1252
}
^
0x65b214 symtab_nonoverwritable_alias(symtab_node*)
/home/timothy_gu/mxe/tmp-gcc-i686-pc-mingw32.shared/gcc-4.9.1/gcc/symtab.c:1252
0x79fd11 function_and_variable_visibility
/home/timothy_gu/mxe/tmp-gcc-i686-pc-mingw32.shared/gcc-4.9.1/gcc/ipa.c:1101
0x7a04b6 whole_program_function_and_variable_visibility
/home/timothy_gu/mxe/tmp-gcc-i686-pc-mingw32.shared/gcc-4.9.1/gcc/ipa.c:1306
0x7a04b6 execute
/home/timothy_gu/mxe/tmp-gcc-i686-pc-mingw32.shared/gcc-4.9.1/gcc/ipa.c:1350
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/61916] Internal compiler error in symtab_nonoverwritable_alias with -O2
2014-07-26 2:56 [Bug c/61916] New: Internal compiler error in symtab_nonoverwritable_alias with -O2 timothygu99 at gmail dot com
` (2 preceding siblings ...)
2014-07-26 3:41 ` timothygu99 at gmail dot com
@ 2014-09-18 23:01 ` timothygu99 at gmail dot com
2014-09-18 23:15 ` timothygu99 at gmail dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: timothygu99 at gmail dot com @ 2014-09-18 23:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61916
--- Comment #4 from Timothy Gu <timothygu99 at gmail dot com> ---
Any news on this?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/61916] Internal compiler error in symtab_nonoverwritable_alias with -O2
2014-07-26 2:56 [Bug c/61916] New: Internal compiler error in symtab_nonoverwritable_alias with -O2 timothygu99 at gmail dot com
` (3 preceding siblings ...)
2014-09-18 23:01 ` [Bug ipa/61916] " timothygu99 at gmail dot com
@ 2014-09-18 23:15 ` timothygu99 at gmail dot com
2015-03-01 22:02 ` steve at sk2 dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: timothygu99 at gmail dot com @ 2014-09-18 23:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61916
--- Comment #5 from Timothy Gu <timothygu99 at gmail dot com> ---
I have found another file that triggers this:
# i686-pc-mingw32.static-gcc -v -save-temps -O2 tclsqlite.c
Using built-in specs.
COLLECT_GCC=i686-pc-mingw32.static-gcc
COLLECT_LTO_WRAPPER=/root/Timothys_sandbox/mxe/usr/libexec/gcc/i686-pc-mingw32.static/4.9.1/lto-wrapper
Target: i686-pc-mingw32.static
Configured with:
/root/Timothys_sandbox/mxe/tmp-gcc-i686-pc-mingw32.static/gcc-4.9.1/configure
--target=i686-pc-mingw32.static --build=x86_64-unknown-linux-gnu
--prefix=/root/Timothys_sandbox/mxe/usr
--libdir=/root/Timothys_sandbox/mxe/usr/lib
--enable-languages=c,c++,objc,fortran --enable-version-specific-runtime-libs
--with-gcc --with-gnu-ld --with-gnu-as --disable-nls --disable-shared
--disable-multilib --without-x --disable-win32-registry --enable-threads=win32
--disable-libgomp --with-cloog=/root/Timothys_sandbox/mxe/usr
--with-gmp=/root/Timothys_sandbox/mxe/usr
--with-isl=/root/Timothys_sandbox/mxe/usr
--with-mpc=/root/Timothys_sandbox/mxe/usr
--with-mpfr=/root/Timothys_sandbox/mxe/usr
--with-as=/root/Timothys_sandbox/mxe/usr/bin/i686-pc-mingw32.static-as
--with-ld=/root/Timothys_sandbox/mxe/usr/bin/i686-pc-mingw32.static-ld
--with-nm=/root/Timothys_sandbox/mxe/usr/bin/i686-pc-mingw32.static-nm
--disable-sjlj-exceptions
Thread model: win32
gcc version 4.9.1 (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O2' '-mtune=generic'
'-march=pentiumpro'
/root/Timothys_sandbox/mxe/usr/libexec/gcc/i686-pc-mingw32.static/4.9.1/cc1 -E
-quiet -v tclsqlite.c -mtune=generic -march=pentiumpro -O2 -fpch-preprocess -o
tclsqlite.i
ignoring nonexistent directory
"/root/Timothys_sandbox/mxe/usr/lib/gcc/i686-pc-mingw32.static/4.9.1/../../../../i686-pc-mingw32.static/sys-include"
#include "..." search starts here:
#include <...> search starts here:
/root/Timothys_sandbox/mxe/usr/lib/gcc/i686-pc-mingw32.static/4.9.1/include
/root/Timothys_sandbox/mxe/usr/lib/gcc/i686-pc-mingw32.static/4.9.1/include-fixed
/root/Timothys_sandbox/mxe/usr/lib/gcc/i686-pc-mingw32.static/4.9.1/../../../../i686-pc-mingw32.static/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O2' '-mtune=generic'
'-march=pentiumpro'
/root/Timothys_sandbox/mxe/usr/libexec/gcc/i686-pc-mingw32.static/4.9.1/cc1
-fpreprocessed tclsqlite.i -quiet -dumpbase tclsqlite.c -mtune=generic
-march=pentiumpro -auxbase tclsqlite -O2 -version -o tclsqlite.s
GNU C (GCC) version 4.9.1 (i686-pc-mingw32.static)
compiled by GNU C version 4.8.1, GMP version 6.0.0, MPFR version 3.1.2,
MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (GCC) version 4.9.1 (i686-pc-mingw32.static)
compiled by GNU C version 4.8.1, GMP version 6.0.0, MPFR version 3.1.2,
MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 95b02311e7569b5d473f7ceccfa71955
../pkgs/sqlite3.8.0/generic/tclsqlite3.c:3109:1: internal compiler error: in
symtab_nonoverwritable_alias, at symtab.c:1252
0x65b414 symtab_nonoverwritable_alias(symtab_node*)
/root/Timothys_sandbox/mxe/tmp-gcc-i686-pc-mingw32.static/gcc-4.9.1/gcc/symtab.c:1252
0x7a0081 function_and_variable_visibility
/root/Timothys_sandbox/mxe/tmp-gcc-i686-pc-mingw32.static/gcc-4.9.1/gcc/ipa.c:1101
0x7a0826 whole_program_function_and_variable_visibility
/root/Timothys_sandbox/mxe/tmp-gcc-i686-pc-mingw32.static/gcc-4.9.1/gcc/ipa.c:1306
0x7a0826 execute
/root/Timothys_sandbox/mxe/tmp-gcc-i686-pc-mingw32.static/gcc-4.9.1/gcc/ipa.c:1350
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
This file comes from tcl8.6.1/pkgs/sqlite3.8.0/generic/tclsqlite3.c.
Again, this is not reproducible with -O1, therefore it is an optimizer problem.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/61916] Internal compiler error in symtab_nonoverwritable_alias with -O2
2014-07-26 2:56 [Bug c/61916] New: Internal compiler error in symtab_nonoverwritable_alias with -O2 timothygu99 at gmail dot com
` (4 preceding siblings ...)
2014-09-18 23:15 ` timothygu99 at gmail dot com
@ 2015-03-01 22:02 ` steve at sk2 dot org
2015-03-01 22:05 ` steve at sk2 dot org
2015-03-02 10:21 ` ktietz at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: steve at sk2 dot org @ 2015-03-01 22:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61916
Stephen Kitt <steve at sk2 dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |steve at sk2 dot org
--- Comment #6 from Stephen Kitt <steve at sk2 dot org> ---
Hi,
I believe I have a minimal reproducer for this, courtesy of Jakub Wilk
(reported at https://bugs.debian.org/779526 against gcc-mingw-w64). This is
with gcc 4.9.2 targeting i686-w64-mingw32, so not quite the same target but the
error is at the same line:
% i686-w64-mingw32-gcc badsymtab.c
badsymtab.c:9:1: internal compiler error: in symtab_nonoverwritable_alias, at
symtab.c:1252
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Preprocessed source stored into /tmp/user/1000/ccMPGb9z.out file, please attach
this to your bugreport.
I'm attaching the pre-processed source.
The compiler is configured as follows:
% i686-w64-mingw32-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/i686-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-w64-mingw32/4.9-win32/lto-wrapper
Target: i686-w64-mingw32
Configured with: ../../src/configure --build=x86_64-linux-gnu --prefix=/usr
--includedir='/usr/include' --mandir='/usr/share/man'
--infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var
--libexecdir='/usr/lib/gcc-mingw-w64' --disable-maintainer-mode
--disable-dependency-tracking --prefix=/usr --enable-shared --enable-static
--disable-multilib --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --libdir=/usr/lib --enable-libstdcxx-time=yes
--with-tune=generic --enable-version-specific-runtime-libs
--enable-fully-dynamic-string --enable-libgomp
--enable-languages=c,c++,fortran,objc,obj-c++ --enable-lto --with-plugin-ld
--enable-threads=win32 --program-suffix=-win32
--program-prefix=i686-w64-mingw32- --target=i686-w64-mingw32
--with-as=/usr/bin/i686-w64-mingw32-as --with-ld=/usr/bin/i686-w64-mingw32-ld
Thread model: win32
gcc version 4.9.2 (GCC)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/61916] Internal compiler error in symtab_nonoverwritable_alias with -O2
2014-07-26 2:56 [Bug c/61916] New: Internal compiler error in symtab_nonoverwritable_alias with -O2 timothygu99 at gmail dot com
` (5 preceding siblings ...)
2015-03-01 22:02 ` steve at sk2 dot org
@ 2015-03-01 22:05 ` steve at sk2 dot org
2015-03-02 10:21 ` ktietz at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: steve at sk2 dot org @ 2015-03-01 22:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61916
--- Comment #7 from Stephen Kitt <steve at sk2 dot org> ---
Created attachment 34913
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34913&action=edit
Pre-processed source reproducing the bug
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/61916] Internal compiler error in symtab_nonoverwritable_alias with -O2
2014-07-26 2:56 [Bug c/61916] New: Internal compiler error in symtab_nonoverwritable_alias with -O2 timothygu99 at gmail dot com
` (6 preceding siblings ...)
2015-03-01 22:05 ` steve at sk2 dot org
@ 2015-03-02 10:21 ` ktietz at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: ktietz at gcc dot gnu.org @ 2015-03-02 10:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61916
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |ktietz at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Already fixed. A dup of 64212
*** This bug has been marked as a duplicate of bug 64212 ***
^ permalink raw reply [flat|nested] 9+ messages in thread