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

--- Comment #14 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #13)
> > 
> > The key question is how does one dump rtl with -flto? It doesn't work at
> > all, making debugging this difficult...
> 
> It does, look:
> 
> marxin@marxinbox:/tmp> gcc -c main.c -flto
> marxin@marxinbox:/tmp> gcc main.o -flto -o xxxxxxxx

Ah right, so you need an explicit -o<file>, otherwise it doesn't write the dump
files in the current directory...

Reply via email to