Commit Graph

129460 Commits

Author SHA1 Message Date
Andreas Krebbel 3c91f126f4 s390.md: Add a splitter for NOT rtx.
2014-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.md: Add a splitter for NOT rtx.

From-SVN: r209295
2014-04-11 10:42:27 +00:00
Andreas Krebbel 8f0ad2e592 htm-nofloat-1.c: Rename to ...
2014-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.target/s390/htm-nofloat-1.c: Rename to ...
	* gcc.target/s390/htm-nofloat-compile-1.c: ... this one.
	* gcc.target/s390/htm-nofloat-2.c: Add check for htm target and
	rename to ...
	* gcc.target/s390/htm-nofloat-1.c: ... this one.
	* gcc.target/s390/s390.exp: Make sure the assembler supports htm
	instructions as well.

From-SVN: r209294
2014-04-11 10:36:58 +00:00
Jakub Jelinek d8d6ea53a7 re PR rtl-optimization/60663 (Errors out on valid inline asm)
PR rtl-optimization/60663
	* cse.c (cse_insn): Set src_volatile on ASM_OPERANDS in
	PARALLEL.

	* gcc.target/arm/pr60663.c: New test.

From-SVN: r209293
2014-04-11 12:11:01 +02:00
GCC Administrator f8e6f6bad7 Daily bump.
From-SVN: r209289
2014-04-11 00:17:05 +00:00
Jason Merrill 5ea6474478 * g++.dg/dso/dlclose1.C: Disable for 4.9.
From-SVN: r209283
2014-04-10 16:27:58 -04:00
Bernd Edlinger ce1d2dcc18 moved this ChangeLog entry to fortran/ChangeLog
2014-04-04  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR fortran/60191
        * fortran/trans-types.c (gfc_get_function_type): In case of recursion
        build a variadic function type with empty argument list instead of a
        stdarg-like function type with incomplete argument list.

From-SVN: r209282
2014-04-10 20:13:23 +00:00
Jakub Jelinek fa5866c0e3 re PR lto/60567 (lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233 with -fno-use-linker-plugin)
PR lto/60567
	* ipa.c (function_and_variable_visibility): Copy forced_by_abi flag from
	decl_node to node.

	* g++.dg/lto/pr60567_0.C: New test.

From-SVN: r209280
2014-04-10 20:57:48 +02:00
Richard Biener 8aa1cce64e re PR ipa/60761 (Improve dump_decl for clones)
PR ipa/60761
	* error.c (dump_decl) <case FUNCTION_DECL>: If
	DECL_LANG_SPECIFIC is NULL, but DECL_ABSTRACT_ORIGIN is not,
	recurse on DECL_ABSTRACT_ORIGIN instead of printing
	<built-in>.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r209278
2014-04-10 18:20:07 +02:00
Bernd Edlinger 073afca688 class.c (gfc_build_class_symbol): Append "_t" to target class names to make the generated type names unique.
gcc:
2014-04-10  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * fortran/class.c (gfc_build_class_symbol): Append "_t" to target class
        names to make the generated type names unique.

testsuite:
2014-04-10  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * gfortran.dg/class_nameclash.f90: New test.

From-SVN: r209277
2014-04-10 14:40:25 +00:00
Paolo Carlini 87c66338d7 re PR c++/52844 (ICE)
2014-04-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/52844
	* g++.dg/cpp0x/variadic156.C: New.

From-SVN: r209276
2014-04-10 14:06:36 +00:00
Andreas Krebbel 0e2f1313f1 htm-builtins-compile-1.c: Replace long long with long.
2014-04-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.target/s390/htm-builtins-compile-1.c: Replace long long with
	long.

From-SVN: r209275
2014-04-10 10:09:29 +00:00
Andreas Schwab 4ada6d5850 Remove TLS symbols from libstdc++ baselines
* config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Remove TLS
symbols.
* config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/mips64-linux-gnu/baseline_symbols.txt: Likewise.

