summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* PR lto/47333hubicka2011-01-224-4/+954
| | | | | | | | * g++.dg/lto/pr47333.C: New file. * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169137 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/43884hubicka2011-01-225-3/+17
| | | | | | | | | | | PR lto/44334 * predict.c (maybe_hot_frequency_p): Use entry block frequency as an base. * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. * gcc.dg/autopar/outer-2.c: Increase array size. * gcc.dg/tree-ssa/ldist-pr45948.c: Update test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169136 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.aesok2011-01-223-12/+36
| | | | | | | | | * config/s390/s390.c (s390_register_move_cost, s390_memory_move_cost): New. (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169135 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/47401uweigand2011-01-222-20/+52
| | | | | | | | | | | | | * except.c (sjlj_assign_call_site_values): Move setting the crtl->uses_eh_lsda flag to ... (sjlj_mark_call_sites): ... here. (sjlj_emit_function_enter): Support NULL dispatch label. (sjlj_build_landing_pads): In a function with no landing pads that still has must-not-throw regions, generate code to register a personality function with empty LSDA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169134 138bc75d-0d04-0410-961f-82ee72b054a4
* rx: Enable the compare-elim pass.rth2011-01-222-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169133 138bc75d-0d04-0410-961f-82ee72b054a4
* mn10300: Enable the compare-elim pass.rth2011-01-222-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169132 138bc75d-0d04-0410-961f-82ee72b054a4
* New -fcompare-elim pass.rth2011-01-2212-1/+701
| | | | | | Version 3, with two rounds of comments from Paolo Bonzini. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169131 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-22 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2011-01-224-1/+80
| | | | | | | | | | | | | | | | PR fortran/38536 * resolve.c (gfc_iso_c_func_interface): For C_LOC, check for array sections followed by component references which are illegal. Also check for coindexed arguments. 2011-01-22 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/38536 * gfortran.dg/c_loc_tests_16.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169130 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rx/rx.md (cstoresf4): Pass comparison operator tonickc2011-01-222-1/+7
| | | | | | | rx_split_fp_compare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169129 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rx/rx.md (UNSPEC_CONST): New.nickc2011-01-223-54/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (deallocate_and_return): Wrap the amount popped off the stack in an UNSPEC_CONST in order to stop it being rejected by -mmax-constant-size. (pop_and_return): Add a "(return)" rtx. (call): Drop the immediate operand. (call_internal): Likewise. (call_value): Likewise. (call_value_internal): Likewise. (sibcall_internal): Likewise. (sibcall_value_internal): Likewise. (sibcall): Likewise. Generate an explicit call using sibcall_internal. (sibcall_value): Likewise. (mov<>): FAIL if a constant operand is not legitimate. (addsi3_unpsec): New pattern. * config/rx/rx.c (rx_print_operand_address): Handle UNPSEC CONSTs. (ok_for_max_constant): New function. (gen_safe_add): New function. (rx_expand_prologue): Use gen_safe_add. (rx_expand_epilogue): Likewise. (rx_is_legitimate_constant): Use ok_for_max_constant. Handle UNSPEC CONSTs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169128 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-22 Tobias Burnus <burnus@net-b.de>burnus2011-01-224-1/+58
| | | | | | | | | | | | | | | PR fortran/47399 * primary.c (gfc_match_varspec): Relax gcc_assert to allow for PARAMETER TBP. 2011-01-22 Tobias Burnus <burnus@net-b.de> PR fortran/47399 * gfortran.dg/typebound_proc_19.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169126 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/47053law2011-01-224-0/+54
| | | | | | | | | | | | | | | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when statements are deleted. (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP is nonempty, then purge dead edges and cleanup the CFG. PR tree-optimization/47053 * g++.dg/pr47053.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169123 138bc75d-0d04-0410-961f-82ee72b054a4
* Avoid crash when M structure free just before thread exit.ian2011-01-222-6/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169121 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Adjust deadlock avoidance.ian2011-01-221-9/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169120 138bc75d-0d04-0410-961f-82ee72b054a4
* syscalls: Add SPARC RTEMS specific file.ian2011-01-221-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169119 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2011-01-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169118 138bc75d-0d04-0410-961f-82ee72b054a4
* Avoid deadlock creating new thread.ian2011-01-221-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169114 138bc75d-0d04-0410-961f-82ee72b054a4
* Avoid deadlock when finalizer lock is held during gc.ian2011-01-213-2/+41
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169112 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 46267 strerror thread safetyjb2011-01-218-29/+74
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169110 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/47041jason2011-01-214-1/+34
| | | | | | | * semantics.c (build_constexpr_constructor_member_initializers): Handle trivial copy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169108 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/47402aoliva2011-01-212-3/+8
| | | | | | | | | Temporarily revert: 2011-01-21 Alexandre Oliva <aoliva@redhat.com> PR debug/47106 * tree-dfa.c (create_var_ann): Mark variable as used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169107 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix race condition in test case.ian2011-01-211-7/+7
| | | | | | | Brought over from master repository. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169106 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/47388jakub2011-01-215-5/+59
| | | | | | | | | | | | * semantics.c (begin_for_stmt): If -fno-for-scope, don't assume init must be NULL if scope is NULL. (begin_range_for_stmt): Likewise. * g++.dg/cpp0x/range-for10.C: New test. * g++.dg/template/for1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169105 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-21 Tobias Burnus <burnus@net-b.de>burnus2011-01-213-5/+12
| | | | | | | | | | | PR fortran/47394 * error.c (gfc_error_now, gfc_fatal_error, gfc_error_check): Use defined instead of magic number exit status codes. * scanner.c (include_line, gfc_new_file): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169104 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-01-2121-86/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. * include/debug/safe_sequence.h: Same. * include/debug/safe_iterator.h: Same. * include/std/forward_list: Same. * include/std/deque: Same. * include/std/list: Same. * include/std/random: Same. * include/std/streambuf: Same. * include/std/fstream: Same. * include/std/istream: Same. * include/std/string: Same. * include/std/ostream: Same. * include/std/sstream: Same. * include/ext/vstring.h: Same. * include/bits/basic_ios.h: Same. * include/bits/locale_classes.h: Same. * include/bits/locale_facets.h: Same. * include/bits/valarray_array.h: Same. * include/bits/locale_facets_nonio.h: Same. * include/tr1/random: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169102 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/45566jakub2011-01-215-19/+50
| | | | | | | | | | | | | * except.c (convert_to_eh_region_ranges): Emit queued no-region notes from other section in hot/cold partitioning even if last_action is -3. Increment call_site_base. * g++.dg/tree-prof/partition3.C: New test. * g++.dg/tree-prof/tree-prof.exp: Fix a comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169101 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/47366jakub2011-01-214-16/+68
| | | | | | | | | | | | | | * fwprop.c (forward_propagate_into): Return bool. If any changes are made, -fnon-call-exceptions is used and REG_EH_REGION note is present, call purge_dead_edges and return true if it purged anything. (fwprop_addr): Adjust callers, call cleanup_cfg (0) if any EH edges were purged. * g++.dg/opt/pr47366.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169100 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/46552jason2011-01-214-0/+20
| | | | | | * semantics.c (cxx_eval_constant_expression): Handle OFFSET_REF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169099 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove the types float and complex.ian2011-01-21388-18001/+21979
| | | | | | | | | | | | | Update to current version of Go library. Update testsuite for removed types. * go-lang.c (go_langhook_init): Omit float_type_size when calling go_create_gogo. * go-c.h: Update declaration of go_create_gogo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169098 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/46977jason2011-01-217-56/+188
| | | | | | | | | | | | | | | * semantics.c (potential_constant_expression_1): Split out from potential_constant_expression. Add want_rval parm. Handle template expression forms. Don't enforce restriction on address of automatic variable here. Add a couple of diagnostics that had been missing. (require_potential_constant_expression): New entry point. (build_data_member_initialization, register_constexpr_fundef): Adjust. (maybe_constant_value): Check potential_constant_expression. * pt.c (fold_non_dependent_expr_sfinae): Likewise. * tree.c (build_vec_init_expr): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169096 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/41619law2011-01-214-85/+106
| | | | | | | | | | | | | | * caller-save.c (setup_save_areas): Break out code to determine which hard regs are live across calls by examining the reload chains so that it is always used. Eliminate code which checked REG_N_CALLS_CROSSED. PR rtl-optimization/41619 * gcc.dg/pr41619.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169095 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/47355jakub2011-01-214-0/+64
| | | | | | | | | | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if NOP has non-debug uses beyond PHIs in new_bb. * g++.dg/opt/pr47355.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169094 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/47106aoliva2011-01-213-2/+14
| | | | | | | | | * cfgexpand.c (account_used_vars_for_block): Only account vars that are annotated as used. (estimated_stack_frame_size): Don't set TREE_USED. * tree-dfa.c (create_var_ann): Mark variable as used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169093 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-21 Richard Guenther <rguenther@suse.de>rguenth2011-01-212-1/+6
| | | | | | | | PR middle-end/47395 * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169092 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-21 Richard Guenther <rguenther@suse.de>rguenth2011-01-212-2/+7
| | | | | | | | * gcc.dg/tree-ssa/pr47392.c: Make test non-static instead of making main hot. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169091 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-21 Richard Guenther <rguenther@suse.de>rguenth2011-01-217-18/+143
| | | | | | | | | | | | | | | | | | | | | | | PR tree-optimization/47365 * tree-ssa-sccvn.h (vn_lookup_kind): Declare. (vn_reference_lookup_pieces): Adjust. (vn_reference_lookup): Likewise. * tree-ssa-sccvn.c (vn_walk_kind): New static global. (vn_reference_lookup_3): Only look through kills if in VN_WALKREWRITE mode. (vn_reference_lookup_pieces): Adjust. (vn_reference_lookup): Likewise. (visit_reference_op_load): Likewise. (visit_reference_op_store): Likewise. * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. (compute_avail): Likewise. (eliminate): Likewise. * gcc.dg/torture/pr47365.c: New testcase. * gcc.dg/tree-ssa/pr47392.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169089 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Use AS_HELP_STRING throughout.schwab2011-01-213-104/+152
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169088 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/other/anon5.C: Skip on mips-sgi-irix*.ro2011-01-212-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169085 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/47391jakub2011-01-214-2/+33
| | | | | | | | | | * varpool.c (const_value_known_p): Return false if decl is volatile. * gcc.dg/pr47391.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169084 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-live.c (remove_unused_scope_block_p): Don't removejakub2011-01-212-2/+10
| | | | | | | DECL_IGNORED_P non-reg vars if they are used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169083 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/template/char1.C: Use signed char.ro2011-01-212-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169082 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-21 Kai Tietz <kai.tietz@onevision.com>ktietz2011-01-214-18/+17
| | | | | | | | | | | | | | | | | PR bootstrap/47215 * decl.c (java_init_decl_processing): Remove va_list_type_node related type initializations. 2011-01-21 Kai Tietz <kai.tietz@onevision.com> PR bootstrap/47215 * config/i386/i386.c (ix86_local_alignment): Handle case for va_list_type_node is nil. (ix86_canonical_va_list_type): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169080 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-21 Tobias Burnus <burnus@net-b.de>burnus2011-01-214-0/+35
| | | | | | | | | | | | | | | PR fortran/47377 * expr.c (gfc_check_pointer_assign): Reject expr data-targets without pointer attribute. 2011-01-21 Tobias Burnus <burnus@net-b.de> PR fortran/47377 * gfortran.dg/pointer_target_4.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169079 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in comment.mrs2011-01-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169078 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Addamodra2011-01-212-1/+20
| | | | | | | | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169077 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2011-01-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169076 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-01-206-14/+19
| | | | | | | | | PR libstdc++/36104 * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Accept gnu variants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169072 138bc75d-0d04-0410-961f-82ee72b054a4
* Rename f_load to f_fpa_loads patchramana2011-01-206-23/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/arm.md (define_attr type): Rename f_load and f_store to f_fpa_load and f_fpa_store. Update. (write_conflict): Deal with rename fallout. (*push_fp_multi): Likewise. * config/arm/fpa.md (f_load): Use f_fpa_load. (f_store): Use f_fpa_store. (*movsf_fpa): Likewise. (*movdf_fpa): Likewise. (*movxf_fpa): Likewise. (*thumb2_movsf_fpa): Likewise. (*thumb2_movdf_fpa): Likewise. (*thumb2_movxf_fpa): Likewise. * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to f_loadd and f_stored. (*thumb2_movdi_vfp): Likewise. (*thumb2_movsf_vfp): Fix attribute to f_loads. (*thumb2_movsi_vfp): Likewise. * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): Use f_loads instead of f_load. * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169071 138bc75d-0d04-0410-961f-82ee72b054a4
* Refix test for PR47251meissner2011-01-202-4/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169067 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>redi2011-01-202-5/+11
| | | | | | | | | PR libstdc++/47380 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169064 138bc75d-0d04-0410-961f-82ee72b054a4