platform/upstream/gcc.git
10 years agore PR other/59545 (Signed integer overflow issues)
Marek Polacek [Wed, 26 Mar 2014 06:46:27 +0000 (06:46 +0000)]
re PR other/59545 (Signed integer overflow issues)

PR other/59545
* ira-color.c (update_conflict_hard_regno_costs): Perform the
multiplication in unsigned type.

From-SVN: r208834

10 years ago* doc/install.texi: Document nds32le-*-elf and nds32be-*-elf.
Chung-Ju Wu [Wed, 26 Mar 2014 03:14:42 +0000 (03:14 +0000)]
* doc/install.texi: Document nds32le-*-elf and nds32be-*-elf.

From-SVN: r208833

10 years ago* doc/contrib.texi: Add myself as Andes nds32 port contributor.
Chung-Ju Wu [Wed, 26 Mar 2014 02:59:36 +0000 (02:59 +0000)]
* doc/contrib.texi: Add myself as Andes nds32 port contributor.

From-SVN: r208832

10 years agore PR ipa/60315 (template constructor switch optimization)
Jan Hubicka [Wed, 26 Mar 2014 02:11:57 +0000 (03:11 +0100)]
re PR ipa/60315 (template constructor switch optimization)

PR ipa/60315
* cif-code.def (UNREACHABLE) New code.
* ipa-inline.c (inline_small_functions): Skip edges to __builtlin_unreachable.
(estimate_edge_growth): Allow edges to __builtlin_unreachable.
* ipa-inline-analysis.c (edge_set_predicate): Redirect edges with false
predicate to __bulitin_unreachable.
(set_cond_stmt_execution_predicate): Fix issue when invert_tree_comparison
returns ERROR_MARK.
* ipa-pure-const.c (propagate_pure_const, propagate_nothrow): Do not
propagate to inline clones.
* cgraph.c (verify_edge_corresponds_to_fndecl): Allow redirection
to unreachable.
* ipa-cp.c (create_specialized_node): Be ready for new node to appear.
* cgraphclones.c (cgraph_clone_node): If call destination is already
ureachable, do not redirect it back.
* tree-inline.c (fold_marked_statements): Hanlde calls becoming
unreachable.

From-SVN: r208831

10 years agoipa-pure-const.c (propagate_pure_const, [...]): Do not modify inline clones.
Jan Hubicka [Wed, 26 Mar 2014 02:07:51 +0000 (03:07 +0100)]
ipa-pure-const.c (propagate_pure_const, [...]): Do not modify inline clones.

* ipa-pure-const.c (propagate_pure_const, propagate_nothrow):
Do not modify inline clones.

From-SVN: r208830

10 years agoDaily bump.
GCC Administrator [Wed, 26 Mar 2014 00:17:17 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r208829

10 years agoi386.md (general_sext_operand): New mode attr.
Jakub Jelinek [Tue, 25 Mar 2014 21:47:41 +0000 (22:47 +0100)]
i386.md (general_sext_operand): New mode attr.

* config/i386/i386.md (general_sext_operand): New mode attr.
(addv<mode>4, subv<mode>4, mulv<mode>4): If operands[2] is CONST_INT,
don't generate (sign_extend (const_int)).
(*addv<mode>4, *subv<mode>4, *mulv<mode>4): Disallow CONST_INT_P
operands[2].  Use We constraint instead of <i> and <general_sext_operand>
predicate instead of <general_operand>.
(*addv<mode>4_1, *subv<mode>4_1, *mulv<mode>4_1): New insns.
* config/i386/constraints.md (We): New constraint.
* config/i386/predicates.md (x86_64_sext_operand,
sext_operand): New predicates.

From-SVN: r208824

10 years agore PR libstdc++/60658 (std::atomic<T*> is unexpectedly not lock-free)
Jonathan Wakely [Tue, 25 Mar 2014 19:39:52 +0000 (19:39 +0000)]
re PR libstdc++/60658 (std::atomic<T*> is unexpectedly not lock-free)

PR libstdc++/60658
* include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()):
Use sizeof pointer type not the element type.
* testsuite/29_atomics/atomic/60658.cc: New.

From-SVN: r208819

10 years agore PR ipa/60600 (ICE in ipa_get_indirect_edge_target_1)
Martin Jambor [Tue, 25 Mar 2014 18:22:41 +0000 (19:22 +0100)]
re PR ipa/60600 (ICE in ipa_get_indirect_edge_target_1)

2014-03-25  Martin Jambor  <mjambor@suse.cz>

PR ipa/60600
* ipa-cp.c (ipa_get_indirect_edge_target_1): Redirect type
inconsistent devirtualizations to __builtin_unreachable.

testsuite/
* g++.dg/ipa/pr60600.C: New test.

From-SVN: r208818

10 years agore PR c++/60375 ([c++11] ICE with invalid use of lambda)
Jason Merrill [Tue, 25 Mar 2014 18:00:37 +0000 (14:00 -0400)]
re PR c++/60375 ([c++11] ICE with invalid use of lambda)

PR c++/60375
* parser.c (cp_parser_lambda_expression): Don't parse the body of
a lambda in unevaluated context.

From-SVN: r208817

10 years agore PR c++/60628 ([c++11] ICE initializing array of auto)
Jason Merrill [Tue, 25 Mar 2014 18:00:30 +0000 (14:00 -0400)]
re PR c++/60628 ([c++11] ICE initializing array of auto)

PR c++/60628
* decl.c (create_array_type_for_decl): Complain about array of auto.

From-SVN: r208816

10 years agore PR c/35449 (extended asm documentation wrong)
Marek Polacek [Tue, 25 Mar 2014 16:50:54 +0000 (16:50 +0000)]
re PR c/35449 (extended asm documentation wrong)

PR c/35449
* doc/extend.texi (Example of asm with clobbered asm reg): Fix typo.

From-SVN: r208815

10 years ago[PATCH AArch64] Fix aarch64_simd_valid_immediate for Bigendian
Alan Lawrence [Tue, 25 Mar 2014 15:59:48 +0000 (15:59 +0000)]
[PATCH AArch64] Fix aarch64_simd_valid_immediate for Bigendian

gcc/

* config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Reverse
order of elements for big-endian.

From-SVN: r208814

