[Bug middle-end/19752] New: error: unrecognizable insn
jorgen dot moth at uni-c dot dk
gcc-bugzilla@gcc.gnu.org
Wed Feb 2 09:04:00 GMT 2005
When installing TeX-live 2004 on a HP-box (hpux11.11) with gcc Âversion:
gcc -v
Reading specs from /usr/unic/libexec/gcc/3.4.2/lib/gcc/hppa1.1-hp-
hpux11.11/3.4.2/specs
Configured with: ../gcc-3.4.2/configure --prefix=/usr/unic/share/gcc/3.4.2 --
exec-prefix=/usr/unic/libexec/gcc/3.4.2 --with-gnu-as --with-
as=/usr/local/bin/as
Thread model: single
gcc version 3.4.2
the following excerpt of the dvidvi.c program
integer myatol(s)
char **s ;
{
register char *p ;
register integer result ;
result = 0 ;
p = *s ;
while ('0' <= *p && *p <= '9') {
if (result > 100000000)
error("! arithmetic overflow in parameter") ;
result = 10 * result + *p++ - '0' ;
}
if (p == *s)
usage() ;
else {
*s = p ;
return(result) ;
}
}
Resulted in an internal compiler error. The compiler call was:
gcc -DNO_DEBUG -I. -I. -I.. -I./.. -DUNIX -DNeedFunctionPrototypes -
DHAVE_CONFIG_H -I../kpathsea -I./../kpathsea -g -O2 -c dvidvi.c -o dvidvi.o
Â
dvidvi.c: In function `main':
dvidvi.c:1265: warning: return type of 'main' is not `int'
dvidvi.c: In function `myatol':
dvidvi.c:447: error: unrecognizable insn:
(insn 76 73 161 dvidvi.c:447 (clobber (reg/i:SI 28 %r28 [ <result> ])) -1
(insn_list:REG_DEP_OUTPUT 56 (nil))
(nil))
dvidvi.c:447: internal compiler error: in insn_default_length, at insn-
attrtab.c:825
Please submit a full bug report,
--
Summary: error: unrecognizable insn
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jorgen dot moth at uni-c dot dk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19752
More information about the Gcc-bugs
mailing list