Skip to content
Snippets Groups Projects
  1. Apr 17, 2000
  2. Apr 16, 2000
  3. Apr 15, 2000
  4. Apr 14, 2000
    • zack's avatar
      * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public · e2f9a79f
      zack authored
      	interfaces.
      	(safe_fwrite, output_line_command): New static functions.
      	(cpp_expand_to_buffer): Now private to cpplib.
      	(cpp_scan_buffer): Take a printer.
      
      	* cpphash.h: Update prototypes.
      	* cpplib.h: Update prototypes.
      	(cpp_printer): New.
      	(cpp_buffer): Remove last_nominal_fname.
      	(cpp_reader): Remove lineno.
      
      	* cppmain.c: Use a cpp_printer.
      	* fix-header.c: No need to inhibit line commands.  Call
      	cpp_start_read with no printer.
      
      	* cpperror.c (cpp_notice_from_errno): Provide default name.
      	* cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
      	(find_include_file, cpp_read_file): Use make_IHASH.
      	(file_cleanup): Set control_macro and clear
      	input_stack_listing_current here.
      	(_cpp_execute_include): Don't output entering-file marker.
      	* cpphash.c (special_symbol): Look for the line number in the
      	buffer, not the reader.
      	(_cpp_macroexpand): No need to disable line commands.
      	(_cpp_dump_definition): No need to generate line commands.
      	(dump_hash_helper): Remove excess newline from output.
      	* cppinit.c (dump_special_to_buffer): No need to generate line
      	commands.
      	(cpp_printer_init): New.
      	(cpp_start_read): Take a printer, and start it up if it's not
      	NULL.  No need to generate line commands.
      	(cpp_finish): Expect no buffers stacked at all.  Take a
      	printer argument, and flush the output buffer if it's not
      	NULL.
      	* cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
      	Don't put two hashes at the beginning of an assertion.
      	(cpp_get_token): Don't increment pfile->lineno or emit line
      	commands here.  Return EOF if there's no buffer when we get
      	EOF.
      	* cpplib.c (do_define, skip_if_group):
      	No need to disable line commands.
      	(_cpp_output_line_command): Delete function.
      	(do_line): Don't emit line commands here, but set things up so
      	they will be emitted if necessary.  Use _cpp_fake_ihash to
      	make unique nominal_fnames if necessary.
      	(do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
      	with 0 for column, not -1.
      	(_cpp_handle_eof): Don't set the control macro here.  Don't
      	clear input_stack_listing_current here.  Don't emit line
      	commands.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33159 138bc75d-0d04-0410-961f-82ee72b054a4
      e2f9a79f
    • geoffk's avatar
      In gcc/: · 96e3d3b7
      geoffk authored
      	* config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
      	always, use the default SVR4 start address.
      
      	* config/rs6000/linux.h (LINK_SPEC): Don't define.
      	(LINK_SHLIB_SPEC): Define.
      	(LINK_START_DEFAULT_SPEC): Define.
      	(LINK_OS_DEFAULT_SPEC): Define.
      
      	* config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
      
      	* config/rs6000/eabi.asm (__eabi): Call __init rather than
      	__do_global_ctors to handle constructors.
      	* config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
      	(STARTFILE_YELLOWKNIFE_SPEC): Likewise.
      	(STARTFILE_MVME_SPEC): Likewise.
      	(STARTFILE_SIM_SPEC): Likewise.
      	(ENDFILE_ADS_SPEC): Use crtend.
      	(ENDFILE_YELLOWKNIFE_SPEC): Likewise.
      	(ENDFILE_MVME_SPEC): Likewise.
      	(ENDFILE_SIM_SPEC): Likewise.
      	(STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
      	(ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
      	(STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
      	(ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
      	* config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
      	(EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
      	(CRTSTUFF_T_CFLAGS_S): Define.
      	* config/rs6000/eabi-ctors.c: Delete.
      
      	* config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
      	boundary.
      	(__fini): Likewise.
      	* config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
      	boundary.
      	(__fini): Likewise.
      
      In gcc/po:
      	* POTFILES.in: Remove config/rs6000/eabi-ctors.c, which was
      	previously commented out anyway.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33158 138bc75d-0d04-0410-961f-82ee72b054a4
      96e3d3b7
    • wilson's avatar
      Fix ia64 gdb miscompilation reported by Kevin Buettner. · f8d937be
      wilson authored
      	* combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
      	plus mask size is smaller or equal to the mode size.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33157 138bc75d-0d04-0410-961f-82ee72b054a4
      f8d937be
    • kenner's avatar
      * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK · b51fc414
      kenner authored
      	not yet set.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33156 138bc75d-0d04-0410-961f-82ee72b054a4
      b51fc414
    • kenner's avatar
      * expr.c (reload.h): Now included. · 6702c250
      kenner authored
      	(emit_block_move): Set volatile_ok when checking for movstr.
      	(emit_move_1): Check for replacements in addresses in multi-word case.
      	* Makefile.in (expr.o): Now includes reload.h.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33155 138bc75d-0d04-0410-961f-82ee72b054a4
      6702c250
    • kenner's avatar
      * flow.c (count_basic_blocks): Remove unused var PREV_CALL. · 439e86cb
      kenner authored
      	Never have a LIBCALL end a basic block.
      	(find_basic_blocks_1): Likewise.
      	Reorganize CALL_INSN cases.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33154 138bc75d-0d04-0410-961f-82ee72b054a4
      439e86cb
    • kenner's avatar
      * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change. · 0338e8ce
      kenner authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33153 138bc75d-0d04-0410-961f-82ee72b054a4
      0338e8ce
    • wilson's avatar
      Match recent assembler change. · 0e77a4d9
      wilson authored
      	* config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
      	completers from mov.ret instruction.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33152 138bc75d-0d04-0410-961f-82ee72b054a4
      0e77a4d9
    • rth's avatar
      * fold-const.c (extract_muldiv): Don't distribute and widen · fc452262
      rth authored
              multiply across plus for non-sizetype unsigned types.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33151 138bc75d-0d04-0410-961f-82ee72b054a4
      fc452262
    • rth's avatar
      * flow.c (find_auto_inc): Don't autoinc eliminable registers. · 237424b6
      rth authored
      	If the original source is dead in the incr insn, it's dead now.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33150 138bc75d-0d04-0410-961f-82ee72b054a4
      237424b6
    • kenner's avatar
      * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to · 537d146f
      kenner authored
      	see if DECL_BIT_FIELD needs to still be set.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33149 138bc75d-0d04-0410-961f-82ee72b054a4
      537d146f
    • kenner's avatar
      * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7. · 108009b4
      kenner authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33148 138bc75d-0d04-0410-961f-82ee72b054a4
      108009b4
    • kenner's avatar
      * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call · eca80b04
      kenner authored
      	print_int_cst_octal with something that's not an INTEGER_CST.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33147 138bc75d-0d04-0410-961f-82ee72b054a4
      eca80b04
Loading