This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Mark Mitchell <mark@codesourcery.com> writes:Good point!
Richard Kenner wrote:
The documentation says that this is like "*(type2 *)&X" in C.I see VIEW_CONVERT_EXPR of type T applied to object X as meaning "treat object X as if it were type T". That's why I see it more as a code 'r'.
So, can it just be represented that way, on exit from the Ada front end?
Uh, *(type2 *)&X doesn't work in the general case due to the aliasing
rules, whereas I get the impression V_C_E is expected to work always.
-- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |