This is the mail archive of the gcc-patches@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]

Re: [3.3 PATCH] Fix -Winline


On Wed, 2003-06-11 at 02:32, Jakub Jelinek wrote:
> Hi!
> 
> Following test results in:
> test.c:5: warning: inlining failed in call to `baz'
> test.h:12: warning: called from here
> (note test.h:12 instead of the expected test.c:12).
> This bug is not present on mainline because of the location changes,
> but I wonder if it is not worth fixing on 3.3 branch as well.
> The patch below fixes it for me and is moreless what the C++ frontend
> does in this case as well.

This is OK for the 3.3 branch.  (It's a regression from the RTL inliner,
which didn't get confused like this.)

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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