https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86369
Nicolas Lesser <blitzrakete at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blitzrakete at gmail dot com --- Comment #1 from Nicolas Lesser <blitzrakete at gmail dot com> --- For clarity, b1 shouldn't compile. [lex.string]p16 says: "whether successive evaluations of a string-literal yield the same or a different object is unspecified." [expr.const]p2 says: "An expression e is a core constant expression unless the evaluation of e, [...], would evaluate one of the following expressions: [...]; a relational or equality operator where the result is unspecified;"