This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/69915] New: [6 Regression] ICE: SIGSEGV with -O -ftracer with broken backtrace
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Feb 2016 11:25:00 +0000
- Subject: [Bug middle-end/69915] New: [6 Regression] ICE: SIGSEGV with -O -ftracer with broken backtrace
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69915
Bug ID: 69915
Summary: [6 Regression] ICE: SIGSEGV with -O -ftracer with
broken backtrace
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Target Milestone: ---
Target: x86_64-pc-linux-gnu, aarch64-unknown-linux-gnu
Created attachment 37765
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37765&action=edit
reduced testcase
Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -ftracer testcase.c testcase.c: In function 'foo':
testcase.c:4:1: note: The ABI for passing parameters with 32-byte alignment has
changed in GCC 4.6
foo (unsigned x, unsigned c, V v)
^~~
testcase.c:4:1: internal compiler error: Segmentation fault
0xbbbe9f crash_signal
/repo/gcc-trunk/gcc/toplev.c:335
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.
(gdb) bt
#0 0x00007ffff6c50e88 in ?? ()
#1 0x00007ffff6c50e88 in ?? ()
#2 0x00007ffff6c50e88 in ?? ()
#3 0x00007ffff6c50e88 in ?? ()
#4 0x00007ffff6c50e88 in ?? ()
#5 0x0000006e00000000 in ?? ()
#6 0x00000000023c4290 in ?? ()
#7 0x0000000000000040 in ?? ()
#8 0x00007ffff6d54498 in ?? ()
#9 0x0000000000000002 in ?? ()
#10 0x00007ffff6d7b5a0 in ?? ()
#11 0x00007ffff6d7b5a0 in ?? ()
#12 0x00007fffffffd030 in ?? ()
#13 0x0000000000000000 in ?? ()
$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-233597-checking-yes-rtl-df-nographite/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-checking=yes,rtl,df --without-cloog --without-ppl --without-isl
--disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-233597-checking-yes-rtl-df-nographite
Thread model: posix
gcc version 6.0.0 20160222 (experimental) (GCC)
Out of tested targets (powerpc{,64}, sparc{,64}, i686, arm), only
x86_64-pc-linux-gnu* and aarch64-unknown-linux-gnu seem to be affected.
Tested revisions:
trunk r233597 - ICE
trunk r230518 - ICE
5-branch r233596 - OK