]>
git.ipfire.org Git - thirdparty/gcc.git/log
GCC Administrator [Thu, 27 Feb 2014 00:16:52 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r208190
GCC Administrator [Wed, 26 Feb 2014 00:16:27 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r208161
Richard Biener [Tue, 25 Feb 2014 12:42:59 +0000 (12:42 +0000)]
backport: re PR tree-optimization/60276 (-O3 autovectorizer breaks on a particular loop)
2014-02-25 Richard Biener <rguenther@suse.de>
Backport from mainline
2014-02-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/60276
* tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field.
(STMT_VINFO_MIN_NEG_DIST): New macro.
* tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record
STMT_VINFO_MIN_NEG_DIST.
* tree-vect-stmts.c (vectorizable_load): Verify if assumptions
made for negative dependence distances still hold.
* gcc.dg/vect/pr60276.c: New testcase.
From-SVN: r208119
Richard Biener [Tue, 25 Feb 2014 10:47:21 +0000 (10:47 +0000)]
backport: [multiple changes]
2014-02-25 Richard Biener <rguenther@suse.de>
Backport from mainline
2014-02-21 Richard Biener <rguenther@suse.de>
PR middle-end/60291
* tree-ssa-live.c (mark_all_vars_used_1): Do not walk
DECL_INITIAL for globals not in the current function context.
2014-02-20 Richard Biener <rguenther@suse.de>
PR middle-end/60221
* tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH
regions at -O0.
2014-02-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/60183
* tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating
loads.
(tree_ssa_phiprop): Calculate and free post-dominators.
* gcc.dg/torture/pr60183.c: New testcase.
From-SVN: r208118
Kyrylo Tkachov [Tue, 25 Feb 2014 10:25:26 +0000 (10:25 +0000)]
re PR target/55426 (gcc.target/arm/neon-vld1_dupQ.c ICEs on armeb)
PR target/55426
* config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Allow 128 to 64-bit
conversions.
From-SVN: r208117
John David Anglin [Tue, 25 Feb 2014 00:52:10 +0000 (00:52 +0000)]
pa.c (pa_output_move_double): Don't valididate when adjusting offsetable addresses.
* config/pa/pa.c (pa_output_move_double): Don't valididate when
adjusting offsetable addresses.
From-SVN: r208102
GCC Administrator [Tue, 25 Feb 2014 00:16:43 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r208099
Fabien ChĂȘne [Mon, 24 Feb 2014 20:27:34 +0000 (21:27 +0100)]
re PR c++/37140 (type inherited from base class not recognized)
2014-02-24 Fabien Chene <fabien@gcc.gnu.org>
PR c++/37140
* parser.c (cp_parser_nonclass_name): Call strip_using_decl and
move the code handling dependent USING_DECLs...
* name-lookup.c (strip_using_decl): ...Here.
2014-02-24 Fabien Chene <fabien@gcc.gnu.org>
PR c++/37140
* g++.dg/template/using27.C: New.
* g++.dg/template/using28.C: New.
* g++.dg/template/using29.C: New.
From-SVN: r208093
GCC Administrator [Mon, 24 Feb 2014 00:16:37 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r208064
David Holsgrove [Sun, 23 Feb 2014 18:59:26 +0000 (18:59 +0000)]
microblaze.md: Correct ashrsi_reg / lshrsi_reg names
2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
* config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg names
From-SVN: r208062
Michael Eager [Sun, 23 Feb 2014 18:54:17 +0000 (18:54 +0000)]
[multiple changes]
2014-02-23 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
* config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED
definition.
2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
* gcc/testsuite/gcc.target/microblaze/others/mem_reload.c: New test.
From-SVN: r208060
David Holsgrove [Sun, 23 Feb 2014 18:45:12 +0000 (18:45 +0000)]
microblaze.c: Add microblaze_asm_output_mi_thunk and define TARGET_ASM_OUTPUT_MI_THUNK and...
2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
* /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk
and define TARGET_ASM_OUTPUT_MI_THUNK and
TARGET_ASM_CAN_OUTPUT_MI_THUNK.
From-SVN: r208058
David Holsgrove [Sun, 23 Feb 2014 18:38:29 +0000 (18:38 +0000)]
predicates.md: Add cmp_op predicate.
2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
* config/microblaze/predicates.md: Add cmp_op predicate.
* config/microblaze/microblaze.md: Add branch_compare instruction
which uses cmp_op predicate and emits cmp insn before branch.
* config/microblaze/microblaze.c (microblaze_emit_compare): Rename
to microblaze_expand_conditional_branch and consolidate logic.
(microblaze_expand_conditional_branch): emit branch_compare
insn instead of handling cmp op separate from branch insn.
From-SVN: r208056
GCC Administrator [Sun, 23 Feb 2014 00:16:28 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r208047
Mikael Morin [Sat, 22 Feb 2014 12:22:17 +0000 (12:22 +0000)]
re PR fortran/59599 (Compiler internal error on intrinsic ichar)
fortran/
PR fortran/59599
* trans-intrinsic.c (gfc_conv_intrinsic_ichar): Calculate the
number of arguments.
testsuite/
PR fortran/59599
* gfortran.dg/ichar_3.f90: New test.
From-SVN: r208042
Steven G. Kargl [Sat, 22 Feb 2014 02:50:39 +0000 (02:50 +0000)]
backport: re PR fortran/59700 (Misleading/buggy runtime error message: Bad integer for item 0 in list input)
2014-02-21 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from mainline
PR fortran/59700
* gfortran.dg/pr59700.f90: New test.
From-SVN: r208039
Jerry DeLisle [Sat, 22 Feb 2014 02:11:44 +0000 (02:11 +0000)]
backport: re PR fortran/59700 (Misleading/buggy runtime error message: Bad integer for item 0 in list input)
2014-02-21 Jerry DeLisle <jvdelisle@gcc.gnu>
Dominique d'Humieres <dominiq@lps.ens.fr>
Steven G. Kargl <kargl@gcc.gnu.org>
Backport from mainline
PR libfortran/59700
PR libfortran/59764
* io/io.h (struct st_parameter_dt): Assign expanded_read flag to
unused bit. Define new variable line_buffer_pos.
* io/list_read.c (free_saved, next_char, l_push_char,
read_logical, read_real): Replace use of item_count with
line_buffer_pos for line_buffer look ahead.
(read_logical, read_integer, parse_real, read_real, check_type):
Adjust location of free_line to after generating error messages
to retain the correct item count for the message.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>
From-SVN: r208038
GCC Administrator [Sat, 22 Feb 2014 00:16:44 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r208036
Jason Merrill [Fri, 21 Feb 2014 22:15:07 +0000 (17:15 -0500)]
re PR c++/60108 ([C++11] ICE in use_thunk, at cp/method.c:340)
PR c++/60108
* semantics.c (expand_or_defer_fn_1): Check DECL_DEFAULTED_FN.
From-SVN: r208032
Jason Merrill [Fri, 21 Feb 2014 22:15:01 +0000 (17:15 -0500)]
re PR c++/60187 ([c++11] ICE with parameter pack as underlying type for enum)
PR c++/60187
* parser.c (cp_parser_enum_specifier): Call
check_for_bare_parameter_packs.
From-SVN: r208031
Jason Merrill [Fri, 21 Feb 2014 15:29:32 +0000 (10:29 -0500)]
re PR c++/60216 ([c++11] Trouble with deleted template functions)
PR c++/60216
* pt.c (register_specialization): Copy DECL_DELETED_FN to clones.
From-SVN: r208008
Jason Merrill [Fri, 21 Feb 2014 15:29:25 +0000 (10:29 -0500)]
re PR c++/60219 ([c++11] ICE invalid use of variadic template)
PR c++/60219
* pt.c (coerce_template_parms): Bail if argument packing fails.
From-SVN: r208007
Jason Merrill [Fri, 21 Feb 2014 15:29:14 +0000 (10:29 -0500)]
re PR c++/60248 ([C++11] ICE specializing variadic template)
PR c++/60248
* mangle.c (mangle_decl): Don't make an alias for a TYPE_DECL.
From-SVN: r208006
Martin Jambor [Fri, 21 Feb 2014 13:05:40 +0000 (14:05 +0100)]
re PR tree-optimization/55260 (ICE: in ipa_get_parm_lattices, at ipa-cp.c:263 with -O2 -fno-inline -fipa-cp-clone)
2014-02-21 Martin Jambor <mjambor@suse.cz>
PR ipa/55260
* ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Uce correct
info when checking whether lattices are bottom.
testsuite/
* gcc.dg/ipa/pr55260.c: New test.
From-SVN: r207990
Jakub Jelinek [Fri, 21 Feb 2014 07:49:00 +0000 (08:49 +0100)]
i386.c (ix86_expand_vec_perm): Use V8SImode mode for mask of V8SFmode permutation.
* config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode
mode for mask of V8SFmode permutation.
From-SVN: r207982
Jason Merrill [Fri, 21 Feb 2014 04:42:59 +0000 (23:42 -0500)]
re PR c++/60274 (String as template parameter - regression in 4.8.3)
PR c++/60274
Revert:
PR c++/58606
* pt.c (template_parm_to_arg): Call convert_from_reference.
(tsubst_template_arg): Don't strip reference refs.
From-SVN: r207978
GCC Administrator [Fri, 21 Feb 2014 00:16:33 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207975
Richard Henderson [Fri, 21 Feb 2014 00:14:05 +0000 (16:14 -0800)]
re PR c++/60272 (atomic<>::compare_exchange_weak has spurious store and can cause race conditions)
PR c++/60272
gcc/
* builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize
on failure the store back into EXPECT.
libatomic/
* cas_n.c (libat_compare_exchange): Conditionalize on failure
the store back to EPTR.
From-SVN: r207973
Jakub Jelinek [Thu, 20 Feb 2014 20:40:52 +0000 (21:40 +0100)]
re PR target/57896 (ICE in expand_expr_real_2)
PR target/57896
* config/i386/i386.c (expand_vec_perm_interleave2): Don't call
gen_reg_rtx if d->testing_p.
(expand_vec_perm_pshufb2, expand_vec_perm_even_odd_1,
expand_vec_perm_broadcast_1): Return early if d->testing_p and
we will certainly return true.
From-SVN: r207970
Kai Tietz [Thu, 20 Feb 2014 16:03:38 +0000 (17:03 +0100)]
re PR c++/58873 ([c++11] ICE with __underlying_type for broken enum)
PR c++/58873
* parser.c (cp_parser_functional_cast): Treat NULL_TREE
valued type argument as error_mark_node.
From-SVN: r207962
Richard Biener [Thu, 20 Feb 2014 15:01:31 +0000 (15:01 +0000)]
tree-cfg.c (replace_uses_by): Mark altered BBs before doing the substitution.
2014-02-20 Richard Biener <rguenther@suse.de>
* tree-cfg.c (replace_uses_by): Mark altered BBs before
doing the substitution.
From-SVN: r207959
Kai Tietz [Thu, 20 Feb 2014 14:29:55 +0000 (15:29 +0100)]
re PR c++/58835 (ICE with __PRETTY_FUNCTION__ in broken function)
PR c++/58835
* semantics.c (finish_fname): Handle error_mark_node.
From-SVN: r207956
GCC Administrator [Thu, 20 Feb 2014 00:16:54 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207929
Tobias Burnus [Wed, 19 Feb 2014 23:32:46 +0000 (00:32 +0100)]
re PR fortran/49397 ([F03] ICE with proc pointer assignment)
2014-02-19 Tobias Burnus <burnus@net-b.de>
PR fortran/49397
* expr.c (gfc_check_pointer_assign): Add check for
F2008Cor2, C729.
* trans-decl.c (gfc_get_symbol_decl): Correctly generate
external decl in a corner case.
2014-02-19 Tobias Burnus <burnus@net-b.de>
PR fortran/49397
* gfortran.dg/proc_ptr_45.f90: New.
* gfortran.dg/proc_ptr_46.f90: New.
From-SVN: r207927
H.J. Lu [Wed, 19 Feb 2014 22:43:19 +0000 (22:43 +0000)]
Remove TFmode check for X86_64_INTEGER_CLASS
Backport from mainline
PR target/60207
* config/i386/i386.c (construct_container): Remove TFmode check
for X86_64_INTEGER_CLASS.
From-SVN: r207925
Jason Merrill [Wed, 19 Feb 2014 19:59:07 +0000 (14:59 -0500)]
re PR c++/60046 (internal compiler error: in nothrow_spec_p, at cp/except.c:1280)
PR c++/60046
* pt.c (maybe_instantiate_noexcept): Don't instantiate exception
spec from template context.
From-SVN: r207921
Uros Bizjak [Wed, 19 Feb 2014 16:50:22 +0000 (17:50 +0100)]
backport: re PR target/59794 (i386 backend fails to detect MMX/SSE/AVX ABI changes)
Backport from mainline
2014-02-19 Uros Bizjak <ubizjak@gmail.com>
PR target/59794
* config/i386/i386.c (type_natural_mode): Warn for ABI changes
only when -Wpsabi is enabled.
testsuite/ChangeLog:
Backport from mainline
2014-02-19 Uros Bizjak <ubizjak@gmail.com>
PR target/59794
* gcc.target/i386/pr39162.c: Add dg-prune-output.
(dg-options): Remove -Wno-psabi.
* gcc.target/i386/pr59794-2.c: Ditto.
* gcc.target/i386/sse-5.c: Ditto.
From-SVN: r207912
Janus Weil [Wed, 19 Feb 2014 07:38:45 +0000 (08:38 +0100)]
Backport PRs 55907, 60231
2014-02-19 Janus Weil <janus@gcc.gnu.org>
Backports from mainline:
2014-02-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/55907
* resolve.c (build_default_init_expr): Don't initialize character
variable if -fno-automatic is given.
2014-02-18 Janus Weil <janus@gcc.gnu.org>
PR fortran/60231
* resolve.c (check_generic_tbp_ambiguity): Check for presence of dummy
arguments to prevent ICE.
2014-02-19 Janus Weil <janus@gcc.gnu.org>
Backports from mainline:
2014-02-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/55907
* gfortran.dg/init_flag_12.f90: New.
2014-02-18 Janus Weil <janus@gcc.gnu.org>
PR fortran/60231
* gfortran.dg/typebound_generic_15.f90: New.
From-SVN: r207876
Terry Guo [Wed, 19 Feb 2014 07:16:53 +0000 (07:16 +0000)]
backport: invoke.texi: Document ARM -march=armv7e-m.
2014-02-19 Terry Guo <terry.guo@arm.com>
Backport from mainline
2014-02-08 Terry Guo <terry.guo@arm.com>
* doc/invoke.texi: Document ARM -march=armv7e-m.
From-SVN: r207874
GCC Administrator [Wed, 19 Feb 2014 00:16:37 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207862
Kai Tietz [Tue, 18 Feb 2014 17:04:38 +0000 (18:04 +0100)]
re PR objc/56870 (@catch handler broken with SEH)
2014-02-18 Kai Tietz <ktietz@redhat.com>
Jonathan Schleifer <js@webkeks.org>
PR objc/56870
* unwind-seh.c (_GCC_specific_handler): Pass proper
value to unwind-handler.
Co-Authored-By: Jonathan Schleifer <js@webkeks.org>
From-SVN: r207850
Kai Tietz [Tue, 18 Feb 2014 12:57:32 +0000 (13:57 +0100)]
backport: re PR target/60193 (ICE on big nested frame)
2014-02-18 Kai Tietz <ktietz@redhat.com>
Backport from mainline
PR target/60193
* config/i386/i386.c (ix86_expand_prologue): Use
rax register as displacement for restoring %r10, %rax.
Additional fix wrong offset for restoring both-registers.
2014-02-18 Kai Tietz <ktietz@redhat.com>
PR target/60193
* gcc.target/i386/nest-1.c: New testcase.
From-SVN: r207845
Eric Botcazou [Tue, 18 Feb 2014 11:12:14 +0000 (11:12 +0000)]
ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous assertion with conditional return.
* ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous
assertion with conditional return.
From-SVN: r207839
Jakub Jelinek [Tue, 18 Feb 2014 07:23:51 +0000 (08:23 +0100)]
re PR driver/60233 (AVX instructions emitted with -march=native on host without AVX support)
PR driver/60233
* config/i386/driver-i386.c (host_detect_local_cpu): If
YMM state is not saved by the OS, also clear has_f16c. Move
CPUID 0x80000001 handling before YMM state saving checking.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r207834
GCC Administrator [Tue, 18 Feb 2014 00:16:40 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207830
GCC Administrator [Mon, 17 Feb 2014 00:16:45 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207812
GCC Administrator [Sun, 16 Feb 2014 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207806
Jerry DeLisle [Sat, 15 Feb 2014 15:57:35 +0000 (15:57 +0000)]
backport: re PR libfortran/59771 (Cleanup handling of Gw.0 and Gw.0Ee format)
2014-02-15 Jerry DeLisle <jvdelisle@gcc.gnu>
Dominique d'Humieres <dominiq@lps.ens.fr>
Backport from mainline
PR libfortran/59771
PR libfortran/59774
PR libfortran/59836
* gfortran.dg/fmt_g_1.f90: New test.
* gfortran.dg/round_3.f08: New cases added.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
From-SVN: r207802
Jerry DeLisle [Sat, 15 Feb 2014 15:48:48 +0000 (15:48 +0000)]
backport: re PR libfortran/59771 (Cleanup handling of Gw.0 and Gw.0Ee format)
2014-02-15 Jerry DeLisle <jvdelisle@gcc.gnu>
Dominique d'Humieres <dominiq@lps.ens.fr>
Backport from mainline
PR libfortran/59771
PR libfortran/59774
PR libfortran/59836
* io/write_float.def (output_float): Fix wrong handling of the
Fw.0 format.
(output_float_FMT_G_): Fixes rounding issues with -m32.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
From-SVN: r207801
GCC Administrator [Sat, 15 Feb 2014 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207795
Roland McGrath [Fri, 14 Feb 2014 17:37:50 +0000 (17:37 +0000)]
Use ud2 assembly mnemonic when available.
gcc/
* configure.ac (HAVE_AS_IX86_UD2): New test for 'ud2' mnemonic.
* configure: Regenerated.
* config.in: Regenerated.
* config/i386/i386.md (trap) [HAVE_AS_IX86_UD2]: Use the mnemonic
instead of ASM_SHORT.
From-SVN: r207790
GCC Administrator [Fri, 14 Feb 2014 00:16:40 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207772
Uros Bizjak [Thu, 13 Feb 2014 22:30:26 +0000 (23:30 +0100)]
backport: sse.md (xop_vmfrcz<mode>2): Generate const0 in operands[2], not operands[3].
Backport from mainline
2014-02-13 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
operands[2], not operands[3].
From-SVN: r207768
Dominik Vogt [Thu, 13 Feb 2014 12:34:11 +0000 (12:34 +0000)]
s390.c (s390_asm_output_function_label): Fix crash caused by bad second argument to warning_at() with -mhotpatch and...
2014-02-13 Dominik Vogt <vogt@linux.vnet.ibm.com>
* config/s390/s390.c (s390_asm_output_function_label): Fix crash
caused by bad second argument to warning_at() with -mhotpatch and
nested functions (e.g. with gfortran).
2014-02-13 Dominik Vogt <vogt@linux.vnet.ibm.com>
* gcc.target/s390/hotpatch-compile-8.c: New test.
From-SVN: r207752
GCC Administrator [Thu, 13 Feb 2014 00:16:35 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207745
H.J. Lu [Wed, 12 Feb 2014 16:38:50 +0000 (16:38 +0000)]
Pass --32 to GNU assembler for .long foo@GOTOFF check
Backport from mainline
PR target/60151
* configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU
assembler.
From-SVN: r207733
Eric Botcazou [Wed, 12 Feb 2014 10:17:08 +0000 (10:17 +0000)]
re PR rtl-optimization/60116 (wrong code at -Os on x86_64-linux-gnu in 32-bit mode)
PR rtl-optimization/60116
* combine.c (try_combine): Fix oversight in previous change.
From-SVN: r207717
Eric Botcazou [Wed, 12 Feb 2014 08:51:57 +0000 (08:51 +0000)]
re PR rtl-optimization/60116 (wrong code at -Os on x86_64-linux-gnu in 32-bit mode)
PR rtl-optimization/60116
* combine.c (try_combine): Also remove dangling REG_DEAD notes on the
other_insn once the combination has been validated.
From-SVN: r207714
GCC Administrator [Wed, 12 Feb 2014 00:16:42 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207705
Nagaraju Mekala [Tue, 11 Feb 2014 01:54:15 +0000 (01:54 +0000)]
Added the lwr/swr instructions pattern.
lwr and swr instructions will load/store the data with opposite endianness.
2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
* gcc/config/microblaze/microblaze.md: Add movsi4_rev insn pattern.
* gcc/config/microblaze/predicates.md: Add reg_or_mem_operand predicate.
From-SVN: r207684
Nagaraju Mekala [Tue, 11 Feb 2014 01:35:46 +0000 (01:35 +0000)]
microblaze.c: Extend mcpu version format
2013-11-26 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
* config/microblaze/microblaze.c: Extend mcpu version format
From-SVN: r207681
David Holsgrove [Tue, 11 Feb 2014 01:29:30 +0000 (01:29 +0000)]
Fixes warnings like;
warning: format '%zX' expects argument of type 'size_t',
but argument 3 has type 'unsigned int' [-Wformat]
2013-03-18 David Holsgrove <david.holsgrove@xilinx.com>
* gcc/config/microblaze/microblaze.h: Define SIZE_TYPE
and PTRDIFF_TYPE.
From-SVN: r207679
GCC Administrator [Tue, 11 Feb 2014 00:16:43 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207675
Richard Biener [Mon, 10 Feb 2014 15:20:30 +0000 (15:20 +0000)]
backport: [multiple changes]
2014-02-10 Richard Biener <rguenther@suse.de>
Backport from mainline
2014-01-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/59903
* tree-vect-loop.c (vect_transform_loop): Guard multiple-types
check properly.
* gcc.dg/torture/pr59903.c: New testcase.
2014-02-10 Richard Biener <rguenther@suse.de>
PR tree-optimization/60115
* tree-eh.c (tree_could_trap_p): Unify TARGET_MEM_REF and
MEM_REF handling. Properly verify that the accesses are not
out of the objects bound.
* gcc.dg/torture/pr60115.c: New testcase.
From-SVN: r207659
GCC Administrator [Mon, 10 Feb 2014 00:16:34 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207648
Janus Weil [Sun, 9 Feb 2014 17:32:07 +0000 (18:32 +0100)]
backport: re PR fortran/58803 (Proc-pointer component: free_components deallocates twice pointer p->tb at symbol.c:2068)
2014-02-09 Janus Weil <janus@gcc.gnu.org>
Backport from mainline
2013-10-21 Tobias Burnus <burnus@net-b.de>
PR fortran/58803
PR fortran/59395
* decl.c (match_ppc_decl): Prevent later double free.
2014-02-09 Janus Weil <janus@gcc.gnu.org>
Backport from mainline
2013-10-21 Tobias Burnus <burnus@net-b.de>
PR fortran/58803
PR fortran/59395
* gfortran.dg/proc_ptr_comp_38.f90: New.
From-SVN: r207644
GCC Administrator [Sun, 9 Feb 2014 00:16:38 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207640
Mikael Morin [Sat, 8 Feb 2014 20:37:55 +0000 (20:37 +0000)]
re PR fortran/57033 (ICE on extended derived type and default initialization)
fortran/
PR fortran/57033
* primary.c (gfc_convert_to_structure_constructor): Avoid null pointer
dereference.
testsuite/
PR fortran/57033
* gfortran.dg/default_initialization_7.f90: New test.
From-SVN: r207634
GCC Administrator [Sat, 8 Feb 2014 00:16:29 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207625
Paul Thomas [Fri, 7 Feb 2014 21:15:37 +0000 (21:15 +0000)]
re PR fortran/59906 (error: size of variable '<anonymous>' is too large)
2014-02-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/59906
* trans-stmt.c (gfc_add_loop_ss_code): In the case of character
SS_REFERENCE, use gfc_conv_string_parameter to ensure that a
pointer to the string is stored.
* trans-expr.c (gfc_conv_expr_reference): Likewise, use
gfc_conv_string_parameter to ensure that a pointer to is passed
to the elemental function.
2014-02-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/59906
* gfortran.dg/elemental_subroutine_9.f90 : New test
From-SVN: r207613
Misty De Meo [Fri, 7 Feb 2014 21:10:47 +0000 (21:10 +0000)]
re PR libgcc/58710 (HAVE_GETIPINFO is incorrectly set on Mac OS X 10.4)
PR target/58710
* configure.ac: Use AC_LINK_IFELSE in check for
_Unwind_GetIPInfo.
* configure: Regenerate.
From-SVN: r207611
GCC Administrator [Fri, 7 Feb 2014 00:16:45 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207585
GCC Administrator [Thu, 6 Feb 2014 00:16:32 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207527
James Greenhalgh [Wed, 5 Feb 2014 14:40:36 +0000 (14:40 +0000)]
[Backport: ARM Documentation] Clarify -mcpu, -mtune, -march
gcc/
Backport from mainline.
2014-02-05 James Greenhalgh <james.greenhalgh@arm.com>
PR target/59718
* doc/invoke.texi (-march): Clarify documentation for ARM.
(-mtune): Likewise.
(-mcpu): Likewise.
From-SVN: r207505
John David Anglin [Wed, 5 Feb 2014 00:47:25 +0000 (00:47 +0000)]
re PR target/59777 (Incorrect expansion of TLS arguments in a call)
PR target/59777
* config/pa/pa.c (legitimize_tls_address): Return original address
if not passed a SYMBOL_REF rtx.
(hppa_legitimize_address): Call legitimize_tls_address for all TLS
addresses.
(pa_emit_move_sequence): Simplify TLS source operands.
(pa_legitimate_constant_p): Reject all TLS constants.
* config/pa/pa.h (PA_SYMBOL_REF_TLS_P): Correct comment.
(CONSTANT_ADDRESS_P): Reject TLS CONST addresses.
From-SVN: r207494
GCC Administrator [Wed, 5 Feb 2014 00:16:49 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207491
Uros Bizjak [Tue, 4 Feb 2014 16:43:00 +0000 (17:43 +0100)]
backport: re PR target/60017 (Struct not returned correctly)
Backport from mainline
2014-02-02 Uros Bizjak <ubizjak@gmail.com>
PR target/60017
* config/i386/i386.c (classify_argument): Fix handling of bit_offset
when calculating size of integer atomic types.
testsuite/ChangeLog:
Backport from mainline
2014-02-02 Uros Bizjak <ubizjak@gmail.com>
PR target/60017
* gcc.c-torture/execute/pr60017.c: New test.
From-SVN: r207475
GCC Administrator [Tue, 4 Feb 2014 00:16:59 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207444
GCC Administrator [Mon, 3 Feb 2014 00:16:57 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207411
Uros Bizjak [Sun, 2 Feb 2014 10:21:44 +0000 (11:21 +0100)]
backport: f16cintrin.h (_cvtsh_ss): Avoid -Wnarrowing warning.
Backport from mainline
2014-01-30 Jakub Jelinek <jakub@redhat.com>
* config/i386/f16cintrin.h (_cvtsh_ss): Avoid -Wnarrowing warning.
From-SVN: r207394
GCC Administrator [Sun, 2 Feb 2014 00:16:43 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207392
Paul Thomas [Sat, 1 Feb 2014 22:31:53 +0000 (22:31 +0000)]
re PR fortran/59414 ([OOP] ICE in in gfc_conv_expr_descriptor on ALLOCATE inside SELECT TYPE)
2014-02-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/59414
* trans-stmt.c (gfc_trans_allocate): Before the pointer
assignment to transfer the source _vptr to a class allocate
expression, the final class reference should be exposed. The
tail that includes the _data and array references is stored.
This reduced expression is transferred to 'lhs' and the _vptr
added. Then the tail is restored to the allocate expression.
2014-02-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/59414
* gfortran.dg/allocate_class_3.f90 : New test
From-SVN: r207390
Dmitry Gorbachev [Sat, 1 Feb 2014 12:28:18 +0000 (12:28 +0000)]
re PR other/56653 (Warning when verifying checksums from MD5SUMS file in tarballs)
PR other/56653
* gcc_release: Avoid printing empty line to generated MD5SUMS files.
Bump copyright year.
From-SVN: r207388
Richard Henderson [Sat, 1 Feb 2014 05:24:07 +0000 (21:24 -0800)]
re PR middle-end/60004 (Conditional return within transaction causes ICE)
PR middle-end/60004
* tree-eh.c (lower_try_finally_switch): Delay lowering finally block
until after else_eh is processed.
From-SVN: r207381
GCC Administrator [Sat, 1 Feb 2014 00:16:53 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207377
Jason Merrill [Fri, 31 Jan 2014 17:30:17 +0000 (12:30 -0500)]
re PR c++/58672 ([c++11] ICE with thread_local and variable of broken class)
PR c++/58672
* decl2.c (handle_tls_init): Handle null init fn.
From-SVN: r207365
Jason Merrill [Fri, 31 Jan 2014 16:38:33 +0000 (11:38 -0500)]
* g++.dg/tls/thread_local8.C: Require tls.
From-SVN: r207362
Jason Merrill [Fri, 31 Jan 2014 16:26:02 +0000 (11:26 -0500)]
re PR c++/55800 (Link failure with thread_local in unnamed namespace)
PR c++/55800
* decl2.c (get_tls_init_fn): Copy DECL_EXTERNAL from the variable.
From-SVN: r207361
Jason Merrill [Fri, 31 Jan 2014 15:21:20 +0000 (10:21 -0500)]
re PR c++/59646 (ICE with volatile in initializer list)
PR c++/59646
* call.c (convert_like_real) [ck_aggr]: Set TARGET_EXPR_LIST_INIT_P.
[ck_list]: Check for error_mark_node.
From-SVN: r207348
Jason Merrill [Fri, 31 Jan 2014 15:21:13 +0000 (10:21 -0500)]
re PR c++/57043 (converting overloaded complex function pow in C++11 is ambiguous)
PR c++/57043
* pt.c (fn_type_unification): Don't do DEDUCE_EXACT check
during partial ordering.
From-SVN: r207347
Jason Merrill [Fri, 31 Jan 2014 03:48:05 +0000 (22:48 -0500)]
re PR c++/57899 (bind/function with data member: infinite recursion)
PR c++/57899
* pt.c (instantiate_template_1): Save/restore local_specializations.
From-SVN: r207333
GCC Administrator [Fri, 31 Jan 2014 00:16:27 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207328
David Holsgrove [Thu, 30 Jan 2014 17:26:34 +0000 (17:26 +0000)]
Add SImode to comparison operator, prevents ICE during combine
rtl pass with error message;
internal compiler error: in simplify_subreg, at simplify-rtx.c:5725
Use ordered_comparison_operator predicate to limit operators to
those fcmp can handle, and letting compiler reorder insns to
accomodate unordered as necessary
gcc/ChangeLog
2013-11-26 David Holsgrove <david.holsgrove@xilinx.com>
* config/microblaze/microblaze.md(cstoresf4, cbranchsf4): Replace
comparison_operator with ordered_comparison_operator.
testsuite/ChangeLog
2014-01-22 David holsgrove <david.holsgrove@xilinx.com>
* testsuite/gcc.target/microblaze/isa/fcmp4.c: New file.
From-SVN: r207313
Jason Merrill [Thu, 30 Jan 2014 01:54:33 +0000 (20:54 -0500)]
re PR c++/59989 (ICE when a template parameter pack is explicitly specified for a function template and provides a complete argument list for a template)
PR c++/59989
* pt.c (expand_template_argument_pack): Correct
non_default_args_count calculation.
From-SVN: r207293
GCC Administrator [Thu, 30 Jan 2014 00:16:33 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207291
Jason Merrill [Wed, 29 Jan 2014 21:28:20 +0000 (16:28 -0500)]
re PR c++/58466 (ICE in cxx_eval_constant_expression)
PR c++/58466
* pt.c (unify_pack_expansion): Call expand_template_argument_pack.
From-SVN: r207284
GCC Administrator [Wed, 29 Jan 2014 00:16:43 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207222
Jason Merrill [Tue, 28 Jan 2014 21:33:55 +0000 (16:33 -0500)]
re PR c++/58632 (ICE reusing template parameter name as class name)
PR c++/58632
* decl.c (lookup_and_check_tag): Ignore template parameters if
scope == ts_current.
* pt.c (check_template_shadow): Don't complain about the injected
class name.
From-SVN: r207213
Jason Merrill [Tue, 28 Jan 2014 13:45:08 +0000 (08:45 -0500)]
re PR c++/54652 (ICE with -g)
PR c++/54652
* decl.c (duplicate_decls): Always use oldtype for TYPE_DECL.
From-SVN: r207191
Jason Merrill [Tue, 28 Jan 2014 13:45:02 +0000 (08:45 -0500)]
re PR c++/58504 (ICE with type trait as default template parameter)
PR c++/58504
* pt.c (tsubst_copy_and_build) [TRAIT_EXPR]: Use tsubst for
types.
From-SVN: r207190