Wdisabled-optimizations strange warning

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

 



Hi,

With GCC 4.3.4:
$ echo 'char id[] = "x";' > id_test.c
$ gcc-4.3.4 -Wdisabled-optimization -c id_test.c
cc1: warning: -funit-at-a-time is required for inlining of functions that are only called once

What's the reason for this warning? GCC46 doesn't emit it so I am guessing this is a bug. Anyone agree?

Cheers,

--
PMatos



[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