aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2009-09-13Daily bump.GCC Administrator1-1/+1
From-SVN: r151664
2009-09-12dbgcnt.c (dbg_cnt_process_single_pair): constify.Jason Merrill5-10/+20
gcc/ * dbgcnt.c (dbg_cnt_process_single_pair): constify. * opts.c (common_handle_option): constify. gcc/cp/ * repo.c (extract_string, get_base_filename, init_repo): constify. libcpp/ * directives.c (cpp_define): constify. From-SVN: r151661
2009-09-12* doc/install.texi (avr): Remove obsolete reference site.Gerald Pfeifer2-2/+4
From-SVN: r151658
2009-09-12* doc/install.texi (Binaries): Adjust AIX link.Gerald Pfeifer2-1/+5
From-SVN: r151656
2009-09-12invoke.texi (-fstrict-aliasing): Correct two examples.Akim Demaille2-3/+8
* doc/invoke.texi (-fstrict-aliasing): Correct two examples. Use an imperative sentence. From-SVN: r151654
2009-09-11gsstruct.def (DEFGSSTRUCT): Remove printable-name argument...Richard Henderson5-199/+133
* gsstruct.def (DEFGSSTRUCT): Remove printable-name argument; add structure-name and has-tree-operands arguments; update all entries. * gimple.def (DEFGSCODE): Replace 3rd argument with GSS_symbol; update all entries. * gimple.c (gimple_ops_offset_): Use HAS_TREE_OP argument. (gsstruct_code_size): New. (gss_for_code_): New. (gss_for_code): Remove. (gimple_size): Rewrite using gsstruct_code_size. (gimple_statement_structure): Move to gimple.h. * gimple.h (gimple_ops_offset_, gss_for_code_): Declare. (gss_for_code, gimple_statement_structure): New. (gimple_ops): Use new arrays; tidy. From-SVN: r151650
2009-09-12Daily bump.GCC Administrator1-1/+1
From-SVN: r151649
2009-09-11predicates.md (symbolic_operand): Require a CONST symbolic operand to be a ↵John David Anglin3-6/+14
PLUS expression. * config/pa/predicates.md (symbolic_operand): Require a CONST symbolic operand to be a PLUS expression. * config/pa/pa.c (pa_secondary_reload): Likewise. From-SVN: r151646
2009-09-11* combine.c (propagate_for_debug_subst): Call wrap_constant on top.Jakub Jelinek2-1/+3
From-SVN: r151644
2009-09-11print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of XEXP (in_rtx, 8).Jakub Jelinek2-2/+7
* print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of XEXP (in_rtx, 8). From-SVN: r151643
2009-09-11From Jie Zhang <jie.zhang@analog.com>:Bernd Schmidt2-0/+20
* doc/extend.texi (node Function Attributes): Document l2 function attribute. (node Blackfin Variable Attributes): Document l2 variable attributes. From-SVN: r151639
2009-09-11configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.Loren J. Rittle3-2/+5
2009-09-11 Loren J. Rittle <ljrittle@acm.org> * configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail. * configure: Regenerate. From-SVN: r151638
2009-09-11config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system ↵Loren J. Rittle2-0/+13
compiler's configuration at... 2009-09-11 Loren J. Rittle <ljrittle@acm.org> * config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system compiler's configuration at inflection point. Add comment to remark a remaining difference with system compiler. From-SVN: r151636
2009-09-11From Jie Zhang <jie.zhang@analog.com>:Bernd Schmidt2-10/+67
* config/bfin/bfin.c (bfin_expand_call): Handle L2 functions. (bfin_handle_l2_attribute): New. (bfin_attribute_table): Add l2 attribute. From-SVN: r151634
2009-09-11* gcc.dg/pr39779.c: Remove for real.Uros Bizjak1-8/+0
From-SVN: r151632
2009-09-11re PR c++/41275 (ICE: expand_expr_real_1, at expr.c:8416)Michael Matz4-0/+28
PR middle-end/41275 * tree-inline.c (remap_decls): Don't put DECL_EXTERNAL decls on the local_decls list. testsuite/ * g++.dg/tree-ssa/pr41275.C: New test. From-SVN: r151631
2009-09-11re PR debug/41276 (Segmentation fault in lookup_page_table_entry)Alexandre Oliva3-25/+80
PR debug/41276 PR debug/41307 * cselib.c (cselib_expand_value_rtx_cb): Document callback interface. (cselib_expand_value_rtx_1): Use callback for SUBREGs. Adjust for VALUEs, to implement the documented interface. * var-tracking.c (vt_expand_loc_callback): Handle SUBREGs. Adjust for VALUEs and anything else, to implement the documented interface. From-SVN: r151628
2009-09-11rs6000.h (DATA_ALIGNMENT): Check that we are dealing with actual SPE/paired ↵Nathan Froyd2-8/+18
vector modes before using... * config/rs6000/rs6000.h (DATA_ALIGNMENT): Check that we are dealing with actual SPE/paired vector modes before using 64-bit alignment. Check that TYPE is a REAL_TYPE for TARGET_E500_DOUBLE. From-SVN: r151626
2009-09-10mep.md (eh_epilogue): Defer until after epilogue is emitted.DJ Delorie5-2/+27
* config/mep/mep.md (eh_epilogue): Defer until after epilogue is emitted. * config/mep/mep.h (LEGITIMATE_CONSTANT_P): New. * config/mep/mep.c (mep_legitimate_constant_p): New. * config/mep/mep-protos.h: Prototype it. From-SVN: r151625
2009-09-11Daily bump.GCC Administrator1-1/+1
From-SVN: r151624
2009-09-11re PR fortran/41242 (PPC call rejected (related to user-defined assignment?))Janus Weil4-2/+49
2009-09-11 Janus Weil <janus@gcc.gnu.org> PR fortran/41242 * resolve.c (resolve_ordinary_assign): Don't call resolve_code, to avoid that subsequent codes are resolved more than once. (resolve_code): Make sure that type-bound assignment operators are resolved correctly. 2009-09-11 Janus Weil <janus@gcc.gnu.org> PR fortran/41242 * gfortran.dg/proc_ptr_comp_21.f90: New. From-SVN: r151620
2009-09-10* print-rtl.c (print_rtx): Fix JUMP_LABEL index.Richard Henderson2-1/+5
From-SVN: r151619
2009-09-10tree.c (chain_index): New fn.Jason Merrill3-0/+17
* tree.c (chain_index): New fn. * tree.h: Declare it. From-SVN: r151618
2009-09-10re PR fortran/31292 (ICE with module procedure interface in a procedure body)Steven G. Kargl6-5/+93
2009-09-10 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/31292 * fortran/decl.c(gfc_match_modproc): Check that module procedures from a module can USEd in module procedure statements in other program units. Update locus for better error message display. Detect intrinsic procedures in module procedure statements. 2009-09-10 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/31292 * gfortran.dg/module_procedure_1.f90: New test. * gfortran.dg/module_procedure_2.f90: Ditto. * gfortran.dg/generic_14.f90: Move dg-error to new location. From-SVN: r151616
2009-09-10gcc/testsuite:Rainer Orth5-1/+29
PR ada/18302 * ada/acats/run_all.sh (target_run): Use run_test.exp to execute commands. * ada/acats/run_test.exp: New file. gcc/ada: PR ada/18302 * gcc-interface/Make-lang.in (check-acats): Export rootme, EXPECT. Co-Authored-By: James A. Morrison <phython@gcc.gnu.org> From-SVN: r151614
2009-09-10sol2-c.c (cmn_err_length_specs): Initialize scalar_identity_flag.Rainer Orth2-2/+7
* config/sol2-c.c (cmn_err_length_specs): Initialize scalar_identity_flag. From-SVN: r151613
2009-09-10tree.h (struct tree_decl_common): Move align member earlier; move ↵Richard Henderson2-7/+14
label_decl_uid member ... * tree.h (struct tree_decl_common): Move align member earlier; move label_decl_uid member ... (struct tree_label_decl): ... here. (LABEL_DECL_UID): Update to match. From-SVN: r151610
2009-09-10tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH, not TDF_DETAILS.Richard Henderson2-1/+4
* tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH, not TDF_DETAILS. From-SVN: r151608
2009-09-10tree-cfg.c (gimple_redirect_edge_and_branch): Do ↵Richard Henderson2-4/+10
gimple_try_redirect_by_replacing_jump test after no-op and EH tests. * tree-cfg.c (gimple_redirect_edge_and_branch): Do gimple_try_redirect_by_replacing_jump test after no-op and EH tests. From-SVN: r151607
2009-09-10tree-cfg.c (split_edge_bb_loc): Don't disallow placement at dest_prev if the ↵Richard Henderson2-4/+11
edge is complex. * tree-cfg.c (split_edge_bb_loc): Don't disallow placement at dest_prev if the edge is complex. From-SVN: r151606
2009-09-10* tree-cfg.c (is_ctrl_stmt): Use a switch.Richard Henderson2-5/+13
From-SVN: r151605
2009-09-10tree-cfg.c (gimple_can_merge_blocks_p): Move label and loop latch tests earlier.Richard Henderson2-15/+21
* tree-cfg.c (gimple_can_merge_blocks_p): Move label and loop latch tests earlier. From-SVN: r151604
2009-09-10gimple-iterator.c (gimple_find_edge_insert_loc): Insert before ↵Richard Henderson2-6/+11
GIMPLE_RETURN, not after its predecessor; insert before GIMPLE_RESX. * gimple-iterator.c (gimple_find_edge_insert_loc): Insert before GIMPLE_RETURN, not after its predecessor; insert before GIMPLE_RESX. From-SVN: r151603
2009-09-10gimple-iterator.c (gimple_find_edge_insert_loc): Use gimple_seq_empty_p to ↵Richard Henderson3-3/+9
test for no PHI nodes. * gimple-iterator.c (gimple_find_edge_insert_loc): Use gimple_seq_empty_p to test for no PHI nodes. * tree-cfg.c (split_critical_edges): Likewise. From-SVN: r151602
2009-09-10* c-common.h (c_dialect_cxx, c_dialect_objc): Boolify.Richard Henderson2-2/+6
From-SVN: r151601
2009-09-10final.c (shorten_branches): Ignore DEBUG_INSN_P instructions introduced by ↵Hariharan Sandanagobalane2-1/+6
the VTA branch merge. * final.c (shorten_branches) : Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge. From-SVN: r151599
2009-09-10ira-conflicts.c: Use fputs or putc instead of fprintf where appropriate.Uros Bizjak5-34/+42
* ira-conflicts.c: Use fputs or putc instead of fprintf where appropriate. * cfg.c: Ditto. * toplev.c: Ditto. * tree-switch-conversion.c: Ditto. From-SVN: r151598
2009-09-10picochip.c: Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge.Hariharan Sandanagobalane2-5/+10
* config/picochip/picochip.c : Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge. From-SVN: r151597
2009-09-10Revert:Uros Bizjak3-3/+20
2009-09-09 Uros Bizjak <ubizjak@gmail.com> PR rtl-optimization/39779 * expr.c (convert_modes): Return when mode == oldmode after CONST_INTs are processed. testsuite/ChangeLog: Revert: 2009-09-09 Uros Bizjak <ubizjak@gmail.com> PR rtl-optimization/39779 * gcc.dg/pr39979.c: New test. From-SVN: r151596
2009-09-10mep.c (mep_encode_section_info): Copy weakness attribute and referring decl ↵Nick Clifton2-0/+7
when creating renamed symbol. * config/mep/mep.c (mep_encode_section_info): Copy weakness attribute and referring decl when creating renamed symbol. From-SVN: r151595
2009-09-10re PR middle-end/41257 (Bogus error '*.LTHUNK0' aliased to undefined symbol ↵Richard Guenther4-8/+49
'_ZN1CD1Ev') 2009-09-10 Richard Guenther <rguenther@suse.de> PR middle-end/41257 * cgraphunit.c (cgraph_emit_thunks): Emit thunks only for reachable nodes. (cgraph_finalize_compilation_unit): Compute reachability before emitting thunks. Properly process aliases before possibly removing unreachable nodes. * g++.dg/torture/pr41257-2.C: New testcase. From-SVN: r151592
2009-09-10re PR middle-end/41254 (crashed compile Qt4 gui library)Richard Guenther3-65/+106
2009-09-10 Richard Guenther <rguenther@suse.de> PR middle-end/41254 * tree.c (struct free_lang_data_d): Add worklist member. (find_decls_types_r): Push onto the worklist instead of recursing. Handle TREE_BINFOs properly. (find_decls_types): New function wrapped around find_decls_types_r to process the worklist. (find_decls_types_in_eh_region): Use it. (find_decls_types_in_node): Likewise. (find_decls_types_in_var): Likewise. (free_lang_data_in_cgraph): Likewise. Free the worklist. * tree.h (RECORD_OR_UNION_TYPE_P): New. (AGGREGATE_TYPE_P): Adjust. From-SVN: r151590
2009-09-10* error.c (find_typenames_r): Also add decltypes.Jason Merrill2-2/+8
From-SVN: r151586
2009-09-10configure.ac: Check glibc version even if we have an in-tree assembler.Jason Merrill3-15/+19
* configure.ac: Check glibc version even if we have an in-tree assembler. From-SVN: r151585
2009-09-10Daily bump.GCC Administrator1-1/+1
From-SVN: r151584
2009-09-09re PR c++/28293 (ICE on invalid typedef)Paolo Carlini2-6/+17
/cp 2009-09-09 Paolo Carlini <paolo.carlini@oracle.com> PR c++/28293 * decl2.c (grokfield): Check for explicit template argument lists. /testsuite 2009-09-09 Paolo Carlini <paolo.carlini@oracle.com> PR c++/28293 * g++.dg/template/crash91.C: New. From-SVN: r151581
2009-09-09re PR c++/28293 (ICE on invalid typedef)Paolo Carlini3-1/+19
/cp 2009-09-09 Paolo Carlini <paolo.carlini@oracle.com> PR c++/28293 * decl.c (grokfield): Check for explicit template argument lists. /testsuite 2009-09-09 Paolo Carlini <paolo.carlini@oracle.com> PR c++/28293 * g++.dg/template/crash91.C: New. From-SVN: r151580
2009-09-09moxie.md (*movsi, [...]): Use xor to load the constant 0 when appropriate.Anthony Green5-31/+52
* config/moxie/moxie.md (*movsi, *movhi, *movqi): Use xor to load the constant 0 when appropriate. * config/moxie/constraints.md: Add constraint O. * config/moxie/moxie.c (moxie_setup_incoming_varargs): Adjust to pass up to 6 32-bit argument values in registers. (moxie_function_arg): Ditto. (moxie_arg_partial_bytes): Ditto. * config/moxie/moxie.h (FUNCTION_ARG_ADVANCE): Ditto. (REG_PARM_STACK_SPACE): Ditto. (FUNCTION_ARG_REGNO_P): Ditto. * config/moxie/moxie.c (moxie_expand_prologue): Use dec instruction to allocate stack space. From-SVN: r151579
2009-09-09re PR fortran/41297 (Functions are called twice)Richard Guenther2-1/+7
2009-09-09 Richard Guenther <rguenther@suse.de> PR fortran/41297 * trans-expr.c (gfc_trans_scalar_assign): Correct typo that left 'tmp' unused in derived type assignment. From-SVN: r151576
2009-09-09rs6000.md (bswapdi2_64bit): Fix unnecessarily stringent constraints.Segher Boessenkool2-20/+30
2009-09-08 Segher Boessenkool <segher@kernel.crashing.org> * config/rs6000/rs6000.md (bswapdi2_64bit): Fix unnecessarily stringent constraints. Fix address calculation in the splitters. From-SVN: r151575