[Issue 7917] New: --inline option fails for complex expressions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Apr 15 08:44:53 PDT 2012
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: nobody at puremagic.com
ReportedBy: russel at winder.org.uk
--- Comment #0 from Russel Winder <russel at 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: -------
More information about the Digitalmars-d-bugs
mailing list