Patchwork Fix PR57584

login
register
mail settings
Submitter Richard Guenther
Date June 24, 2013, 11:13 a.m.
Message ID <alpine.LNX.2.00.1306241313060.22313@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/253790/
State New
Headers show

Comments

Richard Guenther - June 24, 2013, 11:13 a.m.
Removed the target specific bits and verified the testcase reproduces
the original bug and works after the fix for x86_64 and i686.

Committed.

Richard.

2013-06-24  Richard Biener  <rguenther@suse.de>

	PR testsuite/57686
	* gcc.dg/torture/pr57584.c: Remove target specific bits.

Patch

Index: gcc/testsuite/gcc.dg/torture/pr57584.c
===================================================================
--- gcc/testsuite/gcc.dg/torture/pr57584.c	(revision 200363)
+++ gcc/testsuite/gcc.dg/torture/pr57584.c	(working copy)
@@ -1,6 +1,6 @@ 
 /* { dg-do compile } */
 
-typedef int int32_t __attribute__ ((__mode__ (__SI__)));
+typedef int int32_t;
 typedef unsigned char uint8_t;
 typedef unsigned long int uintptr_t;
 typedef uint8_t scm_t_uint8;
@@ -37,7 +37,7 @@  static SCM vm_debug_engine (SCM vm, SCM
     register SCM *fp ;
     struct scm_vm *vp = ((struct scm_vm *) ((((scm_t_bits) (0? (*(SCM*)0=((((SCM *)((scm_t_cell *) (((scm_t_bits) (0? (*(SCM*)0=((((vm))))): (((vm)))))))) [((1))]))): (((SCM *)((scm_t_cell *) (((scm_t_bits) (0? (*(SCM*)0=((((vm))))): (((vm)))))))) [((1))]))))));
     static const void **jump_table_pointer = ((void *)0);
-    register const void **jump_table asm ("r12");
+    const void **jump_table;
     if (__builtin_expect ((!jump_table_pointer), 0))     {
 	jump_table_pointer[0] = &&l_nop;
     }