Fix "#pragma GCC pop_options"
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Wed, 14 Oct 2015 06:53:54 +0000 (06:53 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 14 Oct 2015 06:53:54 +0000 (06:53 +0000)
commit1aa5ba4e22db332e1ec0f6b018a3eb6163f707ba
tree13ca802a9cf640fd496de161f422bdfe8149308a
parent168d732e0c6854ed0a9860bf25e1e68321a210e6
Fix "#pragma GCC pop_options"

gcc/ChangeLog

* targhooks.c (default_target_option_pragma_parse): Do not warn if
called on behalf of "#pragma GCC pop_options".

gcc/testsuite/ChangeLog

* gcc.dg/pragma-pop_options-1.c: New test.

From-SVN: r228794
gcc/ChangeLog
gcc/targhooks.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pragma-pop_options-1.c [new file with mode: 0644]