[Issue 1470] "extern (C)" inside function crashes gdc
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 11 08:33:18 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=1470
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manuel.montezelo at gmail.com
--- Comment #4 from Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com> 2011-10-11 08:32:28 PDT ---
When using the extern outside the function, it works for me, otherwise it fails
with a compilation error:
issue-1470.d:13: Error: function m.atol.atoll nested function missing body
So maybe it was a wrong syntax which now is disallowed, but previously was not
properly handled, causing the ICE? Anyway, this is additional info.
Details of my system:
--------------------------------------------------------------------------------
$ dpkg -l gdc-4.6 | grep ii
ii gdc-4.6 0.29.1-4.6.1-14 GNU D compiler, based on the GCC backend
$ uname -a
Linux mafm-laptop 3.0.0-2-amd64 #1 SMP Fri Oct 7 20:48:45 UTC 2011 x86_64
GNU/Linux
--------------------------------------------------------------------------------
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the D.gnu
mailing list