This is the mail archive of the gcc-bugs@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]

[Bug target/81210] FAIL: gcc.dg/torture/pr68037-*.c -O* execution test


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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The following reduced test segfault also on darwin

#define IP              0x12345671
#define CS              0x12345672
#define FLAGS           0x12345673
#define SP              0x12345674
#define SS              0x12345675

#define STRING(x)       XSTRING(x)
#define XSTRING(x)      #x

int
main ()
{
  asm ("push    $" STRING (SS) ";               \
        push    $" STRING (SP) ";               \
        push    $" STRING (FLAGS) ";            \
        push    $" STRING (CS) ";               \
        push    $" STRING (IP) ";");
  return 0;
}

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