internal compiler error: in expand_debug_locations, at cfgexpand.c:5118
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Fix Released
|
Medium
|
|||
gcc-5 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm getting subject error when compiling attached code with options
g++ -finline-functions -m64 -O3 -c -g -MMD -MP -MF "main.o.d" -o main.o main.cpp
Using: gcc (Ubuntu 5.4.0-6ubuntu1~
System: Ubuntu 16.04
The error asked me to "Please submit a full bug report,"
This is a cut down example from a larger program. I'm compiling larger program with -m64 and have SIMD routines for SSE, AVX & AVX2
The problem goes away if I
1. Remove -O option or,
2. Remove the -g option (but I do want both of these for profiling) or,
3. Add explicit inline to
inline __attribute__ ((target ("avx2"))) __m256i _mm256_
inline __attribute__ ((target ("avx2"))) __m256i _mm256_
I love gcc and was so happy when I found __attribute__ ((target ("avx2"))) option. Keep up the good work.
Thanks, Colin
PS. The routines __m256i _mm256_
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in gcc: | |
status: | Confirmed → In Progress |
Changed in gcc: | |
status: | In Progress → Fix Released |
not reproducible:
$ g++ -finline-functions -m64 -O3 -c -g -MMD -MP -MF "main.o.d" -o main.o main.cpp
main.cpp: In function 'void p(AV)':
main.cpp:80:6: note: The ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
void p(union AV a) {
^