Commit Graph

105499 Commits

Author SHA1 Message Date
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
Joseph Myers e59dabd237 freebsd.h (LINK_SPEC): Don't use %{!dynamic-linker:}.
* config/alpha/freebsd.h (LINK_SPEC): Don't use
	%{!dynamic-linker:}.
	* config/alpha/linux-elf.h (LINK_SPEC): Likewise.
	* config/arm/freebsd.h (LINK_SPEC): Likewise.
	* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Likewise.
	* config/bfin/linux.h (LINK_SPEC): Likewise.
	* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Likewise.
	* config/frv/linux.h (LINK_SPEC): Likewise.
	* config/i386/freebsd.h (LINK_SPEC): Likewise.
	* config/i386/freebsd64.h (LINK_SPEC): Likewise.
	* config/i386/linux.h (LINK_SPEC): Likewise.
	* config/i386/linux64.h (LINK_SPEC): Likewise.
	* config/i386/openbsdelf.h (LINK_SPEC): Likewise.
	* config/ia64/freebsd.h (LINK_SPEC): Likewise.
	* config/ia64/linux.h (LINK_SPEC): Likewise.
	* config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
	* config/m32r/linux.h (LINK_SPEC): Likewise.
	* config/m68k/linux.h (LINK_SPEC): Likewise.
	* config/microblaze/linux.h (LINK_SPEC): Likewise.
	* config/mips/linux.h (LINK_SPEC): Likewise.
	* config/mips/linux64.h (LINK_SPEC): Likewise.
	* config/mips/openbsd.h (LINK_SPEC): Likewise.
	* config/mn10300/linux.h (LINK_SPEC): Likewise.
	* config/netbsd-elf.h (LINK_SPEC): Likewise.
	* config/pa/pa-linux.h (LINK_SPEC): Likewise.
	* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32,
	LINK_OS_LINUX_SPEC64): Likewise.
	* config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC,
	LINK_OS_LINUX_SPEC, LINK_OS_GNU_SPEC, LINK_OS_NETBSD_SPEC):
	Likewise.
	* config/s390/linux.h (LINK_SPEC): Likewise.
	* config/sh/linux.h (SUBTARGET_LINK_SPEC): Likewise.
	* config/sparc/freebsd.h (LINK_SPEC): Likewise.
	* config/sparc/linux.h (LINK_SPEC): Likewise.
	* config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
	LINK_SPEC): Likewise.
	* config/sparc/openbsd64.h (LINK_SPEC): Likewise.
	* config/vax/linux.h (LINK_SPEC): Likewise.
	* config/xtensa/linux.h (LINK_SPEC): Likewise.

From-SVN: r167634
2010-12-09 13:27:07 +00:00
Joseph Myers 51769cc040 bfin.h (ASM_SPEC): Remove %{n} and %{T}.
* config/bfin/bfin.h (ASM_SPEC): Remove %{n} and %{T}.
	* config/frv/frv.h (ASM_SPEC): Likewise.
	* config/i386/sol2-10.h (ASM_SPEC): Likewise.
	* config/i386/sol2.h (ASM_SPEC): Likewise.
	* config/m68k/linux.h (ASM_SPEC): Likewise.
	* config/pa/pa-linux.h (ASM_SPEC): Likewise.
	* config/rs6000/linux64.h (ASM_SPEC32): Likewise.
	* config/rs6000/vxworks.h (ASM_SPEC): Likewise.
	* config/sol2.h (ASM_SPEC): Likewise.
	* config/sparc/linux.h (ASM_SPEC): Likewise.
	* config/sparc/linux64.h (ASM_SPEC): Likewise.
	* config/sparc/sp-elf.h (ASM_SPEC): Likewise.
	* config/sparc/sysv4.h (ASM_SPEC): Likewise.
	* config/svr4.h (SVR4_ASM_SPEC): Likewise.

