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]

Re: [PATCH] Fix PR libstdc++/19510: Uninitialized variable insomeiterators


> Mark Mitchell wrote:
> I'd be OK with having the pointers to be set to zero in a debugging mode,
> although I should point out that people have rejected adding this kind of
> feature to the compiler, on the grounds that it encourages people to write
> unportable code that depends on the zero-initialization.

Especially if any non-standard initialization's were accompanied with
corresponding warnings if reasonably possible?



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