Age | Commit message (Collapse) | Author | Files | Lines |
|
From-SVN: r151664
|
|
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
|
|
From-SVN: r151658
|
|
From-SVN: r151656
|
|
* doc/invoke.texi (-fstrict-aliasing): Correct two examples.
Use an imperative sentence.
From-SVN: r151654
|
|
* 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
|
|
From-SVN: r151649
|
|
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
|
|
From-SVN: r151644
|
|
* print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of
XEXP (in_rtx, 8).
From-SVN: r151643
|
|
* doc/extend.texi (node Function Attributes): Document l2
function attribute.
(node Blackfin Variable Attributes): Document l2 variable attributes.
From-SVN: r151639
|
|
2009-09-11 Loren J. Rittle <ljrittle@acm.org>
* configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
* configure: Regenerate.
From-SVN: r151638
|
|
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
|
|
* config/bfin/bfin.c (bfin_expand_call): Handle L2 functions.
(bfin_handle_l2_attribute): New.
(bfin_attribute_table): Add l2 attribute.
From-SVN: r151634
|
|
From-SVN: r151632
|
|
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
|
|
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
|
|
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
|
|
* 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
|
|
From-SVN: r151624
|
|
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
|
|
From-SVN: r151619
|
|
* tree.c (chain_index): New fn.
* tree.h: Declare it.
From-SVN: r151618
|
|
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
|
|
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
|
|
* config/sol2-c.c (cmn_err_length_specs): Initialize
scalar_identity_flag.
From-SVN: r151613
|
|
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
|
|
* tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH,
not TDF_DETAILS.
From-SVN: r151608
|
|
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
|
|
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
|
|
From-SVN: r151605
|
|
* tree-cfg.c (gimple_can_merge_blocks_p): Move label and
loop latch tests earlier.
From-SVN: r151604
|
|
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
|
|
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
|
|
From-SVN: r151601
|
|
the VTA branch merge.
* final.c (shorten_branches) : Ignore DEBUG_INSN_P instructions
introduced by the VTA branch merge.
From-SVN: r151599
|
|
* 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
|
|
* config/picochip/picochip.c : Ignore DEBUG_INSN_P instructions
introduced by the VTA branch merge.
From-SVN: r151597
|
|
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
|
|
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
|
|
'_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-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
|
|
From-SVN: r151586
|
|
* configure.ac: Check glibc version even if we have an in-tree
assembler.
From-SVN: r151585
|
|
From-SVN: r151584
|
|
/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
|
|
/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
|
|
* 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-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-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
|