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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|6.0                         |6.1.0

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Below is another example, one that even elicits a warning where GCC points out
the unspecified behavior:

$ cat xx.cpp && gcc -S -Wall -Wextra -Wpedantic -o/dev/null xx.cpp
constexpr int b = "" == "";
xx.cpp:1:25: warning: comparison with string literal results in unspecified
behavior [-Waddress]
 constexpr int b = "" == "";
                         ^~

Reply via email to