]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
12 years agoi386.md (*movsf_internal): Change type of alternatives 3,4 to imov.
Uros Bizjak [Mon, 1 Apr 2013 13:42:52 +0000 (15:42 +0200)] 
i386.md (*movsf_internal): Change type of alternatives 3,4 to imov.

* config/i386/i386.md (*movsf_internal): Change type of
alternatives 3,4 to imov.

From-SVN: r197304

12 years agobackport: re PR middle-end/45472 ([Middle-end volatile semantics] ICE: in move_op_asc...
Andrey Belevantsev [Mon, 1 Apr 2013 08:17:06 +0000 (12:17 +0400)] 
backport: re PR middle-end/45472 ([Middle-end volatile semantics] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2)

        Backport from mainline
        2013-02-27  Andrey Belevantsev  <abel@ispras.ru>

        PR middle-end/45472

        * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr
        when the may_trap_p bit of the exprs being merged differs.
        Reorder tests for speculativeness in the logical and operator.

        Backport from mainline
         2013-03-05  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/56461
        * sel-sched-ir.c (free_sched_pools): Release
        succs_info_pool.stack[succs_info_pool.max_top] vectors too
        if succs_info_pool.max_top isn't -1.

        Backport from mainline
        2013-02-27  Andrey Belevantsev  <abel@ispras.ru>

        PR middle-end/45472
        * gcc.dg/pr45472.c: New test.

From-SVN: r197299

12 years agobackport: re PR middle-end/55889 (ICE: in move_op_ascend, at sel-sched.c:6153 with...
Andrey Belevantsev [Mon, 1 Apr 2013 08:11:11 +0000 (12:11 +0400)] 
backport: re PR middle-end/55889 (ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling)

        Backport from mainline
        2012-02-19  Andrey Belevantsev  <abel@ispras.ru>

        PR middle-end/55889

        * sel-sched.c: Include ira.h.
        (implicit_clobber_conflict_p): New function.
        (moveup_expr): Use it.
        * Makefile.in (sel-sched.o): Depend on ira.h.

From-SVN: r197298

12 years agobackport: re PR middle-end/56077 (volatile ignored when function inlined)
Andrey Belevantsev [Mon, 1 Apr 2013 08:06:18 +0000 (12:06 +0400)] 
backport: re PR middle-end/56077 (volatile ignored when function inlined)

        Backport from mainline
        2013-02-25  Andrey Belevantsev  <abel@ispras.ru>
        Alexander Monakov  <amonakov@ispras.ru>

        PR middle-end/56077
        * sched-deps.c (sched_analyze_insn): When reg_pending_barrier,
        flush pending lists also on non-jumps.  Adjust comment.

From-SVN: r197297

12 years agoDaily bump.
GCC Administrator [Mon, 1 Apr 2013 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r197293

12 years agoDaily bump.
GCC Administrator [Sun, 31 Mar 2013 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r197274

12 years agoinvoke.texi (AVR Options): Tweak link for AVR-LibC user manual.
Gerald Pfeifer [Sat, 30 Mar 2013 11:10:22 +0000 (11:10 +0000)] 
invoke.texi (AVR Options): Tweak link for AVR-LibC user manual.

* doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual.
* doc/extend.texi (Named Address Spaces): Ditto.
(Variable Attributes): Ditto.

From-SVN: r197263

12 years agoDaily bump.
GCC Administrator [Sat, 30 Mar 2013 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r197255

12 years agore PR c++/56774 (G++ 4.8 reverses variadic template types during unpacking)
Jason Merrill [Fri, 29 Mar 2013 18:59:35 +0000 (14:59 -0400)] 
re PR c++/56774 (G++ 4.8 reverses variadic template types during unpacking)

PR c++/56774
PR c++/35722
* pt.c (unify_pack_expansion): Fix indexing.

From-SVN: r197246

12 years agoDaily bump.
GCC Administrator [Fri, 29 Mar 2013 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r197221

12 years agotoplev.c (process_options): Do not disable -fomit-frame-pointer on a general basis...
Eric Botcazou [Thu, 28 Mar 2013 08:30:32 +0000 (08:30 +0000)] 
toplev.c (process_options): Do not disable -fomit-frame-pointer on a general basis if...

* toplev.c (process_options): Do not disable -fomit-frame-pointer on a
general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS
is not enabled.

From-SVN: r197188

12 years agoDaily bump.
GCC Administrator [Thu, 28 Mar 2013 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r197182

12 years agoFix typo in ChangeLog.
Walter Lee [Wed, 27 Mar 2013 06:52:13 +0000 (06:52 +0000)] 
Fix typo in ChangeLog.

From-SVN: r197151

12 years agobackport: tilegx.c (tilegx_expand_prologue): Avoid double-decrement of next_scratch_r...
Walter Lee [Wed, 27 Mar 2013 06:39:01 +0000 (06:39 +0000)] 
backport: tilegx.c (tilegx_expand_prologue): Avoid double-decrement of next_scratch_regno.

Backport from mainline:
2013-03-27  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid
double-decrement of next_scratch_regno.

From-SVN: r197149

12 years agobackport: tilegx.md (insn_v1mulu): Fix constraints on input operands.
Walter Lee [Wed, 27 Mar 2013 06:37:39 +0000 (06:37 +0000)] 
backport: tilegx.md (insn_v1mulu): Fix constraints on input operands.

Backport from mainline:
2013-03-27  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.md (insn_v1mulu): Fix constraints on
input operands.
(insn_v1mulus): Ditto.
(insn_v2muls): Ditto.

From-SVN: r197148

12 years agobackport: tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete extra tab.
Walter Lee [Wed, 27 Mar 2013 06:36:17 +0000 (06:36 +0000)] 
backport: tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete extra tab.

Backport from mainline:
2013-03-27  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete
extra tab.
(ASM_OUTPUT_ADDR_DIFF_ELT): Ditto.

From-SVN: r197147

12 years agobackport: tilegx.md (*sibcall_insn): Fix type atribute for jr.
Walter Lee [Wed, 27 Mar 2013 06:35:05 +0000 (06:35 +0000)] 
backport: tilegx.md (*sibcall_insn): Fix type atribute for jr.

Backport from mainline:
2013-03-27  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute
for jr.
(*sibcall_value): Ditto.

From-SVN: r197146

12 years agobackport: tilegx.md (insn_mnz_<mode>): Replaced by ...
Walter Lee [Wed, 27 Mar 2013 06:33:37 +0000 (06:33 +0000)] 
backport: tilegx.md (insn_mnz_<mode>): Replaced by ...

Backport from mainline:
2013-03-27  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ...
(insn_mnz_v8qi): ... this ...
(insn_mnz_v4hi): ... and this.  Replace (const_int 0) with the
vector equivalent.
(insn_v<n>mnz): Replaced by ...
(insn_v1mnz): ... this ...
(insn_v2mnz): ... and this.  Replace (const_int 0) with the vector
equivalent.
(insn_mz_<mode>): Replaced by ...
(insn_mz_v8qi): ... this ...
(insn_mz_v4hi): ... and this.  Replace (const_int 0) with the
vector equivalent.
(insn_v<n>mz): Replaced by ...
(insn_v1mz): ... this ...
(insn_v2mz): ... and this.  Replace (const_int 0) with the vector
equivalent.

From-SVN: r197145

12 years agoDaily bump.
GCC Administrator [Wed, 27 Mar 2013 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r197127

12 years ago* doc/invoke.texi (SPARC options): Remove -mlittle-endian.
Eric Botcazou [Tue, 26 Mar 2013 22:06:01 +0000 (22:06 +0000)] 
* doc/invoke.texi (SPARC options): Remove -mlittle-endian.

From-SVN: r197122

12 years agobackport: [multiple changes]
Richard Biener [Tue, 26 Mar 2013 10:12:52 +0000 (10:12 +0000)] 
backport: [multiple changes]

2013-03-26  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2013-03-13  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56608
* tree-vect-slp.c (vect_schedule_slp): Do not remove scalar
calls when vectorizing basic-blocks.

* gcc.dg/vect/fast-math-bb-slp-call-3.c: New testcase.

        2013-03-05  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56270
* tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts
of loads after scheduling an SLP instance.

* gcc.dg/vect/slp-38.c: New testcase.

From-SVN: r197096

12 years agobackport: tilegx.h (PROFILE_BEFORE_PROLOGUE): Define.
Walter Lee [Tue, 26 Mar 2013 06:36:20 +0000 (06:36 +0000)] 
backport: tilegx.h (PROFILE_BEFORE_PROLOGUE): Define.

Backport from mainline:
2013-03-26  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define.
* config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define.

From-SVN: r197093

12 years agobackport: tilegx-builtins.h (enum tilegx_builtin): Add TILEGX_INSN_SHUFFLEBYTES1.
Walter Lee [Tue, 26 Mar 2013 06:34:27 +0000 (06:34 +0000)] 
backport: tilegx-builtins.h (enum tilegx_builtin): Add TILEGX_INSN_SHUFFLEBYTES1.

Backport from mainline:
2013-03-25  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add
TILEGX_INSN_SHUFFLEBYTES1.
* config/tilegx/tilegx.c (tilegx_builtin_info): Add entry for
shufflebytes1.
(tilegx_builtins): Ditto.
* config/tilegx/tilegx.md (insn_shufflebytes1): New pattern.

From-SVN: r197092

12 years agobackport: tilegx.c (expand_set_cint64_one_inst): Inline tests for constraint J, K...
Walter Lee [Tue, 26 Mar 2013 06:30:55 +0000 (06:30 +0000)] 
backport: tilegx.c (expand_set_cint64_one_inst): Inline tests for constraint J, K, N, P.

Backport from mainline:
2013-03-25  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline
tests for constraint J, K, N, P.

From-SVN: r197091

12 years agobackport: tilegx.c (tilegx_asm_preferred_eh_data_format): Use indirect/pcrel encoding.
Walter Lee [Tue, 26 Mar 2013 06:27:55 +0000 (06:27 +0000)] 
backport: tilegx.c (tilegx_asm_preferred_eh_data_format): Use indirect/pcrel encoding.

Backport from mainline:
2013-03-25  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format):
Use indirect/pcrel encoding.
* config/tilepro/tilepro.c (tilepro_asm_preferred_eh_data_format):
Ditto.

From-SVN: r197090

12 years agoDaily bump.
GCC Administrator [Tue, 26 Mar 2013 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r197076

12 years agobackport: re PR target/49880 (SuperH: ICE when -m4 is used with -mdiv=call-div1)
Oleg Endo [Mon, 25 Mar 2013 22:55:56 +0000 (22:55 +0000)] 
backport: re PR target/49880 (SuperH: ICE when -m4 is used with -mdiv=call-div1)

Backport from mainline:
2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
2013-03-14  Kaz Kojima  <kkojima@gcc.gnu.org>

PR target/49880
* config/sh/sh.opt (FPU_SINGLE_ONLY): New mask.
(musermode): Convert to Var(TARGET_USERMODE).
* config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY,
MASK_ARCH): Add MASK_FPU_SINGLE_ONLY.
* config/sh/sh.c (sh_option_override): Use
TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case.
* config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4
condition.
(udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of
TARGET_SH4.
(udivsi3_i4_single, divsi3_i4_single): Use
TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4.
* config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE.
(SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default.
* config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE.
(SUBTARGET_OVERRIDE_OPTIONS): New.

Backport from mainline:
2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/49880
* config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
(sdivsi3, udivsi3): Remove SH4 check and always compile these functions.

Backport from mainline:
2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/49880
* gcc.target/sh/pr49880-1.c: New.
* gcc.target/sh/pr49880-2.c: New.
* gcc.target/sh/pr49880-3.c: New.
* gcc.target/sh/pr49880-4.c: New.
* gcc.target/sh/pr49880-5.c: New.

From-SVN: r197071

12 years agobackport: t-sh (MULTILIB_MATCHES): Match m2a-single-only to m2a-single instead of...
Oleg Endo [Mon, 25 Mar 2013 22:13:49 +0000 (22:13 +0000)] 
backport: t-sh (MULTILIB_MATCHES): Match m2a-single-only to m2a-single instead of m2e.

Backport from mainline:
2012-04-03  Kaz Kojima  <kkojima@gcc.gnu.org>

* config/sh/t-sh (MULTILIB_MATCHES): Match m2a-single-only
to m2a-single instead of m2e.

From-SVN: r197070

12 years agoDaily bump.
GCC Administrator [Mon, 25 Mar 2013 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r197027

12 years agoDaily bump.
GCC Administrator [Sun, 24 Mar 2013 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r197014

12 years agore PR c++/54277 (Template class member referred to with implicit this inside lambda...
Jason Merrill [Sat, 23 Mar 2013 16:55:50 +0000 (12:55 -0400)] 
re PR c++/54277 (Template class member referred to with implicit this inside lambda is incorrectly const-qualified)

PR c++/54277
* semantics.c (lambda_capture_field_type): Don't build a
magic decltype for pointer types.
(lambda_proxy_type): Likewise.
(finish_non_static_data_member): Get the quals from
the object.

From-SVN: r197009

12 years agoAdd missing PR number
Eric Botcazou [Sat, 23 Mar 2013 08:38:50 +0000 (08:38 +0000)] 
Add missing PR number

From-SVN: r197001

12 years agore PR c++/56646 (ICE: in cp_parser_late_return_type_opt, at cp/parser.c:16970)
Jason Merrill [Sat, 23 Mar 2013 05:01:12 +0000 (01:01 -0400)] 
re PR c++/56646 (ICE: in cp_parser_late_return_type_opt, at cp/parser.c:16970)

PR c++/56646
* parser.c (cp_parser_late_return_type_opt): Save and restore
current_class_ptr/ref.

From-SVN: r197000

12 years agoDefine ix86_args only if USED_FOR_TARGET isn't defined
H.J. Lu [Sat, 23 Mar 2013 02:23:44 +0000 (02:23 +0000)] 
Define ix86_args only if USED_FOR_TARGET isn't defined

* config/i386/i386.h (ix86_args): Define only if USED_FOR_TARGET
isn't defined.

From-SVN: r196999

12 years agoDaily bump.
GCC Administrator [Sat, 23 Mar 2013 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r196987

12 years agoSet callee_pass_avx256_p before emitting call instruction
H.J. Lu [Fri, 22 Mar 2013 16:36:22 +0000 (16:36 +0000)] 
Set callee_pass_avx256_p before emitting call instruction

gcc/

PR target/56560
* config/i386/i386.c (init_cumulative_args): Also set
cum->callee_return_avx256_p.
(ix86_function_arg): Set cum->callee_pass_avx256_p.  Set
cfun->machine->callee_pass_avx256_p only when MODE == VOIDmode.

* config/i386/i386.h (ix86_args): Add callee_pass_avx256_p and
callee_return_avx256_p.

gcc/

PR target/56560
* gcc.target/i386/pr56560.c: New file.

From-SVN: r196976

12 years agoDaily bump.
GCC Administrator [Fri, 22 Mar 2013 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r196894

12 years agoDaily bump.
GCC Administrator [Thu, 21 Mar 2013 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r196845

12 years agoFix handling of dummy types for -fdump-go-spec
Rainer Orth [Wed, 20 Mar 2013 11:53:40 +0000 (11:53 +0000)] 
Fix handling of dummy types for -fdump-go-spec

Backport from mainline:
2012-12-04  Ian Lance Taylor  <iant@google.com>

* godump.c (find_dummy_types): Output a dummy type if we couldn't
output the real type.

From-SVN: r196822

12 years agore PR bootstrap/56258 (Please upgrade doc/*.texi to the latest texinfo package(s))
Jack Howarth [Wed, 20 Mar 2013 11:06:35 +0000 (11:06 +0000)] 
re PR bootstrap/56258 (Please upgrade doc/*.texi to the latest texinfo package(s))

2013-03-20  Jack Howarth  <howarth@bromo.med.uc.edu>

PR bootstrap/56258
* doc/generic.texi (POINTER_PLUS_EXPR): Use @item instead of @itemx.
(PLUS_EXPR): Likewise.
* doc/cppopts.texi (--help): Likewise.
* doc/invoke.texi (-fenable-@var{kind}-@var{pass}): Likewise.
(-fdump-rtl-cprop_hardreg): Likewise.
(-fdump-rtl-csa): Likewise.
(-fdump-rtl-dce): Likewise.
(-fdump-rtl-dbr): Likewise.
(-fdump-rtl-into_cfglayout): Likewise.
(-fdump-rtl-outof_cfglayout): Likewise.

From-SVN: r196819

12 years agoDaily bump.
GCC Administrator [Wed, 20 Mar 2013 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r196802

12 years agoDaily bump.
GCC Administrator [Tue, 19 Mar 2013 09:20:26 +0000 (09:20 +0000)] 
Daily bump.

From-SVN: r196786

12 years agore PR target/56470 (ICE output_operand: invalid shift operand)
Richard Earnshaw [Mon, 18 Mar 2013 11:52:08 +0000 (11:52 +0000)] 
re PR target/56470 (ICE output_operand: invalid shift operand)

PR target/56470
* arm.c (shift_op): Validate RTL pattern on the fly.
(arm_print_operand, case 'S'): Don't use shift_operator to validate
the RTL.

From-SVN: r196780

12 years agoDaily bump.
GCC Administrator [Mon, 18 Mar 2013 00:20:52 +0000 (00:20 +0000)] 
Daily bump.

From-SVN: r196760

12 years agoDaily bump.
GCC Administrator [Sun, 17 Mar 2013 00:19:41 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r196719

12 years agore PR libstdc++/56468 (Clang exposes bug with unexpected forward-declaration of type_...
Jonathan Wakely [Sat, 16 Mar 2013 20:22:40 +0000 (20:22 +0000)] 
re PR libstdc++/56468 (Clang exposes bug with unexpected forward-declaration of type_info)

PR libstdc++/56468
* libsupc++/exception_ptr.h (type_info): Declare.

From-SVN: r196711

12 years agore PR libstdc++/56002 ([C++11] allow generic locks to be used without requiring platt...
Jonathan Wakely [Sat, 16 Mar 2013 20:22:30 +0000 (20:22 +0000)] 
re PR libstdc++/56002 ([C++11] allow generic locks to be used without requiring plattform support for threads)

PR libstdc++/56002
* include/std/mutex (lock_guard, unique_lock, lock): Define without
depending on _GLIBCXX_HAS_GTHREADS.
* testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.

From-SVN: r196710

12 years agoDaily bump.
GCC Administrator [Sat, 16 Mar 2013 00:17:29 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r196693

12 years agore PR fortran/56615 (Wrong code with TRANSFER of arrays of character with stride -1)
Tobias Burnus [Fri, 15 Mar 2013 12:05:45 +0000 (13:05 +0100)] 
re PR fortran/56615 (Wrong code with TRANSFER of arrays of character with stride -1)

2013-03-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56615
        * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Pack arrays
        if they are not simply contiguous.

2013-03-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56615
        * gfortran.dg/transfer_intrinsic_5.f90: New.

From-SVN: r196676

12 years agoDaily bump.
GCC Administrator [Fri, 15 Mar 2013 00:18:35 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196668

12 years agore PR target/56351 (ARM Big-Endian: storing local double to packed variable causes...
Seth LaForge [Thu, 14 Mar 2013 18:52:18 +0000 (18:52 +0000)] 
re PR target/56351 (ARM Big-Endian: storing local double to packed variable causes corruption)

PR target/56351
Backport from mainline
2012-10-22  Julian Brown  <julian@codesourcery.com>

* config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Avoid subreg'ing
VFP D registers in big-endian mode.

From-SVN: r196664

12 years agore PR c++/56614 (error: default argument 'std::vector<E>(std::initializer_list<E...
Jason Merrill [Thu, 14 Mar 2013 17:34:55 +0000 (13:34 -0400)] 
re PR c++/56614 (error: default argument 'std::vector<E>(std::initializer_list<E>{((const E*)(& ._0)), 1u}, (*(const std::allocator<E>*)(& std::allocator<E>())))' uses local variable '._0')

PR c++/56614
* decl.c (local_variable_p_walkfn): Check DECL_ARTIFICIAL again.

From-SVN: r196662

12 years agore PR c++/56403 (internal compiler error: in build_zero_init_1, at cp/init.c:279)
Jakub Jelinek [Thu, 14 Mar 2013 16:12:37 +0000 (17:12 +0100)] 
re PR c++/56403 (internal compiler error: in build_zero_init_1, at cp/init.c:279)

PR c++/56403
* init.c (build_zero_init_1): Use RECORD_OR_UNION_CODE_P instead
of CLASS_TYPE_P.

* g++.dg/torture/pr56403.C: New test.

From-SVN: r196661

12 years agoDaily bump.
GCC Administrator [Thu, 14 Mar 2013 00:17:26 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r196644

12 years agore PR fortran/56575 (An invalid OO code causes ICE)
Paul Thomas [Wed, 13 Mar 2013 05:32:07 +0000 (05:32 +0000)] 
re PR fortran/56575 (An invalid OO code causes ICE)

2013-03-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/56575
* expr.c (gfc_default_initializer): Check that a class declared
type has any components.
* resolve.c (resolve_fl_derived0): On failing the test for C437
set the type to BT_UNKNOWN to prevent repeat error messages.

2013-03-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/56575
* gfortran.dg/class_56.f90: New test.

From-SVN: r196627

12 years agoDaily bump.
GCC Administrator [Wed, 13 Mar 2013 00:19:05 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r196624

12 years agoDaily bump.
GCC Administrator [Tue, 12 Mar 2013 00:18:29 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196606

12 years agoDaily bump.
GCC Administrator [Mon, 11 Mar 2013 00:18:04 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196586

12 years agore PR fortran/55362 (ICE with size() on character pointer)
Paul Thomas [Sun, 10 Mar 2013 18:34:24 +0000 (18:34 +0000)] 
re PR fortran/55362 (ICE with size() on character pointer)

2013-03-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/55362
* check.c (array_check): It is an error if a procedure is
passed.

2013-03-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/55362
* gfortran.dg/intrinsic_size_4.f90 : New test.

From-SVN: r196582

12 years agoDaily bump.
GCC Administrator [Sun, 10 Mar 2013 00:18:31 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196578

12 years agore PR c++/56534 (ICE Segfault on invalid code in check_elaborated_type_specifier)
Paolo Carlini [Sat, 9 Mar 2013 11:48:53 +0000 (11:48 +0000)] 
re PR c++/56534 (ICE Segfault on invalid code in check_elaborated_type_specifier)

/cp
2013-03-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56534
* parser.c (cp_parser_elaborated_type_specifier): Don't call
check_elaborated_type_specifier when TREE_CODE (decl) != TYPE_DECL.
* decl.c (check_elaborated_type_specifier): Tidy.

/testsuite
2013-03-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56534
* g++.dg/template/crash115.C: New.

From-SVN: r196573

12 years agovector.tcc (vector<>operator=(const vector<>&): Reset pointers after deallocation...
François Dumont [Sat, 9 Mar 2013 10:09:51 +0000 (10:09 +0000)] 
vector.tcc (vector<>operator=(const vector<>&): Reset pointers after deallocation when memory can be reused.

2013-03-09  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/vector.tcc (vector<>operator=(const vector<>&):
Reset pointers after deallocation when memory can be reused.
* testsuite/23_containers/vector/allocator/minimal.cc: Insert
elements to really challenge C++11 allocator integration.
* testsuite/23_containers/vector/allocator/copy.cc: Likewise.
* testsuite/23_containers/vector/allocator/copy_assign.cc:
Likewise.
* testsuite/23_containers/vector/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/vector/allocator/swap.cc: Likewise and
swap vector back before checks on memory/personality mapping are
performed.

From-SVN: r196571

12 years agoDaily bump.
GCC Administrator [Sat, 9 Mar 2013 00:18:38 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196566

12 years agore PR ada/52123 (gcc bootstrap with ada fails on mingw target)
Cesar Strauss [Fri, 8 Mar 2013 08:04:22 +0000 (08:04 +0000)] 
re PR ada/52123 (gcc bootstrap with ada fails on mingw target)

PR ada/52123
* seh_init.c (Raise_From_Signal_Handler): Declare as no-return.
(__gnat_SEH_error_handler): Likewise.  Remove final return.

From-SVN: r196537

12 years ago013-03-08 Joey Ye <joey.ye@arm.com>
Joey Ye [Fri, 8 Mar 2013 07:25:09 +0000 (07:25 +0000)] 
013-03-08  Joey Ye  <joey.ye@arm.com>

    Backport from mainline
    2013-03-06  Joey Ye  <joey.ye@arm.com>

    PR lto/50293
    * gcc.c (convert_white_space): New function.
    (main): Handles white space in function name.

From-SVN: r196534

12 years agoDaily bump.
GCC Administrator [Fri, 8 Mar 2013 00:18:43 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196530

12 years agoChangeLog: Correct date to when committed not when submitted.
Joel Sherrill [Thu, 7 Mar 2013 15:15:33 +0000 (15:15 +0000)] 
ChangeLog: Correct date to when committed not when submitted.

2013-03-06  Joel Sherrill <joel.sherrill@oarcorp.com>

* ChangeLog: Correct date to when committed not when submitted.

From-SVN: r196521

12 years agoDaily bump.
GCC Administrator [Thu, 7 Mar 2013 00:18:32 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196515

12 years agobackport: re PR target/56529 ([SH] Calls to __sdivsi3_i4i and __udivsi3_i4i are gener...
Oleg Endo [Wed, 6 Mar 2013 22:54:11 +0000 (22:54 +0000)] 
backport: re PR target/56529 ([SH] Calls to __sdivsi3_i4i and __udivsi3_i4i are generated on SH2)

Backport from mainline
2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/56529
* config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT
instead of TARGET_SH2 for call-table case.  Do not set sh_div_strategy
to SH_DIV_CALL_TABLE for TARGET_SH2.
* config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib
list.
* doc/invoke.texi (SH options): Use table for mdiv= option.  Document
mdiv= call-div1, call-fp, call-table options.

Backport from mainline.
2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/56529
* config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
inclusion list.

From-SVN: r196510

12 years agoconfig.host (arm*-*-rtemself*): New.
Sebastian Huber [Wed, 6 Mar 2013 17:42:45 +0000 (17:42 +0000)] 
config.host (arm*-*-rtemself*): New.

2013-02-22  Sebastian Huber <sebastian.huber@embedded-brains.de>

* config.host (arm*-*-rtemself*): New.
(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
"arm*-*-rtemseabi*" to "arm*-*-rtems*".

From-SVN: r196503

12 years agoconfig.gcc (arm*-*-rtemself*): New.
Sebastian Huber [Wed, 6 Mar 2013 17:41:52 +0000 (17:41 +0000)] 
config.gcc (arm*-*-rtemself*): New.

2013-02-22  Sebastian Huber <sebastian.huber@embedded-brains.de>

* config.gcc (arm*-*-rtemself*): New.
(arm*-*-rtems*): Removed.
(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
"arm*-*-rtemseabi*" to "arm*-*-rtems*".

From-SVN: r196502

12 years agore PR c++/56543 (ICE on valid code in copy_node_stat)
Jakub Jelinek [Wed, 6 Mar 2013 15:27:13 +0000 (16:27 +0100)] 
re PR c++/56543 (ICE on valid code in copy_node_stat)

PR c++/56543
* tree.c (strip_typedefs): Don't copy args if they are NULL.

* g++.dg/template/typename20.C: New test.

From-SVN: r196492

12 years agoDaily bump.
GCC Administrator [Wed, 6 Mar 2013 00:18:57 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196482

12 years agoDaily bump.
GCC Administrator [Tue, 5 Mar 2013 00:17:49 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r196447

12 years agoDaily bump.
GCC Administrator [Mon, 4 Mar 2013 00:18:11 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196421

12 years agoDaily bump.
GCC Administrator [Sun, 3 Mar 2013 00:18:28 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196409

12 years agoDaily bump.
GCC Administrator [Sat, 2 Mar 2013 00:18:28 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196402

12 years agobackport: re PR middle-end/55481 (-O2 generates a wrong-code infinite loop in C+...
Richard Biener [Fri, 1 Mar 2013 13:55:11 +0000 (13:55 +0000)] 
backport: re PR middle-end/55481 (-O2 generates a wrong-code infinite loop in C++Benchmark's simple_types_constant_folding int8 xor test)

2013-03-01  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-12-12  Zdenek Dvorak  <ook@ucw.cz>

PR tree-optimization/55481
* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Fall
back to general rewriting if we cannot leave an original biv
definition alone.

* gcc.dg/torture/pr55481.c: New testcase.
* gcc.dg/torture/pr56488.c: Likewise.

From-SVN: r196379

12 years agobackport: re PR middle-end/52888 (Unable to inline function pointer call with inexact...
Richard Biener [Fri, 1 Mar 2013 12:46:12 +0000 (12:46 +0000)] 
backport: re PR middle-end/52888 (Unable to inline function pointer call with inexact signature match)

2013-03-01  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-04-10  Richard Guenther  <rguenther@suse.de>

PR middle-end/52888
* gimple-low.c (gimple_check_call_args): Properly account for
compatible aggregate types.

From-SVN: r196378

12 years agoDaily bump.
GCC Administrator [Fri, 1 Mar 2013 00:19:13 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r196364

12 years agoDaily bump.
GCC Administrator [Thu, 28 Feb 2013 00:17:22 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r196327

12 years agore PR libstdc++/56012 ([C++11] Narrowing conversion in atomic_flag)
Jonathan Wakely [Wed, 27 Feb 2013 00:57:36 +0000 (00:57 +0000)] 
re PR libstdc++/56012 ([C++11] Narrowing conversion in atomic_flag)

PR libstdc++/56012
* include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
* testsuite/29_atomics/atomic/operators/56012.cc: New.

PR libstdc++/56011
* include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
missing overload.
* testsuite/29_atomics/atomic/operators/56011.cc: New.

From-SVN: r196301

12 years agoDaily bump.
GCC Administrator [Wed, 27 Feb 2013 00:18:03 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196299

12 years agore PR target/56453 (Gcc segmentation fault building argz_add.c for xcompiler newlib...
Nick Clifton [Tue, 26 Feb 2013 14:58:17 +0000 (14:58 +0000)] 
re PR target/56453 (Gcc segmentation fault building argz_add.c for xcompiler newlib for fr30-elf)

PR target/56453
Import this patch from the mainline:

2012-08-17  Nick Clifton  <nickc@redhat.com>

* config/fr30/fr30.md (cbranchsi4): Remove mode from comparison.
(branch_true): Likewise.
(branch_false): Likewise.

From-SVN: r196292

12 years agore PR middle-end/56443 (internal compiler error: verify_gimple failed at -O[1-2]...
Jakub Jelinek [Tue, 26 Feb 2013 10:29:47 +0000 (11:29 +0100)] 
re PR middle-end/56443 (internal compiler error: verify_gimple failed at -O[1-2] -ftree-vectorize)

PR tree-optimization/56443
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For
overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument
to type_for_mode langhook.

* gcc.dg/torture/pr56443.c: New test.

From-SVN: r196279

12 years agoDaily bump.
GCC Administrator [Tue, 26 Feb 2013 00:18:09 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196272

12 years agoDaily bump.
GCC Administrator [Mon, 25 Feb 2013 00:18:18 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196248

12 years agoDaily bump.
GCC Administrator [Sun, 24 Feb 2013 00:18:47 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196240

12 years agoDaily bump.
GCC Administrator [Sat, 23 Feb 2013 00:18:22 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196235

12 years agore PR c++/40405 (ICE with invalid initialization of template member)
Jason Merrill [Fri, 22 Feb 2013 22:26:20 +0000 (17:26 -0500)] 
re PR c++/40405 (ICE with invalid initialization of template member)

PR c++/40405
* pt.c (push_template_decl_real): Set DECL_INTERFACE_KNOWN
if we got the wrong number of template parms.

From-SVN: r196233

12 years agore PR c++/56395 (ICE, Segmentation fault in tsubst)
Jason Merrill [Fri, 22 Feb 2013 22:26:08 +0000 (17:26 -0500)] 
re PR c++/56395 (ICE, Segmentation fault in tsubst)

PR c++/56395
* tree.c (strip_typedefs): Strip typedefs from TYPENAME_TYPE template
args.

From-SVN: r196232

12 years agore PR fortran/56385 ([OOP] ICE with allocatable function result in a procedure-pointe...
Janus Weil [Fri, 22 Feb 2013 19:48:11 +0000 (20:48 +0100)] 
re PR fortran/56385 ([OOP] ICE with allocatable function result in a procedure-pointer component)

2013-02-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/56385
* trans-array.c (structure_alloc_comps): Handle procedure-pointer
components with allocatable result.

2013-02-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/56385
* gfortran.dg/proc_ptr_comp_37.f90: New.

From-SVN: r196227

12 years agoDaily bump.
GCC Administrator [Fri, 22 Feb 2013 00:18:20 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196217

12 years agoFix regression when writing formatted sequential to a pipe.
Janne Blomqvist [Thu, 21 Feb 2013 20:13:04 +0000 (22:13 +0200)] 
Fix regression when writing formatted sequential to a pipe.

2013-02-21  Janne Blomqvist  <jb@gcc.gnu.org>

PR libfortran/30162
* io/open.c (test_endfile): Call stell only if size != 0.
* io/unix.c (raw_tell): Revert r194694.
(raw_size): Return size field only for regular files, otherwise 0.

From-SVN: r196212

12 years agore PR bootstrap/56258 (Please upgrade doc/*.texi to the latest texinfo package(s))
Jakub Jelinek [Thu, 21 Feb 2013 09:42:39 +0000 (10:42 +0100)] 
re PR bootstrap/56258 (Please upgrade doc/*.texi to the latest texinfo package(s))

PR bootstrap/56258
* doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item
instead of @itemx.

* gnat-style.texi (@title): Remove @hfill.
* projects.texi: Avoid line wrapping inside of @pxref or
@xref.

* doc/cp-tools.texinfo (Virtual Machine Options): Use just
one @gccoptlist instead of 3 separate ones.

From-SVN: r196197

12 years agoDaily bump.
GCC Administrator [Thu, 21 Feb 2013 00:18:36 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r196190

12 years ago* include/std/streambuf (basic_streambuf): Fix unclosed Doxygen group.
Jonathan Wakely [Wed, 20 Feb 2013 23:55:57 +0000 (23:55 +0000)] 
* include/std/streambuf (basic_streambuf): Fix unclosed Doxygen group.

From-SVN: r196188

12 years agore PR libstdc++/55043 (issue with nesting unordered_map containing unique_ptr into...
Jonathan Wakely [Wed, 20 Feb 2013 23:55:48 +0000 (23:55 +0000)] 
re PR libstdc++/55043 (issue with nesting unordered_map containing unique_ptr into vector)

PR libstdc++/55043
* include/bits/alloc_traits.h (allocator_traits::construct): Disable
unless construction would be well-formed.
(__allow_copy_cons, __check_copy_constructible): Define.
* include/bits/unordered_map.h (__check_copy_constructible): Use as
base class so copy constructor will be deleted if appropriate.
* include/bits/unordered_set.h: Likewise.
* include/std/unordered_set: Include alloc_traits.h.
* include/std/unordered_set: Likewise.
* include/debug/unordered_map.h: Default copy and move constructors.
* include/debug/unordered_set.h: Likewise.
* testsuite/23_containers/unordered_map/55043.cc: Fix test.
* testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
* testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
* testsuite/23_containers/unordered_set/55043.cc: Likewise.
* testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
cannot support incomplete types.
* testsuite/23_containers/unordered_multimap/requirements/53339.cc:
Likewise.
* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
dg-error line number.

From-SVN: r196187

12 years agore PR ada/56271 (GCC build errors when building ada and using LDFLAGS)
Eric Botcazou [Wed, 20 Feb 2013 18:24:15 +0000 (18:24 +0000)] 
re PR ada/56271 (GCC build errors when building ada and using LDFLAGS)

PR ada/56271
Backport from mainline
2012-05-15  Olivier Hainque  <hainque@adacore.com>

* gcc-interface/Make-lang.in (COMMON_FLAGS_TO_PASS): Use WARN_CFLAGS
instead of trying to mimic it.

From-SVN: r196178

12 years agoClear hwcap_2 with Sun ld
Rainer Orth [Wed, 20 Feb 2013 10:02:48 +0000 (10:02 +0000)] 
Clear hwcap_2 with Sun ld

Backport from mainline:
2012-06-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* gcc.target/i386/clearcapv2.map: New file.
* gcc.target/i386/i386.exp: Try it first before clearcap.map.

From-SVN: r196168