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++/85842] [8/9 Regression] Bogus -Wreturn-type with generic lambda and constexpr if


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
      Known to work|                            |7.3.0
            Summary|Bogus -Wreturn-type with    |[8/9 Regression] Bogus
                   |generic lambda and          |-Wreturn-type with generic
                   |constexpr if                |lambda and constexpr if
      Known to fail|                            |8.1.0, 9.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Started with r259043

            PR c++/85149 - generic lambda and constexpr if.

            * pt.c (build_extra_args, add_extra_args): Split from
            tsubst_pack_expansion.
            (tsubst_expr) [IF_STMT]: Use them.
            * cp-tree.h (IF_STMT_EXTRA_ARGS): New.

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