This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Structure Return Testcase
- To: law at redhat dot com, rth at redhat dot com
- Subject: Re: Structure Return Testcase
- From: dewar at gnat dot com
- Date: Thu, 15 Mar 2001 18:22:13 -0500 (EST)
- Cc: gcc at gcc dot gnu dot org
I agree that this test is undefined according to the standard, but a
possible implementation defined behavior is that it "work" as expected.
It always seems worrisome to introduce silent "wrong" behavior, even when
this is justified by the standard, so I think in a case like this there
also needs to be an argument that no existing programs are in practice
counting on this working, or rather than this is not a signifiucant worry.