Age | Commit message (Collapse) | Author | Files | Lines |
|
2011-06-27 Tristan Gingold <gingold@adacore.com>
* config/alpha/alpha.c (alpha_end_function): Always generate .end
directive on VMS.
From-SVN: r175522
|
|
From-SVN: r175519
|
|
nonlocal gotos.
* config/sparc/sparc.c (sparc_frame_pointer_required): Return true if
the function receives nonlocal gotos.
From-SVN: r175477
|
|
2011-06-27 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49536
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size):
For non-scalar inner types use a scalar type according to
the scalar inner mode.
From-SVN: r175475
|
|
2011-06-27 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49365
* params.def (min-insn-to-prefetch-ratio): Reduce from 10 to 9.
From-SVN: r175474
|
|
bit off function pointers)
gcc/
2011-07-24 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49169
* fold-const.c (get_pointer_modulus_and_residue): Don't rely on
the alignment of function decls.
gcc/testsuite/
2011-07-24 Michael Hope <michael.hope@linaro.org>
Richard Sandiford <richard.sandiford@linaro.org>
PR tree-optimization/49169
* gcc.dg/torture/pr49169.c: New test.
From-SVN: r175427
|
|
PR testsuite/49529
* gcc.dg/ipa/ipa-pta-17.c: Use dg-require-alias.
From-SVN: r175420
|
|
* gcc.dg/debug/pr49294.c (dg-options): Add -fno-common to options on
hppa*-*-hpux*.
From-SVN: r175419
|
|
used to initialize a reference)
PR c++/49528
* semantics.c (potential_constant_expression_1): Check
for non-literality rather than cleanup.
(cxx_eval_constant_expression): Likewise.
From-SVN: r175417
|
|
From-SVN: r175416
|
|
From-SVN: r175411
|
|
compatible with literal CF/NSString")
PR target/47997
* config/darwin.c (darwin_mergeable_string_section): Place string
constants in '.cstring' rather than '.const' when CF/NSStrings are
active.
From-SVN: r175410
|
|
used to initialize a reference)
PR c++/49528
* semantics.c (potential_constant_expression_1): A TARGET_EXPR
with a cleanup isn't constant.
(cxx_eval_constant_expression): Likewise.
* init.c (expand_default_init): Use maybe_constant_init.
From-SVN: r175409
|
|
2011-06-26 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/48377
* gcc.dg/vect/pr48377.c: Add dg-require-effective-target
non_strict_align.
2011-06-26 Steve Ellcey <sje@cup.hp.com>
PR middle-end/49191
* lib/target-supports.exp (check_effective_target_non_strict_align):
New.
* gcc.dg/memcpy-3.c: Add dg-require-effective-target non_strict_align.
From-SVN: r175408
|
|
* config/sparc/sparc.c (save_local_or_in_reg_p): Adjust comment.
(emit_save_register_window): Likewise.
(sparc_expand_prologue): Use SIZE_INT_RTX and SIZE_RTX variables.
(sparc_flat_expand_prologue): Add comment. Always emit blockage.
Swap back %o7/%i7 in register naming.
From-SVN: r175407
|
|
From-SVN: r175406
|
|
From-SVN: r175405
|
|
From-SVN: r175404
|
|
PR driver/49371
* config/darwin.c (darwin_override_options): Improve warning when
mdynamic-no-pic is given together with fPIC/fpic, also warn when it
is given with fpie/fPIE.
* config/darwin.h (PIE_SPEC): New, (LINK_SPEC): Use PIE_SPEC.
* config/darwin9.h (PIE_SPEC): New.
From-SVN: r175397
|
|
2011-06-25 Basile Starynkevitch <basile@starynkevitch.net>
* timevar.c (timevar_print): Increase width for display of timevar
name.
From-SVN: r175396
|
|
From-SVN: r175394
|
|
PR c++/46400
* cp-tree.h (union lang_tree_node): Use TYPE_NEXT_VARIANT
instead of TYPE_CHAIN for chain_next for types.
* c-decl.c (union lang_tree_node): Use TYPE_NEXT_VARIANT
instead of TYPE_CHAIN for chain_next for types.
From-SVN: r175389
|
|
The old definition left a 2 instruction hole in which
unwind info was out-of-date.
From-SVN: r175388
|
|
2011-06-24 Easwaran Raman <eraman@google.com>
PR rtl-optimization/49429
PR target/49454
* expr.c (emit_block_move_hints): Mark MEM_EXPR(x) and
MEM_EXPR(y) addressable if emit_block_move_via_libcall is
used to copy y into x.
* calls.c (initialize_argument_information): Mark
an argument addressable if it is passed by invisible reference.
(emit_library_call_value_1): Mark MEM_EXPR (val) addressable
if it is passed by reference.
From-SVN: r175384
|
|
From-SVN: r175383
|
|
From-SVN: r175379
|
|
From-SVN: r175378
|
|
2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/49504
* rtlanal.c (nonzero_bits1): Properly handle addition or
subtraction a pointer in Pmode if pointers extend unsigned.
From-SVN: r175377
|
|
replacements)
2011-06-24 Martin Jambor <mjambor@suse.cz>
PR tree-optimizations/49516
* tree-sra.c (sra_modify_assign): Choose the safe path for
aggregate copies if we also did scalar replacements.
* testsuite/g++.dg/tree-ssa/pr49516.C: New test.
From-SVN: r175376
|
|
code from 'codeblocks')
Fix PR target/49335
2011-06-24 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/49335
* config/arm/predicates.md (add_operator): New.
* config/arm/arm.md ("*arith_shiftsi"): Fix for SP reg usage
in Thumb2.
From-SVN: r175375
|
|
2011-06-23 Gabriel Charette <gchare@google.com>
* name-lookup.h (cp_binding_level): Removed unused
member names_size. Update all users.
From-SVN: r175373
|
|
From-SVN: r175372
|
|
v2: Include message improvements from Eric Botcazou
gcc/:
2011-06-24 Andi Kleen <ak@linux.intel.com>
* tree-sra.c (type_internals_preclude_sra_p): Add msg
parameter. Split up ifs and report reason in *msg.
(reject): Add.
(find_var_candiate): Add msg variable.
Split up ifs and report reason to reject.
(find_param_candidates): Add msg variable.
Pass msg to type_internals_preclude_sra_p.
From-SVN: r175370
|
|
PR c++/49418
* typeck2.c (build_functional_cast): Strip cv-quals for value init.
* init.c (build_zero_init_1): Not here.
From-SVN: r175368
|
|
address resolution)
PR c++/35255
* pt.c (resolve_overloaded_unification): Fix DR 115 handling.
From-SVN: r175367
|
|
From-SVN: r175362
|
|
From-SVN: r175355
|
|
-fno-forward-propagate -fno-tree-forwprop)
PR middle-end/48770
* reload.h (reload): Change to return a bool.
* ira.c (ira): If requested by reload, run a fast DCE pass after
reload has completed. Fix comment typo.
* reload1.c (need_dce): New file scoped static.
(reload): Set reload_completed here. Return whether or not a DCE
pass after reload is needed.
(delete_dead_insn): Set need_dce as needed.
PR middle-end/48770
* gcc.dg/pr48770.c: New test.
From-SVN: r175353
|
|
PR middle-end/49465
* tree-ssa-threadupate.c (fix_duplicate_block_edges): Fix condition
to detect threading through joiner block. If there was already
an edge to the new target, then do not change the PHI nodes.
From-SVN: r175352
|
|
PR middle-end/49465
* tree-ssa-threadupate.c (fix_duplicate_block_edges): Fix condition
to detect threading through joiner block. If there was already
an edge to the new target, then do not change the PHI nodes.
*************** fix_duplicate_block_edges (struct redire
From-SVN: r175351
|
|
PR middle-end/49373
* g++.dg/torture/pr43879-1_1.C: Revert the xfail introduced yesterday.
From-SVN: r175350
|
|
get_pointer_alignment to see if base isn't sufficiently aligned.
* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Use
get_pointer_alignment to see if base isn't sufficiently aligned.
From-SVN: r175348
|
|
PR testsuite/49512
* gcc.dg/tree-ssa/asm-1.c: Use -fdump-tree-optimized-nouid
instead of -fdump-tree-optimized.
From-SVN: r175347
|
|
/cp
2011-06-23 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/44625
* decl2.c (build_anon_union_vars): Early return error_mark_node
for a nested anonymous struct.
/testsuite
2011-06-23 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/44625
* g++.dg/template/crash107.C: New.
* g++.dg/template/error17.C: Adjust.
From-SVN: r175344
|
|
PR c++/49507
* decl2.c (mark_used): Don't call synthesize_method for
functions defaulted outside the class.
From-SVN: r175342
|
|
* optimize.c (maybe_clone_body): Set linkage flags before
cgraph_same_body_alias.
From-SVN: r175341
|
|
PR c++/49440
* class.c (set_linkage_according_to_type): Just check TREE_PUBLIC
on the type's name.
From-SVN: r175340
|
|
PR c++/49395
* init.c (build_zero_init_1): Strip cv-quals from scalar types.
From-SVN: r175339
|
|
return type)
PR c++/36435
* pt.c (most_specialized_instantiation): Do check return types.
From-SVN: r175338
|
|
PR tree-optimize/49373
* tree-pass.h (all_late_ipa_passes): Declare.
* cgraphunit.c (init_lowered_empty_function): Fix properties.
(cgraph_optimize): Execute late passes; remove unreachable funcions after
materialization.
* ipa-inline.c (gate_ipa_inline): Enable only when optimizing or LTOing.
* passes.c (all_late_ipa_passes): Declare.
(dump_passes, register_pass): Handle late ipa passes.
(init_optimization_passes): Move ipa_pta to late passes; schedule fixup_cfg
at beggining of all_passes.
(apply_ipa_transforms): New function.
(execute_one_pass): When doing simple ipa pass, apply all transforms.
From-SVN: r175336
|