Re: Uninitialized variables & Bounds runtime checking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Miguel Angel <miguelangel@xxxxxx> writes:

> ÂÂ I've been searching about possible *run-time* checks that can be
> used with GCC, and
> after a little bit of investigation I discovered about -fbounds-check,
> but no others...

There is -fmudflap.

> Â -fbounds-check only apply to Fortran compiles or they work on C/C++ too?

The -fbounds-check option is not supported by the C/C++ frontends.

> ÂÂ does exist some kind of flag for testing on unitialized variables
> (during runtime), in my case
> some problems arise when somebody leaves an unintialized C++ class attribute.

Not to my knowledge.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux