>>>> "Eric" == Eric Christopher
<echristo(a)cygnus.com> writes:
Eric> Is the code current cvs? May need to rewrite it a bit.
This happened on Linux as well somewhere. I looked at this, and it
seemed that A called B called C, B and C are static, B gets inlined
into A, C gets inlined into B. Any change to gcc's inlining algorithm
(like changing the size of the function) caused the crash to go away.
I couldn't come up with a small test case.
IIRC you can get around this by compiling without optimization, or
perhaps even -fno-inline
Martin
Eric> -eric
>
> event-stream.c: In function `menu_move_left':
> event-stream.c:3189: internal error--unrecognizable insn:
> (insn 256 14 15 (set (reg/v:SI 24)
> (minus:SI (reg/v:SI 25)
> (const_int 2))) -1 (insn_list 11 (nil))
> (nil))
> 0 0 [main]
> C:\Cygwin\usr\lib\gcc-lib\i686-cygwin\2.9-cygwin-990830\cc1
> .exe 11344 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
> 0 11409 [main] cc1 11344 stackdump: Dumping stack trace to
> cc1.exe.stackdu
> mp