optimization/10208: [ABI] Empty structs have zero size in C, but not in C++
bangerth@dealii.org
bangerth@dealii.org
Tue Mar 25 16:56:00 GMT 2003
Old Synopsis: Empty structs removed by gcc but not by g++
New Synopsis: [ABI] Empty structs have zero size in C, but not in C++
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Mar 25 16:18:22 2003
State-Changed-Why:
I can confirm this, for all versions since 2.95 up to present
mainline (including -fabi-version=0). I don't know what is
right, though. Someone with knowledge of the C and C++ ABIs
should take a brief look at this.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10208
More information about the Gcc-bugs
mailing list