-fstack-usage and -flto the stack usage report is generated

Visda.Vokhshoori@microchip.com Visda.Vokhshoori@microchip.com
Mon Feb 1 17:13:35 GMT 2021


On 2021-02-01, 3:19 AM, "Martin Liška" <mliska@suse.cz> wrote:

    EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe

    On 1/29/21 3:57 PM, Visda.Vokhshoori--- via Gcc wrote:
    >
    > Hello,

    Hi.

    >
    > With link time optimization the stack usage information is determined during local transformation and written to program.ltrans0.ltrans.su.  There will be one .su file for each partition.
    >
    > All ltrans files, including the .su, are removed unless –save-temps is indicated.
    >
    > Although not obvious/not documented, but I am assuming this is working as designed.  Developers should include –save-temps along with -fstack-suage and -flto.

    >>Thank you for the report. It seems it's a bug, please report it to bugzilla.

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

    >>Martin

    >
    > Or is this a bug?  That is exception should be made for the ltrans.su files and they should be kept around regardless.
    >
    > Thanks,
    > Visda
    >

Thanks,
Visda



More information about the Gcc mailing list