Commit Graph

105765 Commits

Author SHA1 Message Date
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
Mingjie Xing
0d52f2a83b Remove duplicated '@subsubsection Statements'.
From-SVN: r168396
2011-01-02 01:30:55 +00:00
GCC Administrator
33195461a6 Daily bump.
From-SVN: r168395
2011-01-02 00:18:31 +00:00
Jan Hubicka
0e20c89fcf tree-loop-distribution.c (tree_loop_distribution): Do not use freed memory.
* tree-loop-distribution.c (tree_loop_distribution): Do not
	use freed memory.

From-SVN: r168391
2011-01-01 13:25:17 +00:00
Joseph Myers
d7255276d4 * ja.po: Update.
From-SVN: r168390
2011-01-01 12:05:40 +00:00
Kai Tietz
220e83ca20 ChangeLog gcc/
2011-01-01  Kai Tietz  <kai.tietz@onevision.com>

	PR target/38662
	* tree.c (type_hash_eq): Call
	language hook for METHOD_TYPEs, too.

ChangeLog gcc/cp

2011-01-01  Kai Tietz  <kai.tietz@onevision.com>

	PR target/38662
	* tree.c (cxx_type_hash_eq):
	Allow METHOD_TYPE, too.

ChangeLog gcc/testsuite

2011-01-01  Kai Tietz  <kai.tietz@onevision.com>

	PR target/38662
	* g++.dg/eh/pr38662.C: New testcase.

From-SVN: r168389
2011-01-01 12:05:41 +01:00
Chung-Lin Tang
49e3888358 vfp-1.c (test_ldst): Fixed fsts test to scan for newline '\n'.
2011-01-01  Chung-Lin Tang  <cltang@codesourcery.com>

	* gcc.target/arm/vfp-1.c (test_ldst): Fixed fsts test to
	scan for newline '\n'.

From-SVN: r168388
2011-01-01 08:52:03 +00:00
GCC Administrator
043afb392e Daily bump.
From-SVN: r168387
2011-01-01 00:17:39 +00:00
Paul Koning
894a95ef78 pr46534.c: Skip if pdp11.
* gcc.c-torture/compile/pr46534.c: Skip if pdp11.
* gcc.c-torture/compile/920520-1.c: Ditto.
* gcc.c-torture/compile/pr35318.c: Ditto.

From-SVN: r168383
2010-12-31 18:00:20 -05:00
Benjamin Kosnik
b25e6b793c run_doxygen: Allow doxygen 1.7.1 again.
2010-12-31  Benjamin Kosnik  <bkoz@redhat.com>

	* scripts/run_doxygen: Allow doxygen 1.7.1 again.

	* doc/xml/manual/build_hacking.xml: Update.
	* doc/xml/images/confdeps.dot: Same.
	* doc/xml/images/confdeps.png: Same.

	* configure.ac: Define BUILD_INFO, BUILD_XML, BUILD_HTML,
	BUILD_MAN, BUILD_PDF, BUILD_EPUB conditionally.
	* Makefile.am (xml, html, pdf, man, info, pd, dvi, epub): Define,
	and install rules.
	* doc/Makefile.am: Same. Add stamp rules.
	(doc-epub-docbook): Add.
	(stamp-xml-single-docbook): Make set too.
	* configure: Regenerate.
	* Makefile.in: Same.
	* doc/Makefile.in: Same.
	* include/Makefile.in: Same.
	* libsupc++/Makefile.in: Same.
	* po/Makefile.in: Same.
	* python/Makefile.in: Same.
	* src/Makefile.in: Same.
	* testsuite/Makefile.in: Same.
	* aclocal.m4: Same.

2010-12-31  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/doxygen/user.cfg.in: Disable PDF_HYPERLINKS.

From-SVN: r168382
2010-12-31 22:20:22 +00:00
Eric Botcazou
132a545967 decl.c (substitute_in_type): Do not deal with LANG_TYPE, METHOD_TYPE or OFFSET_TYPE.
* gcc-interface/decl.c (substitute_in_type): Do not deal with
	LANG_TYPE, METHOD_TYPE or OFFSET_TYPE.
	* gcc-interface/utils.c (handle_vector_size_attribute): Do not deal
	with METHOD_TYPE or OFFSET_TYPE.

From-SVN: r168381
2010-12-31 18:19:33 +00:00
Janus Weil
e17c65c260 intrinsic.texi (IANY): Correct section title.
2010-12-31  Janus Weil  <janus@gcc.gnu.org>

	* intrinsic.texi (IANY): Correct section title.
	(IALL, IANY, IPARITY): Fix example codes.

From-SVN: r168380
2010-12-31 18:06:53 +01:00
Gerald Pfeifer
2871536fc3 install.texi (powerpc-*-darwin*): Update reference to Apple Developer Tools.
* doc/install.texi (powerpc-*-darwin*): Update reference to
	Apple Developer Tools.

From-SVN: r168379
2010-12-31 16:37:58 +00:00
Joern Rennecke
27145a6423 re PR target/47084 (am33_2.0-linux fails to build)
PR target/47084
	* config/mn10300/linux.h (PRINT_OPERAND): Update for name changes
	to mn10300_print_operand / mn10300_print_operand_address.

From-SVN: r168378
2010-12-31 14:34:26 +00:00
Joern Rennecke
68b0818b07 re PR target/47114 (powerpc-wrs-vxworks: rs6000_elf_asm_out_{con,de}structor defined but not used)
PR target/47114
	* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): Add
	ATTRIBUTE_UNUSED to declaration.
	(rs6000_elf_asm_out_destructor): Likewise.

From-SVN: r168377
2010-12-31 14:07:32 +00:00