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] |
Jeffrey A Law <law@cygnus.com> writes: > > +/* -fcheck-bounds causes gcc to generate array bounds checks. > > + For C, C++: defaults to value of flag_bounded_pointers. > > + For ObjC: defaults to off. > > + For Java: defaults to on. > > + For Fortran: defaults to off. > > + For CHILL: defaults to off. */ > > +extern int flag_bounds_check; > I'd ping the Java folks before turning it on. Even if it's part of the > language, they may want to give the implementation a little time to mature > before they turn it on by default. I'm only preserving existing behavior. Java already has it "on" by default. Alexandre Petit-Bianco already sent me a message that Java changes were OK. > Otherwise it looks fine. Consider it approved once you fix up the minor > issues above. Thanks!
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |