This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch: honor volatile bitfield types


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.

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" } } */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]