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 optimization/12937] Function not inlined


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |optimization
           Keywords|                            |pessimizes-code
         Resolution|                            |DUPLICATE
   Target Milestone|---                         |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-07 15:22 -------
The problem is that std=c99 adds more trees than not using it and the counting mechanism in 
3.3.x sucks (aka just counts the number of trees).  But 3.4's count mechanism works with these 
example with -std=c99 because its counting mechanism is counting weighted trees (with some 
trees of weight 0 which makes the extra trees with -std=c99 go away in the final count).  Either do 
not use -std=c99 or up the inlining limit or use 3.4 (aka right now the mainline).  Also this is a dup 
of bug 10971 which is the bug for the -std=c99 inlining bug.

*** This bug has been marked as a duplicate of 10971 ***


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