re PR rtl-optimization/56023 ([alpha] -fcompare-debug failure due to sched1 pass)
PR rtl-optimization/56023 * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions, dependent on debug instruction. testsuite/ChangeLog: PR rtl-optimization/56023 * gcc.dg/pr56023.c: New test. From-SVN: r195342
This commit is contained in:
parent
5b9db1bc19
commit
35d59da7f7
|
@ -1,3 +1,9 @@
|
|||
2012-01-21 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR rtl-optimization/56023
|
||||
* haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
|
||||
dependent on debug instruction.
|
||||
|
||||
2013-01-21 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR middle-end/56022
|
||||
|
|
|
@ -6809,6 +6809,9 @@ fix_inter_tick (rtx head, rtx tail)
|
|||
INSN_TICK (head) = tick;
|
||||
}
|
||||
|
||||
if (DEBUG_INSN_P (head))
|
||||
continue;
|
||||
|
||||
FOR_EACH_DEP (head, SD_LIST_RES_FORW, sd_it, dep)
|
||||
{
|
||||
rtx next;
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2012-01-21 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR rtl-optimization/56023
|
||||
* gcc.dg/pr56023.c: New test.
|
||||
|
||||
2013-01-21 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR middle-end/56022
|
||||
|
@ -11,7 +16,7 @@
|
|||
|
||||
PR debug/53235
|
||||
* g++.dg/debug/dwarf2/nested-4.C: XFAIL on darwin.
|
||||
|
||||
|
||||
2013-01-20 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* gfortran.dg/inquire_10.f90: Run only for non-newlib targets.
|
||||
|
@ -69,10 +74,10 @@
|
|||
|
||||
2013-01-17 Jack Howarth <howarth@bromo.med.uc.edu>
|
||||
|
||||
PR sanitizer/55679
|
||||
* g++.dg/asan/interception-test-1.C: Skip on darwin.
|
||||
* lib/target-supports.exp (check_effective_target_swapcontext): Use
|
||||
check_no_compiler_messages to test support in ucontext.h.
|
||||
PR sanitizer/55679
|
||||
* g++.dg/asan/interception-test-1.C: Skip on darwin.
|
||||
* lib/target-supports.exp (check_effective_target_swapcontext): Use
|
||||
check_no_compiler_messages to test support in ucontext.h.
|
||||
(check_effective_target_setrlimit): Return 0 for Darwin's non-posix
|
||||
compliant RLIMIT_AS.
|
||||
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fcompare-debug" } */
|
||||
|
||||
void
|
||||
foo (char *c)
|
||||
{
|
||||
unsigned int x = 0;
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; c[i]; i++)
|
||||
{
|
||||
if (i >= 5 && x != 1)
|
||||
break;
|
||||
else if (c[i] == ' ')
|
||||
x = i;
|
||||
else if (c[i] == '/' && c[i + 1] != ' ' && i)
|
||||
x = i + 1;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue