This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16194] [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: 3 Aug 2004 10:40:02 -0000
- Subject: [Bug target/16194] [3.4/3.5 Regression] In case of H8/300 target, internal compiler error (ICE): asm clobber conflict with output operand
- References: <20040625091107.16194.prafullat@kpitcummins.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From prafullat at kpitcummins dot com 2004-08-03 10:39 -------
Hi,
The invalid code is causing ICE for SH as well as H8 targets. There is a
logical error in this code (i.e. instead of specifying the register, it is
actually passing content of register) , which compiler is not supposed to
handle.
But refer to patch posted at http://gcc.gnu.org/ml/gcc-patches/2002-
09/msg01168.html, part of this patch has added a block of code to do a sanity
check on input/output operand and clobber list.
This block has introduces this ICE i.e. for invalid asm code.
We feel that compiler should flash normal error instead of internal compiler
error.
Will it be proper to call "error" instead of "internal_error" in file stmt.c ,
line number 14 and 16?
Please comment.
Thanks and 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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16194