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]

patch: revise doc for always_inline


I recently discovered (got a bug :-) that the always_inline attribute doesn't always work at -O0 or -O1. This is because always_inline requires -funit-at-a-time, and -funit-at-a-time is off for -O0 and -O1.

A brief offline discussion with Honza has persuaded me this behavior is correct; accordingly, we should change the documentation for always_inline to match.

2006-11-19 Stuart Hastings <stuart@apple.com>

* gcc/doc/extend.texi: Revise documentation for always_inline.


Attachment: gcc.fsf.doc.diffs.txt
Description: Text document



Tested on Darwin/ppc with "make info." O.K. for trunk?

stuart hastings
Apple Computer


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