[Bug target/95912] New: internal compiler error: in execute, at adjust-alignment.c:74 with 'ICE on '-m32 -mpreferred-stack-boundary=2''
slyfox at inbox dot ru
gcc-bugzilla@gcc.gnu.org
Fri Jun 26 13:24:48 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95912
Bug ID: 95912
Summary: internal compiler error: in execute, at
adjust-alignment.c:74 with 'ICE on '-m32
-mpreferred-stack-boundary=2''
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: slyfox at inbox dot ru
Target Milestone: ---
Originally ICE happened when I attempted to compile valgrind-3.16.1.
Minimal reproducer is very simple:
$ cat bug.c
a() { long long b; }
$ LANG=C gcc-11.0.0 a.c -c -m32 -mpreferred-stack-boundary=2
bug.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
1 | a() { long long b; }
| ^
during GIMPLE pass: adjust_alignment
bug.c: In function 'a':
bug.c:1:1: internal compiler error: in execute, at adjust-alignment.c:74
0x7f9fcda79d49 __libc_start_main
../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
GCC was configured as:
$ /home/slyfox/dev/git/gcc-native-quick/gcc/xgcc
-B/home/slyfox/dev/git/gcc-native-quick/gcc -v
Reading specs from /home/slyfox/dev/git/gcc-native-quick/gcc/specs
COLLECT_GCC=/home/slyfox/dev/git/gcc-native-quick/gcc/xgcc
COLLECT_LTO_WRAPPER=/home/slyfox/dev/git/gcc-native-quick/gcc/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
--enable-languages=c,c++ --disable-bootstrap --with-multilib-list=m64
--prefix=/home/slyfox/dev/git/gcc-native-quick/../gcc-native-quick-installed
--disable-nls --without-isl --disable-libsanitizer --disable-libvtv
--disable-libgomp --disable-libstdcxx-pch --disable-libunwind-exceptions
CFLAGS='-O1 ' CXXFLAGS='-O1 ' --with-sysroot=/usr/x86_64-HEAD-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20200626 (experimental) (GCC)
More information about the Gcc-bugs
mailing list