Commit Graph

105270 Commits

Author SHA1 Message Date
Nathan Froyd
7f701cc107 decl.c (grokmethod): Test DECL_CLASS_SCOPE_P.
* decl.c (grokmethod): Test DECL_CLASS_SCOPE_P.
	* error.c (dump_decl): Test DECL_FILE_SCOPE_P.

From-SVN: r167691
2010-12-10 16:06:30 +00:00
Richard Guenther
97ce54b9ed re PR lto/46808 (Too verbose diagnostic messages when compiling with LTO)
2010-12-10  Richard Guenther  <rguenther@suse.de>

	PR lto/46808
	* lto-symtab.c (lto_symtab_merge_decls_2): Avoid type warnings
	after errors.
	(lto_symtab_merge_decls_1): Adjust.

From-SVN: r167690
2010-12-10 15:53:58 +00:00
Ian Lance Taylor
d479b12851 re PR bootstrap/46819 (libffi is always built)
PR bootstrap/46819
	* configure.ac: For --disable-libgcj clear libgcj_saved.
	* configure: Rebuild.

From-SVN: r167689
2010-12-10 14:47:12 +00:00
Dave Korn
77754180a9 re PR middle-end/46674 (Weak alias is mistakenly optimized away)
gcc/ChangeLog:

	PR middle-end/46674
	PR lto/43157
	* target.def (mangle_assembler_name): New target asm_out hook.
	* targhooks.c (default_mangle_assembler_name): Add default hook
	implementation.
	* targhooks.h (default_mangle_assembler_name): Add prototype.
	* lto-symtab.c (lto_symtab_register_decl): Use new hook when
	processing DECL_ASSEMBLER_NAMEs for lto symtabs.
	(lto_symtab_get_resolution): Likewise.
	(lto_cgraph_replace_node): Likewise.
	(lto_symtab_prevailing_decl): Likewise.
	* lto-streamer-out.c (write_symbol): Likewise.
	* doc/tm.texi.in (TARGET_MANGLE_ASSEMBLER_NAME): Add @hook directive.
	* doc/tm.texi: Regenerate.
	* config/i386/cygming.h (TARGET_MANGLE_ASSEMBLER_NAME): Define to
	point at i386_pe_mangle_assembler_name.
	* config/i386/winnt.c (i386_pe_mangle_assembler_name): New function.
	* config/i386/i386-protos.h (i386_pe_mangle_assembler_name): Add
	prototype.

lto-plugin/ChangeLog:

	PR middle-end/46674
	PR lto/43157
	* configure.ac (SYM_STYLE): Don't AC_DEFINE.
	* lto-plugin.c (sym_style): Don't use it; default to ss_none.
	* configure: Regenerate.
	* config.h.in: Likewise.

gcc/testsuite/ChangeLog:

	PR middle-end/46674
	PR lto/43157
	* gcc.dg/pr43157.c: New file.

From-SVN: r167688
2010-12-10 14:28:58 +00:00
Nathan Froyd
4816c5938d c-typeck.c (readonly_error): Delete.
gcc/
	* c-typeck.c (readonly_error): Delete.

gcc/c-family/
	* c-common.h (readonly_error): Declare.
	* c-common.c (readonly_error): Define.

gcc/cp/
	* cp-tree.h (readonly_error_kind): Delete.
	(readonly_error): Rename to...
	(cxx_readonly_error): ...this.  Change second argument to be an
	enum lvalue_use.
	* semantics.c (finish_asm_stmt): Call cxx_readonly_error.
	* typeck.c (cp_build_unary_op): Likewise.
	(cp_build_modify_expr): Likewise.
	* typeck2.c (readonly_error): Rename to...
	(cxx_readonly_error): ...this.  Delegate to readonly_error for
	most cases.

