This is the mail archive of the gcc-bugs@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]

[Bug c++/83779] Trivial bounds error not detected with -fbounds-check


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83779

--- Comment #5 from Walter Spector <w6ws at earthlink dot net> ---
Thanks for mentioning that, Martin.

A couple of us in the project I work on were reviewing the options we specify
in our debug builds to try to smoke out problems.  We already use options like
-Wall, -Wextra and such for both g++ and gfortran.  We also use -fbounds-check
with gfortran.  Just wondering if -fbounds-check would help find things on the
c++ side.  But seems it doesn't - as documented.

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