This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10888: [3.3/3.4 regression] [diagnostic] inlining failure for allocate in ~vector()
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, bonnaud at irancy dot lis dot inpg dot fr, <gcc-bugs at gcc dot gnu dot org>
- Date: 21 May 2003 00:24:35 +0200
- Subject: Re: c++/10888: [3.3/3.4 regression] [diagnostic] inlining failure for allocate in ~vector()
- Organization: Integrable Solutions
- References: <Pine.LNX.4.44.0305201714190.9321-100000@gandalf.ices.utexas.edu>
Wolfgang Bangerth <bangerth@ices.utexas.edu> writes:
| > Actually I thought -Winline did not work always in 3.2 so is this a
| > "real" regression?
|
| It's at least a regression inasmuch
| - the user can't do anything about functions in libstdc++ being inlined or
| not
| - can't work around this in user code
| - will get annoying warnings
| - will probably switch off -Winline
| - and then miss things in his own code.
I can't qualify this a regression since -Winline never really worked
in previous releases (and that was broken for ages). And this warning
really depends on the strategy used for inlining, bottom-up or
top-down or mixed. Maybe we should not be warning if in system headers
(that is just silly). But apart from that, I don't think we could do
anything until we settle the inlining issue. I would suggest
gdr -> unassigned
thanks for your analysis.
-- Gaby