- 04 Oct, 2011 13 commits
-
-
From-SVN: r179503
Rainer Orth committed -
PR tree-optimization/50522 * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Don't test TYPE_RESTRICT. (ptr_derefs_may_alias_p): Call pt_solutions_same_restrict_base unconditionally. From-SVN: r179502
Jakub Jelinek committed -
fold-const.c (fold_unary_loc): Don't optimize POINTER_PLUS_EXPR casted to TYPE_RESTRICT pointer by casting the... * fold-const.c (fold_unary_loc): Don't optimize POINTER_PLUS_EXPR casted to TYPE_RESTRICT pointer by casting the inner pointer if it isn't TYPE_RESTRICT. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't through casts from non-TYPE_RESTRICT pointer to TYPE_RESTRICT pointer. * gcc.dg/tree-ssa/restrict-4.c: New test. From-SVN: r179500
Jakub Jelinek committed -
* config.gcc (i[34567]86-*-elf*, x86_64-*-elf*): Use i386/t-crtstuff. From-SVN: r179498
Joseph Myers committed -
2011-10-04 Artem Shinkarov <artyom.shinkaroff@gmail.com> * gcc.c-torture/execute/vector-compare-1.c: Fix trailing white spaces. (main): Use __typeof to get result type of comparison. From-SVN: r179497
Artjoms Sinkarovs committed -
* lto-streamer.h (lto_input_toplevel_asms): Add order_base parameter. * lto-streamer-in.c (lto_input_toplevel_asms): Stream in order. * lto-streamer-out.c (lto_output_toplevel_asms): Stream out order. * lto-cgraph.c (order_base): New static var. (lto_output_node): Stream in order. (lto_output_varpool_node): Stream out order. (input_node): Stream in order. (input_varpool_node): Stream out order. (input_cgraph_1): Initialize order base; update call of lto_input_toplevel_asms. From-SVN: r179496
Jan Hubicka committed -
PR target/50566 * config/avr/avr-protos.h (avr_legitimize_reload_address): New prototype. * config/avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Copy worker code from here... * config/avr/avr.c (avr_legitimize_reload_address) ...to this new function. Log if avr_log.legitimize_reload_address. From-SVN: r179494
Georg-Johann Lay committed -
From-SVN: r179493
Eric Botcazou committed -
2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * longlong.h (smul_ppmm, sdiv_qrnnd): Add underscores to the local variables. Fix second operand of DR. Swap inputs for sdiv_qrnnd. From-SVN: r179491
Andreas Krebbel committed -
(check_effective_target_vect_multiple_sizes): Make et_vect_multiple_sizes_saved global. (check_effective_target_vect64): Make et_vect64_saved global. From-SVN: r179490
Ira Rosen committed -
* config/sparc/sparc.md (fpack16_vis, fpackfix_vis, fpack32_vis): Make GSR_REG an input operand to UNSPEC instead of a parallel USE. (faligndata<V64I:mode>_vis): Likewise and use DI mode. (alignaddrsi_vis, alignaddrdi_vis, alignaddrlsi_vis, alignaddrldi_vis): Reference GSR_REG in DI mode, simplify convoluted expressions by using zero_extract. (bshuffle<V64I:mode>_vis): Reference GSR_REG in DI mode. From-SVN: r179489
David S. Miller committed -
From-SVN: r179486
Maxim Kuvyrkov committed -
From-SVN: r179484
GCC Administrator committed
-
- 03 Oct, 2011 19 commits
-
-
From-SVN: r179478
Joseph Myers committed -
godump.c (go_output_typedef): Support printing enum values that don't fit in a signed HOST_WIDE_INT. * godump.c (go_output_typedef): Support printing enum values that don't fit in a signed HOST_WIDE_INT. Co-Authored-By: Ian Lance Taylor <iant@google.com> From-SVN: r179477
Jakub Jelinek committed -
* config/cris/cris.c (cris_output_addr_const_extra): Make static. (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. * config/cris/cris.h (OUTPUT_ADDR_CONST_EXTRA): Remove. * config/cris/cris-protos.h (cris_output_addr_const_extra): Remove. From-SVN: r179476
Anatoly Sokolov committed -
* config/m68k/m68k.c (m68k_output_addr_const_extra): Make static. (TARGET_OUTPUT_ADDR_CONST_EXTRA): Define. * config/m68k/m68k.h (OUTPUT_ADDR_CONST_EXTRA): Remove. * config/m68k/m68k-protos.h (m68k_output_addr_const_extra): Remove. From-SVN: r179474
Anatoly Sokolov committed -
2011-10-03 Jonathan Wakely <jwakely.gcc@gmail.com> * testsuite/20_util/pointer_traits/pointer_to.cc: Define equality operator and use. From-SVN: r179473
Jonathan Wakely committed -
2011-10-03 Steve Ellcey <sje@cup.hp.com> PR target/49967 * configure.ac (gcc_cv_ld_static_dynamic): Define for *-*-hpux*. (gcc_cv_ld_static_option): Ditto. (gcc_cv_ld_dynamic_option): Ditto. * configure: Regenerate. From-SVN: r179472
Steve Ellcey committed -
* config/sparc/sparc.md (bshuffle<V64I:mode>_vis): Don't wrap GSR_REG in a USE, since it's now a true arg to the UNSPEC. From-SVN: r179470
David S. Miller committed -
From-SVN: r179469
Richard Henderson committed -
From-SVN: r179468
Richard Henderson committed -
* config/sparc/sparc.md (bmask<P:mode>_vis): Split into explicit 'di' and 'si' patterns which describe the GSR changes explicitly in the RTL using zero_extract. (bshuffle<V64I:mode>_vis): Put the GSR use inside of the unspec. From-SVN: r179465
David S. Miller committed -
2011-10-03 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/hashtable.h (_Hashtable<>::insert(value_type&&), insert(const_iterator, value_type&&)): Don't define here... * include/bits/unordered_set.h (__unordered_set<>, __unordered_multiset<>): ... define here instead. From-SVN: r179464
Paolo Carlini committed -
From-SVN: r179462
Artjoms Sinkarovs committed -
re PR tree-optimization/50587 (ICE init_range_entry, at tree-ssa-reassoc.c:1698 caused by recent change) PR tree-optimization/50587 * tree-ssa-reassoc.c (init_range_entry): Stop iterating when arg0 is not a SSA_NAME. From-SVN: r179447
Jakub Jelinek committed -
gcc/ * ipa-inline-analysis.c (MAX_TIME): Update comment. From-SVN: r179446
Richard Sandiford committed -
* pt.c (tsubst_pack_expansion): Re-use ARGUMENT_PACK_SELECTs. Change unsubstituted_packs to bool. From-SVN: r179444
Jason Merrill committed -
* parser.c (cp_parser_range_for): Don't try to deduce from {} in a template. From-SVN: r179443
Jason Merrill committed -
* config/sparc/predicates.md (const_one_operand): Delete. From-SVN: r179442
David S. Miller committed -
* config/sparc/sparc.md (ashlsi3, *ashldi3_sp64): Remove conditional insn type setting, we always emit a shift. (*ashlsi3_extend, *lshrsi3_extend0): New patterns. (*lshrsi3_extend): Rename to *lshrsi3_extend1. Co-Authored-By: David S. Miller <davem@davemloft.net> From-SVN: r179441
Richard Henderson committed -
From-SVN: r179440
GCC Administrator committed
-
- 02 Oct, 2011 8 commits
-
-
PR c++/35722 Implement N2555 (expanding pack expansion to fixed parm list) * pt.c (coerce_template_parms): Allow expanding a pack expansion to a fixed-length argument list. (unify_pack_expansion): Handle explicit args properly. (unify) [TREE_VEC]: Handle pack expansions here. [TYPE_ARGUMENT_PACK]: Not here. (tsubst_pack_expansion): Don't try to do partial substitution. (pack_deducible_p): New. (fn_type_unification): Use it. (find_parameter_packs_r): Take the TYPE_MAIN_VARIANT of a type parameter. (check_non_deducible_conversion): Split from type_unification_real. (unify_one_argument): Split from type_unification_real... (unify_pack_expansion): ...and here. Drop call_args_p parm. (type_unification_real, unify, more_specialized_fn): Adjust. From-SVN: r179436
Jason Merrill committed -
* class.c (fixed_type_or_null): Handle NSDMI. * method.c (walk_field_subobs): Disable NSDMI noexcept checking for now. From-SVN: r179435
Jason Merrill committed -
From-SVN: r179434
Gerald Pfeifer committed -
gcc/testsuite/ PR target/50579 * gcc.target/mips/mips.exp (mips_long32_abi_p, mips_long64_abi_p): New procedures. (mips-dg-options): Force an ABI option if the current ABI is incompatible with the required -mlong setting. Likewise force a long setting if the current one is incompatible with the chosen ABI. Keep abi_test_option_p, abi and eabi_p updated throughout procedure. * gcc.target/mips/abi-o64-long64.c: Require -mno-abicalls instead of addressing=absolute. From-SVN: r179433
Richard Sandiford committed -
gcc/ * config/mips/mips.c (mips_frame_barrier): New function. (mips_expand_prologue): Call it after allocating stack space. (mips_deallocate_stack): New function. (mips_expand_epilogue): Call mips_frame_barrier and mips_deallocate_stack. gcc/testsuite/ * gcc.target/mips/stack-1.c: New test. From-SVN: r179432
Richard Sandiford committed -
gcc/ PR target/49696 * config/mips/sync.md (sync_<optab>_12): Allow zero operands. (sync_old_<optab>_12, sync_new_<optab>_12, sync_nand_12): Likewise. (sync_old_nand_12, sync_new_nand_12, test_and_set_12): Likewise. gcc/testsuite/ * gcc.dg/pr49696.c: New test. From-SVN: r179431
Richard Sandiford committed -
From-SVN: r179430
Jan Hubicka committed -
* cgraphunit.c (ipa_passes): Remove unrechable nodes. * lto-streamer-out.c (produce_symtab): Skip unused extern declarations. * ipa.c (cgraph_remove_unreachable_nodes): Do not assume that external functions are reachable when address is taken. * ipa-inline-analysis.c (reset_inline_edge_summary): New * gcc.dg/ipa/ctor-empty-1.c: Update dump file. From-SVN: r179429
Jan Hubicka committed
-