1. 15 Mar, 2002 35 commits
  2. 14 Mar, 2002 5 commits
    • Add --param max-unrolled-insns=<n> support · 03e9dbc9
      From-SVN: r50787
      Michael Meissner committed
    • * gcc.c-torture/compile/20020314-1.c: New test. · 933a0721
      From-SVN: r50782
      Jeffrey A Law committed
    • cpphash.h (struct lexer_state): Remove line_extension member. · f0cce04a
      	* cpphash.h (struct lexer_state): Remove line_extension member.
      	* cpplib.c (dequote_string, do_linemarker): New functions.
      	(linemarker_dir): New data object.
      	(DIRECTIVE_TABLE): No longer need to interpret #line in
      	preprocessed source.  Delete obsolete comment about return
      	values of handlers.
      	(end_directive, directive_diagnostics, _cpp_handle_directive):
      	Don't muck with line_extension.
      	(directive_diagnostics): No need to issue warnings for
      	linemarkers here.
      	(_cpp_handle_directive): Issue warnings for linemarkers here,
      	when appropriate.  Dispatch linemarkers to do_linemarker, not
      	do_line.
      	(do_line): Code to handle linemarkers split out to do_linemarker.
      	Convert escape sequences in filename argument, both places.
      
      	* cppmacro.c (quote_string): Rename cpp_quote_string and
      	export.  All callers changed.
      	* cpplib.h (cpp_quote_string): Prototype.
      	* cppmain.c (print_line): Call cpp_quote_string on to_file
      	before printing it.
      
      	* doc/cpp.texi: Document that escapes are now interpreted in
      	#line and in linemarkers, and that non-printing characters are
      	converted to octal escapes when linemarkers are generated.
      
      From-SVN: r50780
      Zack Weinberg committed
    • cpphash.h (struct lexer_state): Remove line_extension member. · dcc229e5
      	* cpphash.h (struct lexer_state): Remove line_extension member.
      	* cpplib.c (dequote_string, do_linemarker): New functions.
      	(linemarker_dir): New data object.
      	(DIRECTIVE_TABLE): No longer need to interpret #line in
      	preprocessed source.  Delete obsolete comment about return
      	values of handlers.
      	(end_directive, directive_diagnostics, _cpp_handle_directive):
      	Don't muck with line_extension.
      	(directive_diagnostics): No need to issue warnings for
      	linemarkers here.
      	(_cpp_handle_directive): Issue warnings for linemarkers here,
      	when appropriate.  Dispatch linemarkers to do_linemarker, not
      	do_line.
      	(do_line): Code to handle linemarkers split out to do_linemarker.
      	Convert escape sequences in filename argument, both places.
      
      	* cppmacro.c (quote_string): Rename cpp_quote_string and
      	export.  All callers changed.
      	* cpplib.h (cpp_quote_string): Prototype.
      	* cppmain.c (print_line): Call cpp_quote_string on to_file
      	before printing it.
      
      	* doc/cpp.texi: Document that escapes are now interpreted in
      	#line and in linemarkers, and that non-printing characters are
      	converted to octal escapes when linemarkers are generated.
      
      From-SVN: r50779
      Zack Weinberg committed