[Bug c++/71821] [5/6/7 regression] ICE on invalid C++11 code (incorrect argument for alignas): unexpected expression ‘f<int>’ of kind template_id_expr
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 11 08:36:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71821
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dodji at gcc dot gnu.org,
| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If I slightly modify the testcase:
template < typename > constexpr int f () { return 4; }
char c alignas (f <int>);
the ICE starts with r192199.
More information about the Gcc-bugs
mailing list