[Bug c++/78489] Substitution failure does not happen in lexical order for NTTP declarations.

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-03-23
 Ever confirmed|0   |1

[Bug c++/78489] Substitution failure does not happen in lexical order for NTTP declarations.

2018-03-22 Thread eric at efcs dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489

--- Comment #2 from Eric Fiselier  ---
Created attachment 43737
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43737=edit
reproducer2.cpp

Another reproducer: This one is a regression from 7.3
https://godbolt.org/g/UEti9f

Could somebody please take a look at this?