From-SVN: r167633
2010-12-09 13:25:25 +00:00
Richard Guenther a6d1cd85ca reginfo.c (struct subregs_of_mode_node): Remove.
2010-12-09  Richard Guenther  <rguenther@suse.de>

	* reginfo.c (struct subregs_of_mode_node): Remove.
	(subregs_of_mode): Likewise.
	(som_hash): Likewise.
	(som_eq): Likewise.
	(invalid_mode_changes): New bitmap.
	(record_subregs_of_mode): Get subregs_of_mode argument.
	Fill in invalid_mode_changes bitmap.
	(find_subregs_of_mode): Get subregs_of_mode argument and pass
	it through.
	(init_subregs_of_mode): Adjust.
	(finish_subregs_of_mode): Likewise.
	(invalid_mode_change_p): Query invalid_mode_changes bitmap.

From-SVN: r167632
2010-12-09 10:01:18 +00:00
Richard Guenther fa1fabcbbc rtl.h (invalid_mode_change_p): Adjust prototype.
2010-12-09  Richard Guenther  <rguenther@suse.de>

	* rtl.h (invalid_mode_change_p): Adjust prototype.
	* reginfo.c (invalid_mode_change_p): Remove from argument.
	* ira-costs.c (print_allocno_costs): Adjust callers.
	(find_costs_and_classes): Likewise.

2010-12-09  Richard Guenther  <rguenther@suse.de>

	* ira.c (ira): Do not call finish_subregs_of_mode.
	* ira-costs.c (finish_costs): Call finish_subregs_of_mode.

From-SVN: r167631
2010-12-09 10:00:25 +00:00
Jakub Jelinek 27037b5f7d s390.md (*mov<mode>cc): Change lgoc and stgoc to locg and stocg even in comment.
* config/s390/s390.md (*mov<mode>cc): Change lgoc and stgoc to
	locg and stocg even in comment.
	(sync_old_<atomic><mode>): Give mode to UNSPEC_VOLATILE.

From-SVN: r167630
2010-12-09 09:41:21 +01:00
Jakub Jelinek 99eeedc435 re PR target/41082 (FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3)
PR target/41082
	* config/rs6000/rs6000.c (rs6000_expand_vector_extract): Use stvx
	instead of stve*x.
	(altivec_expand_stv_builtin): For op0 use mode of operand 1 instead
	of operand 0.
	* config/rs6000/altivec.md (VI_scalar): New mode attr.
	(altivec_stve<VI_char>x, *altivec_stvesfx): Use scalar instead of
	vector mode for operand 0, put operand 1 into UNSPEC.

From-SVN: r167629
2010-12-09 09:33:45 +01:00
Yao Qi 74e3207697 arm.c (arm_preferred_rename_class): Implement targethook PREFERRED_RENAME_CLASS.
2010-12-09  Yao Qi  <yao@codesourcery.com>

        * config/arm/arm.c (arm_preferred_rename_class): Implement targethook
        PREFERRED_RENAME_CLASS.

From-SVN: r167626
2010-12-09 05:32:05 +00:00
Nathan Froyd ad632e9801 re PR testsuite/46860 (New libstdc++ failures)
PR testsuite/46860
	* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust.
	* testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.

From-SVN: r167625
2010-12-09 04:34:20 +00:00
Paolo Carlini b6710d1a51 bitset (_Base_bitset<>::_Base_bitset(), [...]): Simplify.
2010-12-08  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/bitset (_Base_bitset<>::_Base_bitset(),
	_Base_bitset(unsigned long)): Simplify.

From-SVN: r167624
2010-12-09 02:33:55 +00:00
Jason Merrill 2b00e20179 re PR c++/46348 ([C++0x] ICE with constexpr default constructor and array member)
PR c++/46348
	* semantics.c (cxx_eval_vec_init_1): Handle value-init.
	(cxx_eval_vec_init): Pass value_init arg.

From-SVN: r167623
2010-12-08 21:08:28 -05:00
H.J. Lu a5fc85d147 Update gcc.target/i386/sse2-init-v2di-2.c.
2010-12-08  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.target/i386/sse2-init-v2di-2.c: Add "-dp" and update
	expected scan.

