Commit Graph

105979 Commits

Author SHA1 Message Date
Kai Tietz 7f957ac94c re PR libstdc++/47145 (configure test for docbook-xsl-ns stylesheets uses hardcoded path)
2011-01-04  Kai Tietz  <kai.tietz@onevision.com>

        PR libstdc++/47145
        * configure.ac (AC_CHECK_FILE): Replaced by test -f.
        * configure: Regenerated.

Unbreaking cross-compiling ...

From-SVN: r168474
2011-01-04 18:59:39 +01:00
Ian Lance Taylor b6493d3890 Avoid crash when selecting on non-channel.
From-SVN: r168473
2011-01-04 17:42:21 +00:00
Philipp Thomas 017096ca1c Fix obvious typo.
From-SVN: r168471
2011-01-04 16:59:42 +00:00
Janus Weil 844ba45510 re PR fortran/46448 ([OOP] symbol `__copy_...' is already defined)
2011-01-04  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/46448
	* class.c (gfc_find_derived_vtab): Set the module field for the copying
	routine to make sure it receives module name mangling.


2011-01-04  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/46448
	* gfortran.dg/class_34.f90: New.

From-SVN: r168464
2011-01-04 13:59:23 +01:00
Ulrich Weigand 55c623b524 function.c (thread_prologue_and_epilogue_insns): Do not crash on empty epilogue sequences.
* function.c (thread_prologue_and_epilogue_insns): Do not crash
	on empty epilogue sequences.

From-SVN: r168463
2011-01-04 12:20:45 +00:00
Ulrich Weigand d28139df87 builtin-cproj-1.c: On the __SPU__ target, do not use __builtin_inff.
* gcc.dg/torture/builtin-cproj-1.c: On the __SPU__ target, do not
	use __builtin_inff.  Skip all single-precision tests that require
	Infinity.

From-SVN: r168462
2011-01-04 12:19:31 +00:00
Joseph Myers b98d6b3556 vxworks.opt (Bdynamic, [...]): New Driver options.
* config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
	non-static): New Driver options.

From-SVN: r168461
2011-01-04 11:48:04 +00:00
Pascal Obry c6eecbd880 decl.c: Disable Stdcall convention handling for 64-bit.
* gcc-interface/decl.c: Disable Stdcall convention handling for 64-bit.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>

From-SVN: r168460
2011-01-04 11:33:39 +00:00
Jie Zhang a0d43bacfc re PR driver/47137 (gcc incorrectly combines assembly inputs)
PR driver/47137
	* gcc.c (default_compilers[]): Set combinable field to 0
	for all assembly languages.

From-SVN: r168459
2011-01-04 10:21:27 +00:00
Eric Botcazou 2d3c7e4f2d trans.c (Case_Statement_to_gnu): Put the SLOC of the end-of-case on the end label and its associated gotos, if any.
* gcc-interface/trans.c (Case_Statement_to_gnu): Put the SLOC of the
	end-of-case on the end label and its associated gotos, if any.

From-SVN: r168458
2011-01-04 09:50:33 +00:00
Eric Botcazou 0394741f9b trans.c (Subprogram_Body_to_gnu): Evaluate the expressions of the parameter cache within the statement group of...
* gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
	expressions of the parameter cache within the statement group of
	the CICO mechanism.

From-SVN: r168456
2011-01-04 09:43:56 +00:00
Olivier Hainque 2a02d0907c trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
* gcc-interface/trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
	(set_end_locus_from_node): New function.
	(Subprogram_Body_to_gnu): Use it to mark both the inner BIND_EXPR we
	make and the function end_locus.
	(Compilation_Unit_to_gnu): Call it instead of a straight Sloc_to_locus
	for the elaboration subprogram.
	(set_gnu_expr_location_from_node) <default case>: Use it to attempt to
	set the end_locus of the expression as well.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>

From-SVN: r168455
2011-01-04 09:30:06 +00:00
Eric Botcazou 89f5e97804 re PR ada/47131 (internal error for ACATS C34011B on SJLJ targets)
PR ada/47131
	* gcc-interface/trans.c (Identifier_to_gnu): In SJLJ mode, do not make
	variables that are referenced in exception handlers volatile.

From-SVN: r168454
2011-01-04 08:58:02 +00:00
Mingjie Xing 2b18eb327c Add the pipeline description for Loongson3A.
From-SVN: r168452
2011-01-04 02:53:50 +00:00
GCC Administrator 5e7e855011 Daily bump.
From-SVN: r168451
2011-01-04 00:18:03 +00:00
Eric Botcazou 42a48c4fd6 re PR middle-end/47017 (gnatlib ICE on sparc64-linux)
PR middle-end/47017
	* expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
	instead of convert_memory_address_addr_space on the base expression.

From-SVN: r168447
2011-01-03 23:59:55 +00:00
Ulrich Weigand 249d12daf8 * g++.dg/torture/pr46111.C: Add dg-require-effective-target pthread.
From-SVN: r168446
2011-01-03 23:16:17 +00:00
Ulrich Weigand 9c1732c469 spu.c (spu_option_override): Update error text for bad -march= / -mtune= values.
* config/spu/spu.c (spu_option_override): Update error text
	for bad -march= / -mtune= values.

From-SVN: r168445
2011-01-03 23:15:03 +00:00
Ulrich Weigand aa474365da spu.c (asm_file_start): Only reset flag_var_tracking if branch-hint optimization will be performed.
* config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
	if branch-hint optimization will be performed.

From-SVN: r168444
2011-01-03 23:14:18 +00:00
Ulrich Weigand 4ce99a208b Fix incorrect date.
From-SVN: r168443
2011-01-03 23:13:48 +00:00
Jakub Jelinek 371556eeb7 re PR target/47148 (likely wrong code bug)
PR tree-optimization/47148
	* ipa-split.c (split_function): Convert arguments to
	DECL_ARG_TYPE if possible.

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

From-SVN: r168441
2011-01-03 22:10:31 +01:00
Jakub Jelinek 1ac12fa2a7 re PR tree-optimization/47155 (ccp caused miscompilation)
PR tree-optimization/47155
	* tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
	when computing uns.

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

From-SVN: r168440
2011-01-03 22:01:14 +01:00
Jakub Jelinek 9766135bb1 re PR rtl-optimization/47157 (ICE: in calc_dfs_tree, at dominance.c:395 with -O)
PR rtl-optimization/47157
	* combine.c (try_combine): If undobuf.other_insn becomes
	(set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
	and set *new_direct_jump_p too.

	* gcc.c-torture/compile/pr47157.c: New test.

From-SVN: r168439
2011-01-03 21:59:20 +01:00
Jakub Jelinek d652f226fc Update Copyright years for files modified in 2010.
From-SVN: r168438
2011-01-03 21:52:22 +01:00
Ulrich Weigand 4c81ff2682 vector-shift2.c (schar): Define.
* gcc.dg/torture/vector-shift2.c (schar): Define.
	(main): Always use schar or uchar instead of plain "char" to avoid
	dependencies on implementation-defined char signedness.

From-SVN: r168437
2011-01-03 18:02:35 +00:00
Paolo Carlini bfb194f15f re PR libstdc++/46922 (Missing exported symbols from libstdc++)
2011-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/46922
	* config/abi/pre/gnu.ver: Export std::bad_function_call symbols.

From-SVN: r168435
2011-01-03 17:09:12 +00:00
Sebastian Pop f4a2e5717b Fix PR47021: ADDR_EXPRs don't contain SCoP parameters.
2011-01-03  Sebastian Pop  <sebastian.pop@amd.com>

	PR tree-optimization/47021
	* graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.

From-SVN: r168433
2011-01-03 17:01:36 +00:00
Jakub Jelinek 9f8e43c012 gcc.c (process_command): Update copyright notice dates.
gcc/
	* gcc.c (process_command): Update copyright notice dates.
	* gcov.c (print_version): Likewise.
	* gcov-dump.c (print_version): Likewise.
	* mips-tfile.c (main): Likewise.
	* mips-tdump.c (main): Likewise.
gcc/fortran/
	* gfortranspec.c (lang_specific_driver): Update copyright notice
	dates.
gcc/java/
	* jcf-dump.c (version): Update copyright notice dates.
libmudflap/
	* mf-runtime.c (__mf_usage): Update copyright notice dates.
libjava/
	* gnu/gcj/convert/Convert.java (version): Update copyright notice
	dates.
	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.
libjava/classpath/
	* gnu/java/rmi/registry/RegistryImpl.java (version): Update
	copyright notice dates.
	* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.

From-SVN: r168432
2011-01-03 17:14:57 +01:00
Martin Jambor 1a2e38f3dd re PR tree-optimization/46801 (FAIL: gnat.dg/pack9.adb scan-tree-dump-not optimized "gnat_rcheck")
2011-01-03  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/46801
	* tree-sra.c (type_internals_preclude_sra_p): Check whether
	aggregate fields start at byte boundary instead of the bit-field flag.

	* testsuite/gnat.dg/pack9.adb: Remove xfail.

From-SVN: r168431
2011-01-03 16:43:23 +01:00
H.J. Lu 56b721c591 Revert revision 168407.
2011-01-03  H.J. Lu  <hongjiu.lu@intel.com>

	PR driver/47137
	* gcc.c (main): Revert revision 168407.

From-SVN: r168429
2011-01-03 07:03:05 -08:00
Martin Jambor 839d549b58 lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
2011-01-03  Martin Jambor  <mjambor@suse.cz>

	* lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.

From-SVN: r168424
2011-01-03 14:32:44 +01:00
Ulrich Weigand 2fa6eeff4b tree-vect-generic.c (expand_vector_operations_1): When using vector/ vector optab to expand vector/scalar shift...
* tree-vect-generic.c (expand_vector_operations_1): When using vector/
	vector optab to expand vector/scalar shift, update gimple to vector.

From-SVN: r168423
2011-01-03 13:25:25 +00:00
Martin Jambor 76df0ae6df cgraphunit.c (verify_cgraph_node): Verify there is no direct call to a thunk.
2011-01-03  Martin Jambor  <mjambor@suse.cz>

	* cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
	a thunk.

From-SVN: r168422
2011-01-03 14:15:35 +01:00
Martin Jambor ce47fda3ce re PR tree-optimization/46984 (g++.dg/torture/pr45699.C FAILs with -fno-early-inlining -flto)
2011-01-03  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/46984
	* cgraph.h (cgraph_indirect_call_info): make field thunk_delta
	HOST_WIDE_INT.
	(cgraph_create_indirect_edge): Fixed line length.
	(cgraph_indirect_call_info): Declare.
	(cgraph_make_edge_direct) Update declaration.
	* cgraph.c (cgraph_allocate_init_indirect_info): New function.
	(cgraph_create_indirect_edge): Use it.
	(cgraph_make_edge_direct): Made delta HOST_WIDE_INT.  Updated all
	callees.
	* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
	the new thunk_delta representation.
	* ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
	HOST_WIDE_INT.
	(ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
	(ipa_read_indirect_edge_info): Likewise.
	* lto-cgraph.c (output_edge_opt_summary): New function.
	(output_node_opt_summary): Call it on all outgoing edges.
	(input_edge_opt_summary): New function.
	(input_node_opt_summary): Call it on all outgoing edges.

	* testsuite/g++.dg/ipa/pr46984.C: New test.

From-SVN: r168420
2011-01-03 14:06:54 +01:00
Eric Botcazou fd0bcb5af9 Fix wrong date
From-SVN: r168417
2011-01-03 11:52:37 +00:00
Janus Weil d9ace2ef64 intrinsic.texi (LEADZ): Fix example.
2011-01-03  Janus Weil  <janus@gcc.gnu.org>

	* intrinsic.texi (LEADZ): Fix example.

From-SVN: r168415
2011-01-03 11:26:05 +01:00
GCC Administrator 94f95505a0 Daily bump.
From-SVN: r168414
2011-01-03 00:17:57 +00:00
Janus Weil 2e85ae0d6d re PR fortran/46408 ([OOP] Segfault when running gfortran.dg/class_allocate_6.f03)
2011-01-02  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/46408
	* class.c (gfc_find_derived_vtab): Use EXEC_INIT_ASSIGN for __copy_
	routine.


2011-01-02  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/46408
	* gfortran.dg/class_19.f03: Adjust counting of __builtin_free.

From-SVN: r168409
2011-01-02 22:01:50 +01:00
Joseph Myers 9ad2c58f86 * de.po: Update.
From-SVN: r168408
2011-01-02 20:36:01 +00:00
H.J. Lu 1e67fa1fb4 Don't check have_o when settting combine_inputs.
2011-01-02  H.J. Lu  <hongjiu.lu@intel.com>

	PR driver/47137
	* gcc.c (main): Don't check have_o when settting combine_inputs.

From-SVN: r168407
2011-01-02 09:54:22 -08:00
Joseph Myers d7d26d7060 * sv.po: Update.
From-SVN: r168406
2011-01-02 17:41:32 +00:00
Joseph Myers 672579c247 * ja.po: Update.
From-SVN: r168405
2011-01-02 17:40:15 +00:00
Eric Botcazou 6656b2ac05 regrename.c: Add general comment describing the pass.
* regrename.c: Add general comment describing the pass.
	(struct du_head): Remove 'length' field.
	(get_element, merge_sort_comparison, merge, sort_du_head): Remove.
	(regrename_optimize): Do not sort chains.  Rework comments, add others.
	Force renaming to the preferred class (if any) in the first pass and do
	not consider registers that belong to it in the second pass.
	(create_new_chain): Do not set 'length' field.
	(scan_rtx_reg): Likewise.

From-SVN: r168404
2011-01-02 17:28:24 +00:00
Jakub Jelinek 4c0c322882 Bump Copyright years.
From-SVN: r168403
2011-01-02 18:23:22 +01:00
Jakub Jelinek 4e99629664 re PR tree-optimization/47140 (error: conversion of register to a different size)
PR tree-optimization/47140
	* tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
	TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
	to bit_value_binop.

	* gcc.c-torture/compile/pr47140.c: New test.

From-SVN: r168402
2011-01-02 18:09:08 +01:00
Jakub Jelinek bc470c243a re PR rtl-optimization/47028 (gcc.dg/tree-ssa/tailrecursion-[57].c FAIL with -foptimize-sibling-calls -fno-forward-propagate -fno-tree-copy-prop -fno-tree-dominator-opts)
PR rtl-optimization/47028
	* cfgexpand.c (gimple_expand_cfg): Insert entry edge
	insertions after parm_birth_insn instead of at the beginning
	of first bb.

	* gcc.dg/pr47028.c: New test.

From-SVN: r168401
2011-01-02 18:07:15 +01:00
H.J. Lu 7dfef5845a Fix a typo.
2011-01-02  H.J. Lu  <hongjiu.lu@intel.com>

	* objc-act.c (check_that_protocol_is_defined): Fix a typo.

From-SVN: r168400
2011-01-02 08:24:44 -08:00
H.J. Lu 797103eb00 Rotate ChangeLogs.
From-SVN: r168399
2011-01-02 08:22:05 -08:00
Nicola Pero ca2ed3ba8e In gcc/objc/: 2011-01-02 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2011-01-02  Nicola Pero  <nicola.pero@meta-innovation.com>

	* objc-act.c (check_that_protocol_is_defined): New.
	(lookup_protocol): Call check_that_protocol_is_defined.

In gcc/testsuite/:
2011-01-02  Nicola Pero  <nicola.pero@meta-innovation.com>

	* objc.dg/protocol-forward-1.m: Removed TODO.
	* objc.dg/protocol-forward-2.m: New.
	* obj-c++.dg/protocol-forward-2.mm: Removed TODO.
	* obj-c++.dg/protocol-forward-2.mm: New.

From-SVN: r168398
2011-01-02 10:19:42 +00:00
Mingjie Xing 5af62fcd93 Correct the year for the last commit. It's 2011 now.
From-SVN: r168397
2011-01-02 01:54:33 +00:00