1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 02:29:32 +00:00
cc65/src/cc65
Oliver Schmidt 02daf9f8b5 So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions.
There were two aspects of this behavior that were considered undesirable:
- Although the safe inlining is in general desirable it should only be enabled if asked for it - like any other optimization.
- The option name -Os implies that it is a safe option, the potentially unsafe inlining should have a more explicit name.

So now:
- The option -Os enables the safe inlining.
- The new option --eagerly-inline-funcs enables the potentially unsafe inlining (including the safe inlining).

Additionally was added:
- The option --inline-stdfuncs that does like -Os enable the safe inlining but doesn't enable optimizations.
- The pragma inline-stdfuncs that works identical to --inline-stdfuncs.
- The pragma allow-eager-inline that enables the potentially unsafe inlining but doesn't include the safe inlining. That means that by itself it only marks code as safe for potentially unsafe inlining but doesn't actually enable any inlining.
2017-04-03 23:20:26 +02:00
..
.lclintrc Added .lclintrc 2001-09-06 09:43:53 +00:00
anonname.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
anonname.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
asmcode.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
asmcode.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
asmlabel.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
asmlabel.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
asmstmt.c Added the optional C keyword "volatile" to the __asm__ statement grammar. 2016-04-22 11:33:52 -04:00
asmstmt.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
assignment.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
assignment.h Normalized code. 2014-03-04 01:11:19 +01:00
casenode.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
casenode.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
codeent.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
codeent.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
codegen.c Small optimization of some cc65-generated loops. 2016-05-24 15:52:12 -04:00
codegen.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
codeinfo.c Added a command-line option to compile a program, with __cdecl__ as the default calling convention. 2015-04-22 09:59:23 -04:00
codeinfo.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
codelab.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
codelab.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
codeopt.c Added 'any' to --list-opt-steps. 2016-12-15 09:06:15 -08:00
codeopt.h Normalized code. 2014-03-04 01:11:19 +01:00
codeseg.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
codeseg.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
compile.c So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions. 2017-04-03 23:20:26 +02:00
compile.h Normalized code. 2014-03-04 01:11:19 +01:00
coptadd.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptadd.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptc02.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptc02.h Normalized code. 2014-03-04 01:11:19 +01:00
coptcmp.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptcmp.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptind.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptind.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptneg.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptneg.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptptrload.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptptrload.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptptrstore.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptptrstore.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptpush.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptpush.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptshift.c Added another op-code to the test pattern for a right-shift optimizer in cc65. 2015-12-14 11:50:43 -05:00
coptshift.h Fixed a signed char shift optimization so that it won't be used on signed int also. 2015-12-13 17:04:43 -05:00
coptsize.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptsize.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptstop.c Revert "Equality problem (Ullrich von Bassewitz)". 2015-06-27 01:09:20 +02:00
coptstop.h Normalized code. 2014-03-04 01:11:19 +01:00
coptstore.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptstore.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptsub.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
coptsub.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
copttest.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
copttest.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
copyleft.jrd This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
dataseg.c Normalized code. 2014-03-04 01:11:19 +01:00
dataseg.h Normalized code. 2014-03-04 01:11:19 +01:00
datatype.c Made C's sizeof operator work with initialized void variables. 2017-03-12 14:41:32 -04:00
datatype.h Completed the cc65 code that recognizes __CDECL__ as a calling convention qualifier. 2015-03-09 19:39:04 -04:00
declare.c Made C's sizeof operator work with initialized void variables. 2017-03-12 14:41:32 -04:00
declare.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
declattr.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
declattr.h Normalized code. 2014-03-04 01:11:19 +01:00
error.c Allowed character code zero to be remapped with other character codes. 2016-06-11 06:43:19 -04:00
error.h Allowed character code zero to be remapped with other character codes. 2016-06-11 06:43:19 -04:00
expr.c Fixed the cc65 code that handled an addition of a pointer to a 32-bit offset. 2015-12-31 17:41:48 -05:00
expr.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
exprdesc.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
exprdesc.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
funcdesc.c Normalized code. 2014-03-04 01:11:19 +01:00
funcdesc.h Normalized code. 2014-03-04 01:11:19 +01:00
function.c Added a command-line option to compile a program, with __cdecl__ as the default calling convention. 2015-04-22 09:59:23 -04:00
function.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
global.c So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions. 2017-04-03 23:20:26 +02:00
global.h So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions. 2017-04-03 23:20:26 +02:00
goto.c Normalized code. 2014-03-04 01:11:19 +01:00
goto.h Normalized code. 2014-03-04 01:11:19 +01:00
hexval.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
hexval.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
ident.c Normalized code. 2014-03-04 01:11:19 +01:00
ident.h Normalized code. 2014-03-04 01:11:19 +01:00
incpath.c Normalized code. 2014-03-04 01:11:19 +01:00
incpath.h Normalized code. 2014-03-04 01:11:19 +01:00
input.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
input.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
lineinfo.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
lineinfo.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
litpool.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
litpool.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
loadexpr.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
loadexpr.h Normalized code. 2014-03-04 01:11:19 +01:00
locals.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
locals.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
loop.c Normalized code. 2014-03-04 01:11:19 +01:00
loop.h Normalized code. 2014-03-04 01:11:19 +01:00
macrotab.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
macrotab.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
main.c So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions. 2017-04-03 23:20:26 +02:00
opcodes.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
opcodes.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
output.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
output.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
pragma.c So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions. 2017-04-03 23:20:26 +02:00
pragma.h Allowed character code zero to be remapped with other character codes. 2016-06-11 06:43:19 -04:00
preproc.c Fixed the " til " typos. 2015-09-06 12:25:00 -04:00
preproc.h Normalized code. 2014-03-04 01:11:19 +01:00
reginfo.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
reginfo.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
scanner.c cc65: remove un-needed logic from octal parsing 2016-11-20 18:02:45 +00:00
scanner.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
scanstrbuf.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
scanstrbuf.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
segments.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
segments.h Normalized code. 2014-03-04 01:11:19 +01:00
shiftexpr.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
shiftexpr.h - fixed an old #include guard typo 2014-03-20 00:07:59 +01:00
stackptr.c Normalized code. 2014-03-04 01:11:19 +01:00
stackptr.h Normalized code. 2014-03-04 01:11:19 +01:00
standard.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
standard.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
stdfunc.c So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions. 2017-04-03 23:20:26 +02:00
stdfunc.h Small optimization of some cc65-generated loops. 2016-05-24 15:52:12 -04:00
stdnames.c Normalized code. 2014-03-04 01:11:19 +01:00
stdnames.h Normalized code. 2014-03-04 01:11:19 +01:00
stmt.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
stmt.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
swstmt.c Updated comment regarding curly braces. 2016-08-20 09:42:29 -07:00
swstmt.h Normalized code. 2014-03-04 01:11:19 +01:00
symentry.c Fix regression of #pragma bss-name 2017-03-21 22:35:25 +01:00
symentry.h Fix regression of #pragma bss-name 2017-03-21 22:35:25 +01:00
symtab.c "static int n; int n;" is an error. 2017-03-09 19:14:31 +01:00
symtab.h Normalized code. 2014-03-04 01:11:19 +01:00
testexpr.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
testexpr.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
textseg.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
textseg.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
typecmp.c Made cc65 properly test calling conventions when it compares forward declarations to function definitions. 2015-05-24 18:31:50 -04:00
typecmp.h Normalized code. 2014-03-04 01:11:19 +01:00
typeconv.c Fixed test negation. (#329) 2016-08-09 15:46:51 -04:00
typeconv.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
util.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
util.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00