From-SVN: r209270
2014-04-10 08:29:10 +00:00
Ramana Radhakrishnan b322c36a1a Fix PR debug/60655 part 2.
2014-04-10  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        PR debug/60655
        * config/arm/arm.c (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Define
        (arm_const_not_ok_for_debug_p): Reject MINUS with SYM_REF's
        ameliorating the cases where it can be.

2014-04-10  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        PR debug/60655
        * gcc.c-torture/compile/pr60655-2.c: Copy from pr60655-1.c without
        -fdata-sections.

From-SVN: r209269
2014-04-10 08:13:30 +00:00
Andreas Schwab 9e837b7f5d Update ia64 libstdc++ baseline symbols
* config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.

From-SVN: r209266
2014-04-10 07:52:23 +00:00
GCC Administrator 0a90f7ee7a Daily bump.
From-SVN: r209260
2014-04-10 00:17:07 +00:00
Eric Botcazou 7056f58f69 re PR ada/54040 ([x32] Incorrect timeval and timespec)
PR ada/54040
	PR ada/59346
	* s-osinte-x32.adb (To_Timespec): Add use directive.
	* s-osprim-x32.ads (Clock): Adjust.
	(To_Timespec): Likewise.

Co-Authored-By: Svante Signell <svante.signell@gmail.com>

From-SVN: r209257
2014-04-09 23:18:28 +00:00
David Edelsohn 8267f6bb08 Revert
2014-04-08  Pat Haugen  <pthaugen@us.ibm.com>

        * config/rs6000/sync.md (AINT mode_iterator): Move definition.
        (loadsync_<mode>): Change mode.
        (load_quadpti, store_quadpti): New.
        (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
        * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
        * config/rs6000/predicates.md (quad_memory_operand): !TARGET_SYNC_TI.

From-SVN: r209253
2014-04-09 15:53:39 -04:00
Fabien Chêne 51970b3e33 pt.c (check_template_variable): Check for the return of pedwarn before emitting a note.
2014-04-09  Fabien Chêne  <fabien@gcc.gnu.org>

	* pt.c (check_template_variable): Check for the return of pedwarn
	before emitting a note.
	* parser.c (cp_parser_lambda_introducer): Likewise.

From-SVN: r209252
2014-04-09 21:51:17 +02:00
Steve Ellcey dbe1eced08 ssa-ifcombine-13.c: Remove mips*-*-* from option and scan lists.
2014-04-09  Steve Ellcey  <sellcey@mips.com>

	* gcc.dg/tree-ssa/ssa-ifcombine-13.c: Remove mips*-*-* from option
	and scan lists.

From-SVN: r209248
2014-04-09 16:27:07 +00:00
Eric Botcazou 303a0cea55 Adjust
From-SVN: r209247
2014-04-09 15:22:46 +00:00
Eric Botcazou ebe0249e24 re PR ada/54040 ([x32] Incorrect timeval and timespec)
PR ada/54040
	PR ada/59346
	* s-osinte-x32.adb: New file.
	* s-linux.ads (Time): New section.
	* s-linux-alpha.ads (Time): Likewise.
	* s-linux-android.ads (Time: Likewise.
	* s-linux-hppa.ads (Time): Likewise.
	* s-linux-mipsel.ads (Time): Likewise.
	* s-linux-sparc.ads (Time): Likewise.
	* s-linux-x32.ads (Time): Likewise.
	* s-osprim-x32.ads (timespec): Adjust.
	* s-osinte-linux.ads (Time): Define local subtypes for those defined
	in System.Linux.
	* s-taprop-linux.adb (Monotonic_Clock): Do not define timeval.
	* s-osinte-hpux.ads (timespec): Revert POSIX breakage.
	* s-osinte-kfreebsd-gnu.ads (timespec): Likewise.
	* s-osinte-solaris-posix.ads (timespec): Likewise.
	* s-osinte-posix.adb (To_Timespec): Likewise.
	* gcc-interface/Makefile.in (x32/Linux): Use s-osinte-x32.adb.

From-SVN: r209244
2014-04-09 14:54:29 +00:00
Rainer Orth 5e1f630ae8 Check if GCC uses assembler cfi support
* config/generic/asmcfi.h: Also check for
	__GCC_HAVE_DWARF2_CFI_ASM.

From-SVN: r209242
2014-04-09 14:49:59 +00:00
Cong Hou 5d1a5a5378 re PR testsuite/60773 (FAIL: gcc.dg/vect/pr60656.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 1 loops" 1)
2014-04-09  Cong Hou  <congh@google.com>

	PR testsuite/60773
	* doc/sourcebuild.texi (vect_widen_mult_si_to_di_pattern): Add
	documentation.

	* lib/target-supports.exp:
	(check_effective_target_vect_widen_si_to_di_pattern): New.
	* gcc.dg/vect/pr60656.c: Require vect_long effective target.
	Use scan-tree-dump-times for vect_widen_mult_si_to_di_pattern
	targets only.
	(foo): Fix up formatting.
	(main): Call check_vect.

From-SVN: r209241
2014-04-09 13:37:14 +02:00
Eric Botcazou 7dfaf6c385 re PR ada/60411 (Ada bootstrap failure on ARM)
PR ada/60411
	* s-osinte-android.ads: Adjust.

From-SVN: r209237
2014-04-09 07:57:48 +00:00
Bill Schmidt da90fa4cf9 rs6000.c (rs6000_expand_vector_set): Use vnand instead of vnor to exploit possible fusion opportunity in the future.
2014-04-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand
	instead of vnor to exploit possible fusion opportunity in the
	future.
	(altivec_expand_vec_perm_const_le): Likewise.

From-SVN: r209235
2014-04-09 02:12:11 +00:00
GCC Administrator 8312c7fd70 Daily bump.
From-SVN: r209233
2014-04-09 00:17:02 +00:00
Paolo Carlini a7c3f27684 re PR c++/59115 (ICE with invalid template parameter)
/cp
2014-04-08  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/59115
	* pt.c (process_template_parm): For an invalid non-type parameter
	only set TREE_TYPE to error_mark_node.
	(push_inline_template_parms_recursive, comp_template_parms,
	redeclare_class_template, coerce_template_template_parm,
	coerce_template_template_parms, unify): Use error_operand_p.

/testsuite
2014-04-08  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/59115
	* g++.dg/template/crash119.C: New.

From-SVN: r209230
2014-04-09 00:09:28 +00:00
Eric Botcazou edb2b1b1fa re PR ada/60411 (Ada bootstrap failure on ARM)
PR ada/60411
	* sigtramp.h: Add Android support.

From-SVN: r209227
2014-04-08 20:35:14 +00:00
Pat Haugen 98e6ecab8c sync.md (AINT mode_iterator): Move definition.
* config/rs6000/sync.md (AINT mode_iterator): Move definition.
	(loadsync_<mode>): Change mode.
	(load_quadpti, store_quadpti): New.
	(atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
	* config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.

	* gcc.target/powerpc/atomic_load_store-p8.c: New.

From-SVN: r209225
2014-04-08 18:31:06 +00:00
Jason Merrill 795bc4b6fb gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to compile.
* lib/gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to
	compile.

From-SVN: r209224
2014-04-08 13:58:46 -04:00
Richard Sandiford 8418cf337f re PR rtl-optimization/60763 (ICE in extract_insn starting with rev 208984)
gcc/
	PR target/60763
	* config/rs6000/vsx.md (vsx_xscvdpspn_scalar): Change input to DImode.
	* config/rs6000/rs6000.md (reload_vsx_from_gprsf): Update accordingly.
	Use gen_rtx_REG rather than simplify_gen_subreg for op0_di.

From-SVN: r209223
2014-04-08 17:50:45 +00:00
Marek Polacek 6525783a22 re PR sanitizer/60745 (Many ICEs running libstdc++ testsuite with ubsan, maybe due to PCH)
PR sanitizer/60745
	* c-ubsan.c: Include asan.h.
	(ubsan_instrument_return): Call initialize_sanitizer_builtins.

From-SVN: r209222
2014-04-08 17:23:26 +00:00
Andreas Krebbel e2e6026693 re PR rtl-optimization/60776 (FAIL gcc.dg/builtin-bswap-6.c and gcc.dg/builtin-bswap-7.c)
2014-04-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	PR rtl-optimization/60776
	* gcc.dg/builtin-bswap-6.c: Use -mbranch-cost=0 for s390.
	* gcc.dg/builtin-bswap-7.c: Likewise.
	* gcc.dg/builtin-bswap-6a.c: New testcase.
	* gcc.dg/builtin-bswap-7a.c: New testcase.

	Revert
	2014-04-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.dg/builtin-bswap-6.c: Adjust return value to disable GCC
	optimization.
	* gcc.dg/builtin-bswap-7.c: Likewise.

From-SVN: r209221
2014-04-08 14:18:46 +00:00
Richard Biener 3fa68ccbb6 re PR libfortran/60706 (FAIL: gfortran.dg/size_kind_2.f90 -O scan-tree-dump original "var2 = 42949673 00;")
2014-04-08  Richard Biener  <rguenther@suse.de>

	PR middle-end/60706
	* tree-pretty-print.c (pp_double_int): For HWI32 hosts with
	a 64bit widest int print double-int similar to on HWI64 hosts.

From-SVN: r209216
2014-04-08 12:57:07 +00:00
Richard Biener 9038ae48b8 re PR tree-optimization/60785 (ICE in gsi_for_stmt w/ -O2 -ftree-loop-linear)
2014-04-08  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/60785
	* graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Treat
	default defs properly.

	* gcc.dg/graphite/pr60785.c: New testcase.

From-SVN: r209214
2014-04-08 10:59:40 +00:00
Rainer Orth d60484ebda XFAIL gcc.c-torture/compile/pr28865.c on Solaris 9/SPARC (PR target/60602)
PR target/60602
	* gcc.c-torture/compile/pr28865.c: XFAIL on sparc*-*-solaris2.9*
	with as at -O0.

From-SVN: r209213
2014-04-08 10:56:04 +00:00
Nathan Sidwell 38f09da396 invoke (Wnon-virtual-dtor): Update to match implementation.
* doc/invoke (Wnon-virtual-dtor): Update to match implementation.
	(Weffc++): Likewise.

	cp/
	* class.c (check_bases_and_members): Warn about non-virtual dtors
	in public bases only.  Check warn_ecpp before complaining about
	non-polymorphic bases.

	testsuite/
	* g++.dg/warn/Wnvdtor-2.C: Add more cases.
	* g++.dg/warn/Wnvdtor-3.C: Likewise.
	* g++.dg/warn/Wnvdtor-4.C: Likewise.

From-SVN: r209212
2014-04-08 10:19:36 +00:00
Eric Botcazou 55f31857d3 re PR ada/60411 (Ada bootstrap failure on ARM)
PR ada/60411
	* sigtramp-armdroid.c: New file.

From-SVN: r209211
2014-04-08 09:03:42 +00:00
Eric Botcazou f3d6c7cb76 re PR ada/60411 (Ada bootstrap failure on ARM)
PR ada/60411
	* gcc-interface/Makefile.in (arm% linux-android): Switch to EHABI.
	* s-linux-android.ads: New file.
	* s-intman-android.adb: Likewise.

From-SVN: r209210
2014-04-08 08:23:56 +00:00
Jan Hubicka 0439a94767 ipa-devirt.c (maybe_record_node): When node is not recorded, set completep to false rather than true.
* ipa-devirt.c (maybe_record_node): When node is not recorded,
	set completep to false rather than true.

From-SVN: r209209
2014-04-08 05:35:11 +00:00
GCC Administrator 0fe1ff6e64 Daily bump.
From-SVN: r209208
2014-04-08 00:17:05 +00:00
Eric Botcazou 3f2f838e02 re PR target/60504 (many Ada testsuite regressions on ARM/Linux)
PR target/60504
	* config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Expose from
	ARM_TARGET2_DWARF_FORMAT.

From-SVN: r209201
2014-04-07 21:31:29 +00:00
Jonathan Wakely 631e3e1b75 Fix testsuite bugs.
* testsuite/20_util/exchange/1.cc: Add missing return statements.
	* testsuite/20_util/pair/40925.cc: Avoid most vexing parse.
	* testsuite/22_locale/codecvt_byname/50714.cc: Add missing exception
	specifications.

From-SVN: r209196
2014-04-07 19:40:18 +01:00
Eric Botcazou aabc3affe5 * gcc-interface/Makefile.in (alpha-vms): Add missing line.
From-SVN: r209195
2014-04-07 17:54:23 +00:00
Charles Baylis e75c161776 re PR target/60609 (Error: value of 256 too large for field of 1 bytes at 68242)
2014-04-07  Charles Baylis  <charles.baylis@linaro.org>

        PR target/60609
        * config/arm/arm.h (ASM_OUTPUT_CASE_END): Remove.
        (LABEL_ALIGN_AFTER_BARRIER): Align barriers which occur after
        ADDR_DIFF_VEC.


2014-04-07  Charles Baylis  <charles.baylis@linaro.org>

        PR target/60609
        * g++.dg/torture/pr60609.C: New test.

From-SVN: r209191
2014-04-07 15:07:33 +00:00
Richard Biener d6adff07f1 re PR tree-optimization/60766 (Wrong optimization with -O2)
2014-04-07  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/60766
	* tree-ssa-loop-ivopts.c (cand_value_at): Compute in an
	unsigned type.
	(may_eliminate_iv): Convert cand_value_at result to desired
	type.

	* gcc.dg/torture/pr60766.c: New testcase.

From-SVN: r209190
2014-04-07 14:03:55 +00:00
Jason Merrill 9d7aea5fbc re PR c++/60731 (dynamic library not getting reinitialized on multiple calls to dlopen())
PR c++/60731
	* lib/gcc-dg.exp (dg-build-dso): New.
	(gcc-dg-test-1): Handle dg-do-what "dso".
	* lib/target-supports.exp (add_options_for_dlopen): New.
	(check_effective_target_dlopen): Use it.
	* g++.dg/dso/dlclose1.C: New.
	* g++.dg/dso/dlclose1-dso.cc: New.

From-SVN: r209187
2014-04-07 09:27:45 -04:00
Jason Merrill da34ade5e6 re PR c++/60731 (dynamic library not getting reinitialized on multiple calls to dlopen())
PR c++/60731
	* common.opt (-fno-gnu-unique): Add.
	* config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it.

From-SVN: r209186
2014-04-07 09:27:39 -04:00
Ramana Radhakrishnan 67649cb84c Fix testcase for PR target/60657
From-SVN: r209185
2014-04-07 13:17:11 +00:00
Kyrylo Tkachov 151e9aacd5 haifa-sched.c: Fix outdated function reference and minor grammar errors in introductory comment.
* haifa-sched.c: Fix outdated function reference and minor
	grammar errors in introductory comment.

From-SVN: r209184
2014-04-07 13:16:46 +00:00