This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37565] __optimize__ attribute doesn't work correctly
- From: "sje at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2009 16:44:28 -0000
- Subject: [Bug middle-end/37565] __optimize__ attribute doesn't work correctly
- References: <bug-37565-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from sje at gcc dot gnu dot org 2009-10-29 16:44 -------
Subject: Bug 37565
Author: sje
Date: Thu Oct 29 16:44:02 2009
New Revision: 153714
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153714
Log:
2009-10-29 Steve Ellcey <sje@cup.hp.com>
PR middle-end/37565
PR target/38018
* doc/tm.texi (OVERRIDE_OPTIONS): Update.
(TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
* optc-gen.awk (cl_target_option_restore): Include call to
targetm.override_options_after_change.
* target-def.h (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
* target.h (override_options_after_change): New.
* c-common.c (parse_optimize_options): Call
targetm.override_options_after_change.
* config/ia64/ia64.c (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
(ia64_override_options_after_change): New.
(ia64_override_options) Add call to above.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-common.c
trunk/gcc/config/ia64/ia64.c
trunk/gcc/doc/tm.texi
trunk/gcc/optc-gen.awk
trunk/gcc/target-def.h
trunk/gcc/target.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565