diff options
author | Sriraman Tallam <tmsriram@google.com> | 2013-12-03 03:14:09 +0000 |
---|---|---|
committer | Sriraman Tallam <tmsriram@gcc.gnu.org> | 2013-12-03 03:14:09 +0000 |
commit | 80f1fd0dabb30f82a972b5eb114a7d47104263a3 (patch) | |
tree | 008202786e69247dd609add1c42e242d3e1dd2de /gcc/java/java-gimplify.c | |
parent | 4c2ecab0e4978f3a4a5b40fe595729b30375386a (diff) | |
download | gcc-80f1fd0dabb30f82a972b5eb114a7d47104263a3.zip gcc-80f1fd0dabb30f82a972b5eb114a7d47104263a3.tar.gz gcc-80f1fd0dabb30f82a972b5eb114a7d47104263a3.tar.bz2 |
This patch fixes PR 58944
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58944
ix86_valid_target_attribute_tree in config/i386/i386.c was
refactored to not depend on global_options structure and to be able to
use any gcc_options structure. One clean way to fix this is by having
target_option_default_node save all the default target options which
can be restored to any gcc_options structure. The root cause of the
above bugs was that ix86_arch_string and ix86_tune_string was not
saved in target_option_deault_node.
This patch saves all the target options used in i386.opt which are
either obtained from the command-line or set to some default.
Testing:
Patch tested for bootstrap on all default languages(also obj-c++ and ada)
on x86_64 and regression testsuite checked for parity with RUNTESTFLAGS -m32
and m64.
From-SVN: r205616
Diffstat (limited to 'gcc/java/java-gimplify.c')
0 files changed, 0 insertions, 0 deletions