From 03c079cb8ca0805822e4101a6ccb7aa6155defd3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 28 Dec 2012 00:21:53 +0100 Subject: [PATCH] Some default options for -std=gmqcc including -floop-labels --- main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index af4a34c..244d570 100644 --- a/main.c +++ b/main.c @@ -158,7 +158,11 @@ static bool options_parse(int argc, char **argv) { if (options_long_gcc("std", &argc, &argv, &argarg)) { if (!strcmp(argarg, "gmqcc") || !strcmp(argarg, "default")) { - opts_set(opts.flags, ADJUST_VECTOR_FIELDS, true); + opts_set(opts.flags, ADJUST_VECTOR_FIELDS, true); + opts_set(opts.flags, CORRECT_LOGIC, true); + opts_set(opts.flags, FALSE_EMPTY_STRINGS, false); + opts_set(opts.flags, TRUE_EMPTY_STRINGS, true); + opts_set(opts.flags, LOOP_LABELS, true); opts.standard = COMPILER_GMQCC; } else if (!strcmp(argarg, "qcc")) { -- 2.39.2