How to track the call stack of gcc

Jonathan Wakely jwakely.gcc@gmail.com
Fri Mar 14 11:38:45 GMT 2025


On Fri, 14 Mar 2025 at 10:44, Gwen Fu via Gcc-help <gcc-help@gcc.gnu.org> wrote:
>
> Dear gcc community:
> I am trying to clear out  bug'119222'.It is a bug related to C++
> floating-point operations where the divisor is o without warning (such as
> "return 1/static_cast<double>0;").
>
> Now I am managing to figure out which part of the project is about Warning
> andFloating point operation.
> I ran gdb and valgrind.It is feasible but a little complicated. Is there
> any other method? If not, I will try to get used to it!

https://gcc.gnu.org/wiki/DebuggingGCC has some tips on effective
debugging of the GCC executables.


More information about the Gcc-help mailing list