]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:05:24 +0000 (09:05 +0000)] 
Mark ChangeLog

From-SVN: r180485

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:05:18 +0000 (09:05 +0000)] 
Mark ChangeLog

From-SVN: r180484

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:05:13 +0000 (09:05 +0000)] 
Mark ChangeLog

From-SVN: r180483

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:05:06 +0000 (09:05 +0000)] 
Mark ChangeLog

From-SVN: r180482

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:05:01 +0000 (09:05 +0000)] 
Mark ChangeLog

From-SVN: r180481

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:04:54 +0000 (09:04 +0000)] 
Mark ChangeLog

From-SVN: r180480

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:04:49 +0000 (09:04 +0000)] 
Mark ChangeLog

From-SVN: r180479

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:04:42 +0000 (09:04 +0000)] 
Mark ChangeLog

From-SVN: r180478

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:04:37 +0000 (09:04 +0000)] 
Mark ChangeLog

From-SVN: r180477

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:04:30 +0000 (09:04 +0000)] 
Mark ChangeLog

From-SVN: r180476

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:04:23 +0000 (09:04 +0000)] 
Mark ChangeLog

From-SVN: r180475

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:04:16 +0000 (09:04 +0000)] 
Mark ChangeLog

From-SVN: r180474

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:04:10 +0000 (09:04 +0000)] 
Mark ChangeLog

From-SVN: r180473

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:04:03 +0000 (09:04 +0000)] 
Mark ChangeLog

From-SVN: r180472

13 years agoMark ChangeLog
GCC Administrator [Wed, 26 Oct 2011 09:03:57 +0000 (09:03 +0000)] 
Mark ChangeLog

From-SVN: r180471

