Commit 768875a8 by Alan Modra Committed by Alan Modra

re PR target/20277 (-mcpu=power4 vs. -maltivec)

	PR target/20277
	* config/rs6000/rs6000.c (rs6000_override_options): Don't allow
	-mcpu to override any other explicitly given flags.

From-SVN: r95820
parent cea91480
2005-03-03 Alan Modra <amodra@bigpond.net.au>
PR target/20277
* config/rs6000/rs6000.c (rs6000_override_options): Don't allow
-mcpu to override any other explicitly given flags.
2005-03-02 J"orn Rennecke <joern.rennecke@st.com>
* recog.c (verify_changes, confirm_change_group): New functions,
......
......@@ -1192,9 +1192,8 @@ rs6000_override_options (const char *default_cpu)
set_masks &= ~MASK_ALTIVEC;
#endif
/* Don't override these by the processor default if given explicitly. */
set_masks &= ~(target_flags_explicit
& (MASK_MULTIPLE | MASK_STRING | MASK_SOFT_FLOAT));
/* Don't override by the processor default if given explicitly. */
set_masks &= ~target_flags_explicit;
/* Identify the processor type. */
rs6000_select[0].string = default_cpu;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment