[Bug c++/70572] [4.9/5/6 Regression] ICE on code with decltype (auto) on x86_64-linux-gnu in digest_init_r, at cp/typeck2.c:1103 with -std=c++14
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 7 07:16:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70572
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-04-07
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
Target Milestone|--- |4.9.4
Summary|ICE on code with decltype |[4.9/5/6 Regression] ICE on
|(auto) on x86_64-linux-gnu |code with decltype (auto)
|in digest_init_r, at |on x86_64-linux-gnu in
|cp/typeck2.c:1103 with |digest_init_r, at
|-std=c++14 |cp/typeck2.c:1103 with
| |-std=c++14
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
ICE started with r197248, before that it has been rejected with
pr70572.C: In function ‘int foo()’:
pr70572.C:3:4: error: expected primary-expression before ‘decltype’
decltype (auto) a = foo;
^
pr70572.C:3:4: error: expected ‘;’ before ‘decltype’
More information about the Gcc-bugs
mailing list