summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2014-05-18 22:59:43 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2014-05-18 22:59:43 +0000
commit58f21a5467a7004a8c730d5597f7858eb92b3b75 (patch)
tree9d6648630ad35c1726e43290f55346d93988dbee
parent06be1aa5abd48640b4428697a53bbb54bec1a58e (diff)
downloadgcc-49-58f21a5467a7004a8c730d5597f7858eb92b3b75.tar.gz
* Update to SVN 20140518 (r210592) from the gcc-4_9-branch.
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.9@7387 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/svn-updates.diff107
2 files changed, 92 insertions, 21 deletions
diff --git a/debian/changelog b/debian/changelog
index 54a3686..2d9bf55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,14 +1,14 @@
gcc-4.9 (4.9.0-4) unstable; urgency=medium
- * Update to SVN 20140518 (r210581) from the gcc-4_9-branch.
+ * Update to SVN 20140518 (r210592) from the gcc-4_9-branch.
* Update the local ada-libgnatprj patch for AArch64. Addresses: #748233.
- * Update the libstdc++v-python3 patch. Closes: #748317.
+ * Update the libstdc++v-python3 patch. Closes: #748317, #738341, 747903.
* Build-depend on systemtap-sdt-dev, on every architecure, doesn't seem to hurt
on architectures where it is not supported. Closes: #748315.
* Update the gcc-default-format-security patch (Steve Beattie). LP: #1317305.
* Apply the proposed patch for PR c/57653. Closes: #734345.
- -- Matthias Klose <doko@debian.org> Sun, 18 May 2014 14:02:40 +0200
+ -- Matthias Klose <doko@debian.org> Sun, 18 May 2014 23:29:43 +0200
gcc-4.9 (4.9.0-3) unstable; urgency=medium
diff --git a/debian/patches/svn-updates.diff b/debian/patches/svn-updates.diff
index 5799f57..2a7a8be 100644
--- a/debian/patches/svn-updates.diff
+++ b/debian/patches/svn-updates.diff
@@ -1,10 +1,10 @@
-# DP: updates from the 4.9 branch upto 20140518 (r210581).
+# DP: updates from the 4.9 branch upto 20140518 (r210592).
last_updated()
{
cat > ${dir}LAST_UPDATED <<EOF
-Sun May 18 13:48:43 CEST 2014
-Sun May 18 11:48:43 UTC 2014 (revision 210581)
+Sun May 18 23:30:44 CEST 2014
+Sun May 18 21:30:44 UTC 2014 (revision 210592)
EOF
}
@@ -4796,6 +4796,34 @@ Index: gcc/testsuite/gcc.c-torture/execute/pr60960.c
+ __builtin_abort ();
+ return 0;
+}
+Index: gcc/testsuite/gnat.dg/enum3.adb
+===================================================================
+--- a/src/gcc/testsuite/gnat.dg/enum3.adb (.../tags/gcc_4_9_0_release)
++++ b/src/gcc/testsuite/gnat.dg/enum3.adb (.../branches/gcc-4_9-branch)
+@@ -0,0 +1,23 @@
++-- { dg-do run }
++
++procedure Enum3 is
++ type Enum is (Aaa, Bbb, Ccc);
++ for Enum use (1,2,4);
++begin
++ for Lo in Enum loop
++ for Hi in Enum loop
++ declare
++ subtype S is Enum range Lo .. Hi;
++ type Vector is array (S) of Integer;
++ Vec : Vector;
++ begin
++ for I in S loop
++ Vec (I) := 0;
++ end loop;
++ if Vec /= (S => 0) then
++ raise Program_Error;
++ end if;
++ end;
++ end loop;
++ end loop;
++end;
Index: gcc/testsuite/gcc.dg/vmx/merge-vsx-be-order.c
===================================================================
--- a/src/gcc/testsuite/gcc.dg/vmx/merge-vsx-be-order.c (.../tags/gcc_4_9_0_release)
@@ -5456,7 +5484,11 @@ Index: gcc/testsuite/ChangeLog
===================================================================
--- a/src/gcc/testsuite/ChangeLog (.../tags/gcc_4_9_0_release)
+++ b/src/gcc/testsuite/ChangeLog (.../branches/gcc-4_9-branch)
-@@ -1,3 +1,323 @@
+@@ -1,3 +1,327 @@
++2014-05-18 Eric Botcazou <ebotcazou@adacore.com>
++
++ * gnat.dg/enum3.adb: New test.
++
+2014-04-16 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/60854
@@ -5780,7 +5812,7 @@ Index: gcc/testsuite/ChangeLog
2014-04-22 Release Manager
* GCC 4.9.0 released.
-@@ -51,7 +371,7 @@
+@@ -51,7 +375,7 @@
2014-04-12 Jerry DeLisle <jvdelisle@gcc.gnu>
PR libfortran/60810
@@ -5789,7 +5821,7 @@ Index: gcc/testsuite/ChangeLog
2014-04-11 Steve Ellcey <sellcey@mips.com>
Jakub Jelinek <jakub@redhat.com>
-@@ -135,8 +455,7 @@
+@@ -135,8 +459,7 @@
2014-04-08 Jason Merrill <jason@redhat.com>
@@ -5799,7 +5831,7 @@ Index: gcc/testsuite/ChangeLog
2014-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
-@@ -256,10 +575,10 @@
+@@ -256,10 +579,10 @@
2014-04-04 Martin Jambor <mjambor@suse.cz>
PR ipa/60640
@@ -5814,7 +5846,7 @@ Index: gcc/testsuite/ChangeLog
2014-04-04 Jeff Law <law@redhat.com>
-@@ -371,7 +690,7 @@
+@@ -371,7 +694,7 @@
2014-04-01 Fabien ChĂȘne <fabien@gcc.gnu.org>
@@ -5823,7 +5855,7 @@ Index: gcc/testsuite/ChangeLog
* g++.dg/init/ctor4-1.C: New.
* g++.dg/cpp0x/defaulted2.C: Adjust.
-@@ -459,8 +778,8 @@
+@@ -459,8 +782,8 @@
2014-03-27 Jeff Law <law@redhat.com>
@@ -5834,7 +5866,7 @@ Index: gcc/testsuite/ChangeLog
2014-03-28 Adam Butcher <adam@jessamine.co.uk>
-@@ -493,14 +812,13 @@
+@@ -493,14 +816,13 @@
2014-03-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
@@ -5852,7 +5884,7 @@ Index: gcc/testsuite/ChangeLog
of second source operand.
* gcc.target/i386/avx512f-vshuff64x2-2.c: Ditto.
* gcc.target/i386/avx512f-vshufi32x4-2.c: Ditto.
-@@ -635,8 +953,8 @@
+@@ -635,8 +957,8 @@
2014-03-24 Marek Polacek <polacek@redhat.com>
@@ -5863,7 +5895,7 @@ Index: gcc/testsuite/ChangeLog
* c-c++-common/ubsan/overflow-1.c: Check for unwanted output.
* c-c++-common/ubsan/overflow-add-1.c: Likewise.
* c-c++-common/ubsan/overflow-mul-1.c: Likewise.
-@@ -721,8 +1039,7 @@
+@@ -721,8 +1043,7 @@
2014-03-21 Tobias Burnus <burnus@net-b.de>
PR fortran/60599
@@ -5873,7 +5905,7 @@ Index: gcc/testsuite/ChangeLog
2014-03-20 Jakub Jelinek <jakub@redhat.com>
-@@ -1540,8 +1857,7 @@
+@@ -1540,8 +1861,7 @@
2014-02-19 Paul Pluzhnikov <ppluzhnikov@google.com>
@@ -5883,7 +5915,7 @@ Index: gcc/testsuite/ChangeLog
2014-02-19 Jakub Jelinek <jakub@redhat.com>
-@@ -1850,8 +2166,7 @@
+@@ -1850,8 +2170,7 @@
2014-02-10 Jakub Jelinek <jakub@redhat.com>
@@ -5893,7 +5925,7 @@ Index: gcc/testsuite/ChangeLog
2014-02-09 Paul Thomas <pault@gcc.gnu.org>
-@@ -3098,8 +3413,8 @@
+@@ -3098,8 +3417,8 @@
* gfortran.dg/vect/fast-math-mgrid-resid.f: Change
-fdump-tree-optimized to -fdump-tree-pcom-details in dg-options and
cleanup-tree-dump from optimized to pcom. Remove scan-tree-dump-times
@@ -7842,7 +7874,17 @@ Index: gcc/ada/ChangeLog
===================================================================
--- a/src/gcc/ada/ChangeLog (.../tags/gcc_4_9_0_release)
+++ b/src/gcc/ada/ChangeLog (.../branches/gcc-4_9-branch)
-@@ -1,3 +1,42 @@
+@@ -1,3 +1,52 @@
++2014-05-18 Eric Botcazou <ebotcazou@adacore.com>
++
++ * utils.c (gnat_write_global_declarations): Adjust the flags put on
++ dummy_global.
++
++2014-05-18 Eric Botcazou <ebotcazou@adacore.com>
++
++ * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Do not
++ consider that regular packed arrays can never be superflat.
++
+2014-05-17 Eric Botcazou <ebotcazou@adacore.com>
+
+ Backport from mainline
@@ -7910,6 +7952,22 @@ Index: gcc/ada/exp_disp.adb
Set_Interface_Name (DT,
Make_String_Literal (Loc, Strval => String_From_Name_Buffer));
+Index: gcc/ada/gcc-interface/utils.c
+===================================================================
+--- a/src/gcc/ada/gcc-interface/utils.c (.../tags/gcc_4_9_0_release)
++++ b/src/gcc/ada/gcc-interface/utils.c (.../branches/gcc-4_9-branch)
+@@ -5662,9 +5662,10 @@
+ dummy_global
+ = build_decl (BUILTINS_LOCATION, VAR_DECL, get_identifier (label),
+ void_type_node);
++ DECL_HARD_REGISTER (dummy_global) = 1;
+ TREE_STATIC (dummy_global) = 1;
+- TREE_ASM_WRITTEN (dummy_global) = 1;
+ node = varpool_node_for_decl (dummy_global);
++ node->definition = 1;
+ node->force_output = 1;
+
+ while (!types_used_by_cur_var_decl->is_empty ())
Index: gcc/ada/gcc-interface/Makefile.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in (.../tags/gcc_4_9_0_release)
@@ -7972,7 +8030,20 @@ Index: gcc/ada/gcc-interface/decl.c
/* Stack realignment is necessary for functions with foreign conventions when
the ABI doesn't mandate as much as what the compiler assumes - that is, up
to PREFERRED_STACK_BOUNDARY.
-@@ -8879,16 +8881,12 @@
+@@ -2433,8 +2435,10 @@
+ we can just use the high bound of the index type. */
+ else if ((Nkind (gnat_index) == N_Range
+ && cannot_be_superflat_p (gnat_index))
+- /* Packed Array Types are never superflat. */
+- || Is_Packed_Array_Type (gnat_entity))
++ /* Bit-Packed Array Types are never superflat. */
++ || (Is_Packed_Array_Type (gnat_entity)
++ && Is_Bit_Packed_Array
++ (Original_Array_Type (gnat_entity))))
+ gnu_high = gnu_max;
+
+ /* Otherwise, if the high bound is constant but the low bound is
+@@ -8879,16 +8883,12 @@
tree
create_concat_name (Entity_Id gnat_entity, const char *suffix)
{
@@ -7994,7 +8065,7 @@ Index: gcc/ada/gcc-interface/decl.c
/* A variable using the Stdcall convention lives in a DLL. We adjust
its name to use the jump table, the _imp__NAME contains the address
-@@ -8896,9 +8894,9 @@
+@@ -8896,9 +8896,9 @@
if ((kind == E_Variable || kind == E_Constant)
&& Has_Stdcall_Convention (gnat_entity))
{