sparc.c (sparc_option_override): Use PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for...
authorJoseph Myers <joseph@codesourcery.com>
Fri, 11 Mar 2011 16:51:29 +0000 (16:51 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 11 Mar 2011 16:51:29 +0000 (16:51 +0000)
* config/sparc/sparc.c (sparc_option_override): Use
PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2".

From-SVN: r170879

gcc/ChangeLog
gcc/config/sparc/sparc.c

index 78a6a324ffb09b542bd364048f1cd2d37d32ab71..039d9ad6c7d567f85a045a2d29d8fe86d0ae8d8f 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-11  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/sparc/sparc.c (sparc_option_override): Use
+       PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2".
+
 2011-03-11  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/48067
index 109aa1b27c3898f1e5ed4655d3a587d217bceb80..0f137e8b68f638b8f88c4afa75422a5d940f86c1 100644 (file)
@@ -776,7 +776,7 @@ sparc_option_override (void)
     { "niagara", PROCESSOR_NIAGARA, MASK_ISA,
       MASK_V9|MASK_DEPRECATED_V8_INSNS},
     /* UltraSPARC T2 */
-    { "niagara2", PROCESSOR_NIAGARA, MASK_ISA, MASK_V9},
+    { "niagara2", PROCESSOR_NIAGARA2, MASK_ISA, MASK_V9},
     { 0, (enum processor_type) 0, 0, 0 }
   };
   const struct cpu_table *cpu;