OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago2009-09-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 12 Sep 2009 15:08:27 +0000 (15:08 +0000)]
2009-09-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/41219
* io/write.c (write_a_char4): Use correct type for crlf constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151653 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * MAINTAINERS (Write After Approval): Update my e-mail address,
amylaar [Sat, 12 Sep 2009 12:46:40 +0000 (12:46 +0000)]
    * MAINTAINERS (Write After Approval): Update my e-mail address,
        and move from from here...
        (Waiting for paperwork): To here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151652 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * MAINTAINERS (Write After Approval): Update my e-mail address.
amylaar [Sat, 12 Sep 2009 12:26:42 +0000 (12:26 +0000)]
    * MAINTAINERS (Write After Approval): Update my e-mail address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151651 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* gsstruct.def (DEFGSSTRUCT): Remove printable-name argument; add
rth [Sat, 12 Sep 2009 05:49:09 +0000 (05:49 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151650 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Sat, 12 Sep 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151649 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/pa/predicates.md (symbolic_operand): Require a CONST symbolic
danglin [Fri, 11 Sep 2009 22:42:36 +0000 (22:42 +0000)]
* config/pa/predicates.md (symbolic_operand): Require a CONST symbolic
operand to be a PLUS expression.
* config/pa/pa.c (pa_secondary_reload): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151646 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * combine.c (propagate_for_debug_subst): Call wrap_constant on top.
jakub [Fri, 11 Sep 2009 19:40:00 +0000 (19:40 +0000)]
* combine.c (propagate_for_debug_subst): Call wrap_constant on top.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151644 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of
jakub [Fri, 11 Sep 2009 19:39:10 +0000 (19:39 +0000)]
* print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of
XEXP (in_rtx, 8).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151643 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-11 Johannes Singler <singler@ira.uka.de>
singler [Fri, 11 Sep 2009 16:33:58 +0000 (16:33 +0000)]
2009-09-11  Johannes Singler  <singler@ira.uka.de>

        * include/parallel/multiway_merge.h
        (multiway_merge_exact_splitting): Deallocate borders correctly.
        (parallel_multiway_merge): Remove unnecessarily complicated
        allocation, random access iterators are default-constructible;
        deallocate ne_seqs correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151640 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago From Jie Zhang <jie.zhang@analog.com>:
bernds [Fri, 11 Sep 2009 16:12:57 +0000 (16:12 +0000)]
From Jie Zhang <jie.zhang@analog.com>:
* doc/extend.texi (node Function Attributes): Document l2
function attribute.
(node Blackfin Variable Attributes): Document l2 variable attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151639 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-11 Loren J. Rittle <ljrittle@acm.org>
ljrittle [Fri, 11 Sep 2009 15:37:40 +0000 (15:37 +0000)]
2009-09-11  Loren J. Rittle  <ljrittle@acm.org>

* configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151638 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-11 Loren J. Rittle <ljrittle@acm.org>
ljrittle [Fri, 11 Sep 2009 15:29:47 +0000 (15:29 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151636 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-11 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 11 Sep 2009 13:47:36 +0000 (13:47 +0000)]
2009-09-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/41316
* include/bits/forward_list.h (_Fwd_list_node_base<>::_M_sort_after):
Remove.
(forward_list<>::sort(_Comp)): Only declare.
(forward_list<>::sort()): Forward to the latter.
* include/bits/forward_list.tcc (_Fwd_list_node_base<>::_M_sort_after):
Remove definition.
(forward_list<>::sort(_Comp)): Define.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151635 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago From Jie Zhang <jie.zhang@analog.com>:
bernds [Fri, 11 Sep 2009 13:32:31 +0000 (13:32 +0000)]
From Jie Zhang <jie.zhang@analog.com>:
* config/bfin/bfin.c (bfin_expand_call): Handle L2 functions.
(bfin_handle_l2_attribute): New.
(bfin_attribute_table): Add l2 attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151634 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc.dg/pr39779.c: Remove for real.
uros [Fri, 11 Sep 2009 11:21:26 +0000 (11:21 +0000)]
* gcc.dg/pr39779.c: Remove for real.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151632 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR middle-end/41275
matz [Fri, 11 Sep 2009 11:08:38 +0000 (11:08 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151631 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoPR debug/41276
aoliva [Fri, 11 Sep 2009 07:44:06 +0000 (07:44 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151628 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoOverride all per-target *_LINK variables correctly.
rwild [Fri, 11 Sep 2009 05:02:20 +0000 (05:02 +0000)]
Override all per-target *_LINK variables correctly.

boehm-gc/:
* Makefile.am (libgcjgc_la_LINK, gctest_LINK): New.
(gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la,
so that library dependency resolution works with portable make.
* Makefile.in: Regenerate.

libgfortran/:
* Makefile.am (libgfortranbegin_la_LINK): New.
* Makefile.in: Regenerate.

libgomp/:
* Makefile.am (libgomp_la_LINK): New.
* Makefile.in: Regenerate.

libjava/:
* Makefile.am (libgij_la_LINK, libjvm_la_LINK): New.
* Makefile.in: Regenerate.

libstdc++-v3/:
* src/Makefile.am (libstdc___la_LINK): New.
* src/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151627 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/rs6000/rs6000.h (DATA_ALIGNMENT): Check that we are dealing
froydnj [Fri, 11 Sep 2009 03:20:37 +0000 (03:20 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151626 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* config/mep/mep.md (eh_epilogue): Defer until after epilogue is
dj [Fri, 11 Sep 2009 01:06:36 +0000 (01:06 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151625 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Fri, 11 Sep 2009 00:16:42 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151624 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-11 Janus Weil <janus@gcc.gnu.org>
janus [Thu, 10 Sep 2009 22:47:03 +0000 (22:47 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151620 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* print-rtl.c (print_rtx): Fix JUMP_LABEL index.
rth [Thu, 10 Sep 2009 21:46:31 +0000 (21:46 +0000)]
* print-rtl.c (print_rtx): Fix JUMP_LABEL index.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151619 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree.c (chain_index): New fn.
jason [Thu, 10 Sep 2009 21:40:06 +0000 (21:40 +0000)]
* tree.c (chain_index): New fn.
* tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151618 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-10 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Thu, 10 Sep 2009 21:22:08 +0000 (21:22 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151616 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago gcc/testsuite:
ro [Thu, 10 Sep 2009 20:36:19 +0000 (20:36 +0000)]
gcc/testsuite:

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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151614 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/sol2-c.c (cmn_err_length_specs): Initialize
ro [Thu, 10 Sep 2009 19:13:21 +0000 (19:13 +0000)]
* config/sol2-c.c (cmn_err_length_specs): Initialize
scalar_identity_flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151613 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* tree.h (struct tree_decl_common): Move align member earlier;
rth [Thu, 10 Sep 2009 18:46:07 +0000 (18:46 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151610 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH,
rth [Thu, 10 Sep 2009 18:28:24 +0000 (18:28 +0000)]
* tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH,
        not TDF_DETAILS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151608 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* tree-cfg.c (gimple_redirect_edge_and_branch): Do
rth [Thu, 10 Sep 2009 18:28:18 +0000 (18:28 +0000)]
* tree-cfg.c (gimple_redirect_edge_and_branch): Do
        gimple_try_redirect_by_replacing_jump test after no-op and EH tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151607 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* tree-cfg.c (split_edge_bb_loc): Don't disallow placement at
rth [Thu, 10 Sep 2009 18:28:11 +0000 (18:28 +0000)]
* tree-cfg.c (split_edge_bb_loc): Don't disallow placement at
        dest_prev if the edge is complex.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151606 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* tree-cfg.c (is_ctrl_stmt): Use a switch.
rth [Thu, 10 Sep 2009 18:28:05 +0000 (18:28 +0000)]
* tree-cfg.c (is_ctrl_stmt): Use a switch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151605 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* tree-cfg.c (gimple_can_merge_blocks_p): Move label and
rth [Thu, 10 Sep 2009 18:27:59 +0000 (18:27 +0000)]
* tree-cfg.c (gimple_can_merge_blocks_p): Move label and
        loop latch tests earlier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151604 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* gimple-iterator.c (gimple_find_edge_insert_loc): Insert
rth [Thu, 10 Sep 2009 18:27:51 +0000 (18:27 +0000)]
* gimple-iterator.c (gimple_find_edge_insert_loc): Insert
        before GIMPLE_RETURN, not after its predecessor; insert
        before GIMPLE_RESX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151603 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* gimple-iterator.c (gimple_find_edge_insert_loc): Use
rth [Thu, 10 Sep 2009 18:01:23 +0000 (18:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151602 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* c-common.h (c_dialect_cxx, c_dialect_objc): Boolify.
rth [Thu, 10 Sep 2009 18:01:15 +0000 (18:01 +0000)]
* c-common.h (c_dialect_cxx, c_dialect_objc): Boolify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151601 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* final.c (shorten_branches) : Ignore DEBUG_INSN_P instructions
hariharans [Thu, 10 Sep 2009 16:48:54 +0000 (16:48 +0000)]
* final.c (shorten_branches) : Ignore DEBUG_INSN_P instructions
introduced by the VTA branch merge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151599 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * ira-conflicts.c: Use fputs or putc instead of fprintf
uros [Thu, 10 Sep 2009 16:21:45 +0000 (16:21 +0000)]
* ira-conflicts.c: Use fputs or putc instead of fprintf
where appropriate.
* cfg.c: Ditto.
* toplev.c: Ditto.
* tree-switch-conversion.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151598 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/picochip/picochip.c : Ignore DEBUG_INSN_P instructions
hariharans [Thu, 10 Sep 2009 16:03:53 +0000 (16:03 +0000)]
    * config/picochip/picochip.c : Ignore DEBUG_INSN_P instructions
        introduced by the VTA branch merge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151597 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago Revert:
uros [Thu, 10 Sep 2009 15:14:39 +0000 (15:14 +0000)]
Revert:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151596 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/mep/mep.c (mep_encode_section_info): Copy weakness
nickc [Thu, 10 Sep 2009 15:04:39 +0000 (15:04 +0000)]
    * config/mep/mep.c (mep_encode_section_info): Copy weakness
        attribute and referring decl when creating renamed symbol.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151595 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR bootstrap/41245
jakub [Thu, 10 Sep 2009 14:32:51 +0000 (14:32 +0000)]
PR bootstrap/41245
* compare-debug: Handle stripping of dwarf debug sections from darwin
mach-o objects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151594 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-10 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 10 Sep 2009 11:42:25 +0000 (11:42 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151592 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-10 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 10 Sep 2009 08:52:36 +0000 (08:52 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151590 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * error.c (find_typenames_r): Also add decltypes.
jason [Thu, 10 Sep 2009 05:16:17 +0000 (05:16 +0000)]
* error.c (find_typenames_r): Also add decltypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151586 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * configure.ac: Check glibc version even if we have an in-tree
jason [Thu, 10 Sep 2009 05:16:08 +0000 (05:16 +0000)]
* configure.ac: Check glibc version even if we have an in-tree
assembler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151585 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Thu, 10 Sep 2009 00:17:52 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151584 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago/cp
paolo [Wed, 9 Sep 2009 23:33:38 +0000 (23:33 +0000)]
/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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151581 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago/cp
paolo [Wed, 9 Sep 2009 23:31:47 +0000 (23:31 +0000)]
/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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151580 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/moxie/moxie.md (*movsi, *movhi, *movqi): Use xor to load
green [Wed, 9 Sep 2009 22:29:13 +0000 (22:29 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151579 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-09 Loren J. Rittle <ljrittle@acm.org>
ljrittle [Wed, 9 Sep 2009 21:59:40 +0000 (21:59 +0000)]
2009-09-09  Loren J. Rittle  <ljrittle@acm.org>

* testsuite/30_threads/thread/native_handle/typesizes.cc: Remove
*-*-freebsd* from both dg-do and dg-options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151578 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-09 Richard Guenther <rguenther@suse.de>
pault [Wed, 9 Sep 2009 20:03:49 +0000 (20:03 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151576 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-08 Segher Boessenkool <segher@kernel.crashing.org>
segher [Wed, 9 Sep 2009 19:50:42 +0000 (19:50 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151575 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoconfig:
bonzini [Wed, 9 Sep 2009 19:42:21 +0000 (19:42 +0000)]
config:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in
the previous two patches.

libgfortran:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

libdecnumber:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151574 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR rtl-optimization/39779
uros [Wed, 9 Sep 2009 19:25:31 +0000 (19:25 +0000)]
PR rtl-optimization/39779
* expr.c (convert_modes): Return when mode == oldmode after
CONST_INTs are processed.

testsuite/ChangeLog:

PR rtl-optimization/39779
* gcc.dg/pr39979.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151573 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-09 Kai Tietz <kai.tietz@onevision.com>
ktietz [Wed, 9 Sep 2009 19:05:55 +0000 (19:05 +0000)]
2009-09-09  Kai Tietz  <kai.tietz@onevision.com>

PR/41315
* config/i386.c (ix86_can_use_return_insn_p): Check for
padding0, too.
(ix86_expand_prologue): Take frame.padding0 into logic of
to_allocate checks.
(ix86_expand_epilogue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151570 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/t-slibgcc-elf-ver (SHLIB_MAKE_SOLINK, SHLIB_INSTALL_SOLINK):
jakub [Wed, 9 Sep 2009 18:39:52 +0000 (18:39 +0000)]
* config/t-slibgcc-elf-ver (SHLIB_MAKE_SOLINK, SHLIB_INSTALL_SOLINK):
New variables.
(SHLIB_LINK, SHLIB_INSTALL): Use them.
* config/t-slibgcc-libgcc: New file.
* config.gcc (powerpc*-*-linux*, powerpc*-*-gnu*): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151568 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-09 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 9 Sep 2009 16:51:14 +0000 (16:51 +0000)]
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4: Store temporary file in $tmp/_GCC_STDINT_H.
Eliminate now pointless comments.

libdecnumber:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

libgfortran:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151567 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-09 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 9 Sep 2009 16:50:15 +0000 (16:50 +0000)]
2009-09-09  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/41089
* tree-sra.c (find_var_candidates): Do not consider va_lists in
early SRA.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151566 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* gimple.h (CASE_GIMPLE_OMP): New.
rth [Wed, 9 Sep 2009 16:47:06 +0000 (16:47 +0000)]
* gimple.h (CASE_GIMPLE_OMP): New.
        (is_gimple_omp): Use it.
        * tree-cfg.c (is_ctrl_altering_stmt): Likewise.
        (verify_gimple_debug): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151565 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * MAINTAINERS (Reviewers): Add self as driver reviewer.
jsm28 [Wed, 9 Sep 2009 16:42:18 +0000 (16:42 +0000)]
* MAINTAINERS (Reviewers): Add self as driver reviewer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151564 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-09 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 9 Sep 2009 15:04:27 +0000 (15:04 +0000)]
2009-09-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/41101
* tree-ssa-pre.c (maximal_set): Remove.
(compute_antic_aux): Treat the maximal set as implicitly all ones.
Defer all blocks we didn't visit at least one successor.
(add_to_exp_gen): Do not add to the maximal set.
(make_values_for_phi): Likewise.
(compute_avail): Likewise.
(init_pre): Do not allocate the maximal set.
(execute_pre): Do not dump it.

* gcc.c-torture/compile/pr41101.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151561 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-09 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 9 Sep 2009 14:44:23 +0000 (14:44 +0000)]
2009-09-09  Martin Jambor  <mjambor@suse.cz>

* tree-cfg.c (verify_gimple_phi): Check that gimple_phi_result is
an SSA_NAME rather than a is_gimple_variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151560 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-09 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 9 Sep 2009 14:35:51 +0000 (14:35 +0000)]
2009-09-09  Richard Guenther  <rguenther@suse.de>

PR middle-end/41317
* tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Remove
code dealing with plain pointer bases.
(maybe_fold_offset_to_reference): Likewise.
(maybe_fold_stmt_addition): Adjust.

* gcc.c-torture/execute/pr41317.c: New testcase.
* gcc.dg/tree-ssa/forwprop-11.c: XFAIL.
* gcc.dg/tree-ssa/forwprop-12.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151559 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-09 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 9 Sep 2009 09:30:26 +0000 (09:30 +0000)]
2009-09-09  Richard Guenther  <rguenther@suse.de>

* tree.c (free_lang_data_in_type): Do not free the type variant
chains.
(free_lang_data): Merge char_type_node with its properly signed
variant.
(pass_ipa_free): Collect after freeing language specific data.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151558 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * ChangeLog: Fix last entry.
fxcoudert [Wed, 9 Sep 2009 09:15:16 +0000 (09:15 +0000)]
    * ChangeLog: Fix last entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151557 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR bootstrap/41180
fxcoudert [Wed, 9 Sep 2009 08:14:36 +0000 (08:14 +0000)]
PR bootstrap/41180
* gcc/cp/Make-lang.in: Remove redundant code from linkage
for darwin10.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151554 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR middle-end/41268
matz [Wed, 9 Sep 2009 00:43:36 +0000 (00:43 +0000)]
PR middle-end/41268
* cfgexpand.c (expand_gimple_stmt_1): Use an int for storing
SUBREG_PROMOTED_UNSIGNED_P, instead of a bool.
* rtl.h (struct rtx, SUBREG_PROMOTED_UNSIGNED_P): Update comments
to reflect reality.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151544 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* config/mep/mep.c (conversions[]): Add "ml" pattern.
dj [Wed, 9 Sep 2009 00:17:52 +0000 (00:17 +0000)]
* config/mep/mep.c (conversions[]): Add "ml" pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151543 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Wed, 9 Sep 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151542 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoUse -fno-merge-debug-string for some dwarf tests
dodji [Tue, 8 Sep 2009 22:36:41 +0000 (22:36 +0000)]
Use -fno-merge-debug-string for some dwarf tests

Use -fno-merge-debug-string to comply with Darwin
* g++.dg/debug/dwarf2/namespace-1.C: Use -fno-merge-debug-string
and adjust.
* g++.dg/debug/dwarf2/template-func-params-6.C: Likewise.
* g++.dg/debug/dwarf2/template-func-params-7.C: Likewise.
* g++.dg/debug/dwarf2/template-params-6.C: Likewise.
* g++.dg/debug/dwarf2/pubnames-1.C: Likewise. Also, adjust to
take darwin specifics in account.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151538 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc.dg/profile-dir-1.c, gcc.dg/profile-dir-2.c,
jsm28 [Tue, 8 Sep 2009 22:31:13 +0000 (22:31 +0000)]
* gcc.dg/profile-dir-1.c, gcc.dg/profile-dir-2.c,
gcc.dg/profile-dir-3.c: Disable for remote-host testing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151537 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago/cp
paolo [Tue, 8 Sep 2009 22:00:42 +0000 (22:00 +0000)]
/cp
2009-09-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/39923
* decl.c (build_init_list_var_init): Check return value of
perform_implicit_conversion.

/testsuite
2009-09-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/39923
* g++.dg/cpp0x/initlist24.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151536 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Tidy
ebotcazou [Tue, 8 Sep 2009 19:40:00 +0000 (19:40 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Tidy
flow of control.
Avoid useless work when processing the Treat_As_Volatile flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151535 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree.c (tree_find_value): Remove.
jason [Tue, 8 Sep 2009 19:26:06 +0000 (19:26 +0000)]
* tree.c (tree_find_value): Remove.
* tree.h: Remove prototype.
* varasm.c (assemble_external): Use value_member instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151534 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-08 Ozkan Sezer <sezeroz@gmail.com>
ktietz [Tue, 8 Sep 2009 19:16:18 +0000 (19:16 +0000)]
2009-09-08  Ozkan Sezer  <sezeroz@gmail.com>

        * gcc.dg/large-size-array-2.c: Fix target requirement.
        * gcc.dg/large-size-array-4.c: Likewise.
        * gcc.dg/c90-const-expr-2.c: Define ZERO as 0LL for _WIN64.
        * gcc.dg/c99-const-expr-2.c: Likewise.
        * gcc.dg/c90-const-expr-6.c: Typedef ptrdiff_t with __extension__.
        * gcc.dg/c90-const-expr-9.c: Typedef size_t with __extension__.
        * gcc.dg/c90-const-expr-10.c: Likewise.
        * gcc.dg/torture/pr39074.c: Use intptr_t typedef'ed as __PTRDIFF_TYPE__
        instead of long.
        * gcc.dg/tree-ssa/pr33920.c: Likewise.
        * gcc.dg/vect/pr33846.c: Likewise.
        * gcc.dg/vect/pr33833.c: Use uintptr_t, typedef'ed as unsigned
        __PTRDIFF_TYPE__, instead of unsigned long.
        * gcc.dg/vect/O1-pr33854.c: Use __SIZE_TYPE__ instead of unsigned long.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151533 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* tree-ssa-sccvn.c (vn_reference_lookup_3): Don't assume there are
rth [Tue, 8 Sep 2009 18:35:24 +0000 (18:35 +0000)]
* tree-ssa-sccvn.c (vn_reference_lookup_3): Don't assume there are
        more VR->OPERANDS than LHS operands.  Free LHS before returning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151530 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * class.c (currently_open_class): Make sure we're dealing with the
jason [Tue, 8 Sep 2009 18:13:02 +0000 (18:13 +0000)]
* class.c (currently_open_class): Make sure we're dealing with the
main variant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151529 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * cp-tree.h (enum overload_flags): Remove OP_FLAG.
jason [Tue, 8 Sep 2009 18:12:54 +0000 (18:12 +0000)]
* cp-tree.h (enum overload_flags): Remove OP_FLAG.
* method.c (lazily_declare_fn): Check for dtorness in ABI warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151528 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * name-lookup.c (is_class_level): Remove.
jason [Tue, 8 Sep 2009 18:12:45 +0000 (18:12 +0000)]
* name-lookup.c (is_class_level): Remove.
(push_binding_level, leave_scope, resume_scope): Adjust.
(pushlevel_class): Adjust.
(poplevel_class): Make sure we're on class_binding_level.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151527 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * decl.c (grokmethod): Rename from start_method.
jason [Tue, 8 Sep 2009 18:12:37 +0000 (18:12 +0000)]
* decl.c (grokmethod): Rename from start_method.
(finish_method): Remove.
* cp-tree.h: Adjust.
* parser.c (cp_parser_save_member_function_body): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151526 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix toplevel config.status for HP-UX sed.
rwild [Tue, 8 Sep 2009 17:55:03 +0000 (17:55 +0000)]
Fix toplevel config.status for HP-UX sed.

/:
* configure.ac: Do not use $extrasub for replacing @if/@endif
parts in Makefile; instead, use additional arguments to
AC_CONFIG_COMMANDS to do the replacement manually, with several
sed invocations, to avoid HP-UX sed command limits.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151525 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* toplev.c (process_options): Choose default debugging type when
aoliva [Tue, 8 Sep 2009 17:44:50 +0000 (17:44 +0000)]
* toplev.c (process_options): Choose default debugging type when
gtoggle enables debug info and type is unset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151524 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoPR debug/41276
aoliva [Tue, 8 Sep 2009 17:44:10 +0000 (17:44 +0000)]
PR debug/41276
PR debug/41307
* cselib.c (cselib_expand_value_rtx_1): Don't return copy of
invalid subreg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151523 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoChangeLog:
aoliva [Tue, 8 Sep 2009 17:43:37 +0000 (17:43 +0000)]
ChangeLog:
* libtool.m4 (output_verbose_link_cmd): Require leading blank, and
blank before -L.
gcc/ChangeLog:
* configure: Rebuilt with modified libtool.m4.
libstdc++-v3/ChangeLog:
* configure: Rebuilt with modified libtool.m4.
boehm-gc/ChangeLog:
* configure: Rebuilt with modified libtool.m4.
libjava/ChangeLog:
* configure: Rebuilt with modified libtool.m4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151522 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agogcc/ChangeLog:
aoliva [Tue, 8 Sep 2009 17:42:11 +0000 (17:42 +0000)]
gcc/ChangeLog:
PR debug/41229
PR debug/41291
PR debug/41300
* tree-ssa.c (execute_update_addresses_taken): Update debug insns.
gcc/testsuite/ChangeLog:
PR debug/41229
PR debug/41291
PR debug/41300
* gfortran.dg/pr41229.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151521 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* tree-ssa-loop-ivopts.c (get_phi_with_result): Remove.
aoliva [Tue, 8 Sep 2009 17:40:45 +0000 (17:40 +0000)]
* tree-ssa-loop-ivopts.c (get_phi_with_result): Remove.
(remove_statement): Likewise.
(rewrite_use_nonlinear_expr): Adjust.
(remove_unused_ivs): Collect SSA NAMEs to remove and call...
* tree-ssa.c (release_defs_bitset): ... this.  New.
* tree-flow.h (release_defs_bitset): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151520 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agogcc/ChangeLog:
aoliva [Tue, 8 Sep 2009 17:39:42 +0000 (17:39 +0000)]
gcc/ChangeLog:
PR debug/41232
* tree-ssa-phiopt.c (minmax_replacement): Skip debug stmts
in the middle block.
gcc/testsuite/ChangeLog:
PR debug/41232
* gcc.dg/pr41232.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151519 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agosed portability fixes in fixincludes
rwild [Tue, 8 Sep 2009 17:30:31 +0000 (17:30 +0000)]
sed portability fixes in fixincludes

fixincludes/:
PR testsuite/29737
PR bootstrap/35938
PR testsuite/39655
* check.tpl: Fix typos.
* README: Likewise.  Also, document that 'select' uses ERE.
* mkheaders.in: Update copyright years in --version output.
* inclhack.def (sco_math): Add missing final newline in sed
script 'a', 'c', or 'i' commands, for BSD sed.
(sco_math): In the text of 'a', 'c', or 'i' sed
commands, prepend leading white space with a backslash to avoid
the whitespace to be removed by BSD sed.
(sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
(x11_new): Fix sed expression, for BSD sed.
(glibc_mutex_init): Fix newlines in sed 's' command replacement
part, for GNU sed 3.02 and Solaris sed.
(glibc_mutex_init): Replace unportable \+ sed regex operator
with \{1,\}.
(glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
alternation \| regex operator.
(solaris_complex): Remove superfluous backslashes from
replacement string.  Replace \+ operator with \{1,\}.
* tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
* fixincl.x: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151518 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoMissed regeneration.
ktietz [Tue, 8 Sep 2009 15:28:27 +0000 (15:28 +0000)]
Missed regeneration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151516 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-08 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 8 Sep 2009 15:26:50 +0000 (15:26 +0000)]
2009-09-08  Kai Tietz  <kai.tietz@onevision.com>

        * tree-ssa-reassoc.c (find_operand_rank): Cast pointer
        via intptr_t to long type.
        (insert_operand_rank): Cast long type via intptr_t to
        pointer type.
        * genattrtab.c (RTL_HASH): Use intptr_t to cast from
        pointer to scalar.
        * c-pretty-print.c (pp_c_tree_decl_identifier): Cast
        from pointer to unsigned via uintptr_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151515 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-08 Paolo Bonzini <bonzini@gnu.org>
ktietz [Tue, 8 Sep 2009 15:21:07 +0000 (15:21 +0000)]
2009-09-08  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4: Rewrite by using autoconf 2.64 features.

2009-09-08  Kai Tietz  <kai.tietz@onevision.com>

* configure.ac (GCC_STDINT_TYPES): Initialize intptr_t,
uintptr_t, HAVE_INTTYPES_H, HAVE_STDINT_H, HAVE_UINTPTR_T,
and HAVE_INTPTR_T.
* configure: Regenerated.
* config.in: Regenerated
* system.h (stdint.h): Add include.
(inttypes.h): Likewise.
* Makefile.in (aclocal): Add config/stdint.m4.
* aclocal.m4: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151514 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/bfin/bfin.c (np_check_regno, np_after_branch): New static
bernds [Tue, 8 Sep 2009 14:52:02 +0000 (14:52 +0000)]
* config/bfin/bfin.c (np_check_regno, np_after_branch): New static
variables.
(note_np_check_stores): New function.
(harmless_null_pointer_p): New function.
(trapping_loads_p): New args NP_REG and AFTER_NP_BRANCH.  Callers
changed.  Take into account whether we're in the shadow of a condjump
that tested NP_REG for NULL.
Lose all code that tested for SEQUENCEs.
(workaround_speculation): Avoid inserting NOPs for loads that are
either always executed or a NULL pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151513 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * doc/invoke.texi (early-inlining-insns): Reduce from 12 to 8.
hubicka [Tue, 8 Sep 2009 13:59:20 +0000 (13:59 +0000)]
* doc/invoke.texi (early-inlining-insns): Reduce from 12 to 8.
* params.def (early-inlining-insns): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151511 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * id.po: Update.
jsm28 [Tue, 8 Sep 2009 12:15:41 +0000 (12:15 +0000)]
* id.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151508 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc.misc-tests/i386-prefetch.exp: Skip tests when multilib flags
jsm28 [Tue, 8 Sep 2009 10:55:09 +0000 (10:55 +0000)]
* gcc.misc-tests/i386-prefetch.exp: Skip tests when multilib flags
contain -march.
* gcc.dg/tree-ssa/prefetch-7.c, gcc.target/i386/387-1.c,
gcc.target/i386/387-5.c, gcc.target/i386/cmov7.c,
gcc.target/i386/funcspec-1.c, gcc.target/i386/funcspec-8.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-1.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-2.c,
gcc.target/i386/isa-6.c, gcc.target/i386/lea.c,
gcc.target/i386/pentium4-not-mull.c, gcc.target/i386/sse-5.c,
gcc.target/i386/ssefn-1.c: Skip when multilib flags contain -march
options other than that used in dg-options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151506 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR rtl-optimization/41239
jakub [Tue, 8 Sep 2009 09:25:47 +0000 (09:25 +0000)]
PR rtl-optimization/41239
* sched-int.h (struct deps): Add last_function_call_may_noreturn field.
* sched-rgn.c (deps_join): Join also last_function_call_may_noreturn
lists.
* sched-deps.c (sched_analyze_insn): Prevent moving trapping insns
across calls, as the calls might not always return normally.
(call_may_noreturn_p): New function.
(deps_analyze_insn): Update last_function_call_may_noreturn list.
(init_deps): Initialize it.
(remove_from_deps): Also remove calls from
last_function_call_may_noreturn list.

* gcc.c-torture/execute/pr41239.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151500 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc-interface/targtyps.c: Reorder include directives.
ebotcazou [Tue, 8 Sep 2009 06:57:47 +0000 (06:57 +0000)]
* gcc-interface/targtyps.c: Reorder include directives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151498 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 8 Sep 2009 01:18:48 +0000 (01:18 +0000)]
2009-09-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/41192
* gfortran.dg/namelist_59.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151496 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 8 Sep 2009 00:59:05 +0000 (00:59 +0000)]
2009-09-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/41192
* io/list_read.c (eat_line): Enable eat_line to function on
internal units.

PR libgfortran/41219
* io/list_read.c (nml_read_obj): Replace GFC_DTYPE_UNKNOWN with
BT_NULL to get rid of warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151495 138bc75d-0d04-0410-961f-82ee72b054a4