OSDN Git Service
jakub [Wed, 7 May 2014 16:05:38 +0000 (16:05 +0000)]
Backported from mainline
2013-09-30 Jakub Jelinek <jakub@redhat.com>
PR middle-end/58564
* fold-const.c (fold_ternary_loc): For A < 0 : <sign bit of A> : 0
optimization, punt if sign_bit_p looked through any zero extension.
* gcc.c-torture/execute/pr58564.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210174
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 7 May 2014 16:04:44 +0000 (16:04 +0000)]
Backported from mainline
2013-09-10 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/58365
* cfgcleanup.c (merge_memattrs): Also clear MEM_READONLY_P
resp. MEM_NOTRAP_P if they differ, or set MEM_VOLATILE_P if
it differs.
* gcc.c-torture/execute/pr58365.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210173
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 7 May 2014 16:03:49 +0000 (16:03 +0000)]
Backported from mainline
2013-09-09 Jakub Jelinek <jakub@redhat.com>
PR c++/58325
* init.c (build_vec_delete): Call mark_rvalue_use on base.
* g++.dg/warn/Wunused-var-21.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210172
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 7 May 2014 16:01:24 +0000 (16:01 +0000)]
Backported from mainline
2013-08-30 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/58277
* tree-ssa-strlen.c (strlen_enter_block): If do_invalidate gave up
after seeing too many stmts with vdef in between dombb and current
bb, invalidate everything.
* gcc.c-torture/execute/pr58277-1.c: New test.
* gcc.c-torture/execute/pr58277-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210171
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 7 May 2014 16:00:33 +0000 (16:00 +0000)]
Backported from mainline
2013-08-23 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/58209
* tree-tailcall.c (find_tail_calls): Give up for pointer result types
if m or a is non-NULL.
* gcc.c-torture/execute/pr58209.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210170
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 7 May 2014 15:59:37 +0000 (15:59 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210169
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 7 May 2014 15:57:48 +0000 (15:57 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210168
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 7 May 2014 15:54:34 +0000 (15:54 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210166
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 7 May 2014 11:51:36 +0000 (11:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210154
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 7 May 2014 10:07:09 +0000 (10:07 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210147
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 7 May 2014 10:01:36 +0000 (10:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210146
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 7 May 2014 08:05:57 +0000 (08:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210144
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 7 May 2014 07:59:26 +0000 (07:59 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210141
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 7 May 2014 00:16:43 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210129
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 6 May 2014 14:22:41 +0000 (14:22 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210110
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 6 May 2014 00:16:37 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210089
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 5 May 2014 00:16:04 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210050
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 4 May 2014 00:16:21 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210044
138bc75d-0d04-0410-961f-
82ee72b054a4
jb [Sat, 3 May 2014 21:03:10 +0000 (21:03 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210042
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 3 May 2014 00:16:22 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210023
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 2 May 2014 00:16:40 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209993
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 1 May 2014 00:16:31 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209963
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 30 Apr 2014 00:16:51 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209919
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 29 Apr 2014 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209884
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 28 Apr 2014 00:17:00 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209845
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 27 Apr 2014 00:16:33 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209831
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 26 Apr 2014 00:16:26 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209815
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 25 Apr 2014 10:47:44 +0000 (10:47 +0000)]
PR target/60941
* config/sparc/sparc.md (ashlsi3_extend): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209793
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 25 Apr 2014 00:16:18 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209769
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 24 Apr 2014 00:16:32 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209728
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 23 Apr 2014 19:05:33 +0000 (19:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209718
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 23 Apr 2014 00:16:37 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209666
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 22 Apr 2014 00:16:04 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209550
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 21 Apr 2014 00:16:25 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209539
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 20 Apr 2014 00:16:25 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209531
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 19 Apr 2014 00:16:22 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209527
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 18 Apr 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209510
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 17 Apr 2014 00:16:15 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209453
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 16 Apr 2014 00:16:31 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209436
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 15 Apr 2014 00:16:18 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209396
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 14 Apr 2014 00:16:39 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209349
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sun, 13 Apr 2014 02:05:02 +0000 (02:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209345
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 13 Apr 2014 00:16:27 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209341
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 12 Apr 2014 00:16:28 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209330
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 11 Apr 2014 00:16:34 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209287
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 10 Apr 2014 00:16:37 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209258
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209245
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 9 Apr 2014 00:16:33 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209231
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 8 Apr 2014 00:16:37 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209206
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Mon, 7 Apr 2014 09:54:55 +0000 (09:54 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209181
138bc75d-0d04-0410-961f-
82ee72b054a4
dominiq [Mon, 7 Apr 2014 08:00:55 +0000 (08:00 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209176
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 7 Apr 2014 00:16:15 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209171
138bc75d-0d04-0410-961f-
82ee72b054a4
dominiq [Sun, 6 Apr 2014 11:43:38 +0000 (11:43 +0000)]
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].
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209162
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 6 Apr 2014 00:16:18 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209158
138bc75d-0d04-0410-961f-
82ee72b054a4
dominiq [Sat, 5 Apr 2014 12:29:27 +0000 (12:29 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209153
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 5 Apr 2014 00:16:35 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209135
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 4 Apr 2014 12:04:03 +0000 (12:04 +0000)]
2014-04-04 Richard Biener <rguenther@suse.de>
* tree-ssanames.c (make_ssa_name_fn): Fix assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209082
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 4 Apr 2014 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209066
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 3 Apr 2014 00:16:15 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209043
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 2 Apr 2014 20:30:55 +0000 (20:30 +0000)]
libgomp: Fix default futex vs errno
* config/linux/futex.h (futex_wait): Get error value from errno.
(futex_wake): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209037
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 2 Apr 2014 00:16:33 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@209005
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 1 Apr 2014 17:28:29 +0000 (17:28 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208991
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 1 Apr 2014 08:52:32 +0000 (08:52 +0000)]
2014-04-01 Richard Biener <rguenther@suse.de>
* gimple.h (struct gimple_statement_base): Align subcode to
16 bits.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208976
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 1 Apr 2014 08:26:10 +0000 (08:26 +0000)]
* doc/invoke.texi (mapp-regs): Clarify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208975
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 1 Apr 2014 00:16:15 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208967
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 31 Mar 2014 00:16:30 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208951
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 30 Mar 2014 15:48:48 +0000 (15:48 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208947
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 30 Mar 2014 00:16:33 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208942
138bc75d-0d04-0410-961f-
82ee72b054a4
mikael [Sat, 29 Mar 2014 12:14:41 +0000 (12:14 +0000)]
fortran/
PR fortran/60677
* trans-intrinsic.c (gfc_conv_intrinsic_ichar): Enlarge argument
list buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208935
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sat, 29 Mar 2014 11:51:17 +0000 (11:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208934
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 29 Mar 2014 00:16:37 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208928
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 28 Mar 2014 00:16:40 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208884
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 27 Mar 2014 00:16:30 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208857
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 26 Mar 2014 00:16:42 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208827
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 25 Mar 2014 20:40:17 +0000 (20:40 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208821
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 25 Mar 2014 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208800
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 24 Mar 2014 00:16:35 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208777
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 23 Mar 2014 11:31:36 +0000 (11:31 +0000)]
PR rtl-optimization/60601
* bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208772
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 23 Mar 2014 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208767
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 22 Mar 2014 00:16:15 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208760
138bc75d-0d04-0410-961f-
82ee72b054a4
jye2 [Fri, 21 Mar 2014 02:38:22 +0000 (02:38 +0000)]
Fix typo in ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208744
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 21 Mar 2014 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208741
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Thu, 20 Mar 2014 19:42:15 +0000 (19:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208733
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 20 Mar 2014 16:34:32 +0000 (16:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208717
138bc75d-0d04-0410-961f-
82ee72b054a4
joel [Thu, 20 Mar 2014 16:14:37 +0000 (16:14 +0000)]
ChangeLog: Fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208712
138bc75d-0d04-0410-961f-
82ee72b054a4
joel [Thu, 20 Mar 2014 16:13:10 +0000 (16:13 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208711
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 20 Mar 2014 00:16:40 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208689
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 19 Mar 2014 09:40:03 +0000 (09:40 +0000)]
* tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Remove space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208678
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 19 Mar 2014 00:16:25 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208670
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Tue, 18 Mar 2014 20:08:03 +0000 (20:08 +0000)]
PR rtl-optimization/56356
* sdbout.c (sdbout_parms): Verify that parms'
incoming argument is valid.
(sdbout_reg_parms): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208665
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 18 Mar 2014 10:58:22 +0000 (10:58 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208640
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 18 Mar 2014 08:46:21 +0000 (08:46 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208632
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 18 Mar 2014 00:16:21 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208626
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 17 Mar 2014 14:38:55 +0000 (14:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208618
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 17 Mar 2014 00:16:19 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208607
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 16 Mar 2014 00:16:28 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208600
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sat, 15 Mar 2014 23:06:44 +0000 (23:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208599
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 15 Mar 2014 00:16:25 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208583
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Fri, 14 Mar 2014 09:52:07 +0000 (09:52 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208565
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 14 Mar 2014 00:16:33 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@208559
138bc75d-0d04-0410-961f-
82ee72b054a4