1. 21 May, 1998 16 commits
    • pt.c (tsubst_friend_class): Don't call redeclare_class_template if the template… · f9c3243c
      pt.c (tsubst_friend_class): Don't call redeclare_class_template if the template we looked up is the same as...
      
      	* pt.c (tsubst_friend_class): Don't call redeclare_class_template
      	if the template we looked up is the same as the one we already
      	have.
      
      From-SVN: r19935
      Jason Merrill committed
    • Makefile.in (TREE_H): Add tree-check.h. · 12b195d9
      	* Makefile.in (TREE_H): Add tree-check.h.
      	(tree-check.h, gencheck): New targets.
      	* gencheck.c: New file.
      	* tree.c (tree_check, tree_class_check): New functions.
      	* tree.h (TREE_CHECK, TREE_CLASS_CHECK): Define.
      	(TYPE_CHECK, DECL_CHECK): Define.
      	Modify all access macros to use generated checking macros.
      
      From-SVN: r19934
      Martin v. Löwis committed
    • acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag. · 9e423e6d
      	* acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.
      	* configure.in: Check for it.
      	* i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Use it.
      	* final.c (uid_align, uid_shuid, label_align): Make static.
      	(label_align): Change type to struct label_alignment pointer.
      	(LABEL_TO_ALIGNMENT, shorten_branches): Update due to type change.
      	(LABEL_TO_MAX_SKIP): Define.
      	(LABEL_ALIGN_MAX_SKIP, LOOP_ALIGN_MAX_SKIP,
      	LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Provide defaults.
      	(shorten_branches): Record the maximum bytes to skip when
      	aligning a label.
      	(final_scan_insn): Use the maximum bytes to skip when aligning a label
      	if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
      	* i386.h (LOOP_ALIGN_MAX_SKIP,
      	LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define.
      	* i386.c (override_options): i386_align_jumps and i386_align_loops
      	default to 4 if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
      	* invoke.texi: Document new i386 align-loops and align-jumps behavior.
      
      From-SVN: r19933
      John Wehle committed
    • * cplus-dem.c (do_type): Handle volatile qualification. · 1cc75298
      From-SVN: r19932
      Mark Mitchell committed
    • function.c (init_function_start): Don't call emit_line_note if lineno is 0. · 178ca02d
      �
      	* function.c (init_function_start):  Don't call emit_line_note if
      	lineno is 0.  (Can happen when compiling Java .class files.)
      
      From-SVN: r19931
      Per Bothner committed
    • function.c (init_function_start): Don't call emit_line_note if lineno is 0. · b274104c
      8
      	* function.c (init_function_start):  Don't call emit_line_note if
      	lineno is 0.  (Can happen when compiling Java .class files.)
      
      From-SVN: r19930
      Per Bothner committed
    • reload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT end of lifetime… · cecbf6e2
      reload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT end of lifetime and RELOAD_FOR_OUTPUT start of lifetime.
      
      	* reload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT
      	end of lifetime and RELOAD_FOR_OUTPUT start of lifetime.
      
      From-SVN: r19929
      J"orn Rennecke committed
    • combine.c (nonzero_bits): For paradoxical subregs, take LOAD_EXTENDED_OP into account. · b52ce03d
      	* combine.c (nonzero_bits): For paradoxical subregs, take
      	LOAD_EXTENDED_OP into account.
      
      From-SVN: r19928
      J"orn Rennecke committed
    • lex.c: (handle_sysv_pragma): FILE* parameter not used. · d4dfe7d6
      Thu May 21 11:54:44 1998  Dave Brolley  <brolley@cygnus.com>
      	* lex.c: (handle_sysv_pragma): FILE* parameter not used.
      	(cpp_reader,parse_in): Add for cpplib.
      	(check_newline): Call handle_sysv_pragma with new interface.
      	(check_newline): Call GET_DIRECTIVE_LINE, not get_directive_line.
      	* input.c: (yy_cur,yy_lim,yy_get_token,GETC): Add for cpplib.
      	(sub_getch): Call GETC for cpplib.
      	* cp-tree.h: (get_directive_line): Different prototype for cpplib.
      	(GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line.
      	* Makefile.in (CXX_OBJS): add @extra_cxx_objs@ for cpplib.
      
      From-SVN: r19927
      Dave Brolley committed
    • configure.in (extra_c_objs): add prefix.o. · c8724862
      Thu May 21 11:51:15 1998  Dave Brolley  <brolley@cygnus.com>
      	* configure.in (extra_c_objs): add prefix.o.
      	(extra_cxx_objs): extra objects for C++ with cpplib.
      	* configure: Regenerate.
      	* c-tree.h: (get_directive_line): Different prototype for cpplib.
      	(GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line.
      	* c-lex.h: (get_directive_line): Not needed here for cpplib.
      	* c-lex.c: (yy_cur,yy_lim,yy_get_token): Move to c-common.c.
      	(GET_DIRECTIVE_LINE): Move to c-common.c and rename to get_directive_line.
      	* c-common.c (parse_in,parse_options,cpp_token): Declare for cpplib.
      	(yy_cur,yy_lim,yy_get_token,get_directive,line): Moved here from c-lex.c
      
      From-SVN: r19926
      Dave Brolley committed
    • configure.in: Check for unistd.h as well. · 39d65850
      �
      	* configure.in: Check for unistd.h as well.
      	* configure: Rebuild.
      	* config.in: Rebuild.
      	* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
      	is defined in unistd.h. Reformat conditional block for easier reading.
      	* config.table (shared): Default to no if ${enable_shared}
      	is unset or empty; this logic is used by the toplevel
      	configure scripts, too.
      
      From-SVN: r19925
      Manfred Hollstein committed
    • configure.in: Check for unistd.h as well. · b9256371
      0
      	* configure.in: Check for unistd.h as well.
      	* configure: Rebuild.
      	* config.in: Rebuild.
      	* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
      	is defined in unistd.h. Reformat conditional block for easier reading.
      	* config.table (shared): Default to no if ${enable_shared}
      	is unset or empty; this logic is used by the toplevel
      	configure scripts, too.
      
      From-SVN: r19924
      Manfred Hollstein committed
    • configure.in: Check for unistd.h as well. · 3fe97d74
      �
      	* configure.in: Check for unistd.h as well.
      	* configure: Rebuild.
      	* config.in: Rebuild.
      	* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
      	is defined in unistd.h. Reformat conditional block for easier reading.
      	* config.table (shared): Default to no if ${enable_shared}
      	is unset or empty; this logic is used by the toplevel
      	configure scripts, too.
      
      From-SVN: r19923
      Manfred Hollstein committed
    • ANSI does not allow a prototype to specify an item smaller than an int if the… · fd97443c
      ANSI does not allow a prototype to specify an item smaller than an int if the function uses an old-style definition.
      
      ANSI does not allow a prototype to specify an item smaller than an int
      if the function uses an old-style definition.  This only worked as a
      GNUC extension, so stop doing it.
             * gengenrtl.c (type_from_format, accessor_from_format): Change
             type of parameter `c' from `char' to `int'.
      
      From-SVN: r19922
      Kaveh R. Ghazi committed
    • decl2.c (maybe_make_one_only): New fn. · b385c841
      	* decl2.c (maybe_make_one_only): New fn.
      	(import_export_vtable): Use it.
      	(import_export_decl): Likewise.
      	* pt.c (mark_decl_instantiated): Likewise.
      
      From-SVN: r19921
      Jason Merrill committed
    • decl2.c (find_representative_member): Rename to ... · cb96daa2
      	* decl2.c (find_representative_member): Rename to ...
      	(build_anon_union_vars): New function.
      	(finish_anon_union): Fix stupidity of previous change.
      
      From-SVN: r19920
      Mark Mitchell committed
  2. 20 May, 1998 18 commits
  3. 19 May, 1998 6 commits