digitalmars.D.bugs - [Issue 11471] New: [profile] `asm` statements rejected in `nothrow` functions if built with "-profile"
- d-bugmail puremagic.com (27/27) Nov 07 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11471
- d-bugmail puremagic.com (10/10) Nov 07 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11471
- d-bugmail puremagic.com (10/10) Nov 07 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11471
- d-bugmail puremagic.com (12/12) Mar 27 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11471
https://d.puremagic.com/issues/show_bug.cgi?id=11471 Summary: [profile] `asm` statements rejected in `nothrow` functions if built with "-profile" Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: verylonglogin.reg gmail.com 23:13:53 MSK --- Error iff built with "-profile": --- void main() nothrow { asm { nop; } } // Error: asm statements are assumed to throw --- Documentation doesn't say `asm` can't be used in `nothrow` functions and IMO such restriction looks too strong. As a result some druntime (Issue 10260) and Phobos (Issue 10849) parts can't be used while profiling. Let it be a "rejects-valid" bug for now. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 07 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11471 Denis Shelomovskij <verylonglogin.reg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |code dawg.eu 23:14:41 MSK --- *** Issue 10260 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 07 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11471 Denis Shelomovskij <verylonglogin.reg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tcdknutson gmail.com 23:15:26 MSK --- *** Issue 10849 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 07 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11471 Vladimir Panteleev <thecybershadow gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybershadow gmail.com Severity|normal |regression 02:48:54 EET --- This is a regression. Introduced in https://github.com/D-Programming-Language/dmd/pull/1806. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 27 2014