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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-07-30
                 CC|                            |jason at redhat dot com
      Known to work|                            |5.4.0
            Summary|volatile variable is taken  |[6/7/8/9 Regression]
                   |as a constexpr              |volatile variable is taken
                   |                            |as a constexpr
     Ever confirmed|0                           |1
      Known to fail|                            |6.4.0, 7.3.0, 8.2.0, 9.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Regression started with r231351:

           Fix template/ref1.C, nontype15.C, addr-builtin1.C with -std=c++1z.

            * parser.c (cp_parser_template_argument): Handle references in
            C++1z mode.
            * constexpr.c (potential_constant_expression_1): Don't error about
            TREE_THIS_VOLATILE on declarations.
            [COMPONENT_REF]: Don't consider the object if we're dealing with an
            overloaded function.

Reply via email to