[project @ 2003-06-10 13:21:26 by simonmar]
authorsimonmar <unknown>
Tue, 10 Jun 2003 13:21:26 +0000 (13:21 +0000)
committersimonmar <unknown>
Tue, 10 Jun 2003 13:21:26 +0000 (13:21 +0000)
Add some more optional space to a pattern for compatibility with GCC 3.3.

ghc/driver/mangler/ghc-asm.lprl

index dfac276..dd2465c 100644 (file)
@@ -184,7 +184,7 @@ sub init_TARGET_STUFF {
     $T_X86_PRE_LLBL        = '.L';
     $T_X86_BADJMP   = '^\tjmp\s+[^\.\*]';
 
-    $T_MOVE_DIRVS   = '^(\s*(\.(p2)?align\s+\d+(,\s*0x90)?|\.globl\s+\S+|\.text|\.data|\.section\s+.*|\.type\s+.*|\.size\s+\S+,\d+|\.ident.*)\n)';
+    $T_MOVE_DIRVS   = '^(\s*(\.(p2)?align\s+\d+(,\s*0x90)?|\.globl\s+\S+|\.text|\.data|\.section\s+.*|\.type\s+.*|\.size\s+\S+\s*,\s*\d+|\.ident.*)\n)';
     $T_COPY_DIRVS   = '^\s*\.(globl|type|size)';
 
     if ( $TargetPlatform =~ /freebsd|netbsd/ ) {