[Bug c++/71821] [6/7/8 regression] ICE on invalid C++11 code (incorrect argument for alignas): unexpected expression ‘f’ of kind template_id_expr

2017-10-17 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71821

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|6.5 |7.0

--- Comment #7 from Paolo Carlini  ---
Given that this is only an ICE on invalid, I think at this time we can close it
as fixed for 7.1.0.

[Bug c++/71821] [6/7/8 regression] ICE on invalid C++11 code (incorrect argument for alignas): unexpected expression ‘f’ of kind template_id_expr

2017-10-17 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71821

--- Comment #6 from paolo at gcc dot gnu.org  ---
Author: paolo
Date: Tue Oct 17 19:49:06 2017
New Revision: 253828

URL: https://gcc.gnu.org/viewcvs?rev=253828&root=gcc&view=rev
Log:
2017-10-17  Paolo Carlini  

PR c++/71821
* g++.dg/cpp0x/alignas12.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/alignas12.C
Modified:
trunk/gcc/testsuite/ChangeLog