Re: Dealing with warnings & pragma GCC diagnostic in LTO-enabled builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Manuel,

> I wonder why the diagnostics are not simply disabled during LTO. Do
> you mean that if you don't use the pragmas you get the warnings twice?

They are not disabled during LTO because those are only triggered at
"link" stage. I do not know about the GCC intrinsics, but I guess some
of the issues may only be detected at this stage.

I have no idea, however, about how to get the info about which stage
generates which kind of warnings. So for now, the same warning list is
provided to both the "compiler" (GIMPLE generation) and the "linker"
(binary generation).

I never observed the same warning to occur twice.

Cheers,
Manu




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux