1. 14 Jun, 2002 3 commits
    • cpphash.h (struct cpp_buffer): Remove saved_line_base. · bf9d5852
      	* cpphash.h (struct cpp_buffer): Remove saved_line_base.
      	* cpptrad.c: Update comments.
      	(skip_whitespace, copy_comment): Take a new parameter.
      	(skip_escaped_newlines): Don't duplicate escaped newline test.
      	(copy_comment): Different location for CUR, decide here how
      	to copy / replace the comment.
      	(skip_whitespace): Copy whitespace.
      	(_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base.
      	(scan_out_logical_line): Let copy comment handle keeping or
      	replacing comments.
      	(scan_parameters, _cpp_create_trad_definition): Update.
      
      From-SVN: r54605
      Neil Booth committed
    • pass MEM reference to find_reloads_address · 57292ec3
      From-SVN: r54604
      Alan Lehotsky committed
    • defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New. · a6f5e048
              * defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.
              (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
              * doc/tm.texi: Document them.
              * config/ia64/ia64.h (TARGET_VTABLE_ENTRY_ALIGN): New.
              (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
              (TARGET_VTABLE_USES_DESCRIPTORS): 4 word descriptors for 32-bit mode.
              (ASM_OUTPUT_FDESC): Likewise.
      
              * class.c (build_vtable): Use TARGET_VTABLE_ENTRY_ALIGN.
              (build_vtbl_initializer): Honor TARGET_VTABLE_DATA_ENTRY_DISTANCE.
              (build_vbase_offset_vtbl_entries): Likewise.
              * rtti.c (build_headof): Likewise.
              (get_tinfo_decl_dynamic): Likewise.
              (create_pseudo_type_info): Likewise.
      
              * g++.old-deja/g++.abi/vtable2.C (INC_VDATA): New.  Define for
              ia64 ilp32.
      
      From-SVN: r54603
      Richard Henderson committed
  2. 13 Jun, 2002 22 commits
  3. 12 Jun, 2002 15 commits
    • 2002-06-12 Eric Christopher <echristo@redhat.com> · 12bf26b6
      	From Chris Demetriou  <cgd@broadcom.com>
      	* config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix
      	comment.
      	(ISA_HAS_MADD_MSUB): Ditto.
      	(ISA_HAS_NMADD_NMSUB): Ditto.
      
      From-SVN: r54569
      Eric Christopher committed
    • Missed a file from previous check-in. · 74826b0f
      From-SVN: r54568
      Eric Christopher committed
    • config.gcc: Consolidate little endian handling and little/big endian targets. · be95b8a5
      2002-06-12  Eric Christopher  <echristo@redhat.com>
      
      	* config.gcc: Consolidate little endian handling and
      	little/big endian targets.
      	* config/mips/elfl.h: Remove file.
      	* config/mips/elfl64.h: Ditto.
      	* config/mips/ecoffl.h: Ditto.
      	* config/mips/r3900.h (SUBTARGET_CPP_SPEC): Remove.
      
      From-SVN: r54567
      Eric Christopher committed
    • gengtype.h (xvasprintf): New prototype. · e03856fe
      	* gengtype.h (xvasprintf): New prototype.
      	(xasprintf): New prototype.
      	(struct outf): New.
      	(get_output_file): Return an outf_p.
      	(header_file): Is now an outf_p.
      	(base_files): Now are outf_p.
      	(oprintf): New.
      	* gengtype.c: Replace all output FILE * with outf_p; use oprintf
      	rather than stdio operations.  Use xasprintf in a few places,
      	when appropriate.
      	(xvasprintf): New.
      	(xasprintf): New.
      	(struct filemap): Delete.
      	(files): Delete.
      	(output_files): New.
      	(oprintf): New.
      	(create_file): Create an outf_p.  Add parameter to indicate output
      	file name, change all callers.
      	(open_base_files): Create gtype-desc.c here.
      	(get_output_file_with_visibility): Rewrite.
      	(get_output_file_name): Just look at 'name' field in struct outf.
      	(close_output_files): Rewrite.
      
      From-SVN: r54566
      Geoffrey Keating committed
    • Makefile.am: Add new files. · 83144cfc
      2002-06-12  Phil Edwards  <pme@gcc.gnu.org>
      
      	* include/Makefile.am:  Add new files.
      	* include/Makefile.in:  Regenerate.
      
      	* include/bits/stl_deque.h, include/bits/stl_list.h,
      	include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
      	* include/bits/deque.tcc, include/bits/list.tcc,
      	include/bits/vector.tcc:  ...to here.  New files.
      
      	* include/ext/stl_hashtable.h:  Inclide correct full headers.
      	* include/std/std_deque.h:  Include .tcc files for now.
      	* include/std/std_list.h:  Likewise.
      	* include/std/std_vector.h:  Likewise.
      
      From-SVN: r54562
      Phil Edwards committed
    • * config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT) · ec01703c
      (MASK_G_FLOAT): Define.
      (TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT): Use them.
      (TARGET_SWITCHES): Likewise.
      (TARGET_DEFAULT): Likewise.
      
      From-SVN: r54561
      Jason Thorpe committed
    • elf.h (DWARF2_DEBUG_INFO): Define. · 8b0397a6
              * config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
              * config/mips/mips.c (mips_output_filename): Don't print a
              ".file" directive if we are using DWARF-2.
              (mips_output_function_prologue): Do not emit source file
              name for TARGET_GAS.
      
      From-SVN: r54560
      Daniel Jacobowitz committed
    • re PR libgcj/6652 (new java.io.File("").getCanonicalFile() throws exception) · 6e32abbf
      	* java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
      	Fixes PR libgcj/6652.
      
      From-SVN: r54558
      Tom Tromey committed
    • i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to decide whether… · 495333a6
      i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to decide whether emit the short opcode.
      
      
      	* i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to
      	decide whether emit the short opcode.
      	* i386.h (x86_shift1): Declare.
      	(TARGET_SHIFT1): New macro.
      	* i386.c (x86_shift1): New global variable.
      
      	* toplev.c (rest_of_compilation): Call find_basic_block pre-loop unconditionally;
      	make loop to rebuild CFG; kill unnecesary find_basic_block calls;
      	kill compute_bb_for_insn call.
      	* cfgbuild.c (find_basic_blocks): Kill compute_bb_for_insn call.
      	* haifa-sched.c (sched_init): Likewise.
      	* ssa-ccp.c (ssa_const_prop): Likewise.
      	* ssa-dce.c (ssa_eliminate_dead_code): Likewise.
      
      From-SVN: r54552
      Jan Hubicka committed
    • Makefile.am: Add FLAGS_TO_PASS. · 8ddfd7e5
      * Makefile.am: Add FLAGS_TO_PASS.
      * Makefile.in: Regenerated.
      
      From-SVN: r54551
      Daniel Jacobowitz committed
    • Daily bump. · 0774918c
      From-SVN: r54550
      GCC Administrator committed
    • emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if active_insn_p. · d11cea13
      2002-06-11  David S. Miller  <davem@redhat.com>
      
      	* emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if
      	active_insn_p.
      
      From-SVN: r54545
      David S. Miller committed
    • c-common.c (builtin_define_type_max): New. · 676997cf
              * c-common.c (builtin_define_type_max): New.
              (cb_register_builtins): Define __SCHAR_MAX__, __SHRT_MAX__,
              __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__, __CHAR_BIT__.
      
              From Joseph S. Myers:
              * glimits.h: Rewrite to expect the double underscore definitions
              from the compiler.
      
              * config/alpha/unicosmk.h, config/avr/avr.h, config/h8300/h8300.h,
              config/i386/linux64.h, config/ia64/aix.h, config/ia64/hpux.h,
              config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc12.h,
              config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
              config/pa/pa.h, config/rs6000/aix43.h, config/rs6000/aix51.h,
              config/rs6000/linux64.h, config/s390/linux.h, config/sh/sh.h,
              config/stormy16/stormy16.h: Don't define any of __SHRT_MAX__,
              __INT_MAX__, __LONG_MAX__, or __LONG_LONG_MAX__.
      
      From-SVN: r54544
      Richard Henderson committed
    • alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New. · 116b7a5e
              * config/alpha/alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New.
              (ALPHA_BUILTIN_SET_THREAD_POINTER): New.
              (code_for_builtns): Update.
              (alpha_init_builtins): Add __builtin_thread_pointer and
              __builtin_set_thread_pointer.
              (alpha_expand_builtin): Handle void builtins.
              * doc/extend.texi (Alpha Built-in Functions): Update.
      
      From-SVN: r54543
      Richard Henderson committed