[Bug c++/78089] __builtin_shuffle parsing bug

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78089

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Jakub Jelinek  ---
Fixed.

[Bug c++/78089] __builtin_shuffle parsing bug

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78089

--- Comment #4 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:37:39 2017
New Revision: 248620

URL: https://gcc.gnu.org/viewcvs?rev=248620=gcc=rev
Log:
Backported from mainline
2016-10-31  Jakub Jelinek  

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-5-branch/gcc/testsuite/c-c++-common/builtin-shuffle-1.c
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/parser.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/78089] __builtin_shuffle parsing bug

2016-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78089

--- Comment #3 from Jakub Jelinek  ---
Fixed for 6.3+ as well.

[Bug c++/78089] __builtin_shuffle parsing bug

2016-12-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78089

--- Comment #2 from Jakub Jelinek  ---
Author: jakub
Date: Wed Dec  7 22:46:26 2016
New Revision: 243396

URL: https://gcc.gnu.org/viewcvs?rev=243396=gcc=rev
Log:
Backported from mainline
2016-10-31  Jakub Jelinek  

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

[Bug c++/78089] __builtin_shuffle parsing bug

2016-10-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78089

--- Comment #1 from Jakub Jelinek  ---
Author: jakub
Date: Mon Oct 31 17:08:36 2016
New Revision: 241710

URL: https://gcc.gnu.org/viewcvs?rev=241710=gcc=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

[Bug c++/78089] __builtin_shuffle parsing bug

2016-10-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78089

Jakub Jelinek  changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2016-10-24
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org
   Target Milestone|--- |5.5
 Ever confirmed|0   |1