August 03
https://bugzilla.gdcproject.org/show_bug.cgi?id=157

--- Comment #11 from Iain Buclaw <ibuclaw@gdcproject.org> ---
(In reply to Johannes Pfau from comment #10)
> FYI -femit-templates fixes the build for GCC-4.9, so it's really the missing toChars symbol causing a backend ICE in gcc <= 4.9. So this is really a frontend problem manifesting differently for older GCC versions.
> 
> I'll just hope for a DMD frontend fix or adjust one of the -g -O2 or --femit-templates flags to make GCC 4.9 pass the build.

Oh, so if you compile the above test with 2.074 PR you get an ICE?

-- 
You are receiving this mail because:
You are watching all bug changes.
August 04
https://bugzilla.gdcproject.org/show_bug.cgi?id=157

--- Comment #12 from Johannes Pfau <johannespfau@gmail.com> ---
> Oh, so if you compile the above test with 2.074 PR you get an ICE?

Not with the test case you posted, but for some reason I also don't get undefined toChars symbols with that test case.

The test case archive I attached produces a ICE backtrace like the one in the first post and discussed in this bug report in dwarf2out.c. The same thing happens when compiling 2.074 std.net.curl with gcc-4.9. I suspect this is the same bug as the one you posted to the frontend issue tracker. It only happens with an undefined toChars and is therefore worked around by -femit-templates.

It's a little more complicated to reproduce though: As mentioned the failing code path in dwarf2out is only triggered when toChars is inlined somewhere. dwarf2out then tries to generate some debug info for this function, but fails to finish up the incomplete debug info as we do not emit the function. It then crashes on the incomplete debug info.

-- 
You are receiving this mail because:
You are watching all bug changes.
August 24
https://bugzilla.gdcproject.org/show_bug.cgi?id=157

Johannes Pfau <johannespfau@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #13 from Johannes Pfau <johannespfau@gmail.com> ---
As this is only a problem in old GCC versions, working around a GCC bug is probably not worth the effort.

-- 
You are receiving this mail because:
You are watching all bug changes.
Next ›   Last »
1 2