@@ -268,7 +268,7 @@ static int rtf UDATA, rtt UDATA; // return flag and return type for current
268
268
static int loc UDATA ; // local variable offset
269
269
static int lineno UDATA ; // current line number
270
270
static int src_opt UDATA ; // print source and assembly flag
271
- static int inline_float_opt = 1 ; // generate inline float instructions flag
271
+ static int inline_float_opt UDATA ; // generate inline float instructions flag
272
272
static int nopeep_opt UDATA ; // turn off peep-hole optimization
273
273
static int uchar_opt UDATA ; // use unsigned character variables
274
274
static int * n UDATA ; // current position in emitted abstract syntax tree
@@ -4379,13 +4379,19 @@ static void show_externals(int i) {
4379
4379
static void help (char * lib ) {
4380
4380
if (!lib ) {
4381
4381
printf ("\n"
4382
- "usage: cc [-s] [-u] [-n] [-f] [-h [lib]] [-D [symbol[ = value]]]\n"
4382
+ "usage: cc [-s] [-u] [-n]"
4383
+ #if PICO2350
4384
+ " [-f]"
4385
+ #endif
4386
+ " [-h [lib]] [-D [symbol[ = value]]]\n"
4383
4387
" [-o filename] filename\n"
4384
4388
" -s display disassembly and quit.\n"
4385
4389
" -o name of executable output file.\n"
4386
4390
" -u treat char type as unsigned.\n"
4387
4391
" -n turn off peep-hole optimization\n"
4388
- " -f do not use inline float operators\n"
4392
+ #if PICO2350
4393
+ " -f use inline float instructions\n"
4394
+ #endif
4389
4395
" -D symbol [= value]\n"
4390
4396
" define symbol for limited pre-processor, can repeat.\n"
4391
4397
" -h [lib name]\n"
@@ -4515,8 +4521,10 @@ int cc(int mode, int argc, char** argv) {
4515
4521
goto done ;
4516
4522
} else if ((* argv )[1 ] == 's' ) {
4517
4523
src_opt = 1 ;
4524
+ #if PICO2350
4518
4525
} else if ((* argv )[1 ] == 'f' ) {
4519
- inline_float_opt = 0 ;
4526
+ inline_float_opt = 1 ;
4527
+ #endif
4520
4528
} else if ((* argv )[1 ] == 'n' ) {
4521
4529
nopeep_opt = 1 ;
4522
4530
} else if ((* argv )[1 ] == 'o' ) {
0 commit comments