2
0
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:
Richard Biener 2014-07-28 07:54:08 +00:00 committed by Richard Biener
parent d50cc61ad3
commit f9a7442316
2 changed files with 27 additions and 0 deletions
gcc/testsuite
ChangeLog
gcc.target/i386

@ -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

@ -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;
}