gcc/testsuite/
	* gcc.dg/dfp/struct-union.c: Adjust.
	* gcc.dg/lvalue-2.c: Adjust.
	* gcc.dg/pr21419.c: Adjust.
	* gcc.dg/qual-component-1.c: Adjust.
	* g++.dg/other/const1.C: Adjust.

From-SVN: r167687
2010-12-10 14:20:26 +00:00
Jakub Jelinek
fee457233e re PR rtl-optimization/46865 (Using -save-temps (or ccache, distcc) produces different results with multiline macros containing asm code)
PR rtl-optimization/46865
	* rtl.c (rtx_equal_p_cb, rtx_equal_p): For last operand of
	ASM_OPERANDS and ASM_INPUT if integers are different,
	call locator_eq.
	* jump.c (rtx_renumbered_equal_p): Likewise.

	* gcc.target/i386/pr46865-1.c: New test.
	* gcc.target/i386/pr46865-2.c: New test.

From-SVN: r167686
2010-12-10 13:43:45 +01:00
Jakub Jelinek
6391db6814 re PR tree-optimization/46864 (ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions)
PR tree-optimization/46864
	* tree-ssa-loop-im.c (loop_suitable_for_sm): Return false even
	when there are EDGE_EH exit edges.

	* g++.dg/opt/pr46864.C: New test.

From-SVN: r167685
2010-12-10 13:42:12 +01:00
Tobias Burnus
87e6d9dcaa re PR fortran/46540 (libquadmath: Implement --disable-libquadmath)
/
2010-12-10  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46540
        * configure.ac: Add --disable-libquadmath and
        --disable-libquadmath-support.
        * configure: Regenerate.
gcc/
2010-12-10  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46540
        * configure.ac: Handle --disable-libquadmath-support.
        * doc/install.texi: Document --disable-libquadmath and
        --disable-libquadmath-support
        * configure: Regenerate.
        * config.in: Regenerate.

gcc/fortran/
2010-12-10  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46540
        * trans-types.c (gfc_init_kinds): Handle
        --disable-libquadmath-support.

libgfortran/
2010-12-10  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46540
        * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Honour
        --disable-libquadmath-support.
        * configure.ac: Handle --disable-libquadmath-support.
        * configure: Regenerate.

From-SVN: r167684
2010-12-10 11:55:56 +01:00
Jack Howarth
082b966fdc dsymutil enabled for Fortran.
2010-12-10  Jack Howarth  <howarth@bromo.med.uc.edu>
	    Iain Sandoe  <iains@gcc.gnu.org>

	PR 43751/target

gcc:
	* config/darwin9.h (DSYMUTIL_SPEC): Add fortran source types.

testsuite:

	* lib/prune.exp: Prune dsymutil warnings.

libstadc++-v3:

	* testsuite/lib/prune.exp: Prune dsymutil warnings.


Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org>

From-SVN: r167683
2010-12-10 10:40:43 +00:00
Iain Sandoe
9901ac6e89 gcc:
* config/rs6000/rs6000.c
	(rs6000_darwin64_record_arg_advance_recurse): Name register increment
	explicitly.  (rs6000_darwin64_record_arg_recurse): Make sure we split
	long doubles when we run out of regs.   Also flag that this requires
	stack and therefore cannot be returned by value.
	(rs6000_darwin64_record_arg): Update comment.
	(rs6000_function_value): Likewise.

From-SVN: r167682
2010-12-10 10:13:36 +00:00
Iain Sandoe
48f854c788 update boehm-gc for powerpc m64 darwin.
boehm-gc:

	* powerpc_darwin_mach_dep.s:  Update for m64.  Add eh frames.
	Do not build or use the picsymbol stub for Darwin >= 9.
	* tests/test.c (reverse_test):  Modify count for ppc64-darwin.
	* pthread_support.c (GC_get_thread_stack_base): Correct a debug
	statement.

