From mint-bounce@lists.fishpool.fi Sun Jan 24 11:36:29 2010 Message-ID: <4B5C76A1.4060309@freesbee.fr> Date: Sun, 24 Jan 2010 17:34:41 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] bug in gcc! References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Antivirus: avast! (VPS 100124-0, 24/01/2010), Outbound message X-Antivirus-Status: Clean X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o0OGaSKx024415 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