compiler: expand arguments with multiple results for built-in functions.

Fixed https://code.google.com/p/go/issues/detail?id=5796. Official fixedbug will be added with change to gc.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202239 138bc75d-0d04-0410-961f-82ee72b054a4
/cp
2013-09-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/58305
	* typeck2.c (build_functional_cast): Maybe warn_deprecated_use.

/testsuite
2013-09-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/58305
	* g++.dg/warn/deprecated-8.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202242 138bc75d-0d04-0410-961f-82ee72b054a4
- Fix whitespace in boehm-gc/ChangeLog


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202244 138bc75d-0d04-0410-961f-82ee72b054a4
2013-09-04  Matthias Klose  <doko@ubuntu.com> 

        * Makefile.am (libgcjgc_la_LIBADD): Add EXTRA_TEST_LIBS.
        * Makefile.in: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202245 138bc75d-0d04-0410-961f-82ee72b054a4
c-family/
	* c-pretty-print.h (c_pretty_printer::simple_type_specifier): Now
	a virtual member function.
	(pp_simple_type_specifier): Remove.
	(pp_c_type_specifier): Likewise.
	* c-pretty-print.c (c_pretty_printer::simple_type_specifier):
	Rename from pp_c_type_specifier.  Adjust.
	(c_pretty_printer::c_pretty_printer): Do not assign to
	simple_type_specifier.
cp/
	* cxx-pretty-print.h (cxx_pretty_printer::simple_type_specifier):
	Declare as overrider.
	* cxx-pretty-print.c (cxx_pretty_printer::simple_type_specifier):
	Rename from pp_cxx_simple_type_specifier.
	(cxx_pretty_printer::cxx_pretty_printer): Do not assign to
	simple_type_specifier.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202247 138bc75d-0d04-0410-961f-82ee72b054a4
config/rx/rx.h: Add option -mcpu for target variants RX100 and RX200.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202250 138bc75d-0d04-0410-961f-82ee72b054a4
More comments about DECL_BUILT_IN and DECL_IS_BUILTIN

gcc/

	* tree.h (DECL_BUILT_IN, DECL_IS_BUILTIN): Add more comments
	explaining their differences.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202251 138bc75d-0d04-0410-961f-82ee72b054a4
	* Makefile.in (ipa-devirt.o): Add dependency on diagnostic.h
	* ipa-devirt.c: Include diganostic.h
	(odr_type_d): Add types and types_set.
	(hash_type_name): Work for types with vtables during LTO.
	(odr_hasher::remove): Fix comment; destroy types_set.
	(add_type_duplicate): New function,
	(get_odr_type): Use it.
	(dump_type_inheritance_graph): Dump type duplicates.
	* ipa.c (symtab_remove_unreachable_nodes): Build type inheritance
	graph.
	* tree.c (types_same_for_odr): Give exact answers on types with
	virtual tables.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202258 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Obvious - Fix return types for vaddvq_<su>64

gcc/
	* config/aarch64/arm_neon.h (vaddvq_<su>64): Fix return types.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202259 138bc75d-0d04-0410-961f-82ee72b054a4
2013-09-04  Teresa Johnson  <tejohnson@google.com>

	* dumpfile.c (dump_finish): Don't close stderr/stdout.

	* testsuite/gcc.dg/unroll_1.c: Test dumping to stderr.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202260 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc.dg/attr-weakref-1.c: Skip on AIX.
* gcc.dg/torture/pr53922.c: Skip on AIX.
* lib/file-format.exp (gcc_target_object_format): AIX is COFF.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202261 138bc75d-0d04-0410-961f-82ee72b054a4
2013-09-04  Easwaran Raman  <eraman@google.com>

	PR middle-end/57370
	PR tree-optimization/58011
	* tree-ssa-reassoc.c (get_stmt_uid_with_default): New function,
	(build_and_add_sum): Use it.
	(appears_later_in_bb): Simplify code.

