[Bug c++/64235] Internal compiler error (Segmentation fault)

2019-06-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64235

--- Comment #4 from Marek Polacek  ---
Author: mpolacek
Date: Fri Jun 21 20:26:54 2019
New Revision: 272570

URL: https://gcc.gnu.org/viewcvs?rev=272570&root=gcc&view=rev
Log:
PR c++/64235 - missing syntax error with invalid alignas.
* parser.c (cp_parser_std_attribute_spec): Commit to tentative parse
if there's a missing close paren.

* g++.dg/parse/alignas1.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/parse/alignas1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog

[Bug c++/64235] Internal compiler error (Segmentation fault)

2019-06-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64235

Marek Polacek  changed:

   What|Removed |Added

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

--- Comment #5 from Marek Polacek  ---
Fixed.

[Bug c++/64235] Internal compiler error (Segmentation fault)

2019-06-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64235

Marek Polacek  changed:

   What|Removed |Added

   Keywords||patch

--- Comment #3 from Marek Polacek  ---
https://gcc.gnu.org/ml/gcc-patches/2019-06/msg01185.html

[Bug c++/64235] Internal compiler error (Segmentation fault)

2019-06-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64235

Marek Polacek  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |mpolacek at gcc dot 
gnu.org

[Bug c++/64235] Internal compiler error (Segmentation fault)

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64235

Marek Polacek  changed:

   What|Removed |Added

   Keywords|ice-on-invalid-code |
 CC||mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek  ---
No longer ICEs, but cc1plus still accepts it.

[Bug c++/64235] Internal compiler error (Segmentation fault)

2014-12-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64235

Richard Biener  changed:

   What|Removed |Added

   Keywords||accepts-invalid,
   ||ice-on-invalid-code
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-09
 Ever confirmed|0   |1
  Known to fail||4.8.3, 4.9.2, 5.0

--- Comment #1 from Richard Biener  ---
Confirmed the ice-on-invalid.  But more importantly g++ 4.9 and 5 accept the
code without complaining...