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] silence uninitialised variable warnings


Manuel López-Ibáñez wrote:

And I think it is not reasonable because the warnings were wrong
(unless they stop you from building GCC and I think they don't). Old
versions have bugs that new versions may fix. That is life. GCC is
itself a testsuite, so if we start giving incorrect warnings again,
then they will be detected while bootstrapping. If you implement
workarounds that are not strictly needed, then future regressions
won't be detected.

Of course they will via the regression test suite, where presumably whom-ever did the uninitialised enhancements added a test case to make sure the improvement doesn't regress?


That is just my opinion. The maintainers of those files may think
differently and approve your patch, though.

Thanks for looking at it anyway.


Best Regards,

Brian Sidebotham.



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