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

           Summary: --inline option fails for complex expressions
           Product: D
           Version: unspecified
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: rus...@winder.org.uk


--- Comment #0 from Russel Winder <rus...@winder.org.uk> 2012-04-15 08:45:43 
PDT ---
Ignoring all issues of whether the code is good code or even idiomatic code, I
am getting compilation problem with using --inline on complex expressions.

So, for example, 
http://www.russel.org.uk/Bazaar/Pi_Quadrature/pi_d2_parallelMapSequentialReduce.d
works fine without --inline but with it fails with:

pi_d2_parallelMapSequentialReduce.d(32): Error: function
std.parallelism.TaskPool.amap!(partialSum).amap!(Result).amap cannot get frame
pointer to execute

However, perhaps more problematic is that
http://www.russel.org.uk/Bazaar/Pi_Quadrature/pi_d2_sequentialMap.d
http://www.russel.org.uk/Bazaar/Pi_Quadrature/pi_d2_sequentialMapParallelReduce.d
 work fine without the --inline option but fail with it giving the error:

Internal error: toir.c 178

It is not clear whether this latter is at all related to the former.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to