This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/16194] New: [3.4/3.5 Regression] In case of H8/300 target, internal compiler error (ICE): asm clobber conflict with output operand
- From: "prafullat at kpitcummins dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2004 09:11:20 -0000
- Subject: [Bug inline-asm/16194] New: [3.4/3.5 Regression] In case of H8/300 target, internal compiler error (ICE): asm clobber conflict with output operand
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi,
GCC-3.5 snapshot dated 20.06.2004 gives an ICE (Internal Compiler Error) for
following code when compiled with options -ms for H8/300 targets. This bug was
there in Released GCC version 3.4.
bug.c
*************************************************************
void bug(char* dst)
{
register char* _dst __asm ("er6");
__asm__ ("eepmov.b":"=g"(*_dst)::"r4","er5","er6");
}
*************************************************************
$h8300-elf-gcc -ms bug.c
bug.c: In function `bug':
bug.c:5: internal compiler error: asm clobber conflict with output operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I have already posted this bug on gcc mailing list.
Please refer to http://gcc.gnu.org/ml/gcc/2004-05/msg00690.html for two
postings related to this bug.
Regards,
Prafulla Thakare,
KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools are released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Summary: [3.4/3.5 Regression] In case of H8/300 target, internal
compiler error (ICE): asm clobber conflict with output
operand
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: prafullat at kpitcummins dot com
CC: gcc-bugs at gcc dot gnu dot org,prafullat at kpitcummins
dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: h8300-unknown-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16194