re PR target/57756 (Function target attribute is retaining state of previously seen...
commitd358fb9dae37dfe948ef87af4d8951dac4cd3646
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Wed, 16 Oct 2013 23:06:36 +0000 (16 23:06 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Wed, 16 Oct 2013 23:06:36 +0000 (16 23:06 +0000)
tree4fd1b471ea70ecad1296a167c84af47d24aa2b72
parentc71aed477a177675e0887142a4a045c527860d51
re PR target/57756 (Function target attribute is retaining  state of previously seen function)

2013-10-16  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/57756
* config/rs6000/rs6000.opt (rs6000_isa_flags_explicit): Move the
explicit isa flag to be an options variable, instead of using
global_options_set.  Remove define from rs6000.h.
* config/rs6000/rs6000.h (rs6000_isa_flags_explicit): Likewise.

* config/rs6000/rs6000.c (rs6000_option_override_internal):
Initialize rs6000_isa_flags_explicit.
(rs6000_function_specific_save): Add gcc_options* parameter, so
that the powerpc builds after the 2013-10-15 changes.
(rs6000_function_specific_restore): Likewise.

From-SVN: r203734
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.opt