c++/8931: g++ 3.2 fails to enforce access rules

Paul Jarc prj@po.cwru.edu
Fri Dec 13 16:47:00 GMT 2002


"Martin v. Löwis" <martin@v.loewis.de> wrote:
> People running into this bug can use all well-formed code with a
> compiler that only has accepts-illegal bugs, so having such bugs in
> a maintenance release should be no obstacle for any user. At worst,
> users will find that other compilers reject the code, at which point
> they will have to fix their code, and be done with it.

I don't think that's the worst that can happen.  In general, if the
source is not well-formed, how can we know that the generated code
will not be harmful?


paul



More information about the Gcc mailing list