source: trunk/ffigen4/source/gcc-4.0.0-toplev.c.diff@ 47

Last change on this file since 47 was 26, checked in by gb, 20 years ago

new files

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
  • toplev.c

    old new  
    990990  init_cgraph ();
    991991  init_final (main_input_filename);
    992992  coverage_init (aux_base_name);
     993  if (flag_syntax_only)
     994    ffi_init (asm_out_file, main_input_filename);
    993995
    994996  timevar_push (TV_PARSE);
    995997
     
    12551257           , indent, *indent != 0 ? " " : "",
    12561258           lang_hooks.name, version_string, TARGET_NAME,
    12571259           indent, __VERSION__);
    1258   fnotice (file, "%s%sGGC heuristics: --param ggc-min-expand=%d --param ggc-min-heapsize=%d\n",
    1259            indent, *indent != 0 ? " " : "",
    1260            PARAM_VALUE (GGC_MIN_EXPAND), PARAM_VALUE (GGC_MIN_HEAPSIZE));
     1260  if (flag_syntax_only)
     1261    print_ffi_version (file, indent);
     1262  else
     1263    fnotice (file, "%s%sGGC heuristics: --param ggc-min-expand=%d --param ggc-min-heapsize=%d\n",
     1264             indent, *indent != 0 ? " " : "",
     1265             PARAM_VALUE (GGC_MIN_EXPAND), PARAM_VALUE (GGC_MIN_HEAPSIZE));
    12611266}
    12621267
    12631268/* Print an option value and return the adjusted position in the line.
     
    19982003  input_filename = "<built-in>";
    19992004  input_line = 0;
    20002005#endif
     2006  if (flag_syntax_only)
     2007    ffi_early_init ();
    20012008  if (lang_hooks.init () == 0)
    20022009    return 0;
    20032010  input_location = save_loc;
     
    20892096  timevar_start (TV_TOTAL);
    20902097
    20912098  process_options ();
     2099
     2100 
     2101  if (no_backend && flag_syntax_only) {
     2102    errorcount++;
     2103  }
     2104
    20922105
    20932106  /* Don't do any more if an error has already occurred.  */
    20942107  if (!errorcount)
Note: See TracBrowser for help on using the repository browser.