Bug 95746 - ice during GIMPLE pass: reassoc
Summary: ice during GIMPLE pass: reassoc
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 11.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-18 16:39 UTC by David Binderman
Modified: 2020-06-24 07:27 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2020-06-18 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2020-06-18 16:39:42 UTC
For C++ testsuite case ./g++.dg/other/vector-compare.C
on flag -O3 -march=native, recent gcc trunk does this:

$ /home/pi/gcc/results/bin/g++ -c -O3 -march=native ./g++.dg/other/vector-compare.C
during GIMPLE pass: reassoc
./g++.dg/other/vector-compare.C: In function 'long long int f(v4f*, const v4f*)':
./g++.dg/other/vector-compare.C:21:1: internal compiler error: Segmentation fault
   21 | f (v4f *x, v4f const *y)
      | ^
0x8db2e3 crash_signal
        ../../trunk.git/gcc/toplev.c:328
0x76c3511f ???
        ../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64
0x5f0513 gsi_replace_with_seq(gimple_stmt_iterator*, gimple*, bool)
        ../../trunk.git/gcc/gimple-iterator.c:474
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

native is Raspberry PI 3+, so armv7l-unknown-linux-gnueabihf
Comment 1 David Binderman 2020-06-18 16:44:49 UTC
The bug doesn't seem to occur on raspberry pi 4, with config string
arm-linux-gnueabihf.
Comment 2 Martin Liška 2020-06-18 18:54:23 UTC
Should be fixed on master, can you please re-check?
Comment 3 David Binderman 2020-06-21 06:50:28 UTC
Fixed by date 20200619. Thanks for checking.
Comment 4 Martin Liška 2020-06-24 07:27:40 UTC
Fixed.