Commit Graph

95805 Commits

Author SHA1 Message Date
Gerald Pfeifer 8ff51917c8 * doc/install.texi (Binaries): Adjust AIX link.
From-SVN: r151656
2009-09-12 16:55:00 +00:00
Akim Demaille 460ba39640 invoke.texi (-fstrict-aliasing): Correct two examples.
* doc/invoke.texi (-fstrict-aliasing): Correct two examples.
	Use an imperative sentence.

From-SVN: r151654
2009-09-12 15:41:59 +00:00
Jerry DeLisle b495ad7f55 re PR fortran/41219 (libgfortran build warnings)
2009-09-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

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

From-SVN: r151653
2009-09-12 15:08:27 +00:00
Joern Rennecke 6fb30a1410 MAINTAINERS (Write After Approval): Update my e-mail address, and move from from here...
* MAINTAINERS (Write After Approval): Update my e-mail address,
        and move from from here...
        (Waiting for paperwork): To here.

From-SVN: r151652
2009-09-12 13:46:40 +01:00
Joern Rennecke 0318772dfa * MAINTAINERS (Write After Approval): Update my e-mail address.
From-SVN: r151651
2009-09-12 13:26:42 +01:00
Richard Henderson f2c4a81cc1 gsstruct.def (DEFGSSTRUCT): Remove printable-name argument...
* 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-11 22:49:09 -07:00
GCC Administrator 0a58a02488 Daily bump.
From-SVN: r151649
2009-09-12 00:17:01 +00:00
John David Anglin 85ed9a3342 predicates.md (symbolic_operand): Require a CONST symbolic operand to be a 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 22:42:36 +00:00
Jakub Jelinek 9258b4c14f * combine.c (propagate_for_debug_subst): Call wrap_constant on top.
From-SVN: r151644
2009-09-11 21:40:00 +02:00
Jakub Jelinek 137a05d3c0 print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of XEXP (in_rtx, 8).
* print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of
	XEXP (in_rtx, 8).

From-SVN: r151643
2009-09-11 21:39:10 +02:00
Johannes Singler 6aa8519d86 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.

From-SVN: r151640
2009-09-11 16:33:58 +00:00
Bernd Schmidt 603bb63eff 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.

From-SVN: r151639
2009-09-11 16:12:57 +00:00
Loren J. Rittle 61e1d511e1 configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
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-11 15:37:40 +00:00
Loren J. Rittle 8a47c6c41f config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system 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-11 15:29:47 +00:00
Paolo Carlini fc52f99da8 re PR libstdc++/41316 ([C++0x] forward_list::sort violates strict aliasing rules)
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.

From-SVN: r151635
2009-09-11 13:47:36 +00:00
Bernd Schmidt db689ed6ab 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.

From-SVN: r151634
2009-09-11 13:32:31 +00:00
Uros Bizjak 7c9162b24d * gcc.dg/pr39779.c: Remove for real.
From-SVN: r151632
2009-09-11 13:21:26 +02:00
Michael Matz 5c3ec539b7 re PR c++/41275 (ICE: expand_expr_real_1, at expr.c:8416)
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-11 11:08:38 +00:00
Alexandre Oliva 0b7e34d7dd re PR debug/41276 (Segmentation fault in lookup_page_table_entry)
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-11 07:44:06 +00:00
Ralf Wildenhues 878f62e5bd 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.

From-SVN: r151627
2009-09-11 05:02:20 +00:00
Nathan Froyd b851135c6c rs6000.h (DATA_ALIGNMENT): Check that we are dealing with actual SPE/paired 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-11 03:20:37 +00:00
DJ Delorie 5ba863d70d mep.md (eh_epilogue): Defer until after epilogue is emitted.
* 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-10 21:06:36 -04:00
GCC Administrator 24f7037972 Daily bump.
From-SVN: r151624
2009-09-11 00:16:42 +00:00
Janus Weil 664e411ba5 re PR fortran/41242 (PPC call rejected (related to user-defined assignment?))
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-11 00:47:03 +02:00
Richard Henderson 68bcdeed11 * print-rtl.c (print_rtx): Fix JUMP_LABEL index.
From-SVN: r151619
2009-09-10 14:46:31 -07:00
Jason Merrill ad42ff1e07 tree.c (chain_index): New fn.
* tree.c (chain_index): New fn.
	* tree.h: Declare it.

From-SVN: r151618
2009-09-10 17:40:06 -04:00
Steven G. Kargl 43dfd40c1d re PR fortran/31292 (ICE with module procedure interface in a procedure body)
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-10 21:22:08 +00:00
Rainer Orth 1382ae05e3 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.