From-SVN: r167681
2010-12-10 10:09:10 +00:00
Nicola Pero
ec3e9f8267 In gcc/: 2010-12-10 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/:
2010-12-10  Nicola Pero  <nicola.pero@meta-innovation.com>

	* c-parser.c (c_parser_objc_class_definition): Recognize
	Objective-C 2.0 class extensions.

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

	* parser.c (cp_parser_objc_superclass_or_category): Recognize
	Objective-C 2.0 class extensions.  Added iface_p and
	is_class_extension arguments.
	(cp_parser_objc_class_interface): Updated call to
	cp_parser_objc_superclass_or_category.
	(cp_parser_objc_class_implementation): Same change.
	
In gcc/objc/:
2010-12-10  Nicola Pero  <nicola.pero@meta-innovation.com>

	* objc-act.c (objc_in_class_extension): New.
	(objc_start_category_interface): If -fobjc-std=objc1
	was specified, produce an error if a class extension is used.
	(objc_finish_interface): Reset objc_in_class_extension to false.
	(objc_add_property_declaration): Allow a class extension to extend
	readonly properties in the main @interface to be readwrite.
	(start_class): Added code to deal with class extensions.  In that
	case, return the existing interface after adding any additional
	protocols to it and setting objc_in_class_extension to true.
	(continue_class): If in a class extension, do not generate the
	instance variable template.

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

	* objc.dg/class-extension-1.m: New.
	* objc.dg/class-extension-2.m: New.
	* objc.dg/class-extension-3.m: New.
	* objc.dg/property/at-property-26.m: New.
	* objc.dg/property/at-property-27.m: New.
	* objc.dg/property/at-property-28.m: New.
	* obj-c++.dg/class-extension-1.mm: New.
	* obj-c++.dg/class-extension-2.mm: New.
	* obj-c++.dg/class-extension-3.mm: New.
	* obj-c++.dg/property/at-property-26.mm: New.
	* obj-c++.dg/property/at-property-27.mm: New.
	* obj-c++.dg/property/at-property-28.mm: New.

From-SVN: r167680
2010-12-10 09:38:52 +00:00
Iain Sandoe
aff7f4c416 darwin.c: Remove c-tree.h and c-lang.h
gcc:

	* config/darwin.c: Remove c-tree.h and c-lang.h
	* config/t-darwin: Remove dependencies on c-tree.h and c-lang.h.

From-SVN: r167679
2010-12-10 09:14:55 +00:00
Joern Rennecke
6d3fbe2fee re PR target/46881 (arm_preferred_rename_class uses keyword class as parameter name)
PR target/46881
	* doc/tm.texi: Regenerate.
	* target.def: Fix "preferred" spelling.  Refer to rclass by its
	exact name.
	* config/arm/arm.c (arm_preferred_rename_class): Rename parameter class
	to rclass.

From-SVN: r167678
2010-12-10 03:58:30 +00:00
Nathan Froyd
80f4fc8ccc * call.c (print_conversion_rejection): Indent messages two spaces.
From-SVN: r167677
2010-12-10 01:32:32 +00:00
Paul Koning
30442c59aa pdp11-protos.h (output_move_double, [...]): Delete.
* config/pdp11/pdp11-protos.h (output_move_double,
output_move_quad): Delete.
(output_move_multiple, pdp11_expand_operands): New functions.
(pdp11_action, pdp11_partorder): New enums.
* config/pdp11/pdp11.md (movdi, movsi, movdf, movsf): Use
output_move_multiple.
(adddi3, subdi3, negdi2): New patterns.
(addsi3, subsi3, negsi2): Use pdp11_expand_operands.
(abshi2): Delete.
(neghi2, negqi2): Use PDPint iterator.
* config/pdp11/pdp11.c (find_addr_reg, output_move_double,
output_move_quad): Delete. 
(pdp11_expand_operands, output_move_multiple): New functions.

From-SVN: r167676
2010-12-09 20:31:08 -05:00
Joseph Myers
a23980bdb6 linux.h (WCHAR_TYPE, [...]): Define.
* config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
	* config.gcc (vax-*-linux*): Don't use svr4.h.

