This is the mail archive of the gcc@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]

Re: some problem of virtual function.


<<i have compiled the programe with 2.96, it work well.
so i am sure that the sources code are right.
>>

YOu may well be right that this shows a bug in the compiler, but it is not
at all the case that the fact that it works with one compiler proves that
the "sources code are right". If you have an incorrect program with undefined
semantics (e.g. undefined variables), then it may well work on one compiler
and not on another, but the fault is not with the compiler, it is still with
the incorrect program.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]