public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, testsuite]: Adjust g++.dg/abi/packed1.C on the alpha
@ 2010-03-14 17:30 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2010-03-14 17:30 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

Hello!

g++.dg/abi/packed1.C fails on alpha with the same warning as on ia64, 
hppa and sparc.

2010-03-14  Uros Bizjak <ubizjak@gmail.com>

     * g++.dg/abi/packed1.C: Expect warning on the alpha*-*-*.

Patch was tested on alphaev68-pc-linux-gnu, committed to mainline.

Uros.

[-- Attachment #2: p.diff.txt --]
[-- Type: text/plain, Size: 521 bytes --]

Index: g++.dg/abi/packed1.C
===================================================================
--- g++.dg/abi/packed1.C	(revision 157447)
+++ g++.dg/abi/packed1.C	(working copy)
@@ -4,7 +4,7 @@
 
 extern "C" void abort ();
 
-struct INNER { // { dg-warning "inefficient.*vptr" "" { target ia64-*-* hppa*-*-* sparc*-*-* sh*-*-* } }
+struct INNER { // { dg-warning "inefficient.*vptr" "" { target alpha*-*-* ia64-*-* hppa*-*-* sparc*-*-* sh*-*-* } }
   virtual int foo() const { return 1; }
 } __attribute__ ((packed));
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-14 17:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-14 17:30 [PATCH, testsuite]: Adjust g++.dg/abi/packed1.C on the alpha Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).