From-SVN: r167675
2010-12-10 01:03:33 +00:00
GCC Administrator
38485de03d Daily bump.
From-SVN: r167674
2010-12-10 00:18:34 +00:00
Ian Lance Taylor
3338038aaa Avoid some crashes on erroneous programs.
From-SVN: r167670
2010-12-09 23:56:47 +00:00
Ian Lance Taylor
d3de3f21fd re PR bootstrap/46812 (Linux libgo compilation fails when a "libnet" is already installed)
PR bootstrap/46812
Add explicit -I . when building libgo.

From-SVN: r167668
2010-12-09 22:17:25 +00:00
John David Anglin
8d47c1319a re PR target/46057 (Most stackalign tests fail on hppa-hpux)
PR target/46057
	* gcc.dg/torture/stackalign/nested-1.c: Skip on hppa*-*-hpux*.
	* gcc.dg/torture/stackalign/vararg-1.c: Likewise.
	* gcc.dg/torture/stackalign/nested-2.c: Likewise.
	* gcc.dg/torture/stackalign/vararg-2.c: Likewise.
	* gcc.dg/torture/stackalign/nested-3.c: Likewise.
	* gcc.dg/torture/stackalign/nested-4.c: Likewise.
	* gcc.dg/torture/stackalign/global-1.c: Likewise.
	* gcc.dg/torture/stackalign/ret-struct-1.c: Likewise.
	* gcc.dg/torture/stackalign/inline-1.c: Likewise.
	* gcc.dg/torture/stackalign/inline-2.c: Likewise.
	* gcc.dg/torture/stackalign/struct-1.c: Likewise.
	* gcc.dg/torture/stackalign/pr16660-1.c: Likewise.
	* gcc.dg/torture/stackalign/alloca-1.c: Likewise.
	* g++.dg/torture/stackalign/throw-1.C: Likewise.
	* g++.dg/torture/stackalign/throw-2.C: Likewise.
	* g++.dg/torture/stackalign/throw-4.C: Likewise.
	* g++.dg/torture/stackalign/eh-inline-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-inline-2.C: Likewise.
	* g++.dg/torture/stackalign/eh-vararg-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-vararg-2.C: Likewise.
	* g++.dg/torture/stackalign/eh-alloca-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-global-1.C: Likewise.

From-SVN: r167667
2010-12-09 22:15:32 +00:00
Nathan Froyd
7a6daeb0d6 c-typeck.c (build_indirect_ref): Call invalid_indirection_error.
gcc/
	* c-typeck.c (build_indirect_ref): Call invalid_indirection_error.

gcc/c-family/
	* c-common.h (invalid_indirection_error): Declare.
	* c-common.c (invalid_indirection_error): Define.

gcc/cp/
	* typeck.c (cp_build_indirect_ref): Call invalid_indirection_error.

From-SVN: r167666
2010-12-09 21:50:23 +00:00
Nathan Froyd
083586b880 typeck.c (composite_pointer_error): New function.
* typeck.c (composite_pointer_error): New function.
	(composite_pointer_type_r, composite_pointer_type): Call it.

From-SVN: r167665
2010-12-09 21:47:12 +00:00
Joseph Myers
197ef30604 extend.texi (Attribute Syntax): Correct description of attributes in pointer declarators.
* doc/extend.texi (Attribute Syntax): Correct description of
	attributes in pointer declarators.

From-SVN: r167664
2010-12-09 21:22:09 +00:00
Mike Stump
7e82085a8a Fix typo.
From-SVN: r167662
2010-12-09 19:03:30 +00:00
John David Anglin
6b08d96992 re PR tree-optimization/46021 (3 tree-ssa tests XPASS almost everywhere)
PR tree-optimization/46021
	gcc.dg/tree-ssa/20040204-1.c: Remove XFAIL for hppa*-*.*.

