alias-1.c: Add dg-warning for unsupported visibility attribute on sparc*-sun-solaris2.*.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 19 Jan 2004 17:03:45 +0000 (18:03 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 19 Jan 2004 17:03:45 +0000 (17:03 +0000)
* gcc.dg/tls/alias-1.c: Add dg-warning for unsupported visibility
attribute on sparc*-sun-solaris2.*.

From-SVN: r76158

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tls/alias-1.c

index c2a42fdc17c8423b8019db131e71cb92a5278581..4c90e153139194780224a34bd829e9de02aefa49 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * gcc.dg/tls/alias-1.c: Add dg-warning for unsupported visibility
+       attribute on sparc*-sun-solaris2.*.
+
 2004-01-18  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/13710
index 3372da3d10cbfb37ecf9957edcc38492ad1a30eb..fa8dd29d94bd6d2933a893b24a89b9cf5dd190a1 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do link } */
+/* { dg-warning "visibility" "unsupported" { target sparc*-sun-solaris2.* } 22 } */
 /* Test that encode_section_info handles the change from externally
    defined to locally defined (via hidden).   Extracted from glibc.  */