re PR target/71652 (ICE in in ix86_target_macros_internal, at config/i386/i386-c...
authorMartin Liska <mliska@suse.cz>
Fri, 23 Sep 2016 07:55:57 +0000 (09:55 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 23 Sep 2016 07:55:57 +0000 (07:55 +0000)
commite70f01b561a3d65baba2c981a4e162967e41285f
tree510a28f026e1bf9bedf58f6d652a13fe520e0929
parentf2e81d0585673e93f4225599f190c6764ddb0fec
re PR target/71652 (ICE in in ix86_target_macros_internal, at config/i386/i386-c.c:187)

Fix PR target/71652

PR target/71652
* config/i386/i386.c (ix86_option_override_internal): Change
signature and return false when there's an error related to
arch string.
(release_options_strings): New function.
(ix86_valid_target_attribute_tree): Call the function.
* gcc.target/i386/pr71652.c: New test.
* gcc.target/i386/pr71652-2.c: New test.
* gcc.target/i386/pr71652-3.c: New test.

From-SVN: r240392
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr71652-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr71652-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr71652.c [new file with mode: 0644]