http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47013
--- Comment #1 from revital eres 2010-12-20 09:07:53
UTC ---
In some of the testcases additional flags are needed to make SMS apply: (though
it does not mean it succeeds)
sms-5.c: add -mno-update -fno-auto-inc-dec
sms-4.c: -funsafe-loop-optimiza
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47013
--- Comment #2 from revital eres 2010-12-20 09:26:21
UTC ---
The testcases fail (even when adding the flags mentioned before) due to the
decision to apply SMS when stage_count greater than 1.
If stage_count is 1 it means the new SMSed kernel incl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47013
--- Comment #4 from revital eres 2010-12-20 10:55:40
UTC ---
(In reply to comment #3)
> Thanks for looking at the problem. Do you understand why the tests pass on
> *86*-*-* and not on powerpc*-*-*?
Yes, the dump file is checked only for powerpc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47013
--- Comment #6 from revital eres 2010-12-27 14:00:54
UTC ---
Looking more closely at sms-6.c it seems there is another issue which causes
SMS to FAIL in the loop in foo function:
Although the restrict keyword is attached to the pointers dependenc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47013
--- Comment #7 from revital eres 2010-12-27 14:06:43
UTC ---
Created attachment 22853
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22853
SMS dump created with -r168082 on powerpc.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45834
Summary: Redundant inter-loop edges in DDG
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassig...@gcc.gnu.o