Joseph Myers
a19b0bfd98
avx2-vpand-3.c, [...]: Use -mno-prefer-avx128.
...
* gcc.target/i386/avx2-vpand-3.c,
gcc.target/i386/avx256-unaligned-load-2.c: Use -mno-prefer-avx128.
From-SVN: r209034
2014-04-02 21:14:32 +01:00
Joseph Myers
fd6b3b3675
funcspec-2.c, [...]: Skip for -march= options different from those in dg-options.
...
* gcc.target/i386/funcspec-2.c, gcc.target/i386/funcspec-3.c,
gcc.target/i386/funcspec-9.c, gcc.target/i386/isa-1.c,
gcc.target/i386/memcpy-strategy-1.c,
gcc.target/i386/memcpy-strategy-2.c,
gcc.target/i386/memcpy-vector_loop-1.c,
gcc.target/i386/memcpy-vector_loop-2.c,
gcc.target/i386/memset-vector_loop-1.c,
gcc.target/i386/memset-vector_loop-2.c,
gcc.target/i386/sse2-init-v2di-2.c, gcc.target/i386/ssetype-1.c,
gcc.target/i386/ssetype-2.c, gcc.target/i386/ssetype-5.c: Skip for
-march= options different from those in dg-options.
From-SVN: r209033
2014-04-02 21:10:45 +01:00
Andreas Krebbel
a9d46e3237
s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.
...
2014-04-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.
From-SVN: r209032
2014-04-02 20:08:53 +00:00
Ulrich Weigand
7c40228a19
spu.c (pad_bb): Do not crash when the last insn is CODE_FOR_blockage.
...
* config/spu/spu.c (pad_bb): Do not crash when the last
insn is CODE_FOR_blockage.
From-SVN: r209029
2014-04-02 18:54:01 +00:00
Ulrich Weigand
c659619306
spu.md ("insv"): Fail if bitoffset+bitsize lies outside the target mode.
...
* config/spu/spu.md ("insv"): Fail if bitoffset+bitsize
lies outside the target mode.
From-SVN: r209028
2014-04-02 18:53:06 +00:00
Richard Henderson
84c2f4b068
libitm: Remove unused PAGE_SIZE macros
...
* config/alpha/target.h (PAGE_SIZE, FIXED_PAGE_SIZE): Remove.
* config/arm/target.h, config/sh/target.h: Likewise.
* config/sparc/target.h, config/x86/target.h: Likewise.
From-SVN: r209027
2014-04-02 10:49:36 -07:00
Michael Meissner
690c229f46
re PR target/60735 (GCC targeting E500 with SPE has errors with the _Decimal64 type)
...
2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/60735
* config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
software floating point or no floating point registers, do not
allow any type in the FPRs. Eliminate a test for SPE SIMD types
in GPRs that occurs after we tested for GPRs that would never be
true.
* config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE,
specifically allow DDmode, since that does not use the SPE SIMD
instructions.
From-SVN: r209025
2014-04-02 17:03:49 +00:00
Marek Polacek
7b59ff2d55
c-common.h (c_expand_expr): Remove declaration.
...
* c-common.h (c_expand_expr): Remove declaration.
From-SVN: r209020
2014-04-02 10:53:41 +00:00
Joseph Myers
547eeddaa6
387-3.c, [...]: Use -mtune=generic.
...
* gcc.target/i386/387-3.c, gcc.target/i386/387-4.c,
gcc.target/i386/pr30970.c: Use -mtune=generic.
* gcc.target/i386/avx2-vpaddb-3.c,
gcc.target/i386/avx2-vpaddd-3.c, gcc.target/i386/avx2-vpaddq-3.c,
gcc.target/i386/avx2-vpaddw-3.c, gcc.target/i386/avx2-vpmulld-3.c,
gcc.target/i386/avx2-vpmullw-3.c, gcc.target/i386/avx2-vpsrad-3.c,
gcc.target/i386/avx2-vpsraw-3.c, gcc.target/i386/avx2-vpsrld-3.c,
gcc.target/i386/avx2-vpsrlw-3.c, gcc.target/i386/avx2-vpsubb-3.c,
gcc.target/i386/avx2-vpsubd-3.c, gcc.target/i386/avx2-vpsubq-3.c,
gcc.target/i386/avx2-vpsubw-3.c,
gcc.target/i386/avx256-unaligned-load-1.c,
gcc.target/i386/avx256-unaligned-load-4.c,
gcc.target/i386/avx256-unaligned-store-1.c,
gcc.target/i386/avx256-unaligned-store-2.c,
gcc.target/i386/avx256-unaligned-store-4.c: Use
-mno-prefer-avx128.
From-SVN: r209019
2014-04-02 11:36:30 +01:00
Dominique d'Humieres
e31436aafc
re PR target/54083 (FAIL: gcc.dg/torture/pr53922.c on *-apple-darwin*)
...
2014-03-26 Dominique d'Humieres <dominiq@lps.ens.fr>
Iain Sandoe <iain@codesourcery.com>
PR target/54083
* gcc.dg/attr-weakref-1.c: Allow the test on darwin
with the additional options -Wl,-undefined,dynamic_lookup
and -Wl,-flat_namespace.
* gcc.dg/torture/pr53922.c: Additional option
-Wl,-flat_namespace for darwin[89].
* gcc.dg/torture/pr60092.c: Additional options
-Wl,-undefined,dynamic_lookup and -Wl,-flat_namespace
for darwin[89].
Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
From-SVN: r209018
2014-04-02 10:58:03 +02:00
Dominique d'Humieres
3346667668
re PR target/54407 (FAIL: 30_threads/condition_variable/54185.cc execution test program timed out on powerpc-apple-darwin9 and x86_64-apple-darwin10)
...
2014-04-02 Dominique d'Humieres <dominiq@lps.ens.fr>
Jack Howarth <howarth@bromo.med.uc.edu>
PR target/54407
* testsuite/30_threads/condition_variable/54185.cc: Skip for
darwin < 11.
Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>
From-SVN: r209017
2014-04-02 10:44:40 +02:00
Dominique d'Humieres
40c65b1897
re PR target/43751 (dsymutil is not called for fortran and, under some circumstances not for other FEs.)
...
2014-04-02 Dominique d'Humieres <dominiq@lps.ens.fr>
PR target/43751
* lib/prune.exp: Modify the regular express to prune
the new warnings introduced by r205679 on darwin9.
From-SVN: r209016
2014-04-02 10:34:45 +02:00
Richard Biener
dad16761d1
re PR middle-end/60729 (Compiler failure for combination of -ftrapv and -O3: compiler error: in prepare_cmp_insn)
...
2014-04-02 Richard Biener <rguenther@suse.de>
PR middle-end/60729
* optabs.c (expand_abs_nojump): Honor flag_trapv only for
MODE_INTs. Properly use negv_optab.
(expand_abs): Likewise.
* g++.dg/vect/pr60729.cc: New testcase.
From-SVN: r209012
2014-04-02 08:26:57 +00:00
Richard Biener
21b624f069
lto-plugin.c (onload): Fail to load if -fno-use-linker-plugin is set in COLLECT_GCC_OPTIONS.
...
2014-04-02 Richard Biener <rguenther@suse.de>
* lto-plugin.c (onload): Fail to load if -fno-use-linker-plugin
is set in COLLECT_GCC_OPTIONS.
From-SVN: r209011
2014-04-02 08:25:13 +00:00
Richard Biener
a1ce39befe
re PR bootstrap/60719 (With --program-prefix=$target_alias --program-suffix=-$version install-driver breaks)
...
2014-04-02 Richard Biener <rguenther@suse.de>
PR bootstrap/60719
* Makefile.in (install-driver): Guard extra installs with special
names properly.
From-SVN: r209010
2014-04-02 07:52:36 +00:00
GCC Administrator
d1c5eca12f
Daily bump.
...
From-SVN: r209007
2014-04-02 00:17:10 +00:00
Jonathan Wakely
be35d328e6
backwards_compatibility.xml (backwards.third.headers): Update link.
...
* doc/xml/manual/backwards_compatibility.xml (backwards.third.headers):
Update link.
* doc/xml/manual/policy_data_structures_biblio.xml (bibliography):
Fix broken links.
* doc/xml/manual/shared_ptr.xml (shared_ptr.impl): Likewise.
* doc/xml/manual/using_exceptions.xml (bibliography): Likewise.
* doc/xml/manual/concurrency_extensions.xml
(manual.ext.concurrency.impl.atomic_fallbacks): Likewise.
* doc/html/*: Regenerate.
From-SVN: r209002
2014-04-01 22:31:02 +01:00
Jason Merrill
9ffac48112
fix gcc/cp/ChangeLog formatting
...
From-SVN: r209001
2014-04-01 17:27:25 -04:00
Jason Merrill
52710d27d1
pt.c (process_partial_specialization): Say "not deducible" rather than "not used".
...
* pt.c (process_partial_specialization): Say "not deducible"
rather than "not used". Use inform.
From-SVN: r209000
2014-04-01 17:25:42 -04:00
Jason Merrill
cd8a9d6d1c
re PR c++/60374 ([c++11] ICE with invalid template specialization)
...
PR c++/60374
* pt.c (coerce_template_parms): Check that the pack expansion
pattern works with the first matching parameter.
From-SVN: r208999
2014-04-01 17:25:20 -04:00
Fabien Chêne
0df9da030c
init.c (perform_member_init): Homogenize uninitialized diagnostics.
...
2014-04-01 Fabien Chêne <fabien@gcc.gnu.org>
* cp/init.c (perform_member_init): Homogenize uninitialized
diagnostics.
2014-04-01 Fabien Chêne <fabien@gcc.gnu.org>
* g++.dg/init/ctor4.C: Adjust.
* g++.dg/init/ctor4-1.C: New.
* g++.dg/cpp0x/defaulted2.C: Adjust.
From-SVN: r208998
2014-04-01 23:14:04 +02:00
Jason Merrill
24991604f2
re PR c++/60708 (An array temporary causes an ICE in gimplify)
...
PR c++/60708
* call.c (build_array_conv): Call complete_type.
From-SVN: r208996
2014-04-01 15:14:00 -04:00
Jason Merrill
dd5593fc44
re PR c++/60713 (ICE in iterative_hash_expr)
...
PR c++/60713
* typeck2.c (PICFLAG_SIDE_EFFECTS): New.
(picflag_from_initializer): Return it.
(process_init_constructor): Handle it.
From-SVN: r208995
2014-04-01 15:13:50 -04:00
Michael Meissner
6fb619e431
extend.texi (PowerPC AltiVec/VSX Built-in Functions): Document vec_vgbbd.
...
2014-04-01 Michael Meissner <meissner@linux.vnet.ibm.com>
* doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
Document vec_vgbbd.
From-SVN: r208993
2014-04-01 18:52:01 +00:00
Jason Merrill
2982147e0f
re PR c++/60642 (Unclear diagnostic with invalid use of abi_tag attribute on explicit instantiation)
...
PR c++/60642
* decl2.c (is_late_template_attribute): Don't defer abi_tag.
* mangle.c (write_unqualified_name): Fix abi_tag on templates.
* pt.c (get_template_info): Handle NAMESPACE_DECL.
(most_general_template): Handle more kinds of template.
* tree.c (handle_abi_tag_attribute): Ignore abi_tag on template
instantiations and specializations.
From-SVN: r208992
2014-04-01 13:49:38 -04:00
Richard Henderson
2bcbca7e7c
re PR target/60704 (ICE: in extract_constrain_insn_cached, at recog.c:2156 with -flive-range-shrinkage -march=amdfam10)
...
PR target/60704
* gcc.dg/pr60704.c: New file.
From-SVN: r208990
2014-04-01 09:39:18 -07:00
Richard Henderson
2a1ffd6db5
re PR target/60704 (ICE: in extract_constrain_insn_cached, at recog.c:2156 with -flive-range-shrinkage -march=amdfam10)
...
PR target/60704
* config/i386/i386.md (*float<SWI48><MODEF>2_sse): Leave the second
alternative enabled before register allocation.
From-SVN: r208989
2014-04-01 07:40:27 -07:00
Chung-Lin Tang
98e8dd4d86
nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM.
...
2014-04-01 Chung-Lin Tang <cltang@codesourcery.com>
* config/nios2/nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM.
* config/nios2/nios2.c (nios2_function_profiler): Fix addi operand
typo.
(nios2_large_got_address): Remove unneeded 'sym' parameter.
(nios2_got_address): Update nios2_large_got_address call site.
(nios2_delegitimize_address): New function.
(TARGET_DELEGITIMIZE_ADDRESS): Define to nios2_delegitimize_address.
* config/nios2/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Specify dynamic linker using GNU_USER_DYNAMIC_LINKER.
From-SVN: r208988
2014-04-01 12:43:59 +00:00
Martin Husemann
8785c60a60
netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32 for -mabi=32.
...
gcc/
2014-04-01 Martin Husemann <martin@duskware.de>
* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32
for -mabi=32.
From-SVN: r208985
2014-04-01 10:40:57 +00:00
Richard Sandiford
3343cf6a6e
re PR target/60604 (GCC incorrectly compiles s_csinh function on MIPS32 (32bit fp))
...
gcc/
PR rtl-optimization/60604
* recog.c (general_operand): Incorporate REG_CANNOT_CHANGE_MODE_P
check from register_operand.
(register_operand): Redefine in terms of general_operand.
(nonmemory_operand): Use register_operand for the non-constant cases.
From-SVN: r208984
2014-04-01 10:38:19 +00:00
Bin Cheng
fb0aab2335
Fix typo in gcc/testsuite/ChangeLog.
...
From-SVN: r208981
2014-04-01 10:00:26 +00:00
Bin Cheng
10df281081
re PR tree-optimization/60363 (logical_op_short_circuit, gcc.dg/tree-ssa/ssa-dom-thread-4.c scan-tree-dump-times dom1 "Threaded" 4)
...
PR target/60363
* gcc.target/tree-ssa/ssa-dom-thread-4.c: Xfail for
logical_op_short_circuit targets.
From-SVN: r208980
2014-04-01 09:56:29 +00:00
Dominique d'Humieres
3d6399c74d
fmt_en.f90: Skip unsupported rounding tests.
...
libfortran/60128
* gfortran.dg/fmt_en.f90: Skip unsupported rounding tests.
XFAIL for i?86-*-solaris2.9* and hppa*-*-hpux*.
From-SVN: r208979
2014-04-01 11:21:53 +02:00
Richard Biener
1503cb6b6d
gimple.h (struct gimple_statement_base): Align subcode to 16 bits.
...
2014-04-01 Richard Biener <rguenther@suse.de>
* gimple.h (struct gimple_statement_base): Align subcode to
16 bits.
From-SVN: r208978
2014-04-01 08:55:58 +00:00
Sebastian Huber
cded08eab4
* doc/invoke.texi (mapp-regs): Clarify.
...
From-SVN: r208973
2014-04-01 08:20:42 +00:00
Richard Biener
25336bb650
simple-object.c (simple_object_internal_write): Handle EINTR and short writes.
...
2014-04-01 Richard Biener <rguenther@suse.de>
libiberty/
* simple-object.c (simple_object_internal_write): Handle
EINTR and short writes.
From-SVN: r208972
2014-04-01 07:45:48 +00:00
Patrick Palka
75d850f368
re PR c++/44859 (missed warning: returning reference to temporary)
...
PR c++/44859
* typeck.c (maybe_warn_about_returning_address_of_local): Unwrap
COMPONENT_REFs and ARRAY_REFs sooner.
From-SVN: r208970
2014-03-31 20:48:33 -04:00
GCC Administrator
3020dc6e31
Daily bump.
...
From-SVN: r208969
2014-04-01 00:16:34 +00:00
Lars Gullik Bjønnes
71bdda5625
re PR libstdc++/60270 ([C++1y] std::quoted is too eager to clear the string)
...
2014-03-31 Lars Gullik Bjønnes <larsbj@gullik.org>
Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/60270
* include/std/iomanip (_Quoted_string operator>>): Do not clear
string if input is not quoted.
* testsuite/27_io/manipulators/standard/char/60270.cc: New.
Co-Authored-By: Jonathan Wakely <jwakely@redhat.com>
From-SVN: r208966
2014-03-31 19:46:23 +01:00
Jonathan Wakely
0812493fc5
* libsupc++/eh_ptr.cc: Improve static_assert messages.
...
From-SVN: r208965
2014-03-31 19:16:14 +01:00
H.J. Lu
a283136a58
Add a testcase for PR rtl-optimization/60700
...
PR rtl-optimization/60700
* gcc.target/i386/pr60700.c: New test.
From-SVN: r208962
2014-03-31 08:24:56 -07:00
Ramana Radhakrishnan
80dc1f0c88
Adjust testcase for softfp cases.
...
PR target/60650
2014-03-31 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/60650
* gcc.target/arm/pr60650.c: Adjust command line options.
From-SVN: r208961
2014-03-31 14:21:58 +00:00
Joseph Myers
923a61e93c
* sv.po: Update.
...
From-SVN: r208960
2014-03-31 15:11:42 +01:00
Ulrich Drepper
7d9088c2a3
avx512fintrin.h (__v32hi): Define type.
...
2014-03-27 Ulrich Drepper <drepper@gmail.com>
* config/i386/avx512fintrin.h (__v32hi): Define type.
(__v64qi): Likewise.
(_mm512_set1_epi8): Define.
(_mm512_set1_epi16): Define.
(_mm512_set4_epi32): Define.
(_mm512_set4_epi64): Define.
(_mm512_set4_pd): Define.
(_mm512_set4_ps): Define.
(_mm512_setr4_epi64): Define.
(_mm512_setr4_epi32): Define.
(_mm512_setr4_pd): Define.
(_mm512_setr4_ps): Define.
(_mm512_setzero_epi32): Define.
--This line, and those belowi will be ignored--
M gcc/ChangeLog
M gcc/config/i386/avx512fintrin.h
From-SVN: r208959
2014-03-31 13:24:13 +00:00
Rainer Orth
750dc27853
Fix 18_support/exception_ptr/60612-*.cc on non-C99 targets
...
* testsuite/18_support/exception_ptr/60612-terminate.cc
(terminate, f): Wrap in _GLIBCXX_USE_C99.
* testsuite/18_support/exception_ptr/60612-unexpected.cc: Likewise.
From-SVN: r208958
2014-03-31 13:14:12 +00:00
Martin Jambor
c18ff8a448
re PR middle-end/60647 (ICE in visit_ref_for_mod_analysis, at ipa-prop.c:2112)
...
2014-03-31 Martin Jambor <mjambor@suse.cz>
PR middle-end/60647
* tree-sra.c (callsite_has_enough_arguments_p): Renamed to
callsite_arguments_match_p. Updated all callers. Also check types of
corresponding formal parameters and actual arguments.
(not_all_callers_have_enough_arguments_p) Renamed to
some_callers_have_mismatched_arguments_p.
testsuite/
* gcc.dg/pr60647-1.c: New test.
* gcc.dg/pr60647-2.c: Likewise.
From-SVN: r208957
2014-03-31 14:28:33 +02:00
Richard Biener
9372710709
pr55113_0.c: Skip also for 32bit multilib on x86_64.
...
2014-03-31 Richard Biener <rguenther@suse.de>
* gcc.dg/lto/pr55113_0.c: Skip also for 32bit multilib on x86_64.
From-SVN: r208956
2014-03-31 10:12:52 +00:00
Yuri Rumyantsev
9a96d5b797
tree-inline.c (copy_loops): Add missed copy of 'safelen'.
...
gcc/
* tree-inline.c (copy_loops): Add missed copy of 'safelen'.
From-SVN: r208955
2014-03-31 08:20:32 +00:00
GCC Administrator
24403edefc
Daily bump.
...
From-SVN: r208953
2014-03-31 00:16:59 +00:00
Kugan Vivekanandarajah
6c031d8dfd
re PR target/60034 ("invalid expression as operand" in aarch64 inline asm)
...
PR target/60034
* aarch64/aarch64.c (aarch64_classify_address): Fix alignment for
section anchor.
PR target/60034
* gcc.target/aarch64/pr60034.c: New file.
From-SVN: r208949
2014-03-30 22:41:59 +00:00