1. 19 Apr, 2003 10 commits
    • cpphash.h (struct cpp_reader): New member warned_dollar. · bced6edf
      	* cpphash.h (struct cpp_reader): New member warned_dollar.
      	* cpplex.c (continues_identifier_p): New function.
      	(parse_identifier, parse_number, parse_string): Rename lex_identifer,
      	lex_number and lex_string, and simplify.
      	(parse_slow, unescaped_terminator_p): Die.
      	(_cpp_lex_direct): Update.
      
      From-SVN: r65816
      Neil Booth committed
    • Install proper version. · f1d1b741
      From-SVN: r65815
      Richard Kenner committed
    • invoke.texi (-fprofile-arcs): Mention -lgcov, locking and fork behaviour. · 8555daff
      	* doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
      	fork behaviour.
      
      From-SVN: r65813
      Nathan Sidwell committed
    • * g++.dg/other/stdbool-if.C: Remove. · cb4cfe5d
      From-SVN: r65812
      Neil Booth committed
    • cppexp.c (eval_token): Permit true and false even if pedantic. · 4e1f0f8e
      	* cppexp.c (eval_token): Permit true and false even if pedantic.
      testsuite:
      	* gcc.dg/cpp/truefalse.cpp: New test.
      	* gcc.dg/cpp/cpp.exp: Update.
      
      From-SVN: r65811
      Neil Booth committed
    • * cpplex.c (skip_whitespace): Rearrange to avoid stage1 ICE. · bf805def
      From-SVN: r65810
      Neil Booth committed
    • * skip_whitespace: Rearrange to avoid stage1 ICE. · f7d151fb
      From-SVN: r65809
      Neil Booth committed
    • cppfiles.c (ENABLE_VALGRIND_CHECKING, [...]): Remove. · 26aea073
      	* cppfiles.c (ENABLE_VALGRIND_CHECKING, VALGRIND_DISCARD,
      	MMAP_THRESHOLD, TEST_THRESHOLD, SHOULD_MMAP): Remove.
      	(struct include_file): Remove fefcnt, mapped members.
      	(open_file, stack_include_file, _cpp_pop_file_buffer): Disable caching.
      	(read_include_file): Don't use mmap, terminate buffers in '\r'.
      	(purge_cache): Don't use munmap.
      	* cpphash.h (CPP_BUF_COLUMN): Update.
      	(lexer_state): Remove lexing_comment.
      	(struct _cpp_line_note): New.
      	(struct cpp_buffer): New members cur_note, notes_used, notes_cap,
      	next_line and need_line.  Remove col_adjust and saved_flags.
      	(_cpp_process_line_notes, _cpp_clean_line, _cpp_get_fresh_line,
      	_cpp_skip_block_comment, scan_out_logical_line): New.
      	(_cpp_init_mbchar): Remove.
      	* cppinit.c (init_library): Remove call to _cpp_init_mbchar.
      	(cpp_read_main_file): Set line to 1 earlier.
      	(post_options): -traditional-cpp doesn't want trigraphs.
      	* cpplex.c (MULTIBYTE_CHARS): Remove code predicated on this.
      	(add_line_note, _cpp_clean_line, _cpp_process_line_notes,
      	_cpp_get_fresh_line): New.
      	(handle_newline, skip_escaped_newlines, trigraph_p,
      	continue_after_nul, _cpp_init_mbchar): Remove.
      	(get_effective_char): Update.
      	(_cpp_skip_block_comment): Rename from skip_block_comment, simplify.
      	(skip_line_comment): Simplify.
      	(skip_whitespace, parse_identifier, parse_slow, parse_number,
      	parse_string): Update.
      	(cpp_lex_direct): Use clean lines and process line notes.  Update.
      	(cpp_interpret_charconst): No MULTIBYTE_CHARS.
      	* cpplib.c (prepare_directive_trad): Call scan_out_logical_line
      	directly.
      	(_cpp_handle_directive): Don't set saved_flags.
      	(run_directive, destringize_and_run, cpp_define, cpp_define_builtin,
      	cpp_undef, handle_assertion, cpp_push_buffer): Update.
      	(_cpp_pop_buffer): Free notes.
      	* cppmacro.c (builtin_macro, paste_tokens): \n terminate buffer.
      	* cpppch.c (cpp_read_state): \n terminate buffer.
      	* cpptrad.c (skip_escaped_newlines, handle_newline): Remove.
      	(copy_comment): Use _cpp_skip_block_comment.
      	(skip_whitespace, lex_identifier, _cpp_read_logical_line_trad):
      	Simplify.
      	(_cpp_overlay_buffer, _cpp_remove_overlay, push_replacement_text,
      	save_replacement_text): Update.
      	(scan_out_logical_line): Update to use clean lines and process
      	line notes.
      	* fix-header.c (read_scan_file): Update.
      testsuite:
      	* gcc.dg/cpp/_Pragma4.c: Remove stray space.
      	* gcc.dg/cpp/trad/escaped-eof.c: Correct line number.
      
      From-SVN: r65808
      Neil Booth committed
    • Daily bump. · 606c9991
      From-SVN: r65807
      GCC Administrator committed
  2. 18 Apr, 2003 26 commits
  3. 17 Apr, 2003 4 commits
    • gcov-dump.c (tag_summary): Remove max_sum · d101590b
      	* gcov-dump.c (tag_summary): Remove max_sum
      	* gcov-io.h (gcov_summary, gcov_write_summary, gcov_read_summary): Kill
      	max_sum.
      	* libgcov.c (gcov_exit): Do one pass over the data.  Make error message
      	more verbose.
      
      From-SVN: r65758
      Jan Hubicka committed
    • emit-rtl.c (subreg_hard_regno): Check that register is representable. · 04c5580f
      
      
      	* emit-rtl.c (subreg_hard_regno):  Check that register is representable.
      	* reload.c (reload_inner_reg_of_subreg):  When register is not
      	representable, reload the whole thing.
      	(find_reloads): Likewsie.
      	* rtlanal.c (subreg_representable_p):  New function.
      
      	* profile.c (compute_branch_probabilities):  Cleanup sanity checking;
      	allow negative probabilities for edges from the call to exit.
      	(branch_prob): Do not add fake edges for functions that may return twice
      
      From-SVN: r65757
      Jan Hubicka committed
    • toplev.c (target_options): Add value field. · c409ea0d
      * toplev.c (target_options): Add value field.
      (set_target_switch): Handle target options with	values.
      * doc/tm.texi: Document how fixed vs variable target
      options work.
      * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
      config/c4x/c4x.h, config/cris/aout.h, config/cris/cris.h,
      config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
      config/frv/frv.h, config/i386/i386.h, config/ia64/ia64.h,
      config/m32r/m32r.h, config/m68hc11/m68hc11.h,
      config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
      config/mips/mips.h, config/mmix/mmix.h, config/pa/pa.h,
      config/rs6000/rs6000.h, config/rs6000/sysv4.h,
      config/s390/s390.h, config/sparc/sparc.h, config/v850/v850.h:
      Add value initializer to target options.
      
      From-SVN: r65756
      DJ Delorie committed