10 years agore PR testsuite/58013 (main() not generated in assembler output)
John David Anglin [Tue, 25 Mar 2014 12:06:17 +0000 (12:06 +0000)]
re PR testsuite/58013 (main() not generated in assembler output)

PR testsuite/58013
* g++.dg/opt/pr56999.C: Pop hidden visibility.

From-SVN: r208813

10 years agore PR lto/60635 (ICE when mixing C and Fortran lto1: error: use operand missing for...
Richard Biener [Tue, 25 Mar 2014 11:43:03 +0000 (11:43 +0000)]
re PR lto/60635 (ICE when mixing C and Fortran lto1: error: use operand missing for stmt)

2014-03-25  Richard Biener  <rguenther@suse.de>

PR middle-end/60635
* gimplify-me.c (gimple_regimplify_operands): Update the
re-gimplifed stmt.

* gfortran.dg/lto/pr60635_0.f90: New testcase.
* gfortran.dg/lto/pr60635_1.c: Likewise.

From-SVN: r208811

10 years agore PR ipa/59176 (ICE edge points to wrong declaration / verify_cgraph_node failed)
Martin Jambor [Tue, 25 Mar 2014 10:57:07 +0000 (11:57 +0100)]
re PR ipa/59176 (ICE edge points to wrong declaration / verify_cgraph_node failed)

2014-03-25  Martin Jambor  <mjambor@suse.cz>

PR ipa/59176
* lto-cgraph.c (lto_output_node): Stream body_removed flag.
(lto_output_varpool_node): Likewise.
(input_overwrite_node): Likewise.
(input_varpool_node): Likewise.

From-SVN: r208809

10 years agolto-wrapper.c (merge_and_complain): Handle OPT_fPIE like OPT_fpie.
Richard Biener [Tue, 25 Mar 2014 10:10:31 +0000 (10:10 +0000)]
lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like OPT_fpie.

2014-03-25  Richard Biener  <rguenther@suse.de>

* lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like
OPT_fpie.
(run_gcc): Likewise.

From-SVN: r208807

10 years agore PR c++/60331 (ICE with OpenMP #pragma omp declare reduction in template class)
Jakub Jelinek [Tue, 25 Mar 2014 09:30:10 +0000 (10:30 +0100)]
re PR c++/60331 (ICE with OpenMP #pragma omp declare reduction in template class)

PR c++/60331
* semantics.c (potential_constant_expression_1): Handle
DECL_EXPR.

* testsuite/libgomp.c++/udr-11.C: New test.
* testsuite/libgomp.c++/udr-12.C: New test.
* testsuite/libgomp.c++/udr-13.C: New test.
* testsuite/libgomp.c++/udr-14.C: New test.
* testsuite/libgomp.c++/udr-15.C: New test.
* testsuite/libgomp.c++/udr-16.C: New test.
* testsuite/libgomp.c++/udr-17.C: New test.
* testsuite/libgomp.c++/udr-18.C: New test.
* testsuite/libgomp.c++/udr-19.C: New test.

From-SVN: r208806

10 years agocombine.c (simplify_compare_const): Add MODE argument.
Jakub Jelinek [Tue, 25 Mar 2014 09:28:33 +0000 (10:28 +0100)]
combine.c (simplify_compare_const): Add MODE argument.

* combine.c (simplify_compare_const): Add MODE argument.
Handle mode_width 0 as very large mode_width.
(try_combine, simplify_comparison): Adjust callers.

From-SVN: r208805

10 years agocselib.c (cselib_hash_rtx): Perform addition in unsigned type to avoid signed integer...
Jakub Jelinek [Tue, 25 Mar 2014 09:27:54 +0000 (10:27 +0100)]
cselib.c (cselib_hash_rtx): Perform addition in unsigned type to avoid signed integer overflow.

* cselib.c (cselib_hash_rtx): Perform addition in unsigned
type to avoid signed integer overflow.
* explow.c (plus_constant): Likewise.

From-SVN: r208804

10 years agogeneric.texi: Correct typos.
Dominik Vogt [Tue, 25 Mar 2014 09:12:18 +0000 (09:12 +0000)]
generic.texi: Correct typos.

2014-03-25  Dominik Vogt  <vogt@linux.vnet.ibm.com>

* doc/generic.texi: Correct typos.

From-SVN: r208803

10 years agoDaily bump.
GCC Administrator [Tue, 25 Mar 2014 00:16:38 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r208802

10 years agore PR c++/60627 ([c++1y] ICE in explicit template instantiation containing auto param...
Adam Butcher [Mon, 24 Mar 2014 20:40:15 +0000 (20:40 +0000)]
re PR c++/60627 ([c++1y] ICE in explicit template instantiation containing auto parameter)

Fix PR c++/60627

PR c++/60627
* parser.c (cp_parser_parameter_declaration_clause): Prevent 'auto' from
introducing an implicit function template parameter within an explicit
instantiation.

PR c++/60627
* g++.dg/cpp1y/pr60627.C: New testcase.

From-SVN: r208799

10 years agoinvoke.texi (-flto): Expand section about using static libraries with LTO.
Tobias Burnus [Mon, 24 Mar 2014 19:53:52 +0000 (20:53 +0100)]
invoke.texi (-flto): Expand section about using static libraries with LTO.

2014-03-24  Tobias Burnus  <burnus@net-b.de>

        * doc/invoke.texi (-flto): Expand section about
        using static libraries with LTO.

From-SVN: r208798

10 years agobaseline_symbols.txt: Update.
Jakub Jelinek [Mon, 24 Mar 2014 19:48:12 +0000 (20:48 +0100)]
baseline_symbols.txt: Update.

* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Remove TLS
entries.

From-SVN: r208797

10 years agore PR rtl-optimization/60501 (LRA emits add patterns which might clobber cc)
Andreas Krebbel [Mon, 24 Mar 2014 17:38:09 +0000 (17:38 +0000)]
re PR rtl-optimization/60501 (LRA emits add patterns which might clobber cc)

2014-03-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR rtl-optimization/60501
* optabs.def (addptr3_optab): New optab.
* optabs.c (gen_addptr3_insn, have_addptr3_insn): New function.
* doc/md.texi ("addptrm3"): Document new RTL standard expander.
* expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes.

* lra.c (emit_add3_insn): Use the addptr pattern if available.

* config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders.

From-SVN: r208796

10 years agoavx512fintrin.h: Define _mm512_set1_ps and _mm512_set1_pd.
Ulrich Drepper [Mon, 24 Mar 2014 16:27:36 +0000 (16:27 +0000)]
avx512fintrin.h: Define _mm512_set1_ps and _mm512_set1_pd.

2014-03-24  Ulrich Drepper  <drepper@gmail.com>

        * config/i386/avx512fintrin.h: Define _mm512_set1_ps and
        _mm512_set1_pd.

From-SVN: r208794

10 years agoavxintrin.h (_mm256_undefined_si256): Define.
Ulrich Drepper [Mon, 24 Mar 2014 16:17:51 +0000 (16:17 +0000)]
avxintrin.h (_mm256_undefined_si256): Define.

2014-03-24  Ulrich Drepper  <drepper@gmail.com>

        * config/i386/avxintrin.h (_mm256_undefined_si256): Define.
        (_mm256_undefined_ps): Define.
        (_mm256_undefined_pd): Define.
        * config/i386/emmintrin.h (_mm_undefined_si128): Define.
        (_mm_undefined_pd): Define.
        * config/i386/xmmintrin.h (_mm_undefined_ps): Define.
        * config/i386/avx512fintrin.h (_mm512_undefined_si512): Define.
        (_mm512_undefined_ps): Define.
        (_mm512_undefined_pd): Define.
        Use _mm*_undefined_*.
        * config/i386/avx2intrin.h: Use _mm*_undefined_*.

From-SVN: r208793

10 years agore PR c++/60574 ([c++1y] ICE with deduced return type in virtual function and LTO)
Jason Merrill [Mon, 24 Mar 2014 15:55:43 +0000 (11:55 -0400)]
re PR c++/60574 ([c++1y] ICE with deduced return type in virtual function and LTO)

PR c++/60574
* decl.c (grokdeclarator): Change permerror about 'virtual auto'
to error.

From-SVN: r208792

10 years ago* sv.po: Update.
Joseph Myers [Mon, 24 Mar 2014 15:04:14 +0000 (15:04 +0000)]
* sv.po: Update.

From-SVN: r208791

10 years ago[AArch64] Logical vector shift right conformance
Alex Velenko [Mon, 24 Mar 2014 12:05:38 +0000 (12:05 +0000)]
[AArch64] Logical vector shift right conformance

gcc/

* config/aarch64/aarch64-simd-builtins.def (lshr): DI mode excluded.
(lshr_simd): DI mode added.
* config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): New pattern.
(aarch64_ushr_simddi): Likewise.
* config/aarch64/aarch64.md (UNSPEC_USHR64): New unspec.
* config/aarch64/arm_neon.h (vshr_n_u64): Intrinsic fixed.
(vshrd_n_u64): Likewise.

gcc/testsuite/

* gcc.target/aarch64/ushr64_1.c: New testcase.

From-SVN: r208789

10 years ago[AArch64 testsuite] Make vect-abs.c C99 compliant
James Greenhalgh [Mon, 24 Mar 2014 11:47:33 +0000 (11:47 +0000)]
[AArch64 testsuite] Make vect-abs.c C99 compliant

* gcc.target/aarch64/vect-abs.c (dg-options): Add -std=c99.
(LONG_LONG): Use LLONG.
(set_rvector_long): Explicitly return void.
(set_vector_long): Likewise.
(check_vector_long): Likewise.

From-SVN: r208788

10 years agodiv-by-zero-4.c: Don't include limits.h.
Marek Polacek [Mon, 24 Mar 2014 10:20:15 +0000 (10:20 +0000)]
div-by-zero-4.c: Don't include limits.h.

* c-c++-common/ubsan/div-by-zero-4.c: Don't include limits.h.  Define
INT_MIN.
* c-c++-common/ubsan/overflow-1.c: Check for unwanted output.
* c-c++-common/ubsan/overflow-add-1.c: Likewise.
* c-c++-common/ubsan/overflow-mul-1.c: Likewise.
* c-c++-common/ubsan/overflow-mul-3.c: Likewise.
* c-c++-common/ubsan/overflow-negate-2.c: Likewise.
* c-c++-common/ubsan/overflow-sub-1.c: Likewise.
* c-c++-common/ubsan/pr59503.c: Likewise.
* c-c++-common/ubsan/pr60613-1.c: Likewise.
* c-c++-common/ubsan/save-expr-1.c: Likewise.
* c-c++-common/ubsan/shift-3.c: Likewise.
* c-c++-common/ubsan/shift-6.c: Likewise.
* c-c++-common/ubsan/undefined-1.c: Likewise.
* c-c++-common/ubsan/vla-2.c: Likewise.
* c-c++-common/ubsan/vla-3.c: Likewise.
* c-c++-common/ubsan/vla-4.c: Likewise.
* g++.dg/ubsan/cxx11-shift-1.C: Likewise.
* g++.dg/ubsan/return-2.C: Likewise.

From-SVN: r208787

10 years agoHave s-macro_list depend on cc1
Rainer Orth [Mon, 24 Mar 2014 09:24:07 +0000 (09:24 +0000)]
Have s-macro_list depend on cc1

* Makefile.in (s-macro_list): Depend on cc1.

From-SVN: r208786

10 years agopr59003.c: Add -fno-common to dg-options on hppa*-*-hpux*.
John David Anglin [Mon, 24 Mar 2014 01:11:51 +0000 (01:11 +0000)]
pr59003.c: Add -fno-common to dg-options on hppa*-*-hpux*.

* gcc.dg/tree-prof/pr59003.c: Add -fno-common to dg-options on
hppa*-*-hpux*.

From-SVN: r208783

10 years agopr60092.c: Skip on 32-bit hpux.
John David Anglin [Mon, 24 Mar 2014 00:47:58 +0000 (00:47 +0000)]
pr60092.c: Skip on 32-bit hpux.

* gcc.dg/torture/pr60092.c: Skip on 32-bit hpux.

From-SVN: r208782

10 years agore PR libfortran/59313 (gfortran.dg/erf_3.F90 FAILs on Solaris/SPARC)
John David Anglin [Mon, 24 Mar 2014 00:32:41 +0000 (00:32 +0000)]
re PR libfortran/59313 (gfortran.dg/erf_3.F90 FAILs on Solaris/SPARC)

PR libfortran/59313
PR libfortran/58015
* gfortran.dg/erf_3.F90: Skip on hppa*-*-hpux*.
* gfortran.dg/round_4.f90: Likewise.

From-SVN: r208781

10 years agore PR fortran/60128 (Wrong ouput using en edit descriptor)
Dominique d'Humieres [Mon, 24 Mar 2014 00:29:43 +0000 (01:29 +0100)]
re PR fortran/60128 (Wrong ouput using en edit descriptor)

2014-03-23  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR libfortran/60128
* gfortran.dg/fmt_en.f90: Update test. XFAIL for
i?86-*-solaris2.9*.

From-SVN: r208780

10 years agoDaily bump.
GCC Administrator [Mon, 24 Mar 2014 00:17:06 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r208779

10 years ago45713.cc: Skip compile on hppa*64*-*-*.
John David Anglin [Mon, 24 Mar 2014 00:09:24 +0000 (00:09 +0000)]
45713.cc: Skip compile on hppa*64*-*-*.

* testsuite/23_containers/bitset/45713.cc: Skip compile on hppa*64*-*-*.

From-SVN: r208776

10 years agohashtable.h (_Hashtable(allocator_type)): Fix call to delegated constructor.
François Dumont [Sun, 23 Mar 2014 20:19:11 +0000 (20:19 +0000)]
hashtable.h (_Hashtable(allocator_type)): Fix call to delegated constructor.

2014-03-23  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/hashtable.h (_Hashtable(allocator_type)): Fix call
to delegated constructor.
(_Hashtable(size_type, _H1, key_equal, allocator_type)): Likewise.
(_Hashtable<_It>(_It, _It, size_type, _H1, key_equal, allocator_type)):
Likewise.
(_Hashtable(
initializer_list, size_type, _H1, key_equal, allocator_type)): Likewise.

From-SVN: r208775

10 years agore PR libstdc++/60623 (FAIL: libstdc++-abi/abi_check)
John David Anglin [Sun, 23 Mar 2014 15:12:38 +0000 (15:12 +0000)]
re PR libstdc++/60623 (FAIL: libstdc++-abi/abi_check)

PR libstdc++/60623
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.

From-SVN: r208774

10 years agoipa-utils.c (ipa_print_order): Use specified dump file.
Teresa Johnson [Sun, 23 Mar 2014 15:07:21 +0000 (15:07 +0000)]
ipa-utils.c (ipa_print_order): Use specified dump file.

2014-03-23  Teresa Johnson  <tejohnson@google.com>

* ipa-utils.c (ipa_print_order): Use specified dump file.

From-SVN: r208773

10 years agore PR rtl-optimization/60601 (profiledbootstrap fails with Ada)
Eric Botcazou [Sun, 23 Mar 2014 11:29:42 +0000 (11:29 +0000)]
re PR rtl-optimization/60601 (profiledbootstrap fails with Ada)

PR rtl-optimization/60601
* bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.

* gcc.c (eval_spec_function): Initialize save_growing_value.

From-SVN: r208770

10 years agoDaily bump.
GCC Administrator [Sun, 23 Mar 2014 00:16:53 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r208769

10 years agore PR sanitizer/60613 (Invalid signed subtraction ubsan diagnostics)
Jakub Jelinek [Sat, 22 Mar 2014 16:25:50 +0000 (17:25 +0100)]
re PR sanitizer/60613 (Invalid signed subtraction ubsan diagnostics)

PR sanitizer/60613
* internal-fn.c (ubsan_expand_si_overflow_addsub_check): For
code == MINUS_EXPR, never swap op0 with op1.

* c-c++-common/ubsan/pr60613-1.c: New test.
* c-c++-common/ubsan/pr60613-2.c: New test.

From-SVN: r208766

10 years agotoplev.c (init_local_tick): Avoid signed integer multiplication overflow.
Jakub Jelinek [Sat, 22 Mar 2014 14:03:20 +0000 (15:03 +0100)]
toplev.c (init_local_tick): Avoid signed integer multiplication overflow.

* toplev.c (init_local_tick): Avoid signed integer multiplication
overflow.
* genautomata.c (reserv_sets_hash_value): Fix rotate idiom, avoid
shift by first operand's bitsize.

From-SVN: r208765

10 years agoregress: Remove empty directory.
Matthias Klose [Sat, 22 Mar 2014 13:07:32 +0000 (13:07 +0000)]
regress: Remove empty directory.

2014-03-22  Matthias Klose  <doko@ubuntu.com>

        * g++.dg/cpp0x/regress: Remove empty directory.

From-SVN: r208764

10 years agore PR debug/60603 (.debug_macinfo/.debug_macro has wrong line numbers for built-in...
Jakub Jelinek [Sat, 22 Mar 2014 07:18:38 +0000 (08:18 +0100)]
re PR debug/60603 (.debug_macinfo/.debug_macro has wrong line numbers for built-in macros)

PR debug/60603
c-family/
* c-opts.c (c_finish_options): Restore cb_file_change call to
<built-in>.
fortran/
* cpp.c (gfc_cpp_init): Restore cb_change_file call to
<built-in>.
testsuite/
* gcc.dg/debug/dwarf2/dwarf2-macro2.c: New test.

From-SVN: r208763

10 years agoDaily bump.
GCC Administrator [Sat, 22 Mar 2014 00:16:29 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r208762

10 years agore PR fortran/60148 (strings in NAMELIST do not honor DELIM= in open statement)
Jerry DeLisle [Fri, 21 Mar 2014 22:19:44 +0000 (22:19 +0000)]
re PR fortran/60148 (strings in NAMELIST do not honor DELIM= in open statement)

2014-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu>

PR libfortran/60148
* io/transfer.c (data_transfer_init): If std= was specified, set
delim status to DELIM_NONE of no other was specified.

From-SVN: r208759

10 years agore PR fortran/60148 (strings in NAMELIST do not honor DELIM= in open statement)
Jerry DeLisle [Fri, 21 Mar 2014 22:14:36 +0000 (22:14 +0000)]
re PR fortran/60148 (strings in NAMELIST do not honor DELIM= in open statement)

2014-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/60148
* gfortran.texi: Add description of namelist DELIM= behavior.

From-SVN: r208757

10 years agore PR target/60610 (ICE in convert_regs_1, at reg-stack.c:3064)
Jakub Jelinek [Fri, 21 Mar 2014 21:24:31 +0000 (22:24 +0100)]
re PR target/60610 (ICE in convert_regs_1, at reg-stack.c:3064)

PR target/60610
* config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH,
redefine to 1 or 0.
* config/i386/darwin.h (TARGET_64BIT_P): Redefine to
TARGET_ISA_64BIT_P(x).

From-SVN: r208756

10 years agore PR libstdc++/60587 (debug-mode -std=c++11 vector::insert(pos, begin, end) derefere...
Jonathan Wakely [Fri, 21 Mar 2014 18:54:06 +0000 (18:54 +0000)]
re PR libstdc++/60587 (debug-mode -std=c++11 vector::insert(pos, begin, end) dereferences begin too eagerly)

PR libstdc++/60587
* include/debug/functions.h (_Is_contiguous_sequence): Define.
(__foreign_iterator): Accept additional iterator. Do not dispatch on
iterator category.
(__foreign_iterator_aux2): Likewise. Add overload for iterators
from different types of debug container. Use _Is_contiguous_sequence
instead of is_lvalue_reference.
(__foreign_iterator_aux3): Accept additional iterator. Avoid
dereferencing past-the-end iterator.
(__foreign_iterator_aux4): Use const value_type* instead of
potentially user-defined const_pointer type.
* include/debug/macros.h (__glibcxx_check_insert_range): Fix comment
and pass end iterator to __gnu_debug::__foreign_iterator.
(__glibcxx_check_insert_range_after): Likewise.
(__glibcxx_check_max_load_factor): Fix comment.
* include/debug/vector (_Is_contiguous_sequence): Define partial
specializations.
* testsuite/23_containers/vector/debug/57779_neg.cc: Remove
-std=gnu++11 option and unused header.
* testsuite/23_containers/vector/debug/60587.cc: New.
* testsuite/23_containers/vector/debug/60587_neg.cc: New.

From-SVN: r208755

10 years agopr60033.C: Use target c++1y.
Paolo Carlini [Fri, 21 Mar 2014 17:06:11 +0000 (17:06 +0000)]
pr60033.C: Use target c++1y.

2014-03-21  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp1y/pr60033.C: Use target c++1y.
* g++.dg/cpp1y/pr60393.C: Likewise.

From-SVN: r208753

10 years agore PR c++/60384 ([c++1y] ICE with invalid typedef)
Paolo Carlini [Fri, 21 Mar 2014 16:35:26 +0000 (16:35 +0000)]
re PR c++/60384 ([c++1y] ICE with invalid typedef)

/cp
2014-03-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60384
* name-lookup.c (push_class_level_binding_1): Check identifier_p
on the name argument.

/testsuite
2014-03-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60384
* g++.dg/cpp1y/pr60384.C: New.

From-SVN: r208752

10 years agors6000.c (rs6000_expand_vector_set): Generate a pattern for vector nor instead of...
Bill Schmidt [Fri, 21 Mar 2014 16:14:11 +0000 (16:14 +0000)]
rs6000.c (rs6000_expand_vector_set): Generate a pattern for vector nor instead of subtract from splat(-1).

2014-03-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a
pattern for vector nor instead of subtract from splat(-1).
(altivec_expand_vec_perm_const_le): Likewise.

From-SVN: r208750

10 years agore PR target/60598 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2239)
Richard Henderson [Fri, 21 Mar 2014 15:31:25 +0000 (08:31 -0700)]
re PR target/60598 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2239)

PR target/60598

* ifcvt.c (dead_or_predicable): Return FALSE if there are any frame
related insns after epilogue_completed.
* gcc.dg/pr60598.c: New test.

From-SVN: r208749

10 years agore PR ipa/59176 (ICE edge points to wrong declaration / verify_cgraph_node failed)
Martin Jambor [Fri, 21 Mar 2014 12:59:35 +0000 (13:59 +0100)]
re PR ipa/59176 (ICE edge points to wrong declaration / verify_cgraph_node failed)

2014-03-21  Martin Jambor  <mjambor@suse.cz>

PR ipa/59176
* cgraph.h (symtab_node): New flag body_removed.
* ipa.c (symtab_remove_unreachable_nodes): Set body_removed flag
when removing bodies.
* symtab.c (dump_symtab_base): Dump body_removed flag.
* cgraph.c (verify_edge_corresponds_to_fndecl): Skip nodes which
had their bodies removed.

testsuite/
        * g++.dg/torture/pr59176.C: New test.

From-SVN: r208748

10 years agore PR middle-end/60419 (ICE Segmentation fault)
Martin Jambor [Fri, 21 Mar 2014 12:48:02 +0000 (13:48 +0100)]
re PR middle-end/60419 (ICE Segmentation fault)

2014-03-21  Martin Jambor  <mjambor@suse.cz>

PR ipa/60419
* ipa.c (symtab_remove_unreachable_nodes): Clear thunk flag of nodes
in the border.

testsuite/
* g++.dg/ipa/pr60419.C: New test.

From-SVN: r208747

10 years agore PR tree-optimization/60577 (inefficient FDO instrumentation code)
Richard Biener [Fri, 21 Mar 2014 11:52:50 +0000 (11:52 +0000)]
re PR tree-optimization/60577 (inefficient FDO instrumentation code)

2014-03-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60577
* tree-core.h (struct tree_base): Document nothrow_flag use
in VAR_DECL_NONALIASED.
* tree.h (VAR_DECL_NONALIASED): New.
(may_be_aliased): Adjust.
* coverage.c (build_var): Set VAR_DECL_NONALIASED.

* gcc.dg/tree-ssa/ssa-lim-11.c: New testcase.

From-SVN: r208746

10 years agoconfigure.ac: Move BUILD_CONFIG set up earlier.
Jakub Jelinek [Fri, 21 Mar 2014 07:16:06 +0000 (08:16 +0100)]
configure.ac: Move BUILD_CONFIG set up earlier.

* configure.ac: Move BUILD_CONFIG set up earlier.  Add
--enable-vtable-verify option parsing.  Don't add
target-libsanitizer to bootstrap_target_libs unless
--with-build-config=bootstrap-asan or
--with-build-config=bootstrap-ubsan.  Don't add target-libvtv
to bootstrap_target_libs unless --enable-vtable-verify.
* configure: Regenerated.

From-SVN: r208745

10 years agoDaily bump.
GCC Administrator [Fri, 21 Mar 2014 00:16:46 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r208743

10 years ago* expr.c (expand_expr_real_1): Remove outdated comment.
Eric Botcazou [Thu, 20 Mar 2014 23:47:23 +0000 (23:47 +0000)]
* expr.c (expand_expr_real_1): Remove outdated comment.

From-SVN: r208740

10 years agore PR fortran/60599 (Testsuite's scan-module-absence no longer works)
Tobias Burnus [Thu, 20 Mar 2014 23:16:57 +0000 (00:16 +0100)]
re PR fortran/60599 (Testsuite's scan-module-absence no longer works)

2014-03-21  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60599
        * lib/gcc-dg.exp (scan-module): Uncompress .mod files for
        reading.

From-SVN: r208739

10 years agore PR other/60589 (Parallel install fails due to multiple cilk.h installs)
Tobias Burnus [Thu, 20 Mar 2014 19:50:51 +0000 (20:50 +0100)]
re PR other/60589 (Parallel install fails due to multiple cilk.h installs)

2014-03-20  Tobias Burnus  <burnus@net-b.de>

        PR other/60589

        Reverted:
        2014-03-09  Tobias Burnus  <burnus@net-b.de>

        * Makefile.am: Install cilk.h.
        * Makefile.in: Regenerate.
        * aclocal.m4: Regenerate.

From-SVN: r208736

10 years agore PR middle-end/60597 (ICE in df_refs_verify, at df-scan.c:4323)
Jakub Jelinek [Thu, 20 Mar 2014 19:47:09 +0000 (20:47 +0100)]
re PR middle-end/60597 (ICE in df_refs_verify, at df-scan.c:4323)

PR middle-end/60597
* ira.c (adjust_cleared_regs): Call copy_rtx on
*reg_equiv[REGNO (loc)].src_p before passing it to
simplify_replace_fn_rtx.

* g++.dg/opt/pr60597.C: New test.

From-SVN: r208735

10 years agore PR c++/60572 (ICE deriving from class with invalid member)
Jakub Jelinek [Thu, 20 Mar 2014 19:45:09 +0000 (20:45 +0100)]
re PR c++/60572 (ICE deriving from class with invalid member)

PR c++/60572
* init.c (build_zero_init_1): Ignore fields with error_mark_node
type.

* g++.dg/init/pr60572.C: New test.

From-SVN: r208734

10 years agocompiler: Consider the depth of a nested composite literal during traversal.
Ian Lance Taylor [Thu, 20 Mar 2014 19:37:50 +0000 (19:37 +0000)]
compiler: Consider the depth of a nested composite literal during traversal.

Fixes issue 7590.

From-SVN: r208731

10 years agocrossconfig.m4: Support spu-*-elf* targets.
Ulrich Weigand [Thu, 20 Mar 2014 18:57:07 +0000 (18:57 +0000)]
crossconfig.m4: Support spu-*-elf* targets.

* crossconfig.m4: Support spu-*-elf* targets.
* configure: Regenerate.

From-SVN: r208730

10 years agoChangeLog: Fix typo
Joel Sherrill [Thu, 20 Mar 2014 16:15:39 +0000 (16:15 +0000)]
ChangeLog: Fix typo

From-SVN: r208714

10 years agoconfig.host (v850*-*-*): Add to tmake_file instead of resetting it.
Joel Sherrill [Thu, 20 Mar 2014 16:11:10 +0000 (16:11 +0000)]
config.host (v850*-*-*): Add to tmake_file instead of resetting it.

2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>

* config.host (v850*-*-*): Add to tmake_file instead of resetting
it. This was removing the v850*-*-rtems* settings.

From-SVN: r208708

10 years agore PR target/60568 (lto1: internal compiler error: in insn_min_length, at config...
Jakub Jelinek [Thu, 20 Mar 2014 16:05:41 +0000 (17:05 +0100)]
re PR target/60568 (lto1: internal compiler error: in insn_min_length, at config/i386/i386.md:1599)

PR target/60568
* config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
into CONST, put pic register as first operand of PLUS.  Use
gen_const_mem for both 32-bit and 64-bit PIC got loads.

From-SVN: r208706

10 years agoDelete obsolete definition of MEMORY_MOVE_COST in AArch64.
Ramana Radhakrishnan [Thu, 20 Mar 2014 15:59:15 +0000 (15:59 +0000)]
Delete obsolete definition of MEMORY_MOVE_COST in AArch64.

2014-03-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        * config/aarch64/aarch64.c (MEMORY_MOVE_COST): Delete.

From-SVN: r208705

10 years agosparc.c (sparc_do_work_around_errata): Implement work around for store forwarding...
Eric Botcazou [Thu, 20 Mar 2014 11:39:39 +0000 (11:39 +0000)]
sparc.c (sparc_do_work_around_errata): Implement work around for store forwarding issue in the FPU on the UT699.

* config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
around for store forwarding issue in the FPU on the UT699.
* config/sparc/sparc.md (in_branch_delay): Return false for single FP
loads and operations if -mfix-ut699 is specified.
(divtf3_hq): Tweak attribute.
(sqrttf2_hq): Likewise.

From-SVN: r208695

10 years agocalls.c (store_one_arg): Remove incorrect const qualification on the type of the...
Eric Botcazou [Thu, 20 Mar 2014 11:35:22 +0000 (11:35 +0000)]
calls.c (store_one_arg): Remove incorrect const qualification on the type of the temporary.

* calls.c (store_one_arg): Remove incorrect const qualification on the
type of the temporary.
* cfgexpand.c (expand_return): Likewise.
* expr.c (expand_constructor): Likewise.
(expand_expr_real_1): Likewise.

From-SVN: r208694

10 years agore PR fortran/60543 (Function with side effect removed by the optimizer.)
Tobias Burnus [Thu, 20 Mar 2014 06:53:01 +0000 (07:53 +0100)]
re PR fortran/60543 (Function with side effect removed by the optimizer.)

2014-03-19  Tobias Burnus  <burnus@net-b.>

        PR fortran/60543
        * io.c (check_io_constraints): Use gfc_unset_implicit_pure.
        * resolve.c (resolve_ordinary_assign): Ditto.

From-SVN: r208693

10 years agoarm.c (arm_dwarf_register_span): Update the element number of parts.
Zhenqiang Chen [Thu, 20 Mar 2014 02:18:14 +0000 (02:18 +0000)]
arm.c (arm_dwarf_register_span): Update the element number of parts.

ChangeLog:
2014-03-20  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

* config/arm/arm.c (arm_dwarf_register_span): Update the element number
of parts.

testsuite/ChangeLog:
2014-03-20  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

* gcc.target/arm/neon-modes-3.c: Add "-g" option.

From-SVN: r208692

10 years agoDaily bump.
GCC Administrator [Thu, 20 Mar 2014 00:17:18 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r208691

10 years agore PR target/60039 (sh3 optimisation bug with -O2)
Kaz Kojima [Wed, 19 Mar 2014 22:51:47 +0000 (22:51 +0000)]
re PR target/60039 (sh3 optimisation bug with -O2)

PR target/60039
* config/sh/sh.md (udivsi3_i1): Clobber R1 register

From-SVN: r208688

10 years agore PR fortran/60543 (Function with side effect removed by the optimizer.)
Tobias Burnus [Wed, 19 Mar 2014 21:03:14 +0000 (22:03 +0100)]
re PR fortran/60543 (Function with side effect removed by the optimizer.)

2014-03-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.h (gfc_unset_implicit_pure): New prototype.
        * resolve.c (gfc_unset_implicit_pure): New.
        (resolve_structure_cons, resolve_function,
        pure_subroutine): Use it.
        * decl.c (match_old_style_init, gfc_match_data,
        match_pointer_init, variable_decl): Ditto.
        * expr.c (gfc_check_pointer_assign): Ditto.
        * intrinsic.c (gfc_intrinsic_sub_interface): Ditto.
        * io.c (match_vtag, gfc_match_open, gfc_match_close,
        match_filepos, gfc_match_inquire, gfc_match_print,
        gfc_match_wait): Ditto.
        * match.c (gfc_match_critical, gfc_match_stopcode,
        lock_unlock_statement, sync_statement, gfc_match_allocate,
        gfc_match_deallocate): Ditto.
        * parse.c (decode_omp_directive): Ditto.
        * symbol.c (gfc_add_save): Ditto.

2014-03-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.dg/implicit_pure_4.f90: New.

From-SVN: r208687

10 years agore PR c++/51474 ([c++0x] ICE with pure virtual function in initialization of non...
Paolo Carlini [Wed, 19 Mar 2014 18:21:52 +0000 (18:21 +0000)]
re PR c++/51474 ([c++0x] ICE with pure virtual function in initialization of non-static data member)

/cp
2014-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51474
* call.c (build_new_method_call_1): Handle pure virtuals called by
NSDMIs too.

/testsuite
2014-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51474
* g++.dg/cpp0x/nsdmi-virtual2.C: New.

From-SVN: r208686

10 years agoLog environment variables in set_ld_library_path_env_vars
H.J. Lu [Wed, 19 Mar 2014 16:59:18 +0000 (16:59 +0000)]
Log environment variables in set_ld_library_path_env_vars

GNU linker sets DT_RPATH from the environment variable LD_RUN_PATH.
set_ld_library_path_env_vars sets a few environment variables including
LD_RUN_PATH.  This patch logs all environment variables set by
set_ld_library_path_env_vars so that one can recreate the same
executable as "make check" run.

PR testsuite/60590
* lib/target-libpath.exp (set_ld_library_path_env_vars): Log
LD_LIBRARY_PATH, LD_RUN_PATH, SHLIB_PATH, LD_LIBRARY_PATH_32,
LD_LIBRARY_PATH_64 and DYLD_LIBRARY_PATH.

From-SVN: r208685

10 years agore PR c++/60332 ([c++1y] ICE with auto in function-pointer cast)
Paolo Carlini [Wed, 19 Mar 2014 15:48:39 +0000 (15:48 +0000)]
re PR c++/60332 ([c++1y] ICE with auto in function-pointer cast)

2014-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60332
* g++.dg/cpp1y/pr60332.C: New.

From-SVN: r208684

10 years ago[ARM] [Trivial] Fix shortening of field name extend.
James Greenhalgh [Wed, 19 Mar 2014 15:47:59 +0000 (15:47 +0000)]
[ARM] [Trivial] Fix shortening of field name extend.

gcc/
* config/arm/aarch-common-protos.h
(alu_cost_table): Fix spelling of "extend".
* config/arm/arm.c (arm_new_rtx_costs): Fix spelling of "extend".

From-SVN: r208683

10 years agore PR c++/60553 (segfault in gt_ggc_mx_lang_tree_node in Chromium with LTO)
Richard Biener [Wed, 19 Mar 2014 15:37:28 +0000 (15:37 +0000)]
re PR c++/60553 (segfault in gt_ggc_mx_lang_tree_node in Chromium with LTO)

2014-03-19  Richard Biener  <rguenther@suse.de>

PR middle-end/60553
* tree-core.h (tree_type_common): Re-order pointer members
to reduce recursion depth during GC walks.

lto/
* lto-tree.h (lang_tree_node): For types use TYPE_NEXT_VARIANT
instead of TREE_CHAIN as chain_next.

From-SVN: r208682

10 years agore PR sanitizer/60569 (Segfault with -flto and -fsanitize=undefined)
Marek Polacek [Wed, 19 Mar 2014 12:25:04 +0000 (12:25 +0000)]
re PR sanitizer/60569 (Segfault with -flto and -fsanitize=undefined)

PR sanitizer/60569
* ubsan.c (ubsan_type_descriptor): Check that DECL_NAME is nonnull
before accessing it.
testsuite/
* g++.dg/ubsan/pr60569.C: New test.

From-SVN: r208681

10 years agoRequire tls_runtime in gcc.dg/tls/pr58595.c
Rainer Orth [Wed, 19 Mar 2014 12:05:25 +0000 (12:05 +0000)]
Require tls_runtime in gcc.dg/tls/pr58595.c

* gcc.dg/tls/pr58595.c: Require tls_runtime instead of tls.

From-SVN: r208680

10 years agolto.c (lto_wpa_write_files): Move call to lto_promote_cross_file_statics ...
Richard Biener [Wed, 19 Mar 2014 11:35:59 +0000 (11:35 +0000)]
lto.c (lto_wpa_write_files): Move call to lto_promote_cross_file_statics ...

2014-03-19  Richard Biener  <rguenther@suse.de>

* lto.c (lto_wpa_write_files): Move call to
lto_promote_cross_file_statics ...
(do_whole_program_analysis): ... here, into the partitioning
block.  Do not ggc_collect after lto_wpa_write_files but
for a last time before it.

From-SVN: r208679

10 years agore PR lto/59543 (lto1: fatal error: Cgraph edge statement index out of range)
Richard Biener [Wed, 19 Mar 2014 09:22:15 +0000 (09:22 +0000)]
re PR lto/59543 (lto1: fatal error: Cgraph edge statement index out of range)

2014-03-19  Richard Biener  <rguenther@suse.de>

PR lto/59543
* lto-streamer-in.c (input_function): In WPA stage do not drop
debug stmts.

From-SVN: r208677

10 years agore PR tree-optimization/60559 (g++.dg/vect/pr60023.cc fails with -fno-tree-dce (ICE))
Jakub Jelinek [Wed, 19 Mar 2014 09:13:32 +0000 (10:13 +0100)]
re PR tree-optimization/60559 (g++.dg/vect/pr60023.cc fails with -fno-tree-dce (ICE))

PR tree-optimization/60559
* vectorizable_mask_load_store): Replace scalar MASK_LOAD
with build_zero_cst assignment.

* g++.dg/vect/pr60559.cc: New test.

From-SVN: r208676

10 years agore PR lto/60571 (FTBFS on hurd-i386)
Jakub Jelinek [Wed, 19 Mar 2014 07:18:46 +0000 (08:18 +0100)]
re PR lto/60571 (FTBFS on hurd-i386)

PR lto/60571
* lto.c (wait_for_child): Define WCONTINUED if not defined to 0.
Fix formatting.

From-SVN: r208675

10 years agore PR target/60563 (FAIL: g++.dg/ext/sync-4.C on *-apple-darwin*)
Ian Lance Taylor [Wed, 19 Mar 2014 03:38:21 +0000 (03:38 +0000)]
re PR target/60563 (FAIL: g++.dg/ext/sync-4.C on *-apple-darwin*)

PR target/60563
* g++.dg/ext/sync-4.C (int32_t): Remove typedef.
(ditype): Rename typedef from int64_t.

From-SVN: r208674

10 years agoDaily bump.
GCC Administrator [Wed, 19 Mar 2014 00:16:49 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r208672

10 years agore PR c/55383 (-Wcast-qual reports incorrect message)
Manuel López-Ibáñez [Tue, 18 Mar 2014 23:22:02 +0000 (23:22 +0000)]
re PR c/55383 (-Wcast-qual reports incorrect message)

2014-03-19  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c/55383
* gcc.dg/cast-qual-3.c: New.
Revert:
2014-03-18  Manuel López-Ibáñez  <manu@gcc.gnu.org>
* c-c++-common/Wcast-qual-1.c: More precise match text.

From-SVN: r208669

10 years agore PR fortran/55207 ([F08] Variables declared in the main program should implicitly...
Janus Weil [Tue, 18 Mar 2014 22:15:10 +0000 (23:15 +0100)]
re PR fortran/55207 ([F08] Variables declared in the main program should implicitly get the SAVE attribute)

2014-03-18  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55207
PR fortran/60549
* decl.c (match_attr_spec): Revert r208590.

2014-03-18  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55207
PR fortran/60549
* gfortran.dg/assumed_rank_7.f90: Revert r208590.
* gfortran.dg/c_ptr_tests_16.f90: Ditto.
* gfortran.dg/inline_sum_bounds_check_1.f90: Ditto.
* gfortran.dg/intent_optimize_1.f90: Ditto.
* gfortran.dg/pointer_init_9.f90: Ditto.
* gfortran.dg/volatile4.f90: Ditto.
* gfortran.dg/volatile6.f90: Ditto.

From-SVN: r208668

10 years agore PR target/60562 (FAIL: gcc.target/i386/excess-precision-3.c execution test after...
Richard Henderson [Tue, 18 Mar 2014 20:24:29 +0000 (13:24 -0700)]
re PR target/60562 (FAIL: gcc.target/i386/excess-precision-3.c execution test after r208587)

PR target/60562

        * config/i386/i386.md (*float<SWI48><MODEF>2_sse): Check
X87_ENABLE_FLOAT for alternative 0.

From-SVN: r208666

10 years agore PR rtl-optimization/56356 (DJGPP compiler crashing)
Kai Tietz [Tue, 18 Mar 2014 20:02:54 +0000 (21:02 +0100)]
re PR rtl-optimization/56356 (DJGPP compiler crashing)

PR rtl-optimization/56356
* sdbout.c (sdbout_parms): Verify that parms'
incoming argument is valid.
(sdbout_reg_parms): Likewise.

From-SVN: r208663

10 years agore PR target/60562 (FAIL: gcc.target/i386/excess-precision-3.c execution test after...
Richard Henderson [Tue, 18 Mar 2014 19:59:54 +0000 (12:59 -0700)]
re PR target/60562 (FAIL: gcc.target/i386/excess-precision-3.c execution test after r208587)

PR target/60562

        * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to
        be shadowed by *float<SWI48><MODEF>2_sse.  Test X87_ENABLE_FLOAT.

From-SVN: r208662

10 years agore PR c/55383 (-Wcast-qual reports incorrect message)
Manuel López-Ibáñez [Tue, 18 Mar 2014 19:58:39 +0000 (19:58 +0000)]
re PR c/55383 (-Wcast-qual reports incorrect message)

2014-03-18  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c/55383
c/
* c-typeck.c: Use correct format string in cast-qual warning
testsuite/
* c-c++-common/Wcast-qual-1.c: More precise match text.

From-SVN: r208661