Commit Graph

105743 Commits

Author SHA1 Message Date
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
Joern Rennecke
522654e698 re PR target/47135 (pdp11.c: incompatible type for TARGET_PRINT_OPERAND_PUNCT_VALID_P)
PR target/47135
	* config/pdp11/pdp11.c (pdp11_asm_print_operand_punct_valid_p): Change
	type to match target.def .

From-SVN: r168376
2010-12-31 13:42:20 +00:00
Ken Werner
b7b79b5489 sync.md (sync_clobber, [...]): New code attribute.
gcc/
2010-12-15  Ken Werner  <ken.werner@de.ibm.com>

	* config/arm/sync.md (sync_clobber, sync_t2_reqd): New code attribute.
	(arm_sync_old_<sync_optab>si, arm_sync_old_<sync_optab><mode>): Use
	the sync_clobber and sync_t2_reqd code attributes.
	* config/arm/arm.c (arm_output_sync_loop): Reverse the operation if
	the t2 argument is NULL.

From-SVN: r168375
2010-12-31 13:25:33 +00:00
Gerald Pfeifer
f38bdf47e4 * doc/sourcebuild.texi (Top Level): Adjust link to libgo.
From-SVN: r168374
2010-12-31 12:35:36 +00:00
Joern Rennecke
efdfdfa788 re PR go/47113 (go_field_alignment: field set but not used)
PR go/47113
	* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
	variable ‘field’ .

From-SVN: r168373
2010-12-31 12:24:12 +00:00
Gerald Pfeifer
2e09f014c7 * doc/install.texi (Specific): Remove reference to interix.com.
From-SVN: r168372
2010-12-31 12:17:31 +00:00
Joseph Myers
6f57c92b12 * ja.po: Update.
From-SVN: r168371
2010-12-31 11:57:00 +00:00
Paul Koning
0e3bb660a1 ieee.exp: Skip if pdp11.
* gcc.c-torture/execute/ieee/ieee.exp: Skip if pdp11.
* gcc.c-torture/compile/20000804-1.c: Skip if pdp11 -O0.
* gcc.c-torture/compile/20020312-1.c: Ditto.
* gcc.c-torture/compile/20040101-1.c: Skip if pdp11 -O1, -O2, or
-Os.

From-SVN: r168370
2010-12-31 06:52:20 -05:00
Joern Rennecke
eecbc061d4 re PR target/47112 (mipstx39-*-elf*: Redefined target macros)
PR target/47112
	* config/mips/r3900.h: Update Copyright years.
	(MIPS_CPU_STRING_DEFAULT): Undef before defining.
	(MULTILIB_DEFAULTS, MIPS_ABI_DEFAULT, SUBTARGET_CC1_SPEC): Likewise.

