- free-standing is a negative option
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 3 Jan 2009 04:13:52 +0000 (04:13 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 3 Jan 2009 04:13:52 +0000 (04:13 +0000)
[r25071]

driver/firm_opt.c

index 5843af7..b4ee53c 100644 (file)
@@ -489,7 +489,7 @@ static void do_firm_optimizations(const char *input_filename)
   set_irp_memory_disambiguator_options(aa_opt);
 
   /* parameter passing code should set them directly sometime... */
-  set_opt_enabled("rts", firm_opt.freestanding);
+  set_opt_enabled("rts", !firm_opt.freestanding);
   set_opt_enabled("gc_irgs", firm_opt.remove_unused);
   set_opt_enabled("tailrec", firm_opt.tail_rec);
   set_opt_enabled("funccalls", firm_opt.func_calls);