From-SVN: r167661
2010-12-09 19:01:42 +00:00
Joseph Myers
efa5800664 vxworks.h (DBX_REGISTER_NUMBER): Undefine.
* config/mips/vxworks.h (DBX_REGISTER_NUMBER): Undefine.
	* config.gcc (mips64*-*-linux* | mipsisa64*-*-linux*,
	mips*-*-linux*, mips-wrs-vxworks): Don't use svr4.h.

From-SVN: r167660
2010-12-09 18:20:57 +00:00
Joseph Myers
e195f6e0de mep.h (SIZE_TYPE, [...]): Define.
* config/mep/mep.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
	WCHAR_TYPE_SIZE): Define.
	* config.gcc (mep-*-*): Don't use svr4.h.

From-SVN: r167659
2010-12-09 18:20:09 +00:00
Joseph Myers
ed38428f21 mcore.h (PTRDIFF_TYPE, [...]): Define.
* config/mcore/mcore.h (PTRDIFF_TYPE, WCHAR_TYPE,
	WCHAR_TYPE_SIZE): Define.
	* config/svr3.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
	WCHAR_TYPE_SIZE): Don't define.
	* config.gcc (mcore-*-elf): Don't use svr4.h.

From-SVN: r167658
2010-12-09 17:26:33 +00:00
Joseph Myers
cfe5b8ea43 config.gcc (m32r-*-elf*, [...]): Don't use svr4.h.
* config.gcc (m32r-*-elf*, m32rle-*-elf*, m32r-*-rtems*,
	m32r-*-linux*, m32rle-*-linux*): Don't use svr4.h.

From-SVN: r167657
2010-12-09 17:25:40 +00:00
Joseph Myers
248a9e94da iq2000.h (LINK_SPEC, [...]): Define.
* config/iq2000/iq2000.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
	WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
	* config.gcc (iq2000*-*-elf*): Don't use svr4.h.

From-SVN: r167656
2010-12-09 17:24:41 +00:00
Joseph Myers
2337b6b7c1 * config.gcc (ia64*-*-linux*, ia64*-*-hpux*): Don't use svr4.h.
From-SVN: r167655
2010-12-09 17:23:37 +00:00
Joseph Myers
0ad273895f pa32-linux.h (WCHAR_TYPE, [...]): Define.
* config/pa/pa32-linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
	* config.gcc (hppa*64*-*-linux*, hppa*-*-linux*): Don't use
	svr4.h.

From-SVN: r167654
2010-12-09 17:22:38 +00:00
Joseph Myers
28e95e49fb moxie.h (LINK_SPEC, [...]): Define.
* config/moxie/moxie.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
	WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
	* config/moxie/rtems.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
	WCHAR_TYPE, WCHAR_TYPE_SIZE): Undefine.
	* config.gcc (moxie-*-elf, moxie-*-uclinux*): Don't use svr4.h.

From-SVN: r167653
2010-12-09 17:21:24 +00:00
Joseph Myers
a372401025 frv.h (SIZE_TYPE, [...]): Define.
* config/frv/frv.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
	WCHAR_TYPE_SIZE): Define.
	* config.gcc (frv-*-elf, frv-*-*linux*): Don't use svr4.h.