From-SVN: r168369
2010-12-31 11:48:03 +00:00
Paul Koning
12eb6ed32b pdp11.h (PRINT_OPERAND): Delete.
* config/pdp11/pdp11.h (PRINT_OPERAND): Delete.
* config/pdp11/pdp11.c (TARGET_PRINT_OPERAND,
TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define
(pdp11_asm_print_operand, pdp11_asm_print_operand_punct_valid_p):
New function.
* config/pdp11/pdp11.md (tablejump): Fix generated assembly.

From-SVN: r168368
2010-12-31 06:43:48 -05:00
Thomas Koenig
4afeb65c32 re PR fortran/47065 (Replace trim(a) by a(1:len_trim(a)))
2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/47065
	* frontend-passes.c (count_arglist):  Static variable to
	count the nesting of argument lists.
	(optimize_code):  Set count_arglist to 1 if within a call
	statement, to 0 otherwise.
	(optimize_trim):  New function.
	(optimize_expr):  Adjust count_arglist.  Call optimize_trim.

2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/47065
	* gfortran.dg/trim_optimize_3.f90:  New test.
	* gfortran.dg/trim_optimize_4.f90:  New test.

From-SVN: r168367
2010-12-31 11:32:16 +00:00
Thomas Koenig
7c1a49fa1b re PR fortran/45338 (Failure on interfacing a function passed as an argument as a custom operator)
2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/45338
	* resolve.c (resolve_operator):  Mark function for user-defined
	operator as referenced.

2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/45338
	* gfortran.dg/userdef_operator_2.f90:  New test case.

From-SVN: r168366
2010-12-31 11:20:22 +00:00
Joern Rennecke
1da41015bc re PR target/47111 (mips-rtems: redefinition of NO_IMPLICIT_EXTERN_C)
PR target/47111
	* config/rtems.h (NO_IMPLICIT_EXTERN_C): Undef before defining.

From-SVN: r168365
2010-12-31 10:29:30 +00:00
Mingjie Xing
1f5f063d32 Update the the macro SHIFT_COUNT_TRUNCATED for loongson.
From-SVN: r168364
2010-12-31 10:18:45 +00:00
Janus Weil
4fa0269222 re PR fortran/46971 ([OOP] ICE on long class names)
2010-12-31  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/46971
	* gfortran.h (gfc_hash_value): Add prototype.
	* class.c (get_unique_type_string): Check if proc_name is present and
	make sure string contains an underscore.
	(get_unique_hashed_string): New function which creates a hashed string
	if the given unique string is too long.
	(gfc_hash_value): Moved here from decl.c, renamed and simplified.
	(gfc_build_class_symbol, gfc_find_derived_vtab): Use hashed strings.
	* decl.c (hash_value): Moved to class.c.
	(gfc_match_derived_decl): Renamed 'hash_value'.


2010-12-31  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/46971
	* gfortran.dg/class_33.f90: New.

From-SVN: r168363
2010-12-31 11:08:17 +01:00
GCC Administrator
6c2154a917 Daily bump.
From-SVN: r168362
2010-12-31 00:18:09 +00:00
Joseph Myers
5369e2d4d9 openbsd.opt: New.
* config/openbsd.opt: New.
	* config.gcc (alpha*-*-openbsd*,
	i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123],
	i[34567]86-*-openbsd*, m68k*-*-openbsd*, mips*-*-openbsd*,
	sparc64-*-openbsd*, vax-*-openbsd*): Use openbsd.opt.

From-SVN: r168358
2010-12-30 22:20:56 +00:00
Nicola Pero
2219929499 Fixed typo in one of my last changelog entries
From-SVN: r168357
2010-12-30 22:03:02 +00:00
Nicola Pero
27e09ff9fc In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

	* objc-act.c (objc_types_are_equivalent): Fixed comparing protocol
	lists.  Check them two-ways to fix comparisons when one protocol
	implements the other one, or when one list contains duplicated
	protocols.

In gcc/testsuite/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

	* objc.dg/method-conflict-3.m: New.
	* objc.dg/method-conflict-4.m: New.	
	* obj-c++.dg/method-conflict-3.m: New.	
	* obj-c++.dg/method-conflict-4.mm: New.

From-SVN: r168356
2010-12-30 22:02:09 +00:00
John David Anglin
8abf21313f pa.md: Add ",*" condition to 64-bit add/subtract boolean patterns.
* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
	patterns.

From-SVN: r168352
2010-12-30 21:33:48 +00:00
Eric Botcazou
b331ec2b8a re PR target/47038 (failure of gcc.dg/pr46685.c)
PR target/47038
	* config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section
	on the GOT helper if USE_HIDDEN_LINKONCE.

From-SVN: r168351
2010-12-30 21:31:04 +00:00
Nicola Pero
223706ad62 In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

	* objc-act.c (objc_add_method): When emitting an error because a
	method with the same name but conflicting types is found in the
	same class or category interface, print a note with the location
	of the original method.  Also, improved the error message to
	clearly state that the conflict is due to conflicting types, and
	produce it for protocols as well.  Emit an error if two identical
	methods are declared in a protocol, but one is @required and the
	other one is @optional.  When

In gcc/testsuite/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>
	
	* objc.dg/class-extension-3.m: Updated.
	* objc.dg/method-1.m: Updated.
	* objc.dg/method-conflict-1.m: New.
	* objc.dg/method-conflict-2.m: New.	
	* obj-c++.dg/class-extension-3.mm: Updated.
	* obj-c++.dg/method-8.mm: Updated.
	* obj-c++.dg/method-conflict-1.mm: New.
	* obj-c++.dg/method-conflict-2.mm: New.

From-SVN: r168350
2010-12-30 18:26:56 +00:00
Joern Rennecke
ae480e548c re PR target/47097 (i686-lynxos fails building dbxout.o)
PR target/47097
	* config/i386/lynx.h (DBX_REGISTER_NUMBER): Add cast to avoid
	mixing signed and unsigned types in conditional expression.

From-SVN: r168349
2010-12-30 18:26:17 +00:00