source: branches/ffigen-apple-gcc-5646/ffigen4/source/gcc-5646-toplev.c.diff@ 73

Last change on this file since 73 was 67, checked in by gb, 15 years ago

Don't know if this works yet.

File size: 1.1 KB
  • toplev.c

    old new  
    10941094  init_cgraph ();
    10951095  init_final (main_input_filename);
    10961096  coverage_init (aux_base_name);
     1097  if (flag_syntax_only)
     1098    ffi_init (asm_out_file, main_input_filename);
    10971099
    10981100  timevar_push (TV_PARSE);
    10991101
     
    12411243           indent, *indent != 0 ? " " : "",
    12421244           lang_hooks.name, version_string, TARGET_NAME,
    12431245           indent, __VERSION__);
    1244   fprintf (file,
    1245            file == stderr ? _(fmt2) : fmt2,
    1246            indent, *indent != 0 ? " " : "",
    1247            PARAM_VALUE (GGC_MIN_EXPAND), PARAM_VALUE (GGC_MIN_HEAPSIZE));
     1246  if (flag_syntax_only)
     1247    print_ffi_version (file, indent);
     1248  else
     1249    fprintf (file,
     1250             file == stderr ? _(fmt2) : fmt2,
     1251             indent, *indent != 0 ? " " : "",
     1252             PARAM_VALUE (GGC_MIN_EXPAND), PARAM_VALUE (GGC_MIN_HEAPSIZE));
    12481253}
    12491254
    12501255/* Print an option value and return the adjusted position in the line.
     
    20692074#endif
    20702075  if (lang_hooks.init () == 0)
    20712076    return 0;
     2077  if (flag_syntax_only)
     2078    ffi_early_init ();
    20722079  input_location = save_loc;
    20732080
    20742081  init_asm_output (name);
Note: See TracBrowser for help on using the repository browser.