source: branches/ffigen-x-cocotron/ffigen4/source/gcc-4.3.1-toplev.c.diff@ 74

Last change on this file since 74 was 63, checked in by gb, 15 years ago

New.

File size: 579 bytes
RevLine 
[63]1--- toplev.c.orig 2008-07-13 16:33:36.000000000 -0600
2+++ toplev.c 2009-07-21 21:26:48.000000000 -0600
3@@ -1035,6 +1035,9 @@
4 init_final (main_input_filename);
5 coverage_init (aux_base_name);
6
7+ if (flag_syntax_only)
8+ ffi_init (asm_out_file, main_input_filename);
9+
10 timevar_push (TV_PARSE);
11
12 /* Call the parser, which parses the entire file (calling
13@@ -2120,6 +2123,8 @@
14 input_filename = "<built-in>";
15 input_line = 0;
16 #endif
17+ if (flag_syntax_only)
18+ ffi_early_init ();
19 if (lang_hooks.init () == 0)
20 return 0;
21 input_location = save_loc;
Note: See TracBrowser for help on using the repository browser.