[Bug 157] using -O{1,2,3} together with -g causes ICE (seg fault)

via D.gnu d.gnu at puremagic.com
Thu Aug 3 07:55:37 PDT 2017


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

--- Comment #11 from Iain Buclaw <ibuclaw at 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.


More information about the D.gnu mailing list