1. 14 Aug, 2002 15 commits
    • * gennews (files): Add GCC 3.2 files. · 72c41e5a
      From-SVN: r56287
      Mark Mitchell committed
    • m68hc11.h (LINK_SPEC): Support -mrelax. · d6ee9f6f
      	* config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
      	* config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
      	(LIBGCC2_CFLAGS): Compile with -mrelax.
      
      From-SVN: r56285
      Stephane Carrez committed
    • invoke.texi: Document -minmax for 68HC12. · 8a0b86f5
      	* doc/invoke.texi: Document -minmax for 68HC12.
      
      	* config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
      	("uminqi3"): Likewise.
      	("uminhi3", "umaxhi3"): Likewise.
      
      	* config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
      	(TARGET_MIN_MAX): Define.
      	(TARGET_SWITCHES): New option -minmax/-mnominmax.
      
      From-SVN: r56284
      Stephane Carrez committed
    • ChangeLog for Update libgcc to use -mlong-calls (HC12) · d6381f4e
      From-SVN: r56283
      Stephane Carrez committed
    • t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline. · 084de18d
      	* config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
      	(MULTILIB_OPTIONS): Must also generate for -mlong-calls.
      
      	* config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
      	(ret, declare, farsym): New gas macros.
      	(__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
      	___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
      	and declare the symbol far when compiled with -mlong-calls.
      	(__far_trampoline): New for 68HC12 trampoline code to invoke a
      	far handler using jsr/bsr.
      
      	* config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
      	(jsr): New macro to transform a 'jsr' into a 'call'.
      
      From-SVN: r56282
      Stephane Carrez committed
    • Daily bump. · f8a3bda2
      From-SVN: r56281
      GCC Administrator committed
    • invoke.texi: Document -mlong-calls for 68HC12. · 058edcdb
      	* doc/invoke.texi: Document -mlong-calls for 68HC12.
      
      	* config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
      	-mlong-calls is specified.
      	(ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
      	assembler directives.
      	(TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
      	(TARGET_SWITCHES): Add -mlong-calls options.
      	(current_function_far): Declare.
      
      	* config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
      	into account the page register saved on the stack.
      	(m68hc11_override_options): Take into account -mlong-calls option.
      	(m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
      
      	* config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
      	if the function is going to be in 68HC12 banked memory (-mlong-calls).
      	("*return_16bit"): Likewise.
      	("*return_void"): Likewise.
      	("call", "call_value"): Use call for a far function call.
      
      From-SVN: r56275
      Stephane Carrez committed
    • toplev.c (parse_options_and_default_flags): Don't call post_options here. · c79043f3
      	* toplev.c (parse_options_and_default_flags): Don't call
      	post_options here.
      	(general_init): Initialize GC, pools and tree hash here,
      	instead of lang_independent_init.
      	(lang_independent_init): Rename backend_init.
      	(do_compile): Call post_options hook; exit early if there
      	have been errors after switch processing.
      	(toplev_main): Update.
      
      From-SVN: r56274
      Neil Booth committed
    • c-pretty-print.h: Guard against multiple inclusion. · 6bf346d4
              * c-pretty-print.h: Guard against multiple inclusion.
              Robustify macros.
              (pp_c_attributes): Declare.
              * c-pretty-print.c (pp_c_attributes): New function.
      
      From-SVN: r56273
      Gabriel Dos Reis committed
    • m68k.c (m68k_output_function_prologue, [...]): Delete versions for DPX2/MOTOROLA and NEWS/MOTOROLA. · cbf2f479
      	* m68k.c (m68k_output_function_prologue,
      	m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
      	and NEWS/MOTOROLA.
      	* genattrtab.c: Remove dpx2 comment.
      	* libgcc2.c (__enable_execute_stack): Delete versions for
      	NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
      	sony_news/SYSTYPE_BSD.
      	* longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
      	__gmicro__, __i860__, __NeXT__ and __pyr__.
      	* rtl.h: Remove convex comment.
      	* varasm.c: Likewise.
      
      From-SVN: r56272
      Kaveh R. Ghazi committed
    • c-opts.c (lang_flags): Const-ify. · d3969c34
      	* c-opts.c (lang_flags): Const-ify.
      	* ra-build.c (undef_table): Likewise.
      	* ra.c (eliminables): Likewise.
      
      From-SVN: r56271
      Kaveh R. Ghazi committed
    • configure, configure: Rebuilt. · f5cc59a7
      * boehm-gc/configure, libf2c/configure: Rebuilt.
      * libffi/configure, libiberty/configure: Ditto.
      * libjava/configure, libobjc/configure: Ditto.
      * libstdc++-v3/configure, zlib/configure: Ditto.
      Merged from binutils:
      2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
      From Steve Ellcey <sje@cup.hp.com>:
      * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI.
      (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd,
      lt_cv_file_magic_test_file): Set to appropriate values for HP-UX
      IA64.
      * ltcf-c.sh (archive_cmds, hardcode_*): Ditto.
      * ltconfig (shlibpath_*, dynamic_linker, library_names_spec,
      soname_spec, sys_lib_search_path_spec): Ditto.
      
      From-SVN: r56270
      Alexandre Oliva committed
    • * tree.h: Guard against multiple inclusion. · df89f8e7
      From-SVN: r56269
      Gabriel Dos Reis committed
    • Fix for PR libgcj/7570 and PR libgcj/7578: · eb812b2c
      2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
      
      	Fix for PR libgcj/7570 and PR libgcj/7578:
      	* java/lang/natPosixProcess.cc: Include java/io/File.h.
      	(startProcess): Handle new `dir' argument.
      	* java/lang/Win32Process.java (ConcreteProcess): Added `dir'
      	argument.
      	* java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
      	argument.
      	(startProcess): Likewise.
      	* java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
      	argument.
      	* java/lang/Runtime.java (execInternal): Added `dir' argument.
      	(exec): Don't create new environment if ENV==null.  Pass DIR to
      	execInternal.
      	* java/lang/natRuntime.cc: Include java/io/File.h.
      	(execInternal): Added `dir' argument.
      
      From-SVN: r56268
      Jesse Rosenstock committed
    • reload1.c (reload_cse_simplify): Before checking REG_FUNCTION_VALUE_P, check REG_P. · cf87d551
      	* reload1.c (reload_cse_simplify): Before checking
      	REG_FUNCTION_VALUE_P, check REG_P.
      
      From-SVN: r56267
      Hans-Peter Nilsson committed
  2. 13 Aug, 2002 17 commits
  3. 12 Aug, 2002 8 commits
    • c-opts.c (deps_seen, [...]): New. · f4ff5a69
      	* c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
      	handle_deferred_opts, sanitize_cpp_opts, defer_opt,
      	struct deferred_opt): New.
      	(COMMAND_LINE_OPTIONS): Add -M*.
      	(missing_arg): Update.
      	(c_common_decode_option): Handle -M*.
      	(c_common_post_options): Handle -M*.  Use sanitize_cpp_opts;
      	don't call cpp_post_options.
      	(c_common_finish, check_deps_environment_vars): Update.
      	* cppfiles.c (stack_include_file, handle_missing_header): Update.
      	* cpphash.h (CPP_PRINT_DEPS): Remove.
      	* cppinit.c: Don't include version.h.
      	(cpp_create_reader): Don't call deps_init.  Initialize
      	warn_long_long.
      	(cpp_read_main_file): Init deps if necessary.
      	(cpp_destroy): Conditionally free deps.
      	(cpp_finish): Update.
      	(no_tgt): Remove.
      	(COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
      	(cpp_post_options): Rename post_options.
      	* cpplib.h (struct cpp_options): Remove some dependency options;
      	move others to a new structure.
      	(cpp_post_options): Remove.
      	(cpp_finish): Comment.
      	* fix-header.c (read_scan_file): Don't call cpp_post_options.
      treelang:
      	* treelang.c: Remove cpp_post_options.
      
      From-SVN: r56239
      Neil Booth committed
    • mmix.md (define_constants): Add MMIX_rR_REGNUM. · 34116c2a
      	* config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
      	("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
      	MMIX_rR_REGNUM as clobbered.
      	* config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
      
      From-SVN: r56238
      Hans-Peter Nilsson committed
    • diagnostic.h (output_formatted_scalar): Rename from output_formatted_integer. · 9b32718c
              * diagnostic.h (output_formatted_scalar): Rename from
              output_formatted_integer.
              * diagnostic.def: Add DK_DEBUG.
              * diagnostic.c (output_decimal): Adjust.
              (output_long_decimal): Likewise.
              (output_unsigned_decimal): Likewise.
              (output_octal): Likewise.
              (output_long_octal): Likewise.
              (output_hexadecimal): Likewise.
              (output_long_hexadecimal): Likewise.
              * c-pretty-print.c (pp_c_type_specifier): New function.
              (pp_c_specifier_qualifier_list): Likewise.
              (pp_c_abstract_declarator): Likewise.
              (pp_c_char): Replace pp_format_integer with pp_format_scalar.
      
      From-SVN: r56236
      Gabriel Dos Reis committed
    • - improve wording of previous change · 48c1db3d
      From-SVN: r56235
      David Edelsohn committed
    • trouble.texi (Disappointments): Add static constructor and destructor dependency… · 032613df
      trouble.texi (Disappointments): Add static constructor and destructor dependency information for AIX.
      
      	* doc/trouble.texi (Disappointments): Add static constructor and
      	destructor dependency information for AIX.
      
      From-SVN: r56234
      David Edelsohn committed
    • cpphash.h (struct printer): New from cppmain.c. · a3737481
      	* cpphash.h (struct printer): New from cppmain.c.
      	(cpp_reader): New member.
      	* cppmain.c (struct printer): Move to cpphash.h.
      	(options, print): Remove.
      	(account_for_newlines, print_line, maybe_print_line,
      	cpp_preprocess_file, setup_callbacks, scan_translation_unit,
      	scan_translation_unit_trad, cb_line_change, cb_ident,
      	cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
      	cb_def_pragma): Make reentrant.
      
      From-SVN: r56233
      Neil Booth committed
    • real.c (ieee_64): Always define. · d71f7700
      	* real.c (ieee_64): Always define.
      	(ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
      	(dec_h): Not used yet, hide it.
      	(emdnorm): Mark parameter in ATTRIBUTE_UNUSED.  Guard label with
      	macro controlling use.
      	(TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
      
      From-SVN: r56232
      Kaveh R. Ghazi committed
    • i386.md (tablejump): Sign extend the operand. · c16576e6
      	* i386.md (tablejump): Sign extend the operand.
      	* i386.c (classify_argument): Fix missed case from previous patch.
      
      From-SVN: r56231
      Jan Hubicka committed