Infinite loop in compiler with forward reference

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Aug 13 20:12:19 PDT 2010


dmd 0.125? Isn't that ancient? :)

On Sat, Aug 14, 2010 at 5:01 AM, Era Scarecrow <rtcvb32 at yahoo.com> wrote:

> == Quote from Andrej Mitrovic (andrej.mitrovich at gmail.com)'s article
> > --000e0cd5ccdc83f72e048dbd3172
> > Content-Type: text/plain; charset=ISO-8859-1
> > Yup, infinite loop.
> > On Sat, Aug 14, 2010 at 1:39 AM, Justin Johansson <no at spam.com> wrote:
> > > Compiling the following with latest DMD D2 sends the compiler into an
> > > infinite loop.  The culprit line seems to be the alias definition.
> > > Can someone else please confirm.
> > > Thanks Justin
> > >
>
>  Not with GDC, but that may not be important.
>
> $ gdc --version
> gdc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> $ gdc test.d
> /tmp/ccubltma.o:test.d:(.rdata+0x28): undefined reference to
> `__D4test4Base3fooF
> ZC4test4Base'
> /tmp/ccubltma.o:test.d:(.rdata+0x78): undefined reference to
> `__D4test3Foo3fooFZ
> C4test3Foo3Bar'
> collect2: ld returned 1 exit status
>
> $
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20100814/b00bd499/attachment-0001.html>


More information about the Digitalmars-d mailing list