re PR target/44754 (m32c_pragma_memregs / m32c_pragma_address warnings)
[gcc.git] / gcc / ChangeLog
index c5b406a30d11882d360d5ee9293c3ba9b4f90e4a..8efea324e9584802f2f708eb0fad6bd10f0adde4 100644 (file)
@@ -1,7 +1,12 @@
+2010-11-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config.gcc: Support --with-fpmath=avx for x86.
+       * config/i386/avxmath.h: New.
+       * doc/install.texi (--with-fpmath=): Document --with-fpmath=avx.
+
 2010-11-05  Ian Lance Taylor  <iant@google.com>
 
-       * tree.h (struct tree_type): Don't use descbits in GTY
-       annotation.
+       * tree.h (struct tree_type): Don't use descbits in GTY annotation.
        * gengtype.c (walk_type): Don't recognize descbits option.
 
 2010-11-05  Joseph Myers  <joseph@codesourcery.com>
@@ -15,8 +20,7 @@
        * opts-common.c: Update comment on tm.h include.
        (decode_cmdline_option): Handle options with multiple arguments.
        Don't check WORD_SWITCH_TAKES_ARG for unknown options.
-       * opts.h (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK):
-       Define.
+       * opts.h (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK): Define.
        (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, CL_TARGET,
        CL_COMMON): Update values.
        * system.h (WORD_SWITCH_TAKES_ARG): Poison.
        * expr.c (emit_push_insn): Cast value of PUSH_ROUNDING before
        comparing it to a signed value.
 
+       PR bootstrap/44756
+       * expr.c (can_store_by_pieces): Add ATTRIBUTE_UNUSED to cst.
+       * haifa-sched.c (initiate_bb_reg_pressure_info): Add ATTRIBUTE_UNUSED
+       to i.
+
+       PR target/44754
+       * config/m32c/m32c.c (m32_function_arg): Rename declaration to...
+       (m32c_function_arg).  Add comma between arguments two and three.
+       (m32c_promote_prototypes): Remove declaration.
+       (current_function_special_page_vector): Likewise.
+       (m32c_regno_reg_class): Change return type to enum reg_class.
+       (m32c_pushm_popm): Use add_reg_note.
+       (m32c_push_rounding): Change return type to unsigned int.
+       (m32c_legitimize_reload_address): Cast argument 11 to push_reload to
+       enum reload_type.
+       (m32c_insert_attributes): Constify variable name.
+       (m32c_output_aligned_common): Add ATTRIBUTE_UNUSED to argument decl.
+       (m32c_prepare_shift): Remove variable lref.
+       (m32c_expand_movcc): Remove variable cmp.
+       (m32c_expand_insv): Fix check of op0 rtx_code to use GET_CODE.
+       (m32c_compare_redundant): Remove variable op2.
+       * config/m32c/m32c-pragma.c ("c-family/c-common.h"): Include.
+       (m32c_pragma_memregs): Assign the number to target_memregs.
+       (m32c_pragma_address): Remove variable var_str.
+       * config/m32c/m32c.h (REG_CLASS_FROM_CONSTRAINT): Case value to
+       enum reg_class.
+       (LIMIT_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Likewise.
+       * config/m32c/bitops.md (andsi3): Add default case to switch.
+       (iorsi3, xorsi3): Likewise.
+       * config/m32c/addsub.md (addsi3_1, subsi3_1): Likewise.
+       * config/m32c/jump.md (call, call_value): Likewise.
+       * config/m32c/m32c-protos.h (m32c_push_rounding): Update prototype.
+       (m32c_regno_reg_class): Likewise.
+       (current_function_special_page_vector): Declare.
+
 2010-11-05  Jakub Jelinek  <jakub@redhat.com>
 
        * cfgexpand.c (expand_debug_expr): Handle MEM_REF
 2010-11-04  Paul Koning  <ni1d@arrl.net>
 
        * doc/md.texi (Machine Constraints): Correct formatting in PDP-11
-       constraints. 
-       
+       constraints.
+
 2010-11-04  Chao-ying Fu  <fu@mips.com>
 
        * configure.ac: Test assembler support for DSP Rev1 mult.
        Use (!TARGET_FIX_R4000 || ISA_HAS_DSP), instead of
        (!TARGET_FIX_R4000 && !ISA_HAS_DSPR2).
        Emit the accumulator destination when ISA_HAS_DSP_MULT.
-       (<u>msubsidi4): Add comments.
-       Test ISA_HAS_DSP.
+       (<u>msubsidi4): Add comments.  Test ISA_HAS_DSP.
        Emit the accumulator destination when ISA_HAS_DSP_MULT.
        (<u>maddsidi4): Likewise.
        * doc/extend.texi (MIPS DSP Built-in Functions): Move madd, maddu,
 2010-11-04  Paul Koning  <ni1d@arrl.net>
 
        * doc/md.texi (Machine Constraints): Add PDP-11 constraints.
-       
+
 2010-11-04  Paul Koning  <ni1d@arrl.net>
 
        * doc/invoke.texi (PDP-11 Options): Delete -msplit, -mno-split.
        MINUS_EXPR only if the first operand is reduction operand.
 
 2010-11-04  Richard Guenther  <rguenther@suse.de>
-       Richard Henderson  <rth@redhat.com>
+           Richard Henderson  <rth@redhat.com>
 
        * tree.def (FMA_EXPR): New tree code.
        * expr.c (expand_expr_real_2): Add FMA_EXPR expansion code.
        operations.
 
 2010-11-04  Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
-       Richard Guenther  <rguenther@suse.de>
+           Richard Guenther  <rguenther@suse.de>
 
        * passes.c (init_optimization_passes): Move veclower after SSA.
        * tree-vect-generic.c (uniform_vector_p): New function.
 
 2010-11-03  Kaz Kojima  <kkojima@gcc.gnu.org>
 
-       * config.gcc (sh64*) <tm_file>: Add newlib-stdint.h for
-       newlib targets.
+       * config.gcc (sh64*) <tm_file>: Add newlib-stdint.h for newlib targets.
 
 2010-11-03  Kaz Kojima  <kkojima@gcc.gnu.org>
 
 
 2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * config/i386/i386-protos.h (ix86_split_call_pop_vzeroupper):
-       Removed.
+       * config/i386/i386-protos.h (ix86_split_call_pop_vzeroupper): Removed.
        * config/i386/i386.c (ix86_split_call_pop_vzeroupper): Likewise.
 
        * config/i386/i386.md (*call_pop_0_vzeroupper): Use parallel
 
 2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * config/i386/i386.md (*sibcall_1_rex64_vzeroupper): Fix a
-       typo.
+       * config/i386/i386.md (*sibcall_1_rex64_vzeroupper): Fix a typo.
 
 2010-11-02  Eric Botcazou  <ebotcazou@adacore.com>