re PR driver/78957 (ICE: SIGSEGV with -fno-sso-struct=web)

PR driver/78957
	* c.opt (fsso-struct=): Add RejectNegative.

	* gcc.dg/pr78957.c: New test.

From-SVN: r244072
This commit is contained in:
Jakub Jelinek 2017-01-04 21:25:13 +01:00 committed by Jakub Jelinek
parent c9cf3863bd
commit fc73e60cde
4 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-01-04 Jakub Jelinek <jakub@redhat.com>
PR driver/78957
* c.opt (fsso-struct=): Add RejectNegative.
2017-01-01 Jakub Jelinek <jakub@redhat.com>
Update copyright years.

View File

@ -1626,7 +1626,7 @@ fsquangle
C++ ObjC++ Ignore Warn(switch %qs is no longer supported)
fsso-struct=
C ObjC Joined Enum(sso_struct) Var(default_sso) Init(SSO_NATIVE)
C ObjC Joined RejectNegative Enum(sso_struct) Var(default_sso) Init(SSO_NATIVE)
-fsso-struct=[big-endian|little-endian] Set the default scalar storage order.
Enum

View File

@ -1,5 +1,8 @@
2017-01-04 Jakub Jelinek <jakub@redhat.com>
PR driver/78957
* gcc.dg/pr78957.c: New test.
* g++.dg/cpp1y/auto-fn34.C: New test.
PR c++/71182

View File

@ -0,0 +1,6 @@
/* PR driver/78957 */
/* { dg-do compile } */
/* { dg-options "-fno-sso-struct=none" } */
/* { dg-error "unrecognized command line option" "" { target *-*-* } 0 } */
int i;