[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] bug in gcc!
2010/1/24 Vincent Rivière <vincent.riviere@freesbee.fr>:
> Miro Kropacek wrote:
>>
>> I've probably found bug in our gcc port. How to reproduce:
>>
>> - download http://www.ijg.org/files/jpegsrc.v8.tar.gz
>> - ./configure on native machine, ./configure --host=m68k-atari-mint
>> --target=m68k-atari-mint on cross compiler
>> - make
>>
>> I get this output everytime:
>>
>> jdsample.c: In function 'sep_upsample':
>> jdsample.c:141: error: insn does not satisfy its constraints:
>> (insn 78 159 160 6 jdsample.c:108 (set (reg:SI 0 %d0)
>> (plus:SI (mem/f:SI (reg:SI 9 %a1) [7 S4 A16])
>> (reg:SI 0 %d0))) 139 {*addsi3_internal} (nil))
>> jdsample.c:141: internal compiler error: in
>> reload_cse_simplify_operands, at postreload.c:396
>> Please submit a full bug report,
>
> This bug is still here with GCC 4.4.3.
>
> It affects also Haiku people, so is is probably related to m68k, not
> specific to MiNT:
> http://www.freelists.org/post/haiku-commits/BOM-m68k-only-r33822-failed-Cc-BOMhaikuhaikugeneratedm68kobjectshaikum68kreleaselibsjpegjdsampleo
>
> As we said in earlier posts, this bug may be fixed in the future major
> release GCC 4.5.
>
> As a workaround, the problematic file can be compiled with -O0 or maybe by
> disabling some other specific optimization.
>
> --
> Vincent Rivière
>
Its already listed as a regression for 4.5.. check the bug list at the
end of that thread.. it ma not get fixed, unless there is a patch
Paul