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 c++/34715] always_inline with templates and not declared as always_inline but definition has it



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-02-01 00:50 -------
This is not a regression as we never merged attributes for templates, the
following patch added the merging of the attributes:
2007-08-27  Alexandre Oliva  <aoliva@redhat.com>

        * decl.c (GNU_INLINE_P): New.
        (duplicate_decls): Handle gnu_inline.  Merge attributes and
        some flags in overriding definitions.

But forgot to copy DECL_DISREGARD_INLINE_LIMITS also.


-- 


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


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