This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81210] FAIL: gcc.dg/torture/pr68037-*.c -O* execution test
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 26 Jun 2017 16:05:26 +0000
- Subject: [Bug target/81210] FAIL: gcc.dg/torture/pr68037-*.c -O* execution test
- Auto-submitted: auto-generated
- References: <bug-81210-4@http.gcc.gnu.org/bugzilla/>
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;
}