X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=main.c;h=0c9b854a762c475df07d2a67a9fca52a4ef16736;hb=6f8db408325831c25558eaa99b1d291562f7f65a;hp=f9e7e6c2fa94c0d4f48fbda0ee00375e3f5a60be;hpb=e11d4eb3e9b5b78f7d6d3f128579e348c28743a8;p=cparser diff --git a/main.c b/main.c index f9e7e6c..0c9b854 100644 --- a/main.c +++ b/main.c @@ -1428,6 +1428,9 @@ int main(int argc, char **argv) int res = be_parse_arg(arch_opt); if (res == 0) argument_errors = true; + } else if (streq(opt, "sse2")) { + /* ignore for now, our x86 backend always uses sse when + * sse is requested */ } else { long int value = strtol(opt, NULL, 10); if (value == 0) { @@ -1900,6 +1903,7 @@ do_parsing: if (already_constructed_firm) { panic("compiling multiple files/translation units not possible"); } + init_implicit_optimizations(); translation_unit_to_firm(unit); already_constructed_firm = true; timer_pop(t_construct);