mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-25 10:20:40 +08:00
re PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)
2014-07-28 Richard Biener <rguenther@suse.de> PR rtl-optimization/61801 * gcc.target/i386/pr61801.c: New testcase. From-SVN: r213111
This commit is contained in:
parent
d50cc61ad3
commit
f9a7442316
@ -1,3 +1,8 @@
|
||||
2014-07-28 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR rtl-optimization/61801
|
||||
* gcc.target/i386/pr61801.c: New testcase.
|
||||
|
||||
2014-07-27 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c/61861
|
||||
|
22
gcc/testsuite/gcc.target/i386/pr61801.c
Normal file
22
gcc/testsuite/gcc.target/i386/pr61801.c
Normal file
@ -0,0 +1,22 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-Os -fcompare-debug" } */
|
||||
|
||||
int a, b, c;
|
||||
void fn1 ()
|
||||
{
|
||||
int d;
|
||||
if (fn2 () && !0)
|
||||
{
|
||||
b = (
|
||||
{
|
||||
int e;
|
||||
fn3 ();
|
||||
switch (0)
|
||||
default:
|
||||
asm volatile("" : "=a"(e) : "0"(a), ""(0));
|
||||
e;
|
||||
});
|
||||
d = b;
|
||||
}
|
||||
c = d;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user