[Bug middle-end/33351] [4.3 Regression] segfault in assembler function
lauras at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Sep 8 18:36:00 GMT 2007
------- Comment #4 from lauras at gcc dot gnu dot org 2007-09-08 18:36 -------
It sure looks like it is caused by my patch. I will be able to take care of
that on Monday.
I think this change should fix it (completely untested): rewrite
for (p = NEXT_INSN (prev); p != next; p = NEXT_INSN (p))
if (p != insn && INSN_P (p)
...
as
rtx next_p;
...
for (p = NEXT_INSN (prev); p != next; p = next_p)
{
next_p = NEXT_INSN (p);
if (p != insn && INSN_P (p))
...
}
Sorry for the trouble.
--
lauras at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |lauras at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-09-08 12:45:26 |2007-09-08 18:36:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33351
More information about the Gcc-bugs
mailing list