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
Uros Bizjak
429749e23b
sse.md (FMAMODE_NOVF512): New mode iterator.
...
* config/i386/sse.md (FMAMODE_NOVF512): New mode iterator.
(<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>):
Split out
<sd_mask_codefor>fma_fmadd_<VF_512:mode><sd_maskz_name><round_name>.
Use FMAMODE_NOVF512 mode iterator.
(<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>): Ditto.
(<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>): Ditto.
(<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>): Ditto.
(<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>):
Split out
<sd_mask_codefor>fma_fmaddsub_<VF_512:mode><sd_maskz_name><round_name>.
Use VF_128_256 mode iterator.
(<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>):
Ditto.
From-SVN: r208948
2014-03-30 19:38:57 +02:00
Eric Botcazou
368348abbb
re PR ada/60703 (System.Address not preelaborable on MIPS)
...
PR ada/60703
* system-linux-alpha.ads: Adjust for Ada 2005.
* system-linux-mips.ads: Likewise.
* system-linux-mips64el.ads: Likewise.
* system-linux-mipsel.ads: Likewise.
* system-linux-s390.ads: Likewise.
* system-linux-s390x.ads: Likewise.
* system-linux-sparc.ads: Likewise.
* system-linux-sparcv9.ads: Likewise.
* system-rtems.ads: Likewise.
* system-vxworks-arm.ads: Likewise.
From-SVN: r208945
2014-03-30 15:47:43 +00:00
GCC Administrator
1e3cdc9d94
Daily bump.
...
From-SVN: r208944
2014-03-30 00:16:59 +00:00
Adam Butcher
4b0040a6a5
re PR c++/60626 ([c++1y] ICE with pointer to function with auto parameter)
...
Fix PR c++/60626
PR c++/60626
* parser.c (cp_parser_init_declarator): Handle erroneous generic type
usage in non-functions with pushed scope.
PR c++/60626
* g++.dg/cpp1y/pr60626.C: New testcase.
From-SVN: r208940
2014-03-29 19:23:44 +00:00
Joseph Myers
cfdc23868b
pr45416.c: Allow bextr on x86.
...
* gcc.dg/pr45416.c: Allow bextr on x86.
* gcc.target/i386/fma4-builtin.c, gcc.target/i386/fma4-fma-2.c,
gcc.target/i386/fma4-fma.c, gcc.target/i386/fma4-vector-2.c,
gcc.target/i386/fma4-vector.c: Use -mno-fma.
* gcc.target/i386/l_fma_double_1.c,
gcc.target/i386/l_fma_double_2.c,
gcc.target/i386/l_fma_double_3.c,
gcc.target/i386/l_fma_double_4.c,
gcc.target/i386/l_fma_double_5.c,
gcc.target/i386/l_fma_double_6.c, gcc.target/i386/l_fma_float_1.c,
gcc.target/i386/l_fma_float_2.c, gcc.target/i386/l_fma_float_3.c,
gcc.target/i386/l_fma_float_4.c, gcc.target/i386/l_fma_float_5.c,
gcc.target/i386/l_fma_float_6.c: Use -mno-fma4.
* gcc.target/i386/pr27971.c: Use -mno-tbm.
* gcc.target/i386/pr42542-4a.c: Use -mno-avx.
* gcc.target/i386/pr59390.c: Use -mno-fma -mno-fma4.
From-SVN: r208939
2014-03-29 15:39:34 +00:00
Jakub Jelinek
f67c829e48
re PR target/60648 (ICE (segmentation fault) in expand_binop)
...
PR target/60648
* g++.dg/pr60648.C: Move test to...
* g++.dg/torture/pr60648.C: ... here. Run on all targets, remove
dg-options, add for fpic targets dg-additional-options -fPIC.
From-SVN: r208933
2014-03-29 12:10:25 +01:00
GCC Administrator
df438771cc
Daily bump.
...
From-SVN: r208930
2014-03-29 00:17:10 +00:00
Jan Hubicka
1f91035fef
cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear static chain if needed.
...
* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
static chain if needed.
* g++.dg/torture/pr60659.C: New testcase.
From-SVN: r208927
2014-03-28 22:19:27 +00:00
Vladimir Makarov
6e071b1e8f
re PR target/60697 ([aarch64] LRA ICE (Segfault) while building 435.gromacs)
...
2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
PR target/60697
* lra-constraints.c (index_part_to_reg): New.
(process_address): Use it.
2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
PR target/60697
* gcc.target/aarch64/pr60697.c: New.
From-SVN: r208926
2014-03-28 22:14:36 +00:00
Jakub Jelinek
4bb66ef337
Fixup ChangeLog formatting.
...
From-SVN: r208925
2014-03-28 23:10:12 +01:00
Jeff Law
e7f3178934
re PR target/60648 (ICE (segmentation fault) in expand_binop)
...
PR target/60648
* expr.c (do_tablejump): Use simplify_gen_binary rather than
gen_rtx_{PLUS,MULT} to build up the address expression.
* i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid
creating non-canonical RTL.
PR target/60648
* g++.dg/pr60648.C: New test.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r208924
2014-03-28 16:02:32 -06:00
Adam Butcher
5294e4c32d
re PR c++/60573 ([c++1y] ICE with defining generic function of nested class in class scope)
...
Fix PR c++/60573
PR c++/60573
* name-lookup.h (cp_binding_level): New transient field defining_class_p
to indicate whether a scope is in the process of defining a class.
* semantics.c (begin_class_definition): Set defining_class_p.
* name-lookup.c (leave_scope): Reset defining_class_p.
* parser.c (synthesize_implicit_template_parm): Use cp_binding_level::
defining_class_p rather than TYPE_BEING_DEFINED as the predicate for
unwinding to class-defining scope to handle the erroneous definition of
a generic function of an arbitrarily nested class within an enclosing
class.
PR c++/60573
* g++.dg/cpp1y/pr60573.C: New testcase.
From-SVN: r208921
2014-03-28 20:41:45 +00:00
Jakub Jelinek
eee32b5ea3
Add PR60576 to the ChangeLog entry.
...
From-SVN: r208920
2014-03-28 21:30:36 +01:00