public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17248] New: __always_inline__ throws "unimplemented" in -O0 mode
@ 2004-08-31 12:17 wyderski at ii dot uni dot wroc dot pl
  2004-08-31 16:08 ` [Bug c++/17248] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: wyderski at ii dot uni dot wroc dot pl @ 2004-08-31 12:17 UTC (permalink / raw)
  To: gcc-bugs

The C++ compiler fails when the -O0 optimization
mode and a method has the __always_inline__ attribute
specified. The command line used was:

gpp -O0 -c allocator.cpp -I./ -save temps

The version string:

Reading specs from c:/djgpp/bin/../lib/gcc/djgpp/3.41/specs
Configured with: /Build/gcc34/gnu/gcc-3.41/configure djgpp
--prefix=/dev/env/DJDIR --disable-nls --disable-libstdcxx-pch
Thread model: single
gcc version 3.4.1

It displays the following message:

./base/list.h: In destructor `base::list<traits>::~list() [with traits =
base::simple_list<mdl::expression_base*, 
false>::aux_simple_traits<mdl::expression_base*,  false>]':
./base/list.h:452:   instantiated from `base::list<traits>::~list() [with traits
= base::simple_list<mdl::expression_base*, 
false>::aux_simple_traits<mdl::expression_base*,  false>]'
ast.h:736:   instantiated from here
./base/list.h:431: sorry, unimplemented: inlining failed in call to 'static void
base::list<traits>::aux_erase_on_delete<T,  true>::apply(base::list<traits>&)
[with T = base::list<base::simple_list<mdl::expression_base*, 
false>::aux_simple_traits<mdl::expression_base*,  false> >, traits =
base::simple_list<mdl::expression_base*, 
false>::aux_simple_traits<mdl::expression_base*,  false>]': function body not
available
./base/list.h:452: sorry, unimplemented: called from here

The snippet has ~800KiB, so it is not included in this text, 
but here's a link to it:

http://www.ii.uni.wroc.pl/~wyderski/allocator.ii

-- 
           Summary: __always_inline__ throws "unimplemented" in -O0 mode
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wyderski at ii dot uni dot wroc dot pl
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: DJGPP, GCC 3.4.1
  GCC host triplet: IA-32 PC, Windows XP, GCC 3.4.1
GCC target triplet: IA-32 PC, Windows XP, GCC 3.4.1


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


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <bug-17248-7768@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-02-28  9:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-31 12:17 [Bug c++/17248] New: __always_inline__ throws "unimplemented" in -O0 mode wyderski at ii dot uni dot wroc dot pl
2004-08-31 16:08 ` [Bug c++/17248] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-08-31 16:18 ` bangerth at dealii dot org
2004-08-31 16:32 ` reichelt at gcc dot gnu dot org
2004-08-31 17:03 ` reichelt at gcc dot gnu dot org
2004-10-31  2:43 ` mmitchel at gcc dot gnu dot org
2004-12-14  8:55 ` ebotcazou at gcc dot gnu dot org
2005-05-19 17:41 ` mmitchel at gcc dot gnu dot org
     [not found] <bug-17248-7768@http.gcc.gnu.org/bugzilla/>
2005-10-07  3:29 ` gdr at gcc dot gnu dot org
2006-02-28  9:41 ` gdr at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).