bug report

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu May 11 11:03:00 GMT 2000

> The offending source file is dod_nms.c.
> The screen output is below, and the .i and .s outputs are attached.
> I am seeing a problem in the routine
> _gnDialConn()
> where the assembly output includes the line
>          ld      [%l2+%lo(dial_port_table)], %g2
> and later
>          add     %g2, %o1, %o1
>          ld      [%o1+4], %o1
> %l2 is not set prior to its use, and the ld instruction
> winds up generating an exception.

Thanks for your bug report. I don't see this problem. I assume you
talk abou the code folloing label .LLM1517:

	sethi	%hi(dial_port_table), %l2
	ld	[%l2+%lo(dial_port_table)], %o2

It appears to that l2 is indeed set prior to its use, so where is the


More information about the Gcc-bugs mailing list