[Bug rtl-optimization/69217] [6 Regression] ICE at var-tracking.c:5038 Segmentation fault

ibuclaw at gdcproject dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 12 22:25:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69217

--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to Iain Buclaw from comment #2)
> Fixed the first case, and now there is a second.
> 
> Again, can't reproduce using equivalent C++ with g++. This time however I
> have no idea why, as both look like they produce identical codegen on the
> surface.  One key difference in data types is that SArray is a built-in type
> S[] in D.  But otherwise ABI should be identical.
> 

I've found out what g++ does that I didn't.  Empty aggregate data types aren't
passed around by value, a constructor is passed instead.

So, 'formattedWrite (fmt, args)' became 'formattedWrite (fmt, (args, {}))'


More information about the Gcc-bugs mailing list