This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate'
- From: "b3timmons at speedymail dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2009 05:03:25 -0000
- Subject: [Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc -B. -r -nostdlib -v -Wall -Wextra -O -fipa-cp -fipa-struct-reorg
-fwhole-program -combine -fprofile-generate devices.i
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/b3po/build/gcc/gcc/configure --with-mpfr=/usr/local
--with-gmp=/usr/local --with-ppl=/usr/local --with-cloog=/usr/local
--with-mpc=/usr/local --with-libelf=/usr/local --enable-languages=c,c++
--enable-__cxa_atexit --enable-targets=all
Thread model: posix
gcc version 4.5.0 20091026 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-B.' '-r' '-nostdlib' '-v' '-Wall' '-Wextra' '-O'
'-fipa-cp' '-fipa-struct-reorg' '-fwhole-program' '-combine'
'-fprofile-generate' '-mtune=generic'
/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/cc1 -fpreprocessed
devices.i -quiet -dumpbase devices.i -mtune=generic -auxbase devices -O -Wall
-Wextra -version -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate
-o /tmp/ccNSNGpE.s
GNU C (GCC) version 4.5.0 20091026 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.5.0 20091026 (experimental), GMP version
4.3.1, MPFR version 2.4.1, MPC version 0.7
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.5.0 20091026 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.5.0 20091026 (experimental), GMP version
4.3.1, MPFR version 2.4.1, MPC version 0.7
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 51f39aedff8c196534353c80fb0ba358
devices.c: In function ?CoreKeyboardBell?:
devices.c:287:43: warning: unused parameter ?pDev?
devices.c:287:66: warning: unused parameter ?something?
devices.c: In function ?CoreKeyboardCtl?:
devices.c:295:30: warning: unused parameter ?pDev?
devices.c:295:47: warning: unused parameter ?ctrl?
devices.c: In function ?InitCoreDevices?:
devices.c:407:38: warning: comparison between signed and unsigned integer
expressions
devices.c: In function ?InitStringFeedbackClassDeviceStruct?:
devices.c:1103:39: warning: cast from pointer to integer of different size
devices.c: At top level:
devices.c:2060:1: internal compiler error: Segmentation fault
--
Summary: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-
program -combine -fprofile-generate'
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: b3timmons at speedymail dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41841