aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2011-06-27alpha.c (alpha_end_function): Always generate .end directive on VMS.Tristan Gingold2-1/+7
2011-06-27 Tristan Gingold <gingold@adacore.com> * config/alpha/alpha.c (alpha_end_function): Always generate .end directive on VMS. From-SVN: r175522
2011-06-27* de.po: Update.Joseph Myers2-72/+76
From-SVN: r175519
2011-06-27sparc.c (sparc_frame_pointer_required): Return true if the function receives ↵Eric Botcazou2-0/+10
nonlocal gotos. * config/sparc/sparc.c (sparc_frame_pointer_required): Return true if the function receives nonlocal gotos. From-SVN: r175477
2011-06-27re PR middle-end/49536 (latent bug with creation of vector of arrays)Richard Guenther2-0/+16
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-27re PR tree-optimization/49365 (436.cactusADM performance regression)Richard Guenther2-1/+6
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
2011-06-27re PR rtl-optimization/49169 (ARM: optimisations strip the Thumb/ARM mode ↵Richard Sandiford4-1/+27
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
2011-06-27re PR testsuite/49529 (FAIL: gcc.dg/ipa/ipa-pta-17.c (test for excess errors))John David Anglin2-0/+4
PR testsuite/49529 * gcc.dg/ipa/ipa-pta-17.c: Use dg-require-alias. From-SVN: r175420
2011-06-27pr49294.c (dg-options): Add -fno-common to options on hppa*-*-hpux*.John David Anglin2-0/+6
* gcc.dg/debug/pr49294.c (dg-options): Add -fno-common to options on hppa*-*-hpux*. From-SVN: r175419
2011-06-26re PR c++/49528 (g++ fails to destroy temporary object when subobject is ↵Jason Merrill4-7/+12
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
2011-06-27Daily bump.GCC Administrator1-1/+1
From-SVN: r175416
2011-06-26fix changelog date from ci 175410Iain Sandoe1-1/+1
From-SVN: r175411
2011-06-26re PR target/47997 (gcc on macosx: "ld: warning: -fwritable-strings not ↵Iain Sandoe2-1/+12
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
2011-06-26re PR c++/49528 (g++ fails to destroy temporary object when subobject is ↵Jason Merrill6-2/+60
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[multiple changes]Jakub Jelinek4-0/+23
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
2011-06-26sparc.c (save_local_or_in_reg_p): Adjust comment.Eric Botcazou2-22/+38
* 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
2011-06-25changelog correctionJason Merrill1-3/+2
From-SVN: r175406
2011-06-25dr 1188 commentJason Merrill2-3/+3
From-SVN: r175405
2011-06-26Daily bump.GCC Administrator1-1/+1
From-SVN: r175404
2011-06-25re PR driver/49371 (xgcc: error: unrecognized option '-pie' on *-apple-darwin*)Iain Sandoe4-2/+20
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-25timevar.c (timevar_print): Increase width for display of timevar name.Basile Starynkevitch2-1/+7
2011-06-25 Basile Starynkevitch <basile@starynkevitch.net> * timevar.c (timevar_print): Increase width for display of timevar name. From-SVN: r175396
2011-06-25Daily bump.GCC Administrator1-1/+1
From-SVN: r175394
2011-06-24re PR c++/46400 (g++ Segmentation Fault on heavily templated project.)Jakub Jelinek4-2/+14
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
2011-06-24sparc: Fix -mflat unwind info.Richard Henderson3-149/+52
The old definition left a 2 instruction hole in which unwind info was out-of-date. From-SVN: r175388
2011-06-24re PR rtl-optimization/49429 (dse.c change (r175063) causes execution failures)Easwaran Raman3-3/+33
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
2011-06-24Properly handle pointer addition/subtraction in num_sign_bit_copies1.H.J. Lu2-16/+2
From-SVN: r175383
2011-06-24* de.po: Update.Joseph Myers2-74/+78
From-SVN: r175379
2011-06-24Remove entry for gofrontend change which should not be here.Ian Lance Taylor1-5/+0
From-SVN: r175378
2011-06-24Properly handle pointer addition/subtraction.H.J. Lu2-14/+6
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
2011-06-24re PR tree-optimization/49516 (SRA generates memory references into its ↵Martin Jambor4-1/+99
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
2011-06-24re PR target/49335 (ARM: Invalid assembler generated while compiling C++ ↵Ramana Radhakrishnan3-7/+25
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-24name-lookup.h (cp_binding_level): Removed unused member names_size.Gabriel Charette3-4/+5
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
2011-06-24* config/avr/avr.md (*extzv): Fix leading white space.Georg-Johann Lay1-1/+1
From-SVN: r175372
2011-06-24Improve dump files for SRA early candidate check v2Andi Kleen2-22/+105
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
2011-06-23re PR c++/49418 (G++ discards cv-quals from template parameter types)Jason Merrill3-2/+6
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
2011-06-23re PR c++/35255 ([DR 115] gcc does not do partial ordering on overloaded ↵Jason Merrill5-1/+63
address resolution) PR c++/35255 * pt.c (resolve_overloaded_unification): Fix DR 115 handling. From-SVN: r175367
2011-06-24Daily bump.GCC Administrator1-1/+1
From-SVN: r175362
2011-06-23* de.po: Update.Joseph Myers2-153/+157
From-SVN: r175355
2011-06-23re PR middle-end/48770 (wrong code with -O -fprofile-arcs -fPIC -fno-dce ↵Jeff Law6-10/+62
-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
2011-06-23re PR middle-end/49465 (Revision 175114 miscompiled 403.gcc in SPEC CPU 2006)Jeff Law1-1/+1
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
2011-06-23re PR middle-end/49465 (Revision 175114 miscompiled 403.gcc in SPEC CPU 2006)Jeff Law2-3/+13
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
2011-06-23re PR middle-end/49373 (Many testcase failures)Jan Hubicka2-1/+5
PR middle-end/49373 * g++.dg/torture/pr43879-1_1.C: Revert the xfail introduced yesterday. From-SVN: r175350
2011-06-23tree-vect-data-refs.c (vect_compute_data_ref_alignment): Use ↵Jakub Jelinek2-1/+8
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
2011-06-23re PR testsuite/49512 (FAIL: gcc.dg/tree-ssa/asm-1.c)Jakub Jelinek2-1/+7
PR testsuite/49512 * gcc.dg/tree-ssa/asm-1.c: Use -fdump-tree-optimized-nouid instead of -fdump-tree-optimized. From-SVN: r175347
2011-06-23re PR c++/44625 (ICE after error: anonymous struct not inside named type)Paolo Carlini5-2/+36
/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
2011-06-23re PR c++/49507 (ICE because of defaulted template destructor)Jason Merrill4-0/+26
PR c++/49507 * decl2.c (mark_used): Don't call synthesize_method for functions defaulted outside the class. From-SVN: r175342
2011-06-23optimize.c (maybe_clone_body): Set linkage flags before cgraph_same_body_alias.Jason Merrill2-2/+8
* optimize.c (maybe_clone_body): Set linkage flags before cgraph_same_body_alias. From-SVN: r175341
2011-06-23re PR c++/49440 (Invalid dynamic_cast for unnamed namespace)Jason Merrill4-14/+25
PR c++/49440 * class.c (set_linkage_according_to_type): Just check TREE_PUBLIC on the type's name. From-SVN: r175340
2011-06-23re PR c++/49395 (Non-class prvalues seem to have cv-qualification with GCC)Jason Merrill4-1/+19
PR c++/49395 * init.c (build_zero_init_1): Strip cv-quals from scalar types. From-SVN: r175339
2011-06-23re PR c++/36435 (Partial ordering of explicit specialization should include ↵Jason Merrill4-4/+20
return type) PR c++/36435 * pt.c (most_specialized_instantiation): Do check return types. From-SVN: r175338
2011-06-23re PR middle-end/49373 (Many testcase failures)Jan Hubicka5-11/+67
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