Dynamic Arrays & Class Properties

Steven Schveighoffer schveiguy at yahoo.com
Thu Aug 28 23:15:16 PDT 2008


"Brad Roberts" wrote
>
> On Thu, 28 Aug 2008, Jarrett Billingsley wrote:
>
>> "Brad Roberts" <braddr at bellevue.puremagic.com> wrote in message
>> news:alpine.DEB.1.10.0808281424310.21051 at bellevue.puremagic.com...
>> > On Thu, 28 Aug 2008, Jarrett Billingsley wrote:
>> >
>> >> Be warned though: the DMD backend sometimes generates buggy or 
>> >> incorrect
>> >> code when using -inline, so be sure to test thoroughly both with and
>> >> without
>> >> the flag.
>> >
>> > Can you substantiate that with reproducable bug reports?  I'm sure 
>> > Walter
>> > would appreciate it and place high prioirty on fixing such problems.
>> >
>> > Thanks,
>> > Brad
>>
>> You know, I'd love to be able to track down every heisenbug that 
>> spuriously
>> shows up and then disappears with the smallest change in my 25000-line
>> library when I use -inline, but I unfortunately don't have the time.
>
> How about starting with _one_?
>
> Without substantiation that it's actually a bug with inlining and not just
> a bug in your code or some other problem, these types of reports have to
> be considered FUD.
>
> Sigh,
> Brad

Jarrett is right.  And it is REALLY difficult to narrow these things down. 
The problem is with these types of bugs, one seemingly unrelated change 
makes the whole thing start working, so I bet a lot of these types of things 
go unreported (as he said, who wants to paste a 25k line program to 
bugzilla?  It'll just get ignored).

Here is one I stumbled across while helping someone debug Tango's filesystem 
abstraction.  This is the smallest I could get it to (took me about 2 hours 
to narrow it down).  I'd really appreciate if Walter or whoever would fix 
this one:

http://d.puremagic.com/issues/show_bug.cgi?id=2232

-Steve 



More information about the Digitalmars-d-learn mailing list