gcc/testsuite/ChangeLog:
2013-09-04  Easwaran Raman  <eraman@google.com>

	PR middle-end/57370
	PR tree-optimization/58011
	* gfortran.dg/reassoc_12.f90: New testcase.
	* gcc.dg/tree-ssa/reassoc-31.c: New testcase.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202262 138bc75d-0d04-0410-961f-82ee72b054a4
        * g++.dg/warn/weak1.C: Skip on AIX.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202263 138bc75d-0d04-0410-961f-82ee72b054a4
        * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Only emit
        lglobl if not weak.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202264 138bc75d-0d04-0410-961f-82ee72b054a4
/cp
2013-09-04  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/24926
	* class.c (finish_struct_anon_r): New.
	(finish_struct_anon): Use it.

/testsuite
2013-09-04  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/24926
	* g++.dg/parse/access11.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202266 138bc75d-0d04-0410-961f-82ee72b054a4
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202269 138bc75d-0d04-0410-961f-82ee72b054a4
Fix typo in comment

gcc/

	* tree.h (DECL_BUILT_INT): Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202271 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64, AArch32][Insn classification refactoring 6/N] Remove "neon_type" attribute

gcc/
	* config/aarch64/aarch64.md: Rename r_2_f and f_2_r where appropriate.
	* config/arm/arm.md (attribute "neon_type"): Delete.  Move attribute
	values to config/arm/types.md.  Update patterns where appropriate.
	* config/arm/types.md (type): Add Neon types.
	* config/arm/neon.md: Remove "neon_type" attribute,
	use "type" attribute everywhere appropriate.
	* doc/md.texi: Change references to neon_type to refer to type.
	* config/arm/vfp.md: Update patterns for attribute changes.
	* config/arm/arm.c (cortexa7_older_only): Update for attribute change.
	* config/arm/arm1020e.md: Update for attribute change.
	* config/arm/cortex-a15-neon.md: Update for attribute change.
	* config/arm/cortex-a15.md: Update for attribute change.
	* config/arm/cortex-a5.md: Update for attribute change.
	* config/arm/cortex-a53.md: Update for attribute change.
	* config/arm/cortex-a7.md: Update for attribute change.
	* config/arm/cortex-a8-neon.md: Update for attribute change.
	* config/arm/cortex-a8.md: Update for attribute change.
	* config/arm/cortex-a9-neon.md: Update for attribute change.
	* config/arm/cortex-a9.md: Update for attribute change.
	* config/arm/cortex-m4-fpu.md: Update for attribute change.
	* config/arm/cortex-r4f.md: Update for attribute change.
	* config/arm/iterators.md: Update comment referring to neon_type.
	* config/arm/iwmmxt.md: Update for attribute change.
	* config/arm/marvell-pj4.md: Update for attribute change.
	* config/arm/neon-schedgen.ml (emit_insn_reservations): Update for
	attribute change.
	* config/arm/vfp11.md: Update for attribute change.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202272 138bc75d-0d04-0410-961f-82ee72b054a4
2013-09-05  Richard Biener  <rguenther@suse.de>

	* tree-vect-loop.c (vect_analyze_loop_operations): Properly
	check for a definition without a basic-block.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202273 138bc75d-0d04-0410-961f-82ee72b054a4
* config/rs6000/linux64.h: Define OPTION_BIONIC and OPTION_UCLIBC.
* config/rs6000/linux.h: Ditto.
* alpha/linux.h: Ditto.
* config/bfin/uclinux.h: Define TARGET_LIBC_HAS_FUNCTION as
no_c99_libc_has_function.
* config/c6x/uclinux-elf.h: Ditto.
* config/lm32/uclinux-elf.h: Ditto.
* config/m68k/uclinux.h: Ditto.
* config/moxie/uclinux.h: Ditto.
* config.gcc (bfin*-linux-uclibc*): Add t-linux-android to tmake_file.
(crisv32-*-linux*, cris-*-linux*): Ditto.
* config/bfin/bfin.c: Include "tm_p.h".



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202274 138bc75d-0d04-0410-961f-82ee72b054a4