[Bug c++/85695] [8/9 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Tue May 8 19:30:57 2018 New Revision: 260049 URL: https://gcc.gnu.org/viewcvs?rev=260049=gcc=rev Log: PR c++/85695 * semantics.c (finish_if_stmt_cond): See through

[Bug c++/85695] [8/9 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85695] [8/9 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 --- Comment #2 from Jonathan Wakely --- This fixes it: --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -736,7 +736,7 @@ finish_if_stmt_cond (tree cond, tree if_stmt) && !instantiation_dependent_expression_p (cond) /* Wait

[Bug c++/85695] [8/9 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 Jonathan Wakely changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Target