Re: How to debug while using LTO?

2022-11-30 Thread Richard Biener via Gcc
On Wed, Nov 30, 2022 at 11:49 AM Stefan Schulze Frielinghaus wrote: > > On Thu, Nov 24, 2022 at 05:53:53PM +0100, Richard Biener wrote: > > > > > > > Am 24.11.2022 um 17:28 schrieb Stefan Schulze Frielinghaus via Gcc > > > : > > > > > > Hi everyone, > > > > > > Currently I'm looking into a

Re: How to debug while using LTO?

2022-11-30 Thread Stefan Schulze Frielinghaus via Gcc
On Thu, Nov 24, 2022 at 05:53:53PM +0100, Richard Biener wrote: > > > > Am 24.11.2022 um 17:28 schrieb Stefan Schulze Frielinghaus via Gcc > > : > > > > Hi everyone, > > > > Currently I'm looking into a wrong-code bug and would like to understand > > a certain optimization done by combine

Re: How to debug while using LTO?

2022-11-24 Thread Richard Biener via Gcc
> Am 24.11.2022 um 17:28 schrieb Stefan Schulze Frielinghaus via Gcc > : > > Hi everyone, > > Currently I'm looking into a wrong-code bug and would like to understand > a certain optimization done by combine during local transformation. > Without LTO I would simply debug cc1 and step

How to debug while using LTO?

2022-11-24 Thread Stefan Schulze Frielinghaus via Gcc
Hi everyone, Currently I'm looking into a wrong-code bug and would like to understand a certain optimization done by combine during local transformation. Without LTO I would simply debug cc1 and step through combine. However, with LTO enabled AFAIK I have to debug lto1 instead. In order to get