Subject: Re: gcc compilation problem
To: None <current-users@netbsd.org>
From: James Whitwell <jamesw@au.yahoo-inc.com>
List: current-users
Date: 10/08/2003 11:31:36
On Wednesday, October 8, 2003, at 07:24 AM, Christian Biere wrote:
> James Whitwell <abacau@yahoo.com.au> wrote:
>
>> /usr/src/sys/compat/mach/mach_vm.c:304: error: Attempt to delete
>> prologue/epilogue insn:
>> (insn/f 233 232 234 0 0x0 (set (mem:SI (plus:SI (reg/f:SI 1 r1)
>> (const_int 68 [0x44])) [0 S4 A8])
>> (reg:SI 0 r0)) -1 (nil)
>> (expr_list:REG_FRAME_RELATED_EXPR (set (mem:SI (plus:SI (reg/f:SI
>> 1
>> r1)
>> (const_int 68 [0x44])) [0 S4 A8])
>> (reg:SI 65 lr))
>> (nil)))
>> /usr/src/sys/compat/mach/mach_vm.c:304: internal compiler error: in
>> propagate_one_insn, at flow.c:1642
>
>> Should I file a pr?
>
> You should definitively submit a bug report to the GCC developers.
> This seems to be a unknown compiler bug. Maybe they find a quick
> workaround. Otherwise, you might try to fiddle with the
> optimization flags for this single file.
Yep, making it -O1 or removing -O altogether lets it compile. Is there
a way of specifying flags for just one file?
;) jimmy.