From: Jakub Jelinek Date: Wed, 4 Jan 2017 20:25:13 +0000 (+0100) Subject: re PR driver/78957 (ICE: SIGSEGV with -fno-sso-struct=web) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc73e60cdedea7002feb76bf066227b9620bf5a8;p=gcc.git 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 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 80735aeeef8..468b7dde8f5 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2017-01-04 Jakub Jelinek + + PR driver/78957 + * c.opt (fsso-struct=): Add RejectNegative. + 2017-01-01 Jakub Jelinek Update copyright years. diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 3c06aec34b2..3f6c67fbc7e 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -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 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a5572645e92..fdd8aa15628 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2017-01-04 Jakub Jelinek + PR driver/78957 + * gcc.dg/pr78957.c: New test. + * g++.dg/cpp1y/auto-fn34.C: New test. PR c++/71182 diff --git a/gcc/testsuite/gcc.dg/pr78957.c b/gcc/testsuite/gcc.dg/pr78957.c new file mode 100644 index 00000000000..305023e1870 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr78957.c @@ -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;