This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to tweak modifier and reference handling
- To: mark at codesourcery dot com
- Subject: Re: Patch to tweak modifier and reference handling
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Mon, 21 May 01 07:12:33 EDT
- Cc: gcc-patches at gcc dot gnu dot org
1. Submit a patch to precisely define what the modifiers are
supposed to mean.
I'm still not sure, or I would have! That's why I'm calling this a "kludge".
Cleaning up this mess is on my list.
2. Is there no test-case you can come up with in C?
No, and I can prove it. The reason is that you can't form the required
bitfields in C and even if you could, taking their address would be invalid.
This only comes up when there are implicit operations that take addresses
of components, in this case passing by reference to a function.