patch: honor volatile bitfield types

Submitted by DJ Delorie on June 22, 2010, 10:19 p.m.

Details

Message ID 201006222219.o5MMJKHi030433@greed.delorie.com
State New
Headers show

Commit Message

DJ Delorie June 22, 2010, 10:19 p.m.
Can't use [] in dg-* as it looks like a TCL command :-P

This passes i686- and i586-pc-linux.  Ok?


	* gcc.target/i386/volatile-bitfields-1.c: Fix regex to match more
	correct opcodes.

Patch hide | download patch | download mbox

Index: gcc.target/i386/volatile-bitfields-1.c
===================================================================
--- gcc.target/i386/volatile-bitfields-1.c	(revision 161225)
+++ gcc.target/i386/volatile-bitfields-1.c	(working copy)
@@ -11,7 +11,7 @@  volatile BitStruct bits;
 
 int foo ()
 {
   return bits.b;
 }
 
-/* { dg-final { scan-assembler "movzbl.*bits" } } */
+/* { dg-final { scan-assembler "(movsbl|movzbl|movb).*bits" } } */