]> git.pld-linux.org Git - packages/compat-gcc-34.git/commitdiff
- drop problematic part auto/th/compat-gcc-34-3_4_3-0_2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 4 Aug 2008 23:05:08 +0000 (23:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    compat-gcc-34-pr-rh.patch -> 1.2

compat-gcc-34-pr-rh.patch

index 4b8dd87534c8e56ddd191479249d14e8512b77bf..5d4abef0b14fcaf99f384362454fe6ba0898b052 100644 (file)
 +  foo(derived());
 +}
 +
-2004-12-13  Mark Mitchell  <mark@codesourcery.com>
-
-       PR c++/18925
-       * class.c (layout_class_type): Determine the visibility of static
-       data members.
-
-       * g++.dg/ext/visibility/staticdatamem.C: New test.
-
---- gcc/cp/class.c     8 Dec 2004 08:35:33 -0000       1.692
-+++ gcc/cp/class.c     14 Dec 2004 02:21:46 -0000      1.693
-@@ -4553,7 +4553,13 @@ layout_class_type (tree t, tree *virtual
-              At this point, finish_record_layout will be called, but
-            S1 is still incomplete.)  */
-         if (TREE_CODE (field) == VAR_DECL)
--          maybe_register_incomplete_var (field);
-+          {
-+            maybe_register_incomplete_var (field);
-+            /* The visibility of static data members is determined
-+               at their point of declaration, not their point of
-+               definition.  */
-+            determine_visibility (field);
-+          }
-         continue;
-       }
 --- gcc/testsuite/g++.dg/ext/visibility/staticdatamem.C        1 Jan 1970 00:00:00 -0000
 +++ gcc/testsuite/g++.dg/ext/visibility/staticdatamem.C        14 Dec 2004 02:15:55 -0000      1.1
 @@ -0,0 +1,20 @@
This page took 0.089532 seconds and 4 git commands to generate.