This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix PR tree-optimization/21407
On May 10, 2005, at 10:32 AM, Kenneth Zadeck wrote:
I had this discussion at Apple with Geoff Keating and Mike Stump.
When I left, they were on board with this.
I do not agree with Geoff on this issue. We merely agreed to
disagree. I think the matter is ripe for a DR and a ruling by the
committee. It is kinda of fundamental, and has curious
consequences. I'd phrase it as, it up-casting allow in C? My answer
is yes.
We also disagree wrt int i; *(volatile int *)&i; I say it is volatile.
If one squints, you'll be able to see how they relate to each other.
I'd tend to be conservative on both these issues and insist that gcc
do what it has done for more than a decade, survey what other
compilers do, discuss it in committee and then reach a decision,
document it, and then push it into the compiler.