- 08 May, 2012 6 commits
-
-
PR target/53272 * config/cris/cris.c (cris_normal_notice_update_cc): For TARGET_V32, when a constant source operand matches an "I" constraint, the "no CC0 change" applies to a register-destination only, not a strict_low_part-destination. From-SVN: r187283
Hans-Peter Nilsson committed -
2012-05-08 Richard Guenther <rguenther@suse.de> * fold-const.c (fold_binary_loc): Fold (X * CST1) & CST2 to zero or to (X * CST1) & CST2' when CST1 has trailing zeros. * gcc.dg/fold-bitand-4.c: New testcase. From-SVN: r187280
Richard Guenther committed -
* Makefile.in (TEXI_GCC_FILES): Add avr-mmcu.texi. * doc/avr-mmcu.texi: New auto-generated file. * doc/invoke.texi (AVR Options): Include avr-mmcu.texi in order to document all valid -mmcu= arguments. * config/avr/avr.h (arch_info_s): New struct definition. * config/avr/avr-devices.c (avr_texinfo): New variable. * config/avr/gen-avr-mmcu-texi.c: New file. * config/avr/t-avr: New rules and dependencies to build avr-mmcu.texi. From-SVN: r187279
Georg-Johann Lay committed -
2012-05-08 Dehao Chen <dehao@google.com> gcc/ * predict.c (find_qualified_ssa_name): New (find_ssa_name_in_expr): New (find_ssa_name_in_assign_stmt): New (is_comparison_with_loop_invariant_p): New (is_bound_expr_similar): New (predict_iv_comparison): New (predict_loops): Add heuristic for loop-nested branches that compare an induction variable to a loop bound variable. * predict.def (PRED_LOOP_IV_COMPARE): New macro testsuite/ * gcc.dg/predict-1.c: Check if LOOP_IV_COMPARE static predict heuristic is working properly. * gcc.dg/predict-2.c: Likewise. * gcc/dg/predict-3.c: Likewise. * gcc/dg/predict-4.c: Likewise. * gcc/dg/predict-5.c: Likewise. * gcc/dg/predict-6.c: Likewise. From-SVN: r187277
Dehao Chen committed -
* config/i386/i386.c (has_dispatch): Use TARGET_BDVER1 and TARGET_BDVER2 defines where appropriate. From-SVN: r187276
Uros Bizjak committed -
From-SVN: r187275
GCC Administrator committed
-
- 07 May, 2012 24 commits
-
-
* configure.ac (PLUGIN_LD): Rename into... (PLUGIN_LD_SUFFIX): ...this and strip the target_alias triplet. * config.in: Regenerate. * configure: Likewise. * collect2.c (main): Set plugin_ld_suffix to PLUGIN_LD_SUFFIX. From-SVN: r187269
Eric Botcazou committed -
tree-dfa.c (get_ref_base_and_extent): Do the offset computation using the precision of the index type. * tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Do the offset computation using the precision of the index type. * gimple-fold.c (fold_const_aggregate_ref_1) <ARRAY_REF>: Likewise. (fold_array_ctor_reference): Do index computations in the index type. From-SVN: r187268
Eric Botcazou committed -
The lexer used to incorrectly accept a token like 0x123i and interpreted it as 123i. It also used to die when encountering 0xdie. From-SVN: r187266
Ian Lance Taylor committed -
This patch corrects an ICE in handling on constant expressions such as const r = ^'a' Part of issue 9. From-SVN: r187264
Ian Lance Taylor committed -
The Go specification only accepts the NOT operator on boolean types. Fixes issue 10. From-SVN: r187262
Ian Lance Taylor committed -
* config/avr/avr.c (avr_prologue_setup_frame): Fix mode passed down to plus_constant. (expand_epilogue): Ditto. From-SVN: r187259
Georg-Johann Lay committed -
* postreload.c (reload_cse_regs): Make static. * reload.h (reload_cse_regs): Remove prototype. From-SVN: r187258
Steven Bosscher committed -
* Makefile.am (libatomic.map-sun): Handle objects in libatomic_la_LIBADD. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. From-SVN: r187257
Rainer Orth committed -
* configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS. * configure: Regenerate. From-SVN: r187256
Rainer Orth committed -
From-SVN: r187255
Richard Henderson committed -
From-SVN: r187254
Georg-Johann Lay committed -
2012-05-07 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac: Bump minimum MPFR version to 2.4.0. * configure: Regenerated. From-SVN: r187253
Janne Blomqvist committed -
PR middle-end/53245 * gimplify.c (preprocess_case_label_vec_for_gimple): If low or high is folded to a type boundary value, verify that the resulting case label is still a care range. From-SVN: r187248
Steven Bosscher committed -
* config/i386/i386.md (ctz<mode>2): Emit rep;bsf only for TARGET_GENERIC, when not optimizing for size. (*ffs<mode>_1): Ditto. From-SVN: r187247
Uros Bizjak committed -
* tree-cfg.c (verify_gimple_switch): Tighten checks. From-SVN: r187242
Steven Bosscher committed -
PR tree-optimization/53239 * tree-vrp.c (get_value_range): Set VR of SSA_NAME_IS_DEFAULT_DEF of DECL_BY_REFERENCE RESULT_DECL to nonnull. * g++.dg/opt/vrp3.C: New test. * g++.dg/opt/vrp3-aux.cc: New file. * g++.dg/opt/vrp3.h: New file. From-SVN: r187240
Jakub Jelinek committed -
* g++.dg/debug/dwarf2/nested-3.C: Allow for / comments and missing .uleb128 support in assembler output. From-SVN: r187236
Rainer Orth committed -
re PR lto/53195 (ICE seg fault in lto (in set_is_used (tp=Unhandled dwarf expression opcode 0xf3 ) at ../.././gcc/tree-flow-inline.h:567)) 2012-05-07 Richard Guenther <rguenther@suse.de> PR tree-optimization/53195 * tree-inline.c (setup_one_parameter): Properly add referenced vars from the parameters new known value. From-SVN: r187235
Richard Biener committed -
* config/m68k/m68k.c (m68k_sched_branch_type): Remove. (sched_branch_type): Remove. (m68k_sched_md_init_global): Don't allocate it. (m68k_sched_md_finish_global): Don't free it. * config/m68k/m68k.h (m68k_sched_branch_type): Remove prototype. * config/m68k/m68k.md: Set the type of insns using m68k_sched_branch_type to bcc directly. From-SVN: r187234
Steven Bosscher committed -
2012-05-07 Richard Guenther <rguenther@suse.de> PR lto/42987 * g++.dg/lto/pr42987_0.C: New testcase. * g++.dg/lto/pr42987_1.C: Likewise. From-SVN: r187231
Richard Guenther committed -
* config/sol2.c (solaris_override_options): New function. * config/sol2-protos.h (solaris_override_options): Declare. * config/sol2.h (SUBTARGET_OVERRIDE_OPTIONS): Define. From-SVN: r187230
Rainer Orth committed -
tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Return whether we failed to compute data dependences. 2012-05-07 Richard Guenther <rguenther@suse.de> * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Return whether we failed to compute data dependences. (loop_prefetch_arrays): Fail if we failed. From-SVN: r187227
Richard Guenther committed -
re PR fortran/53255 ([OOP] With TYPE, wrong type-bound operator used: of parent instead of overridden one) 2012-05-07 Tobias Burnus <burnus@net-b.de> PR fortran/53255 * resolve.c (resolve_typebound_static): Fix handling of overridden specific to generic operator. 2012-05-07 Tobias Burnus <burnus@net-b.de> PR fortran/53255 * gfortran.dg/typebound_operator_15.f90: New. From-SVN: r187226
Tobias Burnus committed -
From-SVN: r187223
GCC Administrator committed
-
- 06 May, 2012 10 commits
-
-
* config/i386/i386.md (ctz<mode>2): Emit rep;bsf even for !TARGET_BMI. Emit bsf when optimizing for size. (*ffs<mode>_1): Ditto. Co-Authored-By: Paolo Bonzini <bonzini@gnu.org> From-SVN: r187219
Uros Bizjak committed -
PR target/53250 * config/sh/sh.c (sh_rtx_costs): Handle SET. From-SVN: r187218
Oleg Endo committed -
PR target/53227 * config/i386/i386.md (swap<mode>): Rename from *swap<mode>. (bswapdi2): Split from bswap<mode>2. Use nonnimediate_operand predicate for operand 1. Force operand 1 to register for TARGET_BSWAP. (bswapsi2): Ditto. (*bswapdi2_doubleword): New insn pattern. (*bswap<mode>2): Rename from *bswap<mode>2_1. From-SVN: r187215
Uros Bizjak committed -
2012-05-06 Tobias Burnus <burnus@net-b.de> PR fortran/41587 * decl.c (build_struct): Don't ignore FAILED status. 2012-05-06 Tobias Burnus <burnus@net-b.de> PR fortran/41587 * gfortran.dg/class_array_13.f90: New. From-SVN: r187214
Tobias Burnus committed -
gcc/ * config/mips/mips.c (mips_set_reg_reg_piece_cost): New function. (mips_set_reg_reg_cost): Likewise. (mips_rtx_costs): Handle SET. From-SVN: r187213
Richard Sandiford committed -
gcc/ * lower-subreg.c (shift_cost): Use set_src_cost, avoiding the SET. (compute_costs): Likewise for the zero extension. Use set_rtx_cost to compute the cost of moves. Set the mode of the target register. From-SVN: r187212
Richard Sandiford committed -
2012-05-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/53152 * call.c (op_error, build_new_op_1, build_new_op): Add location_t parameter. (build_conditional_expr_1): Adjust. * typeck.c (build_x_indirect_ref, build_x_binary_op, build_x_unary_op): Add location_t parameter. (rationalize_conditional_expr, build_x_array_ref, build_x_compound_expr, cp_build_modify_expr, build_x_modify_expr): Adjust. * typeck2.c (build_x_arrow): Add location_t parameter. * semantics.c (finish_unary_op_expr): Likewise. (finish_increment_expr, handle_omp_for_class_iterator): Adjust. * decl2.c (grok_array_decl): Add location_t parameter. * parser.c (cp_parser_postfix_open_square_expression, cp_parser_postfix_dot_deref_expression, cp_parser_unary_expression, cp_parser_binary_expression, cp_parser_builtin_offsetof, do_range_for_auto_deduction, cp_convert_range_for, cp_parser_template_argument, cp_parser_omp_for_cond): Pass the location, adjust. * pt.c (tsubst_copy_and_build): Adjust. * tree.c (maybe_dummy_object): Likewise. * cp-tree.h: Update declarations. From-SVN: r187211
Paolo Carlini committed -
From-SVN: r187210
Tristan Gingold committed -
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: In the renaming case, use the padded type if the renamed object has an unconstrained type with default discriminant. From-SVN: r187209
Eric Botcazou committed -
* gcc-interface/trans.c (Loop_Statement_to_gnu): Also handle invariant conditions with only one bound. (Raise_Error_to_gnu): Likewise. New function extracted from... (gnat_to_gnu) <N_Raise_Constraint_Error>: ...here. Call above function in regular mode only. From-SVN: r187208
Eric Botcazou committed
-