Bug ID 1054754
Summary Internal compiler error with g++-6
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.3
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee bnc-team-screening@forge.provo.novell.com
Reporter jroedel@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

I triggered an internal compiler error today with g++-6:

floc.cc:187:1: internal compiler error: in output_constructor_regular_field, at
varasm.c:4968
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
<builtin>: recipe for target 'floc.o' failed
make: *** [floc.o] Error 1

It seems to stumble about this definition:

struct file_type ftypes[] {
        { .name = "C Source", .extensions = { ".c" } },
        { .name = "C++ Source", .extensions = { ".cc", ".C", ".c++", ".cpp" }
},
        { .name = "C/C++ Header", .extensions = { ".h" } },
};

A Google search indicates that the bug was already reported to gcc and is fixed
upstream. There is was tracked as
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78572

I triggered this with g++-6 in Leap 42.2 and 42.3. Can the upstream fix be
backported to gcc-6?


You are receiving this mail because: