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: Ada files now checked in


<<> - if its only reaching definition is the ghost def, the variable
>   *is* used uninitialized.

Not generally true.  The uninitialized use might never be executed.
Back to the halting problem...
>>

A warning is generally saying that IF the code is executed, THEN there
is a problem. Sure it is nice to delete such warnings in obviously
deactivated code (GNAT certainly does that, since the use of constant
booleans to achieve the effect of conditional compilation is standard
practice), but obviously this cannot be done in general. So if you
regard this as an unacceptable obstacle, you will have to get rid of
all warnings of runtime errors, which would be too bad.


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