User account creation filtered due to spam.

Bug 80791 - [8 regression] test case gcc.dg/sms-1.c fail2 starting with r247885
Summary: [8 regression] test case gcc.dg/sms-1.c fail2 starting with r247885
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: rtl-optimization (show other bugs)
Version: 8.0
: P3 normal
Target Milestone: 8.0
Assignee: Not yet assigned to anyone
URL:
Keywords: missed-optimization
Depends on:
Blocks:
 
Reported: 2017-05-16 21:03 UTC by seurer
Modified: 2017-05-17 17:02 UTC (History)
3 users (show)

See Also:
Host: powerpc*-*-*
Target: powerpc*-*-*
Build: powerpc*-*-*
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description seurer 2017-05-16 21:03:35 UTC
With this revision SMS fails when compiling this test case.

With revision r247884 and earlier we get:

SMS SC already optimized.
SMS schedule branch at cycle ii-1
crr_insn->node=0 (insn id 16), crr_insn->cycle=-1, min_cycle=-1
crr_insn->node=5 (insn id 26), crr_insn->cycle=2, min_cycle=-1
crr_insn->node=3 (insn id 22), crr_insn->cycle=2, min_cycle=-1
crr_insn->node=6 (insn id 43), crr_insn->cycle=2, min_cycle=-1 (branch)
crr_insn->node=1 (insn id 18), crr_insn->cycle=0, min_cycle=-1
crr_insn->node=2 (insn id 21), crr_insn->cycle=0, min_cycle=-1
crr_insn->node=4 (insn id 25), crr_insn->cycle=1, min_cycle=-1
changing bb of uid 64
  unscanned insn
verify found no changes in insn with uid = 43.
Edge 6->6 redirected to 7
 /home/seurer/gcc/gcc-test3/gcc/testsuite/gcc.dg/sms-1.c:24 SMS succeeded 3 2 (with ii, sc)


Starting with revision r247885 we get:

SMS SC already optimized.
SMS schedule branch at cycle ii-1
crr_insn->node=1 (insn id 11), crr_insn->cycle=-1, min_cycle=-2
crr_insn->node=2 (insn id 14), crr_insn->cycle=-1, min_cycle=-2
crr_insn->node=4 (insn id 17), crr_insn->cycle=2, min_cycle=-2
crr_insn->node=7 (insn id 36), crr_insn->cycle=2, min_cycle=-2 (branch)
crr_insn->node=5 (insn id 18), crr_insn->cycle=0, min_cycle=-2
crr_insn->node=3 (insn id 16), crr_insn->cycle=0, min_cycle=-2
crr_insn->node=0 (insn id 9), crr_insn->cycle=-2, min_cycle=-2
crr_insn->node=6 (insn id 19), crr_insn->cycle=1, min_cycle=-2
Scheduling register move INSN 57; ii = 3, min cycle = -2

...more...

Scheduled w/o split in 0
SMS SC already optimized.
SMS schedule branch at cycle ii-1
SMS failed... 
SMS sched-failed (stage-count=1, loop-count=0, trip-count=0)


There is another SMS test with a similar failure but that one has been failing for a while now:  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69992
Comment 1 amker 2017-05-17 17:02:25 UTC
Sorry for causing this, I will investigate.

Thanks,