1. 04 Aug, 2001 6 commits
    • As requested by Daniel Berlin since bootstrapping on i686-linux-gnu fails: · aaa4ca30
      	As requested by Daniel Berlin since bootstrapping on i686-linux-gnu
      	fails:
      	* gcse.c: Revert Daniel's last patch.
      
      From-SVN: r44626
      Andreas Jaeger committed
    • sparc-protos.h: Add prototypes for fp_zero_operand and reg_or_0_operand. · da9314d5
      	* sparc-protos.h: Add prototypes for fp_zero_operand and
      	reg_or_0_operand.
      	* sh-protos.h: Add prototype for fpul_operand.
      
      From-SVN: r44625
      Zack Weinberg committed
    • target.h (gcc_target): Add asm_out.named_section, section_type_flags, have_named_sections. · 7c262518
      	* target.h (gcc_target): Add asm_out.named_section,
      	section_type_flags, have_named_sections.
      	* target-def.h (TARGET_ASM_NAMED_SECTION): New.
      	(TARGET_HAVE_NAMED_SECTIONS): New.
      	(TARGET_SECTION_TYPE_FLAGS): New.
      
      	* Makefile.in (toplev.o): Depend on TARGET_H.
      	(varasm.o, dbxout.o): Likewise.
      	* c-common.c (decl_attributes): Check targetm.have_named_sections
      	instead of ifdef ASM_OUTPUT_SECTION_NAME.
      	* dbxout.c (dbxout_function_decl): Likewise.
      	(dbxout_function_end): Likewise.
      	* toplev.c (compile_file): Likewise.
      	* varasm.c (exception_section): Likewise.
      	* cp/decl2.c (finish_objects): Likewise.
      
      	* defaults.h (EH_FRAME_SECTION): Remove.
      	(EH_FRAME_SECTION_ASM_OP): Remove.
      	(EH_FRAME_SECTION_NAME): New.
      	(UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
      	(UNIQUE_SECTION_P): Remove.
      	* dwarf2out.c (SECTION_FORMAT): Remove.
      	(ASM_OUTPUT_SECTION): Remove.
      	(output_call_frame_info): Use named_section_flags.
      	(output_comp_unit, dwarf2out_start_source_file): Likewise.
      	(dwarf2out_end_source_file, dwarf2out_define): Likewise.
      	(dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
      	* varasm.c (in_eh_frame, eh_frame_section): Remove.
      	(named_section_flags): New.
      	(named_section): Use it and targetm.section_type_flags.
      	(resolve_unique_section): New.
      	(assemble_start_function): Use it.
      	(asm_emit_uninitialised, assemble_variable): Likewise.
      	(default_section_type_flags): New.
      	(default_no_named_section, default_elf_asm_named_section): New.
      	(default_coff_asm_named_section, default_pe_asm_named_section): New.
      	* output.h: Update varasm.c decls.
      	(SECTION_*): New flags.
      
      	* crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
      	(__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
      
      	* config/elfos.h (UNIQUE_SECTION_P): Remove.
      	* config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
      	* config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
      	* config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
      	* config/i386/i386-interix.h, config/i386/win32.h: Likewise.
      	* config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
      	* config/mips/elf.h, config/mips/elf64.h: Likewise.
      	* config/mips/iris6gld.h, config/mips/mips.h: Likewise.
      	* config/pa/pa64-hpux.h,
      
      	* config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
      	(TARGET_ASM_NAMED_SECTION): New.
      	* config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
      	* config/alpha/vms.h, config/arm/coff.h: Likewise.
      	* config/arm/conix-elf.h, config/arm/elf.h: Likewise.
      	* config/arm/linux-elf.h, config/arm/pe.h: Likewise.
      	* config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
      	* config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
      	* config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
      	* config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
      	* config/i386/sco5.h, config/i386/win32.h: Likewise.
      	* config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
      	* config/mcore/mcore.h, config/mips/elf.h: Likewise.
      	* config/mips/elf64.h, config/mips/iris6.h: Likewise.
      	* config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
      	* config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
      	* config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
      	* config/sparc/sysv4.h: Likewise.
      
      	* config/nextstep.h: Error until named sections implemented.
      
      	* config/a29k/a29k.c (a29k_asm_named_section): New.
      	* config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
      	(vms_section_type_flags, vms_asm_named_section): New.
      	* config/arm/arm.c (arm_elf_asm_named_section): New.
      	* config/avr/avr.c (asm_output_section_name): Remove.
      	* config/avr/avr-protos.h: Update.
      	* config/c4x/c4x.c (c4x_asm_named_section): New.
      	* config/h8300/h8300.c (h8300_asm_named_section): New.
      	* config/i386/i386.c (sco_asm_named_section): New.
      	* config/i386/winnt.c (SECTION_PE_SHARED): New.
      	(i386_pe_section_type_flags): New.
      	(i386_pe_asm_named_section): New.
      	* config/i386/i386-protos.h: Update.
      	* config/m68k/m68k.c (m68k_coff_asm_named_section): New.
      	* config/mcore/mcore.c (mcore_asm_named_section): New.
      	* config/mips/mips.c (iris6_asm_named_section): New.
      	* config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
      	instead of UNIQUE_SECTION_P.
      	* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
      	(xcoff_asm_named_section): New.
      	* config/sh/sh.c (sh_asm_named_section): New.
      	* config/sparc/sparc.c (sparc_elf_asm_named_section): New.
      
      	* config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
      	* config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
      	(EH_FRAME_SECTION_NAME): New.
      	(EXCEPTION_SECTION): New.
      	* config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
      	(DEBUG_*_SECTION): Remove.
      	* config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
      	* config/mips/iris6.h (DEBUG_*_SECTION): Remove.
      	(EH_FRAME_SECTION_ASM_OP): Remove.
      
      	* doc/tm.texi (UNIQUE_SECTION_P): Remove.
      	(ASM_OUTPUT_SECTION_NAME): Remove.
      	(TARGET_ASM_NAMED_SECTION): New.
      	(TARGET_HAVE_NAMED_SECTIONS): New.
      	(TARGET_SECTION_TYPE_FLAGS): New.
      	(EH_FRAME_SECTION_ASM_OP): Remove.
      	(EH_FRAME_SECTION_NAME): New.
      
      From-SVN: r44623
      Richard Henderson committed
    • * Makefile.in (concat.o): Depend on config.h. · 4e627c41
      From-SVN: r44622
      Richard Henderson committed
    • builtins.c (fold_builtin_constant_p): Return integer_zero_node for complex… · 13104975
      builtins.c (fold_builtin_constant_p): Return integer_zero_node for complex expressions when cfun == 0.
      
      	* builtins.c (fold_builtin_constant_p): Return integer_zero_node
      for complex expressions when cfun == 0.
      	* doc/extend.texi: Document that __builtin_constant_p can be
      used in data initializers as well as functions.
      	* gcc.dg/bconstp-1.c: New test.
      
      From-SVN: r44619
      Zack Weinberg committed
  2. 03 Aug, 2001 23 commits
  3. 02 Aug, 2001 11 commits
    • RandomAccessFile.java (seek): Let seek go past end of file. · 8d6a4375
      	* java/io/RandomAccessFile.java (seek): Let seek go past end of
      	file.
      	(skipBytes): Don't fail if seeking past end of file.
      	* java/io/FileInputStream.java (skip): Don't fail if seeking past
      	end of file.
      	* java/io/natFileDescriptorWin32.cc (seek): Handle `eof_trunc'
      	argument.
      	* java/io/natFileDescriptorEcos.cc (seek): Handle `eof_trunc'
      	argument.
      	* java/io/natFileDescriptorPosix.cc (seek): Handle `eof_trunc'
      	argument.
      	* java/io/FileDescriptor.java (seek): Added `eof_trunc' argument.
      
      From-SVN: r44586
      Tom Tromey committed
    • xregex.h (_REGEX_RE_COMP): Define. · ead4cf34
      * xregex.h (_REGEX_RE_COMP): Define.
      (re_comp): Define to xre_comp.
      (re_exec): Define to xre_exec.
      
      From-SVN: r44585
      Mark Kettenis committed
    • line-map.c: New. · d82fc108
      	* line-map.c: New.
      	* line-map.h: New.
      	* Makefile.in (line-map.o): New.
      	(LIBCPP_OBJS, LIBCPP_DEPS): Update.
      	* c-lex.c (cb_file_change): Update for new cpp_file_change structure.
      	* cpperror.c (print_containing_files): Similarly.
      	(print_location): Update.  Don't output a space before _Pragma.
      	* cppfiles.c (stack_include_file): Set to line 1 immediately.
      	(stack_include_filee, cpp_make_system_header): Update.
      	(_cpp_execute_include): Get logical line number right for calling
      	as-yet-unterminated #include.
      	* cpphash.h (struct cpp_reader): Add line_maps.
      	(_cpp_do_file_change): Update.
      	* cppinit.c (cpp_create_reader): Initialize line maps.
      	(cpp_destroy): Destroy line maps.
      	(cpp_start_read): Get logical line number right.
      	* cpplex.c (parse_string): Only warn once for multi-line strings.
      	Use boolean variable for null warning.
      	* cpplib.c (_cpp_handle_directive): End the directive if it isn't
      	already.
      	(do_include_common): End the directive early.
      	(do_line): Don't warn about out-of-range lines in preprocessed
      	source.  Update.  Remove unused variables.
      	(_cpp_do_file_change): Update for new line mapping.
      	(pragma_cb): New typedef.
      	(cpp_register_pragma): Stop looking ahead before calling the
      	handler.  Clean up.
      	(do_pragma_system_header): End directive early.
      	(cpp_get_line_maps): New.
      	(cpp_pop_buffer): Fudge logical line.  Update.
      	* cpplib.h: Include line-map.h
      	(enum cpp_fc_reason): Remove.
      	(struct cpp_file_change): Update.
      	(cpp_get_line_maps): New.
      	* cppmain.c (struct_printer): New member map.
      	(cb_file_change): Update for new mappings.
      	* fix-header.c (cb_file_change): Similarly.
      testsuite:
      	* gcc.dg/cpp/19951025-1.c: Update.
      
      From-SVN: r44584
      Neil Booth committed
    • jni.cc (JNI_CreateJavaVM): Call _Jv_JNI_Init in order to initialize… · 6ff02a95
      jni.cc (JNI_CreateJavaVM): Call _Jv_JNI_Init in order to initialize global_ref_table/local_ref_table.
      
      2001-08-02  Martin Kahlert  <martin.kahlert@infineon.com>
      
      	* jni.cc (JNI_CreateJavaVM): Call _Jv_JNI_Init in order
      	to initialize global_ref_table/local_ref_table.
      
      From-SVN: r44583
      Martin Kahlert committed
    • ff90-1.f (s): Fix reference of variable z, should be x. · d4d3e882
      2001-08-02  Jeffrey Oldham  <oldham@codesourcery.com>
      
      	* g77.dg/ff90-1.f (s): Fix reference of variable z,
      	should be x.
      
      From-SVN: r44582
      Jeffrey Oldham committed
    • repo.c (get_base_filename): Change return value to const char pointer. · 026c3f13
      * repo.c (get_base_filename): Change return value to const char
      pointer.
      
      From-SVN: r44581
      Andrew Cagney committed
    • Use mkinstalldirs instead of mkdir. · 6dda00f0
      From-SVN: r44580
      Nick Clifton committed
    • vax.c: include expr.h. · 215b48a7
      2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
      
      	* config/vax/vax.c: include expr.h.
      
      From-SVN: r44579
      Lars Brinkhoff committed
    • configure: Rebuilt. · 1518ec60
      	* configure: Rebuilt.
      	* configure.in (THREADSPEC): Don't set THREADLIBS on Cygwin.  From
      	David Billinghurst.
      
      From-SVN: r44576
      Tom Tromey committed