Skip to content
Snippets Groups Projects
  1. Nov 21, 2000
  2. Nov 20, 2000
    • Neil Booth's avatar
      cppmacro.c (paste_tokens): Rename from paste_payloads. · d63eefbf
      Neil Booth authored
              * cppmacro.c (paste_tokens): Rename from paste_payloads.
              Change token type after pasting spellings.
              (paste_all_tokens): Use it.
      
      From-SVN: r37596
      d63eefbf
    • Tom Tromey's avatar
      jv-scan.c (help): Document --complexity. · 1535cc88
      Tom Tromey authored
      	* jv-scan.c (help): Document --complexity.
      	(options): Added --complexity.
      	(flag_complexity): New global.
      	(main): Call `report'.
      	* parse-scan.y (complexity): New global.
      	(if_then_statement, if_then_else_statement,
      	if_then_else_statement_nsi, switch_block_statement_group,
      	while_expression, do_statement, for_begin, continue_statement,
      	throw_statement, catch_clause, finally, method_invocation,
      	conditional_and_expression, conditional_or_expression,
      	conditional_expression): Update complexity.
      	(reset_report): Reset complexity.
      	(report): New function.
      
      From-SVN: r37595
      1535cc88
    • Tom Tromey's avatar
      lex.c (yylex): Added STRICT_TK case. · d828bc42
      Tom Tromey authored
      	* lex.c (yylex): Added STRICT_TK case.
      	* parse.y (STRICT_TK): Added.
      	* parse-scan.y (STRICT_TK): Added.
      	* Make-lang.in ($(srcdir)/java/keyword.h): Added missing `\' and
      	`;'.  Use 4, not 3, with -k option.  Correctly rename resulting
      	file.
      	* keyword.h: Rebuilt.
      	* keyword.gperf (strictfp): Added.
      
      From-SVN: r37594
      d828bc42
    • Tom Tromey's avatar
      lex.c (yylex): Recognize floating point constants with leading 0. · 4e7842a0
      Tom Tromey authored
      	* lex.c (yylex): Recognize floating point constants with leading
      	0.
      
      From-SVN: r37593
      4e7842a0
    • Richard Henderson's avatar
      dwarf.h (FMT_CODE): Adjust argument order; fix mapping to dwarf_subscr_data_formats bits. · 21bc13c9
      Richard Henderson authored
              * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
              dwarf_subscr_data_formats bits.
              * dwarfout.c (simple_type_size_in_bits): Handle a type with
              no computed size as size zero.
              (field_byte_offset): Likewise.
              (subscript_data_attribute): Handle a range with no upper bound.
      
      From-SVN: r37592
      21bc13c9
    • Benjamin Kosnik's avatar
      std_complex.h: Tweaks, include cmath for abs overloads. · 5e90dd71
      Benjamin Kosnik authored
      2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
      	* src/complex.cc: Remove cmath include, formatting tweaks, remove
      	dead code.
      	* include/c/bits/std_cmath.h: Formatting tweaks.
      	* testsuite/26_numerics/complex_value.cc: New file, for catching
      	bits gleaned from libstdc++/106.
      
      	* testsuite/23_containers/vector_ctor.cc (test02): Add test from
      	libstdc++/102.
      
      From-SVN: r37591
      5e90dd71
    • Kaveh R. Ghazi's avatar
      * gansidecl.h (const): Check __STDC__ before undef'ing `const'. · 250333d0
      Kaveh R. Ghazi authored
      From-SVN: r37590
      250333d0
    • Joseph Myers's avatar
      c-typeck.c (build_conditional_expr): When merging type qualifiers for... · 1d7ff272
      Joseph Myers authored
      c-typeck.c (build_conditional_expr): When merging type qualifiers for conditional expressions between a pointer and...
      
      	* c-typeck.c (build_conditional_expr): When merging type
      	qualifiers for conditional expressions between a pointer and a
      	pointer to a void type, merge the qualifiers on the target types
      	rather than the pointer type.  Remove obsolete conditioned out
      	code.
      
      testsuite:
      	* gcc.dg/c99-condexpr-1.c: New test.
      
      From-SVN: r37589
      1d7ff272
    • Neil Booth's avatar
      * gcc.dg/cpp/macsyntx.c: Use correct command line option. · 029a4f4d
      Neil Booth authored
      From-SVN: r37588
      029a4f4d
    • Neil Booth's avatar
      c-lang.c (lang_init_options): Update call to cpp_reader_init. · dd07b884
      Neil Booth authored
      	* c-lang.c (lang_init_options): Update call to
      	cpp_reader_init.
      	* cppmain.c (main): Similarly.
      	* fix-header.c (read_scan_file): Similarly.
      	* cp/lex.c (lang_init_options): Similarly.
      	* objc/objc-act.c (lang_init_options): Similarly.
      	* cppexp.c (parse_number): Only warn for unextended C89.
      	* cppinit.c (set_lang): New function.
      	(cpp_reader_init): Take a LANG argument and pass it to set_lang.
      	(COMMAND_LINE_OPTIONS): New option std=c++98.
      	(cpp_handle_option): Use set_lang.
      	* cpplib.h (enum_c_lang): New enumeration.  Update comments.
      
      From-SVN: r37587
      dd07b884
    • Tom Tromey's avatar
      Makefile.in: Rebuilt. · 4de5a4d9
      Tom Tromey authored
      	* Makefile.in: Rebuilt.
      	* Makefile.am (core_java_source_files): Added new files.
      	* java/lang/reflect/ReflectPermission.java: New class.
      	* java/io/FileFilter.java: From Classpath
      	* java/io/FilePermission.java: From Classpath.
      
      From-SVN: r37586
      4de5a4d9
    • Nathan Sidwell's avatar
      lex.c (rid_to_yy, RID_EXPORT): Make unique keyword. · 447306fa
      Nathan Sidwell authored
      cp:
      	* lex.c (rid_to_yy, RID_EXPORT): Make unique keyword.
      	* parse.y (extdef): Add EXPORT reduction.
      	* spew.c (yylex): Don't skip export here.
      testsuite:
      	* g++.old-deja/g++.pt/export1.C: New test.
      
      From-SVN: r37585
      447306fa
    • Jakub Jelinek's avatar
      * gcc.dg/20001117-1.c: New test. · 462ef1e1
      Jakub Jelinek authored
      From-SVN: r37584
      462ef1e1
Loading