This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000_handle_option global state avoidance, part 1
On Thu, May 05, 2011 at 03:08:43PM -0400, Michael Meissner wrote:
> Yes, it was an error on my part. Sorry. I will fix the GCC 4.6 branch. I
> will hold off fixing the on trunk, on the assumption this patch will go in. I
> can fix it if desired.
I committed the following patch on the GCC 4.6 branch (GCC 4.5 and earlier is
not affected):
2011-05-05 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (rs6000_handle_option): Add missing break
for OPT_mfpu_ case.
Index: gcc/config/rs6000/rs6000.c
===================================================================
--- gcc/config/rs6000/rs6000.c (revision 173455)
+++ gcc/config/rs6000/rs6000.c (working copy)
@@ -4630,6 +4630,7 @@ rs6000_handle_option (size_t code, const
target_flags_explicit |= MASK_SOFT_FLOAT;
rs6000_single_float = rs6000_double_float = 0;
}
+ break;
case OPT_mrecip:
rs6000_recip_name = (value) ? "default" : "none";
--
Michael Meissner, IBM
5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA
meissner@linux.vnet.ibm.com fax +1 (978) 399-6899