1. 11 Jun, 2002 8 commits
    • Daily bump. · f5f35f6a
      From-SVN: r54492
      GCC Administrator committed
    • * Forgotten commit. · bc3437ba
      From-SVN: r54486
      Neil Booth committed
    • Makefile.in: Update cppmain.o. · 1a76916c
      	* Makefile.in: Update cppmain.o.
      	* cpphash.h (struct cpp_reader): Move some members to a
      	nested structure.
      	(trad_line): Rename saved_line.
      	(_cpp_read_logical_line_trad): Update.
      	(_cpp_remove_overlay): New.
      	* cppinit.c (cpp_create_reader): No need to set saved_line.
      	(cpp_destroy): Update.
      	(cpp_read_main_file): Only overlay if compiling.
      	* cpplex.c (continue_after_nul): Return false if in directive.
      	* cpplib.c (EXPAND): New.
      	(directive_table, SEEN_EOL): Update.
      	(end_directive): Remove overlay if traditional; don't skip
      	line in traditional #define.
      	(prepare_directive_trad): New.
      	(_cpp_handle_directive, run_directive): Update for traditional
      	directives.
      	(lex_macro_node): Simplify, don't use lex_identifier_trad.
      	* cpplib.h (struct options): Add preprocess_only.
      	* cppmain.c: Don't include intl.h.
      	(cpp_preprocess_file): Set options->preprocess_only.
      	(scan_translation_unit_trad): Fix, and print line numbers.
      	* cpptrad.c (check_output_buffer, lex_identifier, scan_parameters,
      	maybe_start_funlike, scan_out_logical_line, replace_args_and_push,
      	save_replacement_text, _cpp_create_trad_definition): Update for
      	variable renaming.
      	(_cpp_overlay_buffer): Save line number.
      	(_cpp_remove_overlay): Rename from restore_buff, restore line.
      	(_cpp_read_logical_line_trad): Don't handle overlays here.
      	(scan_out_logical_line): Process directives.
      
      From-SVN: r54485
      Neil Booth committed
    • gthr-win32.h: Wrap all functions in extern "C". · b25bb36a
      	* gthr-win32.h: Wrap all functions in extern "C".
      	(__gthread_key_t): Typedef as unsigned long,
      	not win32 DWORD.
      	(__GTHREAD_ONCE_INIT): Use 0, not win32 FALSE.
      	(__gthread_mutex_t): Typedef as void*, not win32 HANDLE.
      	(__gthr_win32_once, __gthr_win32_key_create,
      	__gthr_win32_key_delete, __gthr_win32_getspecific,
      	__gthr_win32_setspecific, __gthr_win32_mutex_init_function,
      	__gthr_win32_mutex_lock,__gthr_win32_mutex_trylock,
      	__gthr_win32_mutex_unlock): Declare.
      	(__gthread_once,__gthread_key_create,
      	__gthread_key_delete, __gthread_getspecific,
      	__gthread_setspecific, __gthread_mutex_init_function,
      	__gthread_mutex_lock,__gthread_mutex_trylock,
      	__gthread_mutex_unlock): Call corresponding
      	__gthr_win32_* extern implementations if #defined
      	__GTHREAD_HIDE_WIN32API.
      	* config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Set to
      	$(srcdir)/config/i386/gthr-win32.c
      	* config/i386/gthr-win32.c: New implementation file.
      	(__gthr_win32_once, __gthr_win32_key_create,
      	__gthr_win32_key_delete, __gthr_win32_getspecific,
      	__gthr_win32_setspecific, __gthr_win32_mutex_init_function,
      	__gthr_win32_mutex_lock,__gthr_win32_mutex_trylock,
      	__gthr_win32_mutex_unlock): New functions, based on
      	static inlines in gthr-win32.h.
      
      From-SVN: r54484
      Danny Smith committed
    • xtensa.c (override_options): Don't warn about using -fpic or -fPIC when PIC is enabled by default. · a69c385e
              * config/xtensa/xtensa.c (override_options): Don't warn about
              using -fpic or -fPIC when PIC is enabled by default.
      
      From-SVN: r54483
      Bob Wilson committed
    • * libjava.lang/PR6520.java: New file. For PR java/6520. · d8f19ccf
      From-SVN: r54482
      Tom Tromey committed
    • 20001226-1.x: Only xfail for Xtensa targets if not optimizing. · 56a28102
              * gcc.c-torture/compile/20001226-1.x: Only xfail for Xtensa
              targets if not optimizing.
      
      From-SVN: r54481
      Bob Wilson committed
  2. 10 Jun, 2002 32 commits