This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34526] no-altivec ABI should be fixed or no longer be the default
- From: "janis 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 Jan 2008 23:45:36 -0000
- Subject: [Bug target/34526] no-altivec ABI should be fixed or no longer be the default
- References: <bug-34526-4503@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from janis at gcc dot gnu dot org 2008-01-29 23:45 -------
While testing an extremely simple patch for this PR I discovered that
-mabi=no-altivec hasn't had an effect since r99284, which changed the way that
options are handled for the rs6000 back end. Before that change,
rs6000_override_options set rs6000_altivec_abi to the appropriate default
before calling rs6000_parse_abi_options, which could change rs6000_altivec_abi.
After that revision the -mabi option is handled _before_ the call to
rs6000_override_options.
I'm now searching for the appropriate place to set the _default_, not
_override_, for rs6000_altivec_abi. Hints gratefully accepted.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34526