From-SVN: r167622
2010-12-08 16:46:34 -08:00
GCC Administrator a1fa9fe132 Daily bump.
From-SVN: r167621
2010-12-09 00:20:14 +00:00
Ian Lance Taylor 8cabb3e603 sourcebuild.texi (Front End): Remove reference to snapshot-README and snapshot-index.html.
* doc/sourcebuild.texi (Front End): Remove reference to
	snapshot-README and snapshot-index.html.

From-SVN: r167617
2010-12-09 00:06:04 +00:00
Ian Lance Taylor 6f3bbbe728 gcc_release: Add support for releasing Go as a separate tarball.
* gcc_release: Add support for releasing Go as a separate
	tarball.

From-SVN: r167616
2010-12-08 23:55:43 +00:00
Nicola Pero 6347cf3119 In gcc/objc/: 2010-12-08 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2010-12-08  Nicola Pero  <nicola.pero@meta-innovation.com>

	* objc-act.c (objc_build_throw_stmt): Check that the argument of
	@throw is an object and emit an error if not.

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

	* objc.dg/exceptions-7.m: New.
	* obj-c++.dg/exceptions-7.mm: New.
	* obj-c++.dg/exceptions-3.mm: Adjust for new C++ messages.
	* obj-c++.dg/exceptions-5.mm: Same change.

From-SVN: r167615
2010-12-08 23:46:28 +00:00
Ian Lance Taylor e493bdc219 * update_web_docs_svn (MANUALS): Add gccgo.
From-SVN: r167614
2010-12-08 23:42:53 +00:00
Ian Lance Taylor 709deb77b1 * README: Change "CVS" to "Subversion".
From-SVN: r167613
2010-12-08 23:41:46 +00:00
Ian Lance Taylor 822a338e5a sourcebuild.texi (Texinfo Manuals): Change update_web_docs to update_web_docs_svn.
* doc/sourcebuild.texi (Texinfo Manuals): Change update_web_docs
	to update_web_docs_svn.
	(Front End): Likewise.

From-SVN: r167612
2010-12-08 23:37:30 +00:00
Iain Sandoe c0aefbbe26 gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and x86_64-*-darwin* to with_cpu:-core2.
2010-12-08  Iain Sandoe <iains@gcc.gnu.org>

	gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and
	x86_64-*-darwin* to with_cpu:-core2.
	gcc/config/i386/mmx.md (*mov<mode>_internal_rex64): Replace movq
	with movd for darwin assembler.
	gcc/config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto.
	(*vec_concatv2di_rex64_sse): Ditto.

From-SVN: r167611
2010-12-08 23:32:27 +00:00
Nicola Pero 7c35d89dca In gcc/objc/: 2010-12-08 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2010-12-08  Nicola Pero  <nicola.pero@meta-innovation.com>

	* objc-act.c (objc_finish_foreach_loop): Use error_at() instead of
	error() when printing an error about the iterating variable or
	collection not being an object.

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

	* objc.dg/foreach-6.m: Updated location of error messages.
	* objc.dg/foreach-7.m: Same change.

From-SVN: r167610
2010-12-08 23:20:21 +00:00
Richard Guenther fd66ea1a6f Fix PR45230, PR45231, and PR45370: fold_stmt_inplace after replace_exp.
2010-12-08  Richard Guenther  <rguenther@suse.de>
	    Sebastian Pop  <sebastian.pop@amd.com>

	PR tree-optimization/45230
	PR tree-optimization/45231
	PR tree-optimization/45370
	* sese.c (rename_uses): Returns a bool.  Call
	recompute_tree_invariant_for_addr_expr only on the RHS of a
	GIMPLE_ASSIGN.
	(graphite_copy_stmts_from_block): Call fold_stmt_inplace when
	rename_uses returns true.
	* tree-ssa-copy.c (replace_exp): Add a comment about calling
	fold_stmt_inplace after replace_exp.

	* gcc.dg/graphite/id-pr45230-1.c: New.
	* gcc.dg/graphite/id-pr45231.c: New.
	* gfortran.dg/graphite/id-pr45370.f90: New.

Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com>

From-SVN: r167609
2010-12-08 23:01:40 +00:00