This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/69203] ICE in potential_constant_expression_1, at cp/constexpr.c:4754


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69203

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to James Almer from comment #2)
> Compile it with "std=c++14 -Wall", otherwise it apparently will not ICE. For
> example "g++ -std=c++14 -ftemplate-backtrace-limit=0 -Wall 69203_2.ii"

std=c++14 is not needed for GCC 6 but I had missed that I needed -Wall :(
Will try to reduce this further after a meeting.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]