Inconsistent segmentation fault in GCC
Jonathan Wakely
jwakely.gcc@gmail.com
Thu Dec 23 08:40:42 GMT 2021
On Thu, 23 Dec 2021, 06:07 Alessandro Baretta via Gcc, <gcc@gcc.gnu.org>
wrote:
>
> How I might help diagnose and fix this bug? For instance, how does one
> run gcc from inside gdb? I know that gcc is just the driver and
> cc1plus is the actual compiler, so I presume I'd have to run cc1plus
> inside gdb, but as far as I know cc1plus cannot be called directly.
>
That's not true, it can be run directly. The full cc1plus command is shown
if you add -v to your GCC command.
https://gcc.gnu.org/wiki/DebuggingGCC has some more tips.
More information about the Gcc
mailing list