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++/85112] [8 Regression] ICE with invalid constexpr


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-03-28
                 CC|                            |msebor at gcc dot gnu.org
      Known to work|                            |7.3.0
     Ever confirmed|0                           |1
      Known to fail|                            |8.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  Bisection points to r249083 (gcc 8.0.0):

r249083 | jason | 2017-06-09 18:46:51 -0400 (Fri, 09 Jun 2017) | 5 lines

Don't fold conversion from a constant variable.

        * call.c (convert_like_real): Remove "inner" parameter.
        Don't replace a constant with its value.
        * cp-gimplify.c (cp_fully_fold): Use cp_fold_rvalue.

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