This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/69217] [6 Regression] ICE at var-tracking.c:5038 Segmentation fault
- From: "ibuclaw at gdcproject dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Jan 2016 22:25:18 +0000
- Subject: [Bug rtl-optimization/69217] [6 Regression] ICE at var-tracking.c:5038 Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-69217-4 at http dot gcc dot gnu dot org/bugzilla/>
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, {}))'