[Bug c++/89024] [7 Regression] ICE testing convertibility of incomplete enumeration types

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

Marek Polacek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
Summary|[7/8 Regression] ICE|[7 Regression] ICE testing
   |testing convertibility of   |convertibility of
   |incomplete enumeration  |incomplete enumeration
   |types   |types

--- Comment #10 from Marek Polacek  ---
Fixed for 8 too.

[Bug c++/89024] [7 Regression] ICE testing convertibility of incomplete enumeration types

2019-02-07 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89024

--- Comment #11 from Christophe Lyon  ---
Author: clyon
Date: Thu Feb  7 10:21:11 2019
New Revision: 268613

URL: https://gcc.gnu.org/viewcvs?rev=268613&root=gcc&view=rev
Log:
[testsuite] Fix g++.dg/cpp0x/enum37.C testcase.

2019-02-07  Christophe Lyon  

Backport from mainline
2019-01-28  Marek Polacek  

PR c++/89024 - ICE with incomplete enum type.
* g++.dg/cpp0x/enum37.C: Add dg-error.


Modified:
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/enum37.C

[Bug c++/89024] [7 Regression] ICE testing convertibility of incomplete enumeration types

2019-02-07 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89024

Christophe Lyon  changed:

   What|Removed |Added

 CC||clyon at gcc dot gnu.org

--- Comment #12 from Christophe Lyon  ---
I backported the testcase fix for arm, as I thought it was obvious enough.