https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77692

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Rainer Orth from comment #0)

> Btw., the { dg-do compile { target i386*-*-* } } is quite strange: e.g. on
> Solaris/x86, the test is still run with -m32 and -m64 for a 32-bit compiler,
> while on Linux/x86_64 it isn't run at all!?

The directive is wrong, I'll commit following patch:

Index: gcc.dg/debug/dwarf2/const-2b.c
===================================================================
--- gcc.dg/debug/dwarf2/const-2b.c      (revision 240365)
+++ gcc.dg/debug/dwarf2/const-2b.c      (working copy)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target i386*-*-* } } */
+/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
 /* { dg-options "-O -gdwarf -dA -msse" } */
-/* { dg-require-effective-target sse } */
 /* { dg-final { scan-assembler "DW_AT_const_value" } } */

 typedef float FloatVect __attribute__((__vector_size__(16)));

Reply via email to