13 years agoDaily bump.
GCC Administrator [Wed, 26 Oct 2011 00:18:24 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180463

13 years ago* ja.po: Update.
Joseph Myers [Tue, 25 Oct 2011 15:37:58 +0000 (16:37 +0100)] 
* ja.po: Update.

From-SVN: r180433

13 years agomingw32.h (SUBTARGET_FRAME_POINTER_REQUIRED): Use for 32-bit frame-pointer, if setjmp...
Kai Tietz [Tue, 25 Oct 2011 07:28:58 +0000 (09:28 +0200)] 
mingw32.h (SUBTARGET_FRAME_POINTER_REQUIRED): Use for 32-bit frame-pointer, if setjmp is used.

        * config/i386/mingw32.h (SUBTARGET_FRAME_POINTER_REQUIRED):
        Use for 32-bit frame-pointer, if setjmp is used.

From-SVN: r180422

13 years agoDaily bump.
GCC Administrator [Tue, 25 Oct 2011 00:18:36 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180416

13 years agore PR debug/50816 ([4.6.1] Discriminators are emitted in DWARF 2 format)
Jakub Jelinek [Mon, 24 Oct 2011 18:09:21 +0000 (20:09 +0200)] 
re PR debug/50816 ([4.6.1] Discriminators are emitted in DWARF 2 format)

PR debug/50816
* dwarf2out.c (dwarf2out_source_line): Emit discriminators only if
-gdwarf-4 or not -gstrict-dwarf.

From-SVN: r180398

13 years agore PR target/49824 ([avr] Missing documentation for OS_task and OS_main attributes)
Georg-Johann Lay [Mon, 24 Oct 2011 14:55:45 +0000 (14:55 +0000)] 
re PR target/49824 ([avr] Missing documentation for OS_task and OS_main attributes)

PR target/49824
Backport from mainline r180385
* doc/extend.texi (Declaring Attributes of Functions):
Document OS_main and OS_task attributes.
(Specifying Attributes of Variables): Move up
subsection "AVR Variable Attributes" as of alphabetical order.

From-SVN: r180390

13 years agore PR target/50820 ([avr] Use EIND consistently)
Georg-Johann Lay [Mon, 24 Oct 2011 12:22:21 +0000 (12:22 +0000)] 
re PR target/50820 ([avr] Use EIND consistently)

PR target/50820
* doc/invoke.texi (AVR Options): New subsubsection to explain EIND
handling and indirect jump/calls on devices > 128k.

From-SVN: r180379

13 years agoDaily bump.
GCC Administrator [Mon, 24 Oct 2011 00:17:08 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r180357

13 years agore PR target/50788 (ICE: in merge_overlapping_regs, at regrename.c:318 with -mavx...
Uros Bizjak [Sun, 23 Oct 2011 15:14:58 +0000 (17:14 +0200)] 
re PR target/50788 (ICE: in merge_overlapping_regs, at regrename.c:318 with -mavx -fpeel-loops -fstack-protector-all and __builtin_ia32_maskloadpd256)

PR target/50788
* config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
Remove (match_dup 0).

testuite/ChangeLog:

PR target/50788
* gcc.target/i386/pr50788.c: New test.

From-SVN: r180337

13 years agoDaily bump.
GCC Administrator [Sun, 23 Oct 2011 00:18:07 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180332

13 years agoDaily bump.
GCC Administrator [Sat, 22 Oct 2011 00:18:42 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180319

13 years agore PR target/50820 ([avr] Use EIND consistently)
Georg-Johann Lay [Fri, 21 Oct 2011 14:24:21 +0000 (14:24 +0000)] 
re PR target/50820 ([avr] Use EIND consistently)

PR target/50820
Backport from Mainline r180299.
* config/avr/libgcc.S (__EIND__): New define to 0x3C.
(__tablejump__): Consistently use EIND for indirect jump/call.
(__tablejump_elpm__): Ditto.

From-SVN: r180303

13 years agoDaily bump.
GCC Administrator [Fri, 21 Oct 2011 00:18:37 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180281

13 years agoipa-sra-2.c: Add dg-require-effective-target non_strict_align.
Uros Bizjak [Thu, 20 Oct 2011 15:22:57 +0000 (17:22 +0200)] 
ipa-sra-2.c: Add dg-require-effective-target non_strict_align.

       * gcc.dg/ipa/ipa-sra-2.c: Add dg-require-effective-target
       non_strict_align.
       * gcc.dg/ipa/ipa-sra-6.c: Ditto.

From-SVN: r180259

13 years agoBackport from mainline fix for PR target/50106.
Ramana Radhakrishnan [Thu, 20 Oct 2011 09:24:06 +0000 (09:24 +0000)] 
Backport from mainline fix for PR target/50106.

From-SVN: r180241

13 years agoDaily bump.
GCC Administrator [Thu, 20 Oct 2011 00:18:17 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180231

13 years agore PR c++/50793 (G++ doesn't value-initialize all members of non-trivial type in...
Jason Merrill [Wed, 19 Oct 2011 22:21:52 +0000 (18:21 -0400)] 
re PR c++/50793 (G++ doesn't value-initialize all members of non-trivial type in default argument)

PR c++/50793
* tree.c (bot_manip): Propagate AGGR_INIT_ZERO_FIRST.

From-SVN: r180225

13 years agore PR c++/50787 (reference fails to bind directly to variable)
Jason Merrill [Wed, 19 Oct 2011 22:21:34 +0000 (18:21 -0400)] 
re PR c++/50787 (reference fails to bind directly to variable)

PR c++/50787
* g++.dg/init/ref20.C: New.

From-SVN: r180224

13 years agore PR c++/50787 (reference fails to bind directly to variable)
Jason Merrill [Wed, 19 Oct 2011 20:31:21 +0000 (16:31 -0400)] 
re PR c++/50787 (reference fails to bind directly to variable)

PR c++/50787
* g++.dg/init/ref20.C: New.

From-SVN: r180205

13 years agore PR c++/50787 (reference fails to bind directly to variable)
Jason Merrill [Wed, 19 Oct 2011 20:30:50 +0000 (16:30 -0400)] 
re PR c++/50787 (reference fails to bind directly to variable)

PR c++/50787
* parser.c (cp_parser_initializer_clause): Don't call
maybe_constant_value here.

From-SVN: r180204

13 years agore PR libfortran/50016 (Drastic I/O performance regression on Windows)
Janne Blomqvist [Wed, 19 Oct 2011 17:27:03 +0000 (20:27 +0300)] 
re PR libfortran/50016 (Drastic I/O performance regression on Windows)

2011-10-19  Janne Blomqvist  <jb@gcc.gnu.org>
            Kai Tietz  <ktietz@redhat.com>
            Tobias Burnus  <burnus@net-b.de>

        PR fortran/50016
        * io/unix.h (flush_sync): Add new libgfortran-internal
        * prototype.
        * io/unix.c (flush_sync): New function, which calls sflush and
        on MinGW(-w64) also _commit.
        (flush_all_units, flush_all_units_1): Replace sflush/_commit by
        flush_sync.
        * io/file_pos.c (st_flush): Replace sflush/_commit by
        * flush_sync.
        * io/intrinsics.c (flush_i4, flush_i8): Ditto.

Co-Authored-By: Kai Tietz <ktietz@redhat.com>
Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r180199

13 years agodwarf2out.c (loc_descriptor): For SUBREG pass SUBREG_REG's mode as second argument...
Jakub Jelinek [Wed, 19 Oct 2011 08:46:53 +0000 (10:46 +0200)] 
dwarf2out.c (loc_descriptor): For SUBREG pass SUBREG_REG's mode as second argument instead of mode.

* dwarf2out.c (loc_descriptor): For SUBREG pass SUBREG_REG's mode as
second argument instead of mode.

From-SVN: r180180

13 years agore PR target/50350 (ICE (segfault) in canonicalize_float_value)
Jakub Jelinek [Wed, 19 Oct 2011 08:45:45 +0000 (10:45 +0200)] 
re PR target/50350 (ICE (segfault) in canonicalize_float_value)

PR target/50350
Backport from mainline
2011-09-27  Richard Sandiford  <rdsandiford@googlemail.com>

PR middle-end/50386
PR middle-end/50326
* tree-sra.c (build_ref_for_model): Use the type of the field as
the type of the COMPONENT_REF.

From-SVN: r180179

13 years agoDaily bump.
GCC Administrator [Wed, 19 Oct 2011 00:18:22 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180172

13 years agore PR c++/50531 ([C++0x] ICE on defaulted template destructor)
Jason Merrill [Tue, 18 Oct 2011 19:36:29 +0000 (15:36 -0400)] 
re PR c++/50531 ([C++0x] ICE on defaulted template destructor)

PR c++/50531
* pt.c (instantiate_decl): Recognize when a function defaulted
outside the class is already instantiated.

From-SVN: r180163

13 years agore PR libfortran/50016 (Drastic I/O performance regression on Windows)
Tobias Burnus [Tue, 18 Oct 2011 12:58:42 +0000 (14:58 +0200)] 
re PR libfortran/50016 (Drastic I/O performance regression on Windows)

2011-10-18  Tobias Burnus  <burnus@net-b.de>
            Janne Blomqvist  <jb@gcc.gnu.org>

        PR fortran/50016
        * io/file_pos.c (st_flush): Call _commit on MinGW(-w64).
        * io/intrinsics.c (flush_i4, flush_i8): Ditto.
        * io/unix.c (flush_all_units_1, flush_all_units): Ditto.
        (buf_flush): Remove _commit call.
        * io/inquire.c (inquire_via_unit): Flush internal buffer
        and call file_length instead of invoking stat via file_size.

Co-Authored-By: Janne Blomqvist <jb@gcc.gnu.org>
From-SVN: r180138

13 years agore PR target/50737 (FAIL: Throw_3 -O3 execution, generic dwarf2 EH problem?)
Uros Bizjak [Tue, 18 Oct 2011 12:55:06 +0000 (14:55 +0200)] 
re PR target/50737 (FAIL: Throw_3 -O3 execution, generic dwarf2 EH problem?)

2011-10-18  Uros Bizjak  <ubizjak@gmail.com>
    Eric Botcazou  <ebotcazou@adacore.com>

PR target/50737
* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
fs->signal_frame to 1.

libjava/ChangeLog:

2011-10-18  Uros Bizjak  <ubizjak@gmail.com>
    Eric Botcazou  <ebotcazou@adacore.com>

PR target/50737
* include/dwarf2-signal.h [__alpha__]: Remove MAKE_THROW_FRAME
definition.

From-SVN: r180137

13 years agoDaily bump.
GCC Administrator [Tue, 18 Oct 2011 00:18:14 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180117

13 years agore PR fortran/47023 (C_Sizeof: Rejects valid code)
Janus Weil [Mon, 17 Oct 2011 15:59:32 +0000 (17:59 +0200)] 
re PR fortran/47023 (C_Sizeof: Rejects valid code)

2011-10-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47023
* primary.c (match_kind_param): Detect ISO_C_BINDING kinds.
(get_kind): Pass on 'is_iso_c' flag.
(match_integer_constant,match_real_constant,match_logical_constant):
Set 'ts.is_c_interop'.

2011-10-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47023
* gfortran.dg/c_kind_tests_3.f03: New.

From-SVN: r180099

13 years agoDaily bump.
GCC Administrator [Mon, 17 Oct 2011 00:18:04 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180070

13 years agoDaily bump.
GCC Administrator [Sun, 16 Oct 2011 00:17:44 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r180051

13 years agore PR fortran/50570 (Incorrect error for assignment to intent(in) pointer)
Janus Weil [Sat, 15 Oct 2011 13:30:07 +0000 (15:30 +0200)] 
re PR fortran/50570 (Incorrect error for assignment to intent(in) pointer)

2011-10-15  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50570
* expr.c (gfc_check_vardef_context): Don't throw an error on
non-pointer assignments involving an intent(in) pointer dummy.

2011-10-15  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50570
* gfortran.dg/pointer_intent_5.f90: New.

From-SVN: r180037

13 years agoIn gcc/cp/: 2011-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
Nicola Pero [Sat, 15 Oct 2011 08:04:33 +0000 (08:04 +0000)] 
In gcc/cp/: 2011-10-15 Nicola Pero <nicola.pero@meta-innovation.com>

In gcc/cp/:
2011-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>

Backport from mainline
2011-06-06  Nicola Pero  <nicola.pero@meta-innovation.com>,

PR obj-c++/48275
* parser.c (cp_parser_objc_at_property_declaration): Allow setter
and getter names to use all the allowed method names.

In gcc/testsuite/:
2011-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>

Backport from mainline
2011-06-06  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc-++/48275
* obj-c++.dg/property/cxx-property-1.mm: New.
* obj-c++.dg/property/cxx-property-2.mm: New.

From-SVN: r180023

13 years agore PR fortran/50718 (ICE (fold_convert) with -fcheck=pointer)
Tobias Burnus [Sat, 15 Oct 2011 06:55:28 +0000 (08:55 +0200)] 
re PR fortran/50718 (ICE (fold_convert) with -fcheck=pointer)

2011-10-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50718
        * trans-expr.c (gfc_conv_procedure_call): Fix -fcheck=pointer
        for dummy arguments with VALUE attribute.

2011-10-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50718
        * gfortran.dg/pointer_check_11.f90: New.
        * gfortran.dg/pointer_check_12.f90: New.

From-SVN: r180022

13 years agoDaily bump.
GCC Administrator [Sat, 15 Oct 2011 00:18:38 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180018

13 years agoAdd missing entry
Eric Botcazou [Fri, 14 Oct 2011 23:04:14 +0000 (23:04 +0000)] 
Add missing entry

From-SVN: r180014

13 years agoIn libobjc/: 2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com>
Nicola Pero [Fri, 14 Oct 2011 17:19:07 +0000 (17:19 +0000)] 
In libobjc/: 2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com>

In libobjc/:
2011-10-14  Nicola Pero  <nicola.pero@meta-innovation.com>

Backport from mainline
2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>

PR libobjc/49883
* init.c (__objc_exec_class): Work around a bug in clang's code
generation.  Clang sets the class->info field to values different
from 0x1 or 0x2 (the only allowed values in the traditional GNU
Objective-C runtime ABI) to store some additional information, but
this breaks backwards compatibility.  Wipe out all the bits in the
fields other than the first two upon loading a class.

From-SVN: r179997

13 years agoIn libobjc/: 2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com>
Nicola Pero [Fri, 14 Oct 2011 17:10:14 +0000 (17:10 +0000)] 
In libobjc/: 2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com>

In libobjc/:
2011-10-14  Nicola Pero  <nicola.pero@meta-innovation.com>

Backport from mainline
2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

PR libobjc/50002
* class.c (__objc_update_classes_with_methods): Iterate over meta
classes as well as normal classes when refreshing the method
implementations.  This fixes replacing class methods.

From-SVN: r179996

13 years agobackport: [multiple changes]
Richard Guenther [Fri, 14 Oct 2011 12:17:41 +0000 (12:17 +0000)] 
backport: [multiple changes]

2011-10-14  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2011-10-14  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50723
* ipa-split.c (split_function): Use GSI_CONTINUE_LINKING.

* gcc.dg/torture/pr50723.c: New testcase.

2011-10-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50712
* ipa-split.c (split_function): Always re-gimplify parameters
when they are not gimple vals before passing them.  Properly
check for type compatibility.

* gcc.target/i386/pr50712.c: New testcase.

From-SVN: r179974

13 years agoDaily bump.
GCC Administrator [Fri, 14 Oct 2011 00:18:18 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r179951

13 years agore PR c++/50618 (Virtual inheritance segfault)
Jason Merrill [Thu, 13 Oct 2011 18:02:10 +0000 (14:02 -0400)] 
re PR c++/50618 (Virtual inheritance segfault)

PR c++/50618
* init.c (expand_aggr_init_1): Don't zero-initialize virtual
bases of a base subobject.

From-SVN: r179935

13 years agoinvoke.texi (SPARC options): Document -mfix-at697f.
Eric Botcazou [Thu, 13 Oct 2011 13:00:11 +0000 (13:00 +0000)] 
invoke.texi (SPARC options): Document -mfix-at697f.

* doc/invoke.texi (SPARC options): Document -mfix-at697f.
* config/sparc/sparc.opt (mfix-at697f): New option.
* config/sparc/sparc.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(sparc_reorg): New function.

From-SVN: r179922

13 years agoDaily bump.
GCC Administrator [Thu, 13 Oct 2011 00:18:07 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r179884

13 years agore PR fortran/50659 ([F03] ICE with PROCEDURE statement)
Janus Weil [Wed, 12 Oct 2011 18:53:55 +0000 (20:53 +0200)] 
re PR fortran/50659 ([F03] ICE with PROCEDURE statement)

2011-10-12  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50659
* expr.c (replace_symbol): Only do replacement if the symbol is a dummy.

2011-10-12  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50659
* gfortran.dg/proc_decl_27.f90: New.

From-SVN: r179864

13 years agore PR target/49967 (The -static-libstdc++ does not work on HP-UX (IA64 B.11.23, proba...
Steve Ellcey [Wed, 12 Oct 2011 18:07:25 +0000 (18:07 +0000)] 
re PR target/49967 (The -static-libstdc++ does not work on HP-UX (IA64 B.11.23, probably others))

2011-10-12  Steve Ellcey  <sje@cup.hp.com>

PR target/49967
Backport from Mainline 179472.
* configure.ac (gcc_cv_ld_static_dynamic): Define for *-*-hpux*.
(gcc_cv_ld_static_option): Ditto.
(gcc_cv_ld_dynamic_option): Ditto.
* configure: Regenerate.

From-SVN: r179862

13 years agore PR middle-end/50189 (Wrong code error in -O2 [-fstrict-enums] compile, target...
Paul Koning [Wed, 12 Oct 2011 15:12:58 +0000 (11:12 -0400)] 
re PR middle-end/50189 (Wrong code error in -O2 [-fstrict-enums] compile, target independent)

2011-10-12  Paul Koning  <pkoning@gcc.gnu.org>

PR tree-optimization/50189
* tree-vrp.c (extract_range_from_assert): Use the type of
the variable, not the limit.

* g++.dg/torture/pr50189.C: New testcase.

From-SVN: r179856

13 years agoinvoke.texi (-fwhole-file): Update wording since -fwhole-file is now enabled by default.
Tobias Burnus [Wed, 12 Oct 2011 14:12:04 +0000 (16:12 +0200)] 
invoke.texi (-fwhole-file): Update wording since -fwhole-file is now enabled by default.

2011-10-11  Tobias Burnus  <burnus@net-b.de>
            Janus Weil  <janus@gcc.gnu.org>

        * invoke.texi (-fwhole-file): Update wording since -fwhole-file
        is now enabled by default.

Co-Authored-By: Janus Weil <janus@gcc.gnu.org>
From-SVN: r179855

13 years agore PR middle-end/50700 (__builtin_object_size computed wrong)
Richard Guenther [Wed, 12 Oct 2011 13:22:12 +0000 (13:22 +0000)] 
re PR middle-end/50700 (__builtin_object_size computed wrong)

2011-10-12  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50700
* tree-object-size.c (addr_object_size): Simplify and treat
MEM_REF bases consistently.

* gcc.dg/builtin-object-size-12.c: New testcase.

From-SVN: r179851

13 years agore PR c/50565 (initializer element is not computable at load time)
Joseph Myers [Wed, 12 Oct 2011 11:57:36 +0000 (12:57 +0100)] 
re PR c/50565 (initializer element is not computable at load time)

PR c/50565
* convert.c (convert_to_integer): Do not narrow operands of
pointer subtraction.

testsuite:
* gcc.c-torture/compile/pr50565-1.c,
gcc.c-torture/compile/pr50565-2.c: New tests.

From-SVN: r179846

13 years agoDaily bump.
GCC Administrator [Wed, 12 Oct 2011 00:18:07 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r179834

13 years agoMove ChangeLog entry to the correct ChangeLog file
Peter Bergner [Tue, 11 Oct 2011 22:11:36 +0000 (17:11 -0500)] 
Move ChangeLog entry to the correct ChangeLog file

From-SVN: r179831

13 years agore PR target/49965 (libgomp.c++/reduction-4.C and libgomp.c++/task-8.C FAIL on Solari...
Eric Botcazou [Tue, 11 Oct 2011 21:33:57 +0000 (21:33 +0000)] 
re PR target/49965 (libgomp.c++/reduction-4.C and libgomp.c++/task-8.C FAIL on Solaris 11/SPARC)

PR target/49965
* config/sparc/sparc.md (mov<I:mode>cc): Do not save comparison code.
(mov<F:mode>cc): Likewise.

From-SVN: r179828

13 years agore PR c++/49216 ([C++0x] ICE on compiling new-expression with braced-init-list for...
Jason Merrill [Tue, 11 Oct 2011 19:50:49 +0000 (15:50 -0400)] 
re PR c++/49216 ([C++0x] ICE on compiling new-expression with braced-init-list for arrays)

PR c++/49216
* init.c (build_vec_init): Avoid crash on new int[1]{}.

From-SVN: r179819

13 years agore PR c++/49855 (internal compiler error: in fold_convert_const_int_from_real)
Jason Merrill [Tue, 11 Oct 2011 18:18:25 +0000 (14:18 -0400)] 
re PR c++/49855 (internal compiler error: in fold_convert_const_int_from_real)

PR c++/49855
PR c++/49896
* call.c (perform_implicit_conversion_flags): Do perform
scalar conversions in templates.
* pt.c (tsubst_copy, tsubst_copy_and_build): Handle CONVERT_EXPR.

From-SVN: r179815

13 years agore PR c++/44473 (iterators already defined for std::vector when using std::decimal)
Janis Johnson [Tue, 11 Oct 2011 17:02:42 +0000 (17:02 +0000)] 
re PR c++/44473 (iterators already defined for std::vector when using std::decimal)

gcc/
PR c++/44473
* mangle.c (write_type): Handle CV qualifiers for decimal classes.

gcc/testsuite/
PR c++/44473
* g++.dg/dfp/44473-1.C: New test.
* g++.dg/dfp/44473-2.C: New test.
* g++.dg/dfp/mangle-1.C: New test.
* g++.dg/dfp/mangle-2.C: New test.
* g++.dg/dfp/mangle-3.C: New test.
* g++.dg/dfp/mangle-4.C: New test.
* g++.dg/dfp/mangle-5.C: New test.

From-SVN: r179809

13 years agore PR c++/50611 (Error reporting routines re-entered)
Paolo Carlini [Tue, 11 Oct 2011 13:08:05 +0000 (13:08 +0000)] 
re PR c++/50611 (Error reporting routines re-entered)

2011-10-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50611
* pt.c (tsubst_copy_and_build): If (complain & tf_error) is false
do not call unqualified_name_lookup_error.

From-SVN: r179803

13 years agore PR fortran/50273 (-Walign-commons no longer effective)
Tobias Burnus [Tue, 11 Oct 2011 09:59:18 +0000 (11:59 +0200)] 
re PR fortran/50273 (-Walign-commons no longer effective)

2011-10-11  Tobias Burnus  <burnus@net-b.de>

       PR fortran/50273
       * trans-common.c (translate_common): Fix -Walign-commons check.

2011-10-11  Tobias Burnus  <burnus@net-b.de>

       PR fortran/50273
       * gfortran.dg/common_16.f90: New.

From-SVN: r179794

13 years agore PR middle-end/49801 (df_live_verify_transfer_functions fails with to use of CC_REG...
Nick Clifton [Tue, 11 Oct 2011 07:49:04 +0000 (07:49 +0000)] 
re PR middle-end/49801 (df_live_verify_transfer_functions fails with to use of CC_REGNUM and checking enabled in rx backend)

PR middle-end/49801
* compare-elim.c (find_comparisons_in_bb): Use df_get_live_in and
df_get_live_out instead of accessing the bitmaps directly.
(execute_compare_elim_after_reload): Remove calls to df_set_flags,
df_live_add_problem and df_analyze.

From-SVN: r179787

13 years agoDaily bump.
GCC Administrator [Tue, 11 Oct 2011 00:18:36 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r179777

13 years agore PR target/50652 ([avr] Incorrect data start value for atmega164a)
Georg-Johann Lay [Mon, 10 Oct 2011 08:37:22 +0000 (08:37 +0000)] 
re PR target/50652 ([avr] Incorrect data start value for atmega164a)

PR target/50652
Backport from Mainline r179737.
* config/avr/avr-devices.c (avr_mcu_types): Set
.data_section_start of atmega164a to 0x100.

From-SVN: r179738

13 years agoDaily bump.
GCC Administrator [Mon, 10 Oct 2011 00:18:47 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r179734

13 years agopt.c (reregister_specialization): Use htab_find instead of htab_find_slot with INSERT.
Jakub Jelinek [Sun, 9 Oct 2011 09:38:55 +0000 (11:38 +0200)] 
pt.c (reregister_specialization): Use htab_find instead of htab_find_slot with INSERT.

* pt.c (reregister_specialization): Use htab_find instead of
htab_find_slot with INSERT.

Co-Authored-By: Diego Novillo <dnovillo@google.com>
From-SVN: r179720

13 years agoDaily bump.
GCC Administrator [Sun, 9 Oct 2011 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r179716

13 years agoDaily bump.
GCC Administrator [Sat, 8 Oct 2011 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r179706

13 years agore PR fortran/50585 (ICE with assumed length character array argument)
Janus Weil [Fri, 7 Oct 2011 21:01:02 +0000 (23:01 +0200)] 
re PR fortran/50585 (ICE with assumed length character array argument)

2011-10-07  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50585
* interface.c (get_expr_storage_size): Check if 'length' component is
associated.

PR fortran/50625
* class.c (gfc_build_class_symbol): Fix whitespace.
* module.c (mio_symbol): Set 'class_ok' attribute.
* trans-decl.c (gfc_get_symbol_decl): Make sure the backend_decl has
been built for class symbols.

2011-10-07  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50585
* gfortran.dg/assumed_charlen_arg_2.f90: New.

PR fortran/50625
* gfortran.dg/class_46.f03: New.

From-SVN: r179696

13 years agore PR target/49049 (ICE in copyprop_hardreg_forward_1, at regcprop.c:767)
Bernd Schmidt [Fri, 7 Oct 2011 12:56:52 +0000 (12:56 +0000)] 
re PR target/49049 (ICE in copyprop_hardreg_forward_1, at regcprop.c:767)

  PR target/49049
  * config/arm/arm.md (arm_subsi3_insn): Lose the last alternative.

* gcc.c-torture/compile/pr49049.c: New test.

From-SVN: r179657

13 years agoDaily bump.
GCC Administrator [Fri, 7 Oct 2011 00:18:58 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r179641

13 years agotree.h (avoid_folding_inline_builtin): New prototype.
Jakub Jelinek [Thu, 6 Oct 2011 19:57:52 +0000 (21:57 +0200)] 
tree.h (avoid_folding_inline_builtin): New prototype.

* tree.h (avoid_folding_inline_builtin): New prototype.
* builtins.c (avoid_folding_inline_builtin): No longer static.
* gimple-fold.c (gimple_fold_builtin): Give up if
avoid_folding_inline_builtin returns true.

From-SVN: r179635

13 years agore PR tree-optimization/49279 (Optimization incorrectly presuming constant variable...
Jakub Jelinek [Thu, 6 Oct 2011 19:56:32 +0000 (21:56 +0200)] 
re PR tree-optimization/49279 (Optimization incorrectly presuming constant variable inside loop in g++ 4.5 and 4.6 with -O2 and -O3 for x86_64 targets)

PR tree-optimization/49279
* tree-ssa-structalias.c (find_func_aliases): Don't handle
CAST_RESTRICT.

* gcc.c-torture/execute/pr49279.c: New test.

From-SVN: r179633

13 years agolocale_facets.tcc: Revert unintended change in the last commit.
Paolo Carlini [Thu, 6 Oct 2011 10:10:51 +0000 (10:10 +0000)] 
locale_facets.tcc: Revert unintended change in the last commit.

2011-10-06  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/locale_facets.tcc: Revert unintended change in the
last commit.

From-SVN: r179595

13 years agoDaily bump.
GCC Administrator [Thu, 6 Oct 2011 00:18:35 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r179585

13 years agore PR libstdc++/48698 (gnu-versioned-namespace problems)
Benjamin Kosnik [Wed, 5 Oct 2011 23:09:51 +0000 (23:09 +0000)] 
re PR libstdc++/48698 (gnu-versioned-namespace problems)

2011-10-05  Benjamin Kosnik  <bkoz@redhat.com
            Jonathan Wakely  <jwakely.gcc@gmail.com>

        PR libstdc++/48698
        * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Set libtool_VERSION here.
        * configure.ac: Move AC_SUBST of libtool_VERSION past call to
        GLIBCXX_ENABLE_SYMVERS.
        * configure: Regenerate.
        * include/bits/c++config: Use __7 as versioned namespace name.
        * config/abi/pre/gnu-versioned-namespace.ver: Change mangling as
        per above.
        * include/c_global/cwchar: Adjust nested namespaces.
        * testsuite/20_util/bind/48698.cc: Add test case.
        * testsuite/ext/profile/mutex_extensions_neg.cc: Change line number.

From-SVN: r179580

13 years agoDaily bump.
GCC Administrator [Wed, 5 Oct 2011 00:25:38 +0000 (00:25 +0000)] 
Daily bump.

From-SVN: r179533

13 years agore PR fortran/48706 (Type extension inside subroutine)
Janus Weil [Tue, 4 Oct 2011 20:44:10 +0000 (22:44 +0200)] 
re PR fortran/48706 (Type extension inside subroutine)

2011-10-04  Janus Weil  <janus@gcc.gnu.org>

PR fortran/48706
* module.c (write_dt_extensions): Do not write extended types which
are local to a subroutine.

2011-10-04  Janus Weil  <janus@gcc.gnu.org>

PR fortran/48706
* gfortran.dg/extends_12.f03: New.

From-SVN: r179524

13 years agoffi.c (FFI_INIT_TRAMPOLINE): Clear icache.
Andrew Haley [Tue, 4 Oct 2011 17:05:31 +0000 (17:05 +0000)] 
ffi.c (FFI_INIT_TRAMPOLINE): Clear icache.

2011-10-04  Andrew Haley  <aph@redhat.com>

        * src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Clear icache.

From-SVN: r179513

13 years agonatClass.cc (finalize): Make sure that the class really has an engine.
Andrew Haley [Tue, 4 Oct 2011 17:04:26 +0000 (17:04 +0000)] 
natClass.cc (finalize): Make sure that the class really has an engine.

2011-07-12  Andrew Haley  <aph@redhat.com>

        * java/lang/natClass.cc (finalize): Make sure that the class
        really has an engine.

From-SVN: r179512

13 years agolonglong.h (smul_ppmm, sdiv_qrnnd): Add underscores to the local variables.
Andreas Krebbel [Tue, 4 Oct 2011 07:28:50 +0000 (07:28 +0000)] 
longlong.h (smul_ppmm, sdiv_qrnnd): Add underscores to the local variables.

2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* longlong.h (smul_ppmm, sdiv_qrnnd): Add underscores to the local
variables.  Fix second operand of DR.  Swap inputs for sdiv_qrnnd.

From-SVN: r179492

13 years agoDaily bump.
GCC Administrator [Tue, 4 Oct 2011 00:17:21 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r179483

13 years agogodump.c (go_output_typedef): Support printing enum values that don't fit in a signed...
Jakub Jelinek [Mon, 3 Oct 2011 20:29:11 +0000 (22:29 +0200)] 
godump.c (go_output_typedef): Support printing enum values that don't fit in a signed HOST_WIDE_INT.

* godump.c (go_output_typedef): Support printing enum values that
don't fit in a signed HOST_WIDE_INT.

Co-Authored-By: Ian Lance Taylor <iant@google.com>
From-SVN: r179480

13 years ago* de.po: Update.
Joseph Myers [Mon, 3 Oct 2011 20:16:32 +0000 (21:16 +0100)] 
* de.po: Update.

From-SVN: r179479

13 years agoDaily bump.
GCC Administrator [Mon, 3 Oct 2011 00:18:35 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r179439

13 years agoDaily bump.
GCC Administrator [Sun, 2 Oct 2011 00:17:47 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r179419

13 years agoDaily bump.
GCC Administrator [Sat, 1 Oct 2011 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r179409

13 years ago[multiple changes]
Paolo Carlini [Fri, 30 Sep 2011 20:47:12 +0000 (20:47 +0000)] 
[multiple changes]

2011-09-30  François Dumont  <fdumont@gcc.gnu.org>

* include/debug/vector (vector<>::erase(iterator, iterator)): Check
iterators equality using normal iterators.
* include/debug/deque (deque<>::erase(iterator, iterator)): Likewise.

2011-09-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/50529
* include/bits/vector.tcc (vector<>::erase(iterator, iterator)):
Fix to do nothing if the range is empty.
* include/bits/stl_bvector.h: Likewise.
* include/bits/deque.tcc: Likewise.
* include/debug/vector: Adjust.
* include/debug/deque: Likewise.
* testsuite/23_containers/vector/modifiers/erase/50529.cc: New.
* testsuite/23_containers/deque/modifiers/erase/50529.cc: Likewise.
* testsuite/23_containers/deque/modifiers/erase/3.cc: Adjust.

From-SVN: r179403

13 years agore PR inline-asm/50571 (Undesirable folding in "m" constrained asm operands)
Jakub Jelinek [Fri, 30 Sep 2011 18:14:33 +0000 (20:14 +0200)] 
re PR inline-asm/50571 (Undesirable folding in "m" constrained asm operands)

PR inline-asm/50571
* gimple-fold.c (fold_stmt_1) <case GIMPLE_ASM>: If
input constraints allow mem and not reg, pass true instead of
false as second argument to maybe_fold_reference.

* gcc.dg/pr50571.c: New test.

From-SVN: r179402