mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 17:21:03 +08:00
re PR target/70292 (ICE in verify_target_availability, at sel-sched.c:1584 with -fno-inline -fno-dce -fschedule-insns -fselective-scheduling -fno-tree-dce -O1)
PR target/70292 * gcc.c-torture/pr70292.c: New test. From-SVN: r234627
This commit is contained in:
parent
5fde6a45eb
commit
b4c4967c97
@ -1,3 +1,8 @@
|
||||
2016-03-31 Andrey Belevantsev <abel@ispras.ru>
|
||||
|
||||
PR target/70292
|
||||
* gcc.c-torture/pr70292.c: New test.
|
||||
|
||||
2016-03-31 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c/70297
|
||||
|
12
gcc/testsuite/gcc.dg/pr70292.c
Normal file
12
gcc/testsuite/gcc.dg/pr70292.c
Normal file
@ -0,0 +1,12 @@
|
||||
/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-O1 -fno-inline -fno-dce -fschedule-insns -fselective-scheduling -fno-tree-dce" } */
|
||||
|
||||
void bar() {}
|
||||
|
||||
int t106_1mul(unsigned int x, unsigned int y) {
|
||||
int r;
|
||||
if (__builtin_mul_overflow(x, y, &r)) {
|
||||
bar();
|
||||
}
|
||||
return r;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user