This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11319] [3.3/3.4 regression] loop miscompiled on ppc32


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11319



------- Additional Comments From wilson at gcc dot gnu dot org  2003-08-11 23:56 -------
Richard's patch did not introduce the problem, it just exposed it.  In the old
days, a sequence was an insn chain if more than one instruction, and a pattern
if only one instruction.  In the single insn case, which is the common case, the
loop.c code was passing the pattern to single_set which failed, and thus
prevented it from calling record_base_value.  Richard's patch fixed it to call
record_base_value as intended, thus exposing the alias.c problem fixed by my
patch in PR 10021.

This incidentally points out a problem with loop_regs_update.  The !INSN_P code
is obsolete and should be removed.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]