Co-Authored-By: James A. Morrison <phython@gcc.gnu.org>

From-SVN: r151614
2009-09-10 20:36:19 +00:00
Rainer Orth 0e6748ab2c sol2-c.c (cmn_err_length_specs): Initialize scalar_identity_flag.
* config/sol2-c.c (cmn_err_length_specs): Initialize
	scalar_identity_flag.

From-SVN: r151613
2009-09-10 19:13:21 +00:00
Richard Henderson b6777feaf5 tree.h (struct tree_decl_common): Move align member earlier; move 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-10 11:46:07 -07:00
Richard Henderson feb4e5ba87 tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH, not TDF_DETAILS.
* tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH,
        not TDF_DETAILS.

From-SVN: r151608
2009-09-10 11:28:24 -07:00
Richard Henderson 1c061be541 tree-cfg.c (gimple_redirect_edge_and_branch): Do 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-10 11:28:18 -07:00
Richard Henderson 88e24a5ab9 tree-cfg.c (split_edge_bb_loc): Don't disallow placement at dest_prev if the 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 11:28:11 -07:00
Richard Henderson 40a3286202 * tree-cfg.c (is_ctrl_stmt): Use a switch.
From-SVN: r151605
2009-09-10 11:28:05 -07:00
Richard Henderson 8e7c5fddbe tree-cfg.c (gimple_can_merge_blocks_p): Move label and loop latch tests earlier.
* tree-cfg.c (gimple_can_merge_blocks_p): Move label and
        loop latch tests earlier.

From-SVN: r151604
2009-09-10 11:27:59 -07:00
Richard Henderson 07c358c60c gimple-iterator.c (gimple_find_edge_insert_loc): Insert before 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-10 11:27:51 -07:00
Richard Henderson 671f9f3098 gimple-iterator.c (gimple_find_edge_insert_loc): Use gimple_seq_empty_p to 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 11:01:23 -07:00
Richard Henderson 15a15e8dc4 * c-common.h (c_dialect_cxx, c_dialect_objc): Boolify.
From-SVN: r151601
2009-09-10 11:01:15 -07:00
Hariharan Sandanagobalane f90f4827aa final.c (shorten_branches): Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge.
* final.c (shorten_branches) : Ignore DEBUG_INSN_P instructions
introduced by the VTA branch merge.

From-SVN: r151599
2009-09-10 16:48:54 +00:00
Uros Bizjak edb30094a6 ira-conflicts.c: Use fputs or putc instead of fprintf where appropriate.
* 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-10 18:21:45 +02:00
Hariharan Sandanagobalane f3d9e91bcc picochip.c: Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge.
* config/picochip/picochip.c : Ignore DEBUG_INSN_P instructions
        introduced by the VTA branch merge.

From-SVN: r151597
2009-09-10 16:03:53 +00:00
Uros Bizjak 3a3d54f2fe 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.

From-SVN: r151596
2009-09-10 17:14:39 +02:00
Nick Clifton 1c6679e236 mep.c (mep_encode_section_info): Copy weakness attribute and referring decl 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-10 15:04:39 +00:00
Iain Sandoe bb59df5289 re PR bootstrap/41245 (Bootstrap broken on I386-apple-darwin9 at revision 151373)
PR bootstrap/41245
	* compare-debug: Handle stripping of dwarf debug sections from darwin
	mach-o objects.

From-SVN: r151594
2009-09-10 16:32:51 +02:00
Richard Guenther 90097c6771 re PR middle-end/41257 (Bogus error '*.LTHUNK0' aliased to undefined symbol '_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 11:42:25 +00:00
Richard Guenther c7a3980a09 re PR middle-end/41254 (crashed compile Qt4 gui library)
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 08:52:36 +00:00
Jason Merrill 7cb4dfec24 * error.c (find_typenames_r): Also add decltypes.
From-SVN: r151586
2009-09-10 01:16:17 -04:00
Jason Merrill e00ded6863 configure.ac: Check glibc version even if we have an in-tree assembler.
* configure.ac: Check glibc version even if we have an in-tree
	assembler.

From-SVN: r151585
2009-09-10 01:16:08 -04:00
GCC Administrator 52718995ee Daily bump.
From-SVN: r151584
2009-09-10 00:17:52 +00:00
Paolo Carlini 3937f036d7 re PR c++/28293 (ICE on invalid typedef)
/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-09 23:33:38 +00:00