This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix ICE with -fno-sso-struct=none (PR driver/78957)


On Thu, Jan 05, 2017 at 08:53:49PM +0100, Eric Botcazou wrote:
> > In this case there is no -fsso-struct option (what would it mean), so
> > -fno-sso-struct isn't there either (again, what would that mean).
> > The only thing that would make sense IMHO would be to allow
> > not just big-endian and little-endian, but also native, so one can
> > cancel earlier -fsso-struct= like
> > gcc ... -fsso-struct=little-endian ... -fsso-struct=native ...
> > and have it act as if neither of those options appeared.
> 
> That makes sense and is immediate since the logic is already based on the 
> native endianness of the target.
> 
> Tested on x86-64_suse-linux, OK for the mainline?
> 
> 
> 2017-01-05  Eric Botcazou  <ebotcazou@adacore.com>
> 
> 	* c-family/c.opt (fsso-struct): Add 'native' value.

c-family/ has its own ChangeLog, so just * c.opt (...): ...

> 	* doc/invoke.texi (C Dialect Options): Document it.
> 
> 
> 2017-01-05  Eric Botcazou  <ebotcazou@adacore.com>
> 
> 	* gcc.dg/sso-10.c: New test.

Ok, thanks.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]