[Bug c++/78089] __builtin_shuffle parsing bug
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 31 17:13:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78089
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Oct 31 17:08:36 2016
New Revision: 241710
URL: https://gcc.gnu.org/viewcvs?rev=241710&root=gcc&view=rev
Log:
PR c++/78089
* parser.c (cp_parser_postfix_expression): Replace return statement in
the first switch with setting postfix_expression to the return
expression and break;.
* c-c++-common/builtin-shuffle-1.c: New test.
* g++.dg/cpp0x/addressof3.C: New test.
Added:
trunk/gcc/testsuite/c-c++-common/builtin-shuffle-1.c
trunk/gcc/testsuite/g++.dg/cpp0x/addressof3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list