constexpr on static member function causes segfault

Bug #1717349 reported by Emil Fresk
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNU Arm Embedded Toolchain
New
Undecided
Unassigned

Bug Description

The constexpr on line 55 in https://godbolt.org/g/sJA8nK causes the segfault (where the full error message can be seen as well).
By removing this, it compiles fine. The error is tested in 6.3.0 and 6.3.1, where it exists.

In GCC 7.1 it works as intended.

Revision history for this message
Tejas Belagod (belagod-tejas) wrote :

This will be fixed in our major release at the end of this year which will be based on gcc 7.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.