This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/26364] [4.0/4.1/4.2 regression] [no unit-at-a-time mode] Uninlined function is marked as inlined



------- Comment #5 from wilson at gcc dot gnu dot org  2006-02-22 00:39 -------
I should mention that your testcase uses -Os, and -Os enables
-finline-functions-called-once.  This is why the function is marked as
"inline".  If you don't want this feature, you can turn it off.

Also, -fno-unit-at-a-time is expected to disappear at some point, so problems
that only appear with this option may not be worth fixing if they are too hard
to fix.  

Using both -finline-functions-called-once and -fno-unit-at-a-time is
contradictory, so it isn't surprising there is a problem.  We could try to
detect that and turn one of them off, possibly with a warning.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26364


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]