]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
11 years agobackport: re PR target/57777 (Python module fails compilation with "-march=core-avx2...
Jakub Jelinek [Wed, 7 May 2014 15:59:37 +0000 (17:59 +0200)] 
backport: re PR target/57777 (Python module fails compilation with "-march=core-avx2 -O3")

Backported from mainline
2013-07-03  Jakub Jelinek  <jakub@redhat.com>

PR target/57777
* config/i386/predicates.md (vsib_address_operand): Disallow
SYMBOL_REF or LABEL_REF in parts.disp if TARGET_64BIT && flag_pic.

* gcc.target/i386/pr57777.c: New test.

From-SVN: r210169

11 years agobackport: re PR target/57623 (BEXTR intrinsic has memory operands switched around...
Jakub Jelinek [Wed, 7 May 2014 15:57:48 +0000 (17:57 +0200)] 
backport: re PR target/57623 (BEXTR intrinsic has memory operands switched around (fails to compile code))

Backported from mainline
2013-06-27  Jakub Jelinek  <jakub@redhat.com>

PR target/57623
* config/i386/i386.md (bmi_bextr_<mode>): Swap predicates and
constraints of operand 1 and 2.

* gcc.target/i386/bmi-bextr-3.c: New test.

From-SVN: r210168

11 years agobackport: re PR target/57623 (BEXTR intrinsic has memory operands switched around...
Jakub Jelinek [Wed, 7 May 2014 15:54:34 +0000 (17:54 +0200)] 
backport: re PR target/57623 (BEXTR intrinsic has memory operands switched around (fails to compile code))

Backported from mainline
2013-06-27  Jakub Jelinek  <jakub@redhat.com>

PR target/57623
* config/i386/i386.md (bmi2_bzhi_<mode>3): Swap AND arguments
to match RTL canonicalization.  Swap predicates and
constraints of operand 1 and 2.

* gcc.target/i386/bmi2-bzhi-1.c: New test.

From-SVN: r210166

11 years agobackport: re PR tree-optimization/59164 (ice: tree check: expected tree that contains...
Richard Biener [Wed, 7 May 2014 11:51:36 +0000 (11:51 +0000)] 
backport: re PR tree-optimization/59164 (ice: tree check: expected tree that contains ‘decl minimal’ structure, have ‘integer_cst’ in get_var_info, at tree-into-ssa.c:380)

2014-05-07  Richard Biener  <rguenther@suse.de>

Backport from mainline
2013-11-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59164
* tree-vect-loop.c (vect_analyze_loop_operations): Adjust
check whether we can create an epilogue loop to reflect the
cases where we create one.

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

From-SVN: r210154

11 years agobackport: [multiple changes]
Richard Biener [Wed, 7 May 2014 10:07:09 +0000 (10:07 +0000)] 
backport: [multiple changes]

2014-05-07  Richard Biener  <rguenther@suse.de>

Backport from mainline
2013-11-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59334
* tree-ssa-dce.c (eliminate_unnecessary_stmts): Fix bug
in previous commit.

2013-11-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59330
* tree-ssa-dce.c (eliminate_unnecessary_stmts): Simplify
and fix delayed marking of free calls not necessary.

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

2014-01-09  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59715
* tree-cfg.h (split_critical_edges): Declare.
* tree-cfg.c (split_critical_edges): Export.
* tree-ssa-sink.c (execute_sink_code): Split critical edges.

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

From-SVN: r210147

11 years agobackport: [multiple changes]
Richard Biener [Wed, 7 May 2014 10:01:36 +0000 (10:01 +0000)] 
backport: [multiple changes]

2014-05-07  Richard Biener  <rguenther@suse.de>

Backport from mainline
2013-11-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59334
* tree-ssa-dce.c (eliminate_unnecessary_stmts): Fix bug
in previous commit.

2013-11-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59330
* tree-ssa-dce.c (eliminate_unnecessary_stmts): Simplify
and fix delayed marking of free calls not necessary.

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

2014-01-09  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59715
* tree-cfg.h (split_critical_edges): Declare.
* tree-cfg.c (split_critical_edges): Export.
* tree-ssa-sink.c (execute_sink_code): Split critical edges.

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

From-SVN: r210146

11 years agore PR tree-optimization/57864 (ICE in bitmap_set_replace_value, at tree-ssa-pre.c...
Richard Biener [Wed, 7 May 2014 08:05:57 +0000 (08:05 +0000)] 
re PR tree-optimization/57864 (ICE in bitmap_set_replace_value, at tree-ssa-pre.c:862)

2014-05-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57864
* tree-ssa-pre.c (phi_translate_1): Backport NAME case
simplification from mainline.  Do not lookup the VN
value-number here.

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

From-SVN: r210144

11 years agobackport: re PR tree-optimization/58246 (wrong code at -O1 and above)
Richard Biener [Wed, 7 May 2014 07:59:26 +0000 (07:59 +0000)] 
backport: re PR tree-optimization/58246 (wrong code at -O1 and above)

2014-05-07  Richard Biener  <rguenther@suse.de>

Backport from mainline
2013-08-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/58246
* tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Properly
handle the dominance check inside a basic-block.

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

From-SVN: r210141

11 years agoDaily bump.
GCC Administrator [Wed, 7 May 2014 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210129

11 years agobackport: re PR tree-optimization/57417 (hang on volatile int array)
Richard Biener [Tue, 6 May 2014 14:22:41 +0000 (14:22 +0000)] 
backport: re PR tree-optimization/57417 (hang on volatile int array)

2014-05-06  Richard Biener  <rguenther@suse.de>

Backport from mainline
2013-05-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57417
* tree-ssa-sccvn.c (set_ssa_val_to): Compare addresses using
get_addr_base_and_unit_offset.

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

From-SVN: r210110

11 years agoDaily bump.
GCC Administrator [Tue, 6 May 2014 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210089

11 years agoDaily bump.
GCC Administrator [Mon, 5 May 2014 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210050

11 years agoDaily bump.
GCC Administrator [Sun, 4 May 2014 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210044

11 years agoPR 56919 Check _POSIX_MONOTONIC_CLOCK.
Janne Blomqvist [Sat, 3 May 2014 21:03:10 +0000 (00:03 +0300)] 
PR 56919 Check _POSIX_MONOTONIC_CLOCK.

2014-05-04  Janne Blomqvist  <jb@gcc.gnu.org>

Backport from 4.9
PR libfortran/56919
* intrinsics/system_clock.c (GF_CLOCK_MONOTONIC): Check
_POSIX_MONOTONIC_CLOCK as well.

From-SVN: r210042

11 years agoDaily bump.
GCC Administrator [Sat, 3 May 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210023

11 years agoDaily bump.
GCC Administrator [Fri, 2 May 2014 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209993

11 years agoDaily bump.
GCC Administrator [Thu, 1 May 2014 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209963

11 years agoDaily bump.
GCC Administrator [Wed, 30 Apr 2014 00:16:51 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209919

11 years agoDaily bump.
GCC Administrator [Tue, 29 Apr 2014 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209884

11 years agoDaily bump.
GCC Administrator [Mon, 28 Apr 2014 00:17:00 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r209845

11 years agoDaily bump.
GCC Administrator [Sun, 27 Apr 2014 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209831

11 years agoDaily bump.
GCC Administrator [Sat, 26 Apr 2014 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209815

11 years agore PR target/60941 (miscompilation of firefox javascript interpreter)
Eric Botcazou [Fri, 25 Apr 2014 10:47:44 +0000 (10:47 +0000)] 
re PR target/60941 (miscompilation of firefox javascript interpreter)

PR target/60941
* config/sparc/sparc.md (ashlsi3_extend): Delete.

From-SVN: r209793

11 years agoDaily bump.
GCC Administrator [Fri, 25 Apr 2014 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209769

11 years agoDaily bump.
GCC Administrator [Thu, 24 Apr 2014 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209728

11 years agobackport: re PR target/60909 (ICE: in extract_insn, at recog.c:2202 (unrecognizable...
Uros Bizjak [Wed, 23 Apr 2014 19:05:33 +0000 (21:05 +0200)] 
backport: re PR target/60909 (ICE: in extract_insn, at recog.c:2202 (unrecognizable insn) with -mrdrnd and __builtin_ia32_rdrand32_step())

        Backport from mainline
        2014-04-21  Uros Bizjak  <ubizjak@gmail.com>

        PR target/60909
        * config/i386/i386.c (ix86_expand_builtin)
        <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary
        register for target RTX.

testsuite/ChangeLog:

        Backport from mainline
        2014-04-21  Uros Bizjak  <ubizjak@gmail.com>

        PR target/60909
        * gcc.target/i386/pr60909.c: New test.

From-SVN: r209718

11 years agoDaily bump.
GCC Administrator [Wed, 23 Apr 2014 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209666

11 years agoDaily bump.
GCC Administrator [Tue, 22 Apr 2014 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209550

11 years agoDaily bump.
GCC Administrator [Mon, 21 Apr 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209539

11 years agoDaily bump.
GCC Administrator [Sun, 20 Apr 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209531

11 years agoDaily bump.
GCC Administrator [Sat, 19 Apr 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209527

11 years agoDaily bump.
GCC Administrator [Fri, 18 Apr 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209510

11 years agoDaily bump.
GCC Administrator [Thu, 17 Apr 2014 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209453

11 years agoDaily bump.
GCC Administrator [Wed, 16 Apr 2014 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209436

11 years agoDaily bump.
GCC Administrator [Tue, 15 Apr 2014 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209396

11 years agoDaily bump.
GCC Administrator [Mon, 14 Apr 2014 00:16:39 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209349

11 years agobackport: re PR fortran/60810 (list directed io from array results in end of file)
Jerry DeLisle [Sun, 13 Apr 2014 02:05:02 +0000 (02:05 +0000)] 
backport: re PR fortran/60810 (list directed io from array results in end of file)

2014-04-12  Jerry DeLisle  <jvdelisle@gcc.gnu>

Backport from mainline
PR libfortran/60810
gfortran.dg/arrayio_13.f90: New test.

PR libfortran/60810
io/unit.c (is_trim_ok): If internal unit is array, do not trim.

From-SVN: r209345

11 years agoDaily bump.
GCC Administrator [Sun, 13 Apr 2014 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209341

11 years agoDaily bump.
GCC Administrator [Sat, 12 Apr 2014 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209330

11 years agoDaily bump.
GCC Administrator [Fri, 11 Apr 2014 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209287

11 years agoDaily bump.
GCC Administrator [Thu, 10 Apr 2014 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209258

11 years agoCheck if GCC uses assembler cfi support
Rainer Orth [Wed, 9 Apr 2014 14:57:48 +0000 (14:57 +0000)] 
Check if GCC uses assembler cfi support

* config/generic/asmcfi.h: Also check for
__GCC_HAVE_DWARF2_CFI_ASM.

From-SVN: r209245

11 years agoDaily bump.
GCC Administrator [Wed, 9 Apr 2014 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209231

11 years agoDaily bump.
GCC Administrator [Tue, 8 Apr 2014 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209206

11 years agore PR ipa/60640 (ICE edge points to wrong declaration / verify_cgraph_node failed)
Martin Jambor [Mon, 7 Apr 2014 09:54:55 +0000 (11:54 +0200)] 
re PR ipa/60640 (ICE edge points to wrong declaration / verify_cgraph_node failed)

2014-04-07  Martin Jambor  <mjambor@suse.cz>

PR ipa/60640
* ipa-cp.c (propagate_constants_accross_call): Do not propagate
accross thunks.

testsuite/
        * g++.dg/ipa/pr60640-1.C: New test.
        * g++.dg/ipa/pr60640-2.C: Likewise.
        * g++.dg/ipa/pr60640-3.C: Likewise.

From-SVN: r209181

11 years agobackport: re PR target/48094 (ld: warning: section has unexpectedly large size errors...
Dominique d'Humieres [Mon, 7 Apr 2014 08:00:55 +0000 (10:00 +0200)] 
backport: re PR target/48094 (ld: warning: section has unexpectedly large size errors in objc/obj-c++ lto)

2014-04-07  Dominique d'Humieres <dominiq@lps.ens.fr>

        Backport from mainline
        2013-09-14  Iain Sandoe <iains@gcc.gnu.org>

gcc:

PR target/48094
* config/darwin.c (darwin_objc2_section): Note if ObjC Metadata is seen.
(darwin_objc1_section): Likewise.
(darwin_file_end): Emit Image Info section when required.

gcc/c-family:

PR target/48094
* c.opt (fgnu-runtime, fnext-runtime, fobjc-abi-version,
fobjc-gc, freplace-objc-classes): Accept for LTO.

gcc/objc:

PR target/48094
* objc-next-runtime-abi-01.c (generate_objc_image_info): Remove.
(objc_generate_v1_next_metadata): Remove generation of ImageInfo.
* objc-next-runtime-abi-02.c (generate_v2_objc_image_info): Remove.
(objc_generate_v2_next_metadata): Remove generation of ImageInfo.

From-SVN: r209176

11 years agoDaily bump.
GCC Administrator [Mon, 7 Apr 2014 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209171

11 years agore PR target/54083 (FAIL: gcc.dg/torture/pr53922.c on *-apple-darwin*)
Dominique d'Humieres [Sun, 6 Apr 2014 11:43:38 +0000 (13:43 +0200)] 
re PR target/54083 (FAIL: gcc.dg/torture/pr53922.c on *-apple-darwin*)

2014-04-06  Dominique d'Humieres  <dominiq@lps.ens.fr>
    Iain Sandoe <iain@codesourcery.com>

PR target/54083
* gcc.dg/attr-weakref-1.c: Allow the test on darwin with
the additional options -Wl,-undefined,dynamic_lookup and
-Wl,-flat_namespace
* gcc.dg/torture/pr53922.c: Additional option
-Wl,-flat_namespace for darwin[89].

Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
From-SVN: r209162

11 years agoDaily bump.
GCC Administrator [Sun, 6 Apr 2014 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209158

11 years agore PR target/54407 (FAIL: 30_threads/condition_variable/54185.cc execution test ...
Dominique d'Humieres [Sat, 5 Apr 2014 12:29:27 +0000 (14:29 +0200)] 
re PR target/54407 (FAIL: 30_threads/condition_variable/54185.cc execution test  program timed out on powerpc-apple-darwin9 and x86_64-apple-darwin10)

2012-04-05  Dominique d'Humieres  <dominiq@lps.ens.fr>
    Jack Howarth <howarth@bromo.med.uc.edu>

PR target/54407
* 30_threads/condition_variable/54185.cc: Skip for darwin < 11.

Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>
From-SVN: r209153

11 years agoDaily bump.
GCC Administrator [Sat, 5 Apr 2014 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209135

11 years agotree-ssanames.c (make_ssa_name_fn): Fix assert.
Richard Biener [Fri, 4 Apr 2014 12:04:03 +0000 (12:04 +0000)] 
tree-ssanames.c (make_ssa_name_fn): Fix assert.

2014-04-04  Richard Biener  <rguenther@suse.de>

* tree-ssanames.c (make_ssa_name_fn): Fix assert.

From-SVN: r209082

11 years agoDaily bump.
GCC Administrator [Fri, 4 Apr 2014 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209066

11 years agoDaily bump.
GCC Administrator [Thu, 3 Apr 2014 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209043

11 years agolibgomp: Fix default futex vs errno
Richard Henderson [Wed, 2 Apr 2014 20:30:55 +0000 (13:30 -0700)] 
libgomp: Fix default futex vs errno

* config/linux/futex.h (futex_wait): Get error value from errno.
(futex_wake): Likewise.

From-SVN: r209037

11 years agoDaily bump.
GCC Administrator [Wed, 2 Apr 2014 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209005

11 years agoCore DR 475 PR c++/41174 PR c++/59224
Jason Merrill [Tue, 1 Apr 2014 17:28:29 +0000 (13:28 -0400)] 
Core DR 475 PR c++/41174 PR c++/59224

Core DR 475
PR c++/41174
PR c++/59224
* libsupc++/eh_throw.cc (__cxa_throw): Set uncaughtExceptions.
* libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception)
(__cxa_allocate_exception): Don't set it here.

From-SVN: r208991

11 years agogimple.h (struct gimple_statement_base): Align subcode to 16 bits.
Richard Biener [Tue, 1 Apr 2014 08:52:32 +0000 (08:52 +0000)] 
gimple.h (struct gimple_statement_base): Align subcode to 16 bits.

2014-04-01  Richard Biener  <rguenther@suse.de>

* gimple.h (struct gimple_statement_base): Align subcode to
16 bits.

From-SVN: r208976

11 years ago* doc/invoke.texi (mapp-regs): Clarify.
Sebastian Huber [Tue, 1 Apr 2014 08:26:10 +0000 (08:26 +0000)] 
* doc/invoke.texi (mapp-regs): Clarify.

From-SVN: r208975

11 years agoDaily bump.
GCC Administrator [Tue, 1 Apr 2014 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208967

11 years agoDaily bump.
GCC Administrator [Mon, 31 Mar 2014 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208951

11 years agore PR ada/60703 (System.Address not preelaborable on MIPS)
Eric Botcazou [Sun, 30 Mar 2014 15:48:48 +0000 (15:48 +0000)] 
re PR ada/60703 (System.Address not preelaborable on MIPS)

PR ada/60703
* system-linux-alpha.ads: Adjust for Ada 2005.
* system-linux-mips.ads: Likewise.
* system-linux-mips64el.ads: Likewise.
* system-linux-mipsel.ads: Likewise.
* system-linux-s390.ads: Likewise.
* system-linux-s390x.ads: Likewise.
* system-linux-sparc.ads: Likewise.
* system-linux-sparcv9.ads: Likewise.
* system-rtems.ads: Likewise.
* system-vxworks-arm.ads: Likewise.

From-SVN: r208947

11 years agoDaily bump.
GCC Administrator [Sun, 30 Mar 2014 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208942

11 years agore PR fortran/60677 (FAIL: gfortran.dg/ichar_3.f90 -O (test for excess errors))
Mikael Morin [Sat, 29 Mar 2014 12:14:41 +0000 (12:14 +0000)] 
re PR fortran/60677 (FAIL: gfortran.dg/ichar_3.f90  -O  (test for excess errors))

fortran/
PR fortran/60677
* trans-intrinsic.c (gfc_conv_intrinsic_ichar): Enlarge argument
list buffer.

From-SVN: r208935

11 years agore PR fortran/60522 (WHERE construct causes an ICE in gfc_trans_where_2)
Thomas Koenig [Sat, 29 Mar 2014 11:51:17 +0000 (11:51 +0000)] 
re PR fortran/60522 (WHERE construct causes an ICE in gfc_trans_where_2)

2014-04-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/60522
* frontend-passes.c (cfe_code):  Do not walk subtrees
for WHERE.

2014-04-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/60522
* gfortran.dg/where_4.f90:  New test case.

From-SVN: r208934

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

From-SVN: r208928

11 years agoDaily bump.
GCC Administrator [Fri, 28 Mar 2014 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208884

11 years agoDaily bump.
GCC Administrator [Thu, 27 Mar 2014 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208857

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

From-SVN: r208827

11 years agore PR libstdc++/60658 (std::atomic<T*> is unexpectedly not lock-free)
Jonathan Wakely [Tue, 25 Mar 2014 20:40:17 +0000 (20:40 +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: r208821

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

From-SVN: r208800

11 years agoDaily bump.
GCC Administrator [Mon, 24 Mar 2014 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208777

11 years agore PR rtl-optimization/60601 (profiledbootstrap fails with Ada)
Eric Botcazou [Sun, 23 Mar 2014 11:31:36 +0000 (11:31 +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.

From-SVN: r208772

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

From-SVN: r208767

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

From-SVN: r208760

11 years agoFix typo in ChangeLog
Joey Ye [Fri, 21 Mar 2014 02:38:22 +0000 (02:38 +0000)] 
Fix typo in ChangeLog

From-SVN: r208744

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

From-SVN: r208741

11 years agore PR fortran/60543 (Function with side effect removed by the optimizer.)
Tobias Burnus [Thu, 20 Mar 2014 19:42:15 +0000 (20:42 +0100)] 
re PR fortran/60543 (Function with side effect removed by the optimizer.)

2014-03-20  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, resolve_ordinary_assign): 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, check_io_constraints): 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-20  Tobias Burnus  <burnus@net-b.de>

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

From-SVN: r208733

11 years agore PR target/60568 (lto1: internal compiler error: in insn_min_length, at config...
Jakub Jelinek [Thu, 20 Mar 2014 16:34:32 +0000 (17:34 +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: r208717

11 years agoChangeLog: Fix typo
Joel Sherrill [Thu, 20 Mar 2014 16:14:37 +0000 (16:14 +0000)] 
ChangeLog: Fix typo

From-SVN: r208712

11 years agoconfig.host (v850*-*-*): Add to tmake_file instead of resetting it.
Joel Sherrill [Thu, 20 Mar 2014 16:13:10 +0000 (16:13 +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: r208711

11 years agoDaily bump.
GCC Administrator [Thu, 20 Mar 2014 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208689

11 years ago* tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Remove space.
Eric Botcazou [Wed, 19 Mar 2014 09:40:03 +0000 (09:40 +0000)] 
* tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Remove space.

From-SVN: r208678

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

From-SVN: r208670

11 years agore PR rtl-optimization/56356 (DJGPP compiler crashing)
Kai Tietz [Tue, 18 Mar 2014 20:08:03 +0000 (21:08 +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: r208665

11 years agobackport: [multiple changes]
Richard Biener [Tue, 18 Mar 2014 10:58:22 +0000 (10:58 +0000)] 
backport: [multiple changes]

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

Backport from mainline
2013-11-05  Richard Biener  <rguenther@suse.de>

PR middle-end/58941
* tree-dfa.c (get_ref_base_and_extent): Merge common code
in MEM_REF and TARGET_MEM_REF handling.  Make sure to
process trailing array detection before diving into the
view-converted object (and possibly apply some extra offset).

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

2012-05-07  Eric Botcazou  <ebotcazou@adacore.com>

* tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Do the offset
computation using the precision of the index type.

2012-05-31  Eric Botcazou  <ebotcazou@adacore.com>

* tree-dfa.c (get_ref_base_and_extent): Compute the offset using
double ints throughout.

From-SVN: r208640

11 years agobackport: [multiple changes]
Richard Biener [Tue, 18 Mar 2014 08:46:21 +0000 (08:46 +0000)] 
backport: [multiple changes]

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

Backport from mainline
2013-08-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57521
* tree-if-conv.c (if_convertible_bb_p): Verify that at least
one edge is non-critical.
(find_phi_replacement_condition): Make sure to use a non-critical
edge.  Cleanup and remove old bug workarounds.
(bb_postdominates_preds): Remove.
(if_convertible_loop_p_1): Do not compute post-dominators.
(combine_blocks): Do not free post-dominators.
(main_tree_if_conversion): Likewise.

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

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

PR middle-end/57656
* fold-const.c (negate_expr_p): Fix division case.
(negate_expr): Likewise.

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

2013-11-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57517
* tree-predcom.c (combinable_refs_p): Verify the combination
is always executed when the refs are.

* gfortran.fortran-torture/compile/pr57517.f90: New testcase.
* gcc.dg/torture/pr57517.c: Likewise.

From-SVN: r208632

11 years agoDaily bump.
GCC Administrator [Tue, 18 Mar 2014 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208626

11 years agobackport: [multiple changes]
Richard Biener [Mon, 17 Mar 2014 14:38:55 +0000 (14:38 +0000)] 
backport: [multiple changes]

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

Backport from mainline
2013-05-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57303
* tree-ssa-sink.c (statement_sink_location): Properly handle
self-assignments.

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

2013-12-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59139
* tree-ssa-loop-niter.c (chain_of_csts_start): Properly match
code in get_val_for.
(get_val_for): Use gcc_checking_asserts.

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

2014-02-14  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60183
* tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating
loads.
(tree_ssa_phiprop): Calculate and free post-dominators.

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

From-SVN: r208618

11 years agoDaily bump.
GCC Administrator [Mon, 17 Mar 2014 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208607

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

From-SVN: r208600

11 years agobackport: re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of...
Jerry DeLisle [Sat, 15 Mar 2014 23:06:44 +0000 (23:06 +0000)] 
backport: re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of file without trailing sequential record marker)

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

Backport from mainline
PR libfortran/58324
PR libfortran/38199
* intrinsics/string_intriniscs_inc.c (string_len_trim):
Remove prototypes for string_len_trim and move to...
* libgfortran.h (string_len_trim): ... here and
(string_len_trim_char4): ...here.
* io/list_read.c (finish_list_read): Read one character to check
for the end of the file.  If it is the end, then issue the file
end error message.  If not, use eat_line to reach the end
without giving error.  The next attempt to read will then
issue the error as described above.
* io/read.c (read_decimal): Quickly skip spaces to avoid calls
to next_char.
* io/unit.c (is_trim_ok): New helper function to check various
conditions to see if its OK to trim the internal unit string.
(get_internal_unit): Use LEN_TRIM to shorten selected internal
unit strings for optimizing READ. Enable this optimization for
formatted READ.

Backport from mainline
PR libfortran/58324
* gfortran.dg/list_read_12.f90: New test.

From-SVN: r208599

11 years agoDaily bump.
GCC Administrator [Sat, 15 Mar 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208583

11 years agobackport: re PR target/59396 ([avr] Wrong warning with ISR() and -flto)
Georg-Johann Lay [Fri, 14 Mar 2014 09:52:07 +0000 (09:52 +0000)] 
backport: re PR target/59396 ([avr] Wrong warning with ISR() and -flto)

Backport from 2014-03-14 trunk r208562.
PR target/59396
* config/avr/avr.c (avr_set_current_function): Pass function name
through default_strip_name_encoding before sanity checking instead
of skipping the first char of the assembler name.

From-SVN: r208565

11 years agoDaily bump.
GCC Administrator [Fri, 14 Mar 2014 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208559

11 years agore PR ada/51483 (cstand.adb:Register_Float_Type makes invalid assumption about FP...
Eric Botcazou [Thu, 13 Mar 2014 15:43:01 +0000 (15:43 +0000)] 
re PR ada/51483 (cstand.adb:Register_Float_Type makes invalid assumption about FP modes)

PR ada/51483
* back_end.ads (Register_Type_Proc): Add 'precision' parameter.
* cstand.adb (Register_Float_Type): Add 'precision' parameter and use
it to set the RM size.  Use directly 'size' for the Esize.
* gcc-interface/gigi.h (enumerate_modes): Add integer parameter.
* gcc-interface/misc.c (enumerate_modes): Likewise.  Do not register
types for vector modes, pass the size in addition to the precision.

From-SVN: r208548

11 years agoDaily bump.
GCC Administrator [Thu, 13 Mar 2014 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208523

11 years agoDaily bump.
GCC Administrator [Wed, 12 Mar 2014 00:16:47 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208502

11 years agonatObject.cc (_Jv_MonitorEnter): Add missing parenthesis around comparison with ...
Uros Bizjak [Tue, 11 Mar 2014 18:58:16 +0000 (19:58 +0100)] 
natObject.cc (_Jv_MonitorEnter): Add missing parenthesis around comparison with (address | LOCKED) in JvAssert.

* java/lang/natObject.cc (_Jv_MonitorEnter): Add missing parenthesis
around comparison with (address | LOCKED) in JvAssert.

From-SVN: r208493

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

From-SVN: r208467