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] |
I'm going to stick my neck out and approve the libiberty bits, assuming that no objections from DJ and/or Ian show up in the next twenty-four hours. (You might want to explicitly copy Ian as well.)While working on IMA I found two places where code falls foul of the rule in C99 6.2.2p7: the same object is declared first 'extern' and then 'static', which provokes compile-time undefined behavior. This rule has been discussed in the general case in the thread starting at <http://gcc.gnu.org/ml/gcc/2004-06/msg01443.html> -- the consensus there is in favor of making this an error. The IMA patches are not yet complete, so I would like to submit these changes separately; they should have no effect other than avoiding this future problem.
Ok for mainline?
-- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |