[Bug c++/78089] __builtin_shuffle parsing bug
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 7 22:47:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78089
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec 7 22:46:26 2016
New Revision: 243396
URL: https://gcc.gnu.org/viewcvs?rev=243396&root=gcc&view=rev
Log:
Backported from mainline
2016-10-31 Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-6-branch/gcc/testsuite/c-c++-common/builtin-shuffle-1.c
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/parser.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list