From-SVN: r167652
2010-12-09 17:20:25 +00:00
Joseph Myers
35766c1db3 fr30.h (LIB_SPEC, [...]): Define.
* config/fr30/fr30.h (LIB_SPEC, LINK_SPEC, SIZE_TYPE,
	PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
	* config.gcc (fr30-*-elf): Don't use svr4.h.

From-SVN: r167651
2010-12-09 17:19:22 +00:00
Joseph Myers
7d45958770 linux.h (SIZE_TYPE, [...]): Define.
* config/cris/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
	* config.gcc (crisv32-*-linux* | cris-*-linux*): Don't use svr4.h.

From-SVN: r167650
2010-12-09 17:18:20 +00:00
Richard Guenther
73aef89eb7 re PR middle-end/46844 (regrename.c:312:22: error: unused parameter 'reg')
2010-12-09  Richard Guenther  <rguenther@suse.de>

	PR middle-end/46844
	* gimple-fold.c (canonicalize_constructor_val): Canonicalize
	addresses.

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

From-SVN: r167649
2010-12-09 17:00:19 +00:00
Joseph Myers
9c0c4ec7cd netware.h (TARGET_POSIX_IO): Define.
* config/i386/netware.h (TARGET_POSIX_IO): Define.
	* config/i386/nto.h (TARGET_POSIX_IO): Define.
	* config/ia64/hpux.h (TARGET_POSIX_IO): Define.
	* config/moxie/moxie.h (TARGET_POSIX_IO): Don't undefine.
	* config/openbsd.h (TARGET_POSIX_IO): Define.
	* config/rtems.h (TARGET_POSIX_IO): Define.
	* config/sh/embed-elf.h (TARGET_POSIX_IO): Don't undefine.
	* config/sol2.h (TARGET_POSIX_IO): Define.
	* config/svr4.h (TARGET_POSIX_IO): Don't define.
	* config/vxworksae.h (TARGET_POSIX_IO): Define.

From-SVN: r167648
2010-12-09 16:58:32 +00:00
Joseph Myers
72b7f7eaf3 nto.h (MD_EXEC_PREFIX, [...]): Define.
* config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
	* config/ia64/hpux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
	Define.
	* config/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
	undefine.
	* config/mips/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
	undefine.
	* config/mips/netbsd.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
	Don't undefine.
	* config/rs6000/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
	Don't undefine.
	* config/rs6000/linux64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
	Don't undefine.
	* config/sol2.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
	* config/sparc/netbsd-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
	Don't undefine.
	* config/sparc/openbsd64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
	Don't undefine.
	* config/sparc/sp64-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
	Don't undefine.
	* config/svr4.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
	define.
	* config/xtensa/elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
	undefine.

From-SVN: r167647
2010-12-09 16:31:47 +00:00
Joseph Myers
b8f9bca0a8 hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for non-GNU assembler.
* config/ia64/hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
	non-GNU assembler.
	* config/m68k/netbsd-elf.h (AS_NEEDS_DASH_FOR_PIPED_INPUT):
	Remove.
	* config/m68k/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
	* config/mips/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
	* config/sol2.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
	non-GNU assembler.
	* config/sparc/sparc.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
	* config/svr4.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.

From-SVN: r167646
2010-12-09 16:28:45 +00:00
Steven G. Kargl
c022e1cf60 check.c (gfc_check_sngl): Insert missing space in error message.
2010-12-09  Steven G. Kargl  <kargl@gcc.gnu.org>

	* check.c (gfc_check_sngl): Insert missing space in error message.

From-SVN: r167645
2010-12-09 16:02:50 +00:00
Steven G. Kargl
b9c089d114 check.c (gfc_check_float): Insert missing space in error message.
2010-12-09  Steven G. Kargl  <kargl@gcc.gnu.org>

	* check.c (gfc_check_float): Insert missing space in error message.

From-SVN: r167643
2010-12-09 15:43:29 +00:00
Martin Jambor
54e348cb3b ipa-prop.c (compute_complex_ancestor_jump_func): Work also if the zero is the first phi parameter.
2010-12-09  Martin Jambor  <mjambor@suse.cz>

	* ipa-prop.c (compute_complex_ancestor_jump_func): Work also if the
	zero is the first phi parameter.

From-SVN: r167642
2010-12-09 16:27:14 +01:00
Martin Jambor
82d4982997 ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type.
2010-12-09  Martin Jambor  <mjambor@suse.cz>

	* ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type.
	* ipa-prop.c (ipa_modify_call_arguments): Use it.
	* tree-sra.c (splice_param_accesses): Test that all accesses have the
	same alias reference type.
	(turn_representatives_into_adjustments): Set alias_ptr_type of the
	adjustment.

From-SVN: r167641
2010-12-09 16:16:22 +01:00
John David Anglin
544ae3f5fd re PR testsuite/45068 (g++.dg/debug/dwarf2/nested-2.C failed on Linux/ia64)
PR testsuite/45068
	* g++.dg/debug/dwarf2/nested-2.C: Also match comments starting with ';'.

From-SVN: r167640
2010-12-09 15:15:26 +00:00
Martin Jambor
363e01ccc9 re PR middle-end/46734 (ICE in create_tmp_var, at gimplify.c:505)
2010-12-09  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/46734
	* tree-sra.c (splice_param_accesses): Check that there are not
	multiple ADDRESSABLE types.

	* testsuite/g++.dg/tree-ssa/pr46734.C: New test.

From-SVN: r167639
2010-12-09 16:11:26 +01:00
John David Anglin
8b6606f2fa re PR c++/44641 (Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition)
PR c++/44641
	* lib/scanasm.exp (dg-function-on-line): Add match pattern for
	hppa*-*-*.

From-SVN: r167638
2010-12-09 14:43:03 +00:00
Joseph Myers
78a142524e arc.h (ASM_SPEC): Remove %{v}.
* config/arc/arc.h (ASM_SPEC): Remove %{v}.
	* config/bfin/bfin.h (ASM_SPEC): Remove %{v}.
	* config/cris/cris.h (ASM_SPEC): Remove %{v:-v}.
	* config/fr30/fr30.h (ASM_SPEC): Remove %{v}.
	* config/frv/frv.h (ASM_SPEC): Remove %{v}.
	* config/i386/linux.h (ASM_SPEC): Remove %{v}.
	* config/i386/linux64.h (ASM_SPEC): Remove %{v}.
	* config/i386/mingw-w64.h (ASM_SPEC): Remove %{v}.
	* config/i386/sol2-10.h (ASM_SPEC): Remove %{v}.
	* config/i386/vxworks.h (ASM_SPEC): Remove %{v}.
	* config/i386/x86-64.h (ASM_SPEC): Remove %{v}.
	* config/lm32/lm32.h (ASM_SPEC): Remove %{v}.
	* config/m32r/m32r.h (ASM_SPEC): Remove %{v}.
	* config/m68k/linux.h (ASM_SPEC): Remove %{v:-V}.
	* config/microblaze/microblaze.h (ASM_SPEC): Remove %{v}.
	* config/mips/mips.h (ASM_SPEC): Remove %{v}.
	* config/mips/vxworks.h (ASM_SPEC): Remove %{v}.
	* config/pa/pa-linux.h (ASM_SPEC): Remove %{v:-V}.
	* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Remove %{v}.
	* config/rs6000/linux64.h (ASM_SPEC): Remove %{v:-V}.
	* config/rs6000/vxworks.h (ASM_SPEC): Remove %{v:-v}.
	* config/sparc/openbsd64.h (ASM_SPEC): Remove %{v:-V}.
	* config/svr4.h (SVR4_ASM_SPEC): Remove %{v:-V}.
	* config/xtensa/elf.h (ASM_SPEC): Remove %{v}.
	* config/xtensa/linux.h (ASM_SPEC): Remove %{v}.

From-SVN: r167636
2010-12-09 13:30:01 +00:00
Joseph Myers
7aed7dfc45 openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.
* config/i386/openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.
	* config/mips/openbsd.h (LINK_SPEC): Use %{r:} not %{r*:}.
	* config/netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): Use %{r:} not
	%{r*:}.
	* config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Use %{r:} not
	%{r*:}.
	* config/sparc/openbsd64.h (LINK_SPEC): Use %{r:} not %{r*:}.
	* config/vax/netbsd-elf.h (LINK_SPEC): Use %{r:} not %{r*:}.

From-SVN: r167635
2010-12-09 13:28:22 +00:00