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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org
             Blocks|                            |55004
            Summary|ICE on valid C++11 code     |[6/7 regression] ICE on
                   |with __Complex int variable |valid C++11 code with
                   |declaration: in             |constexpr __Complex int
                   |operand_equal_p, at         |variable declaration: in
                   |fold-const.c:2790           |operand_equal_p, at
                   |                            |fold-const.c:2790
      Known to fail|                            |6.1.0, 7.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The ICE was apparently introduced by r230365:

r230365 | jason | 2015-11-13 19:08:05 -0500 (Fri, 13 Nov 2015) | 59 lines

        Merge C++ delayed folding branch.

Prior to that, the program failed to compile with:

error: static assertion failed
 static_assert (& __imag a == &__real a, "");
 ^~~~~~~~~~~~~


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
[Bug 55004] [meta-bug] constexpr issues

Reply via email to