OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years agoTue May 19 12:50:27 1998 Craig Burley <burley@gnu.org>
fx [Fri, 22 May 1998 10:32:18 +0000 (10:32 +0000)]
Tue May 19 12:50:27 1998  Craig Burley  <burley@gnu.org>
Break up main() into separate .o's so making and
linking against shared libraries with non-Fortran
main() routines is easier:
* Makefile.in (MISC): Add setarg.o and setsig.o.
* libF77/Makefile.in (MISC): Ditto.
* libF77/setarg.c: New file, contains f_setarg().
* libF77/setsig.c: New file, contains f_setsig().
* libF77/getarg_.c: Rename xarg* to f__xarg*.
* libF77/iargc_.c: Ditto

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19956 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoJCB patch.
fx [Fri, 22 May 1998 10:27:20 +0000 (10:27 +0000)]
JCB patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19955 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTue May 19 14:52:41 1998 Craig Burley <burley@gnu.org>
fx [Fri, 22 May 1998 10:26:01 +0000 (10:26 +0000)]
Tue May 19 14:52:41 1998  Craig Burley  <burley@gnu.org>
* bad.def (FFEBAD_OPEN_UNSUPPORTED, FFEBAD_INQUIRE_UNSUPPORTED,
FFEBAD_READ_UNSUPPORTED, FFEBAD_WRITE_UNSUPPORTED,
FFEBAD_QUAD_UNSUPPORTED, FFEBAD_BLOCKDATA_STMT,
FFEBAD_TRUNCATING_CHARACTER, FFEBAD_TRUNCATING_HOLLERITH,
FFEBAD_TRUNCATING_NUMERIC, FFEBAD_TRUNCATING_TYPELESS,
FFEBAD_TYPELESS_OVERFLOW): Change these from warnings
to errors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19954 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTue May 19 14:51:59 1998 Craig Burley <burley@gnu.org>
fx [Fri, 22 May 1998 10:25:34 +0000 (10:25 +0000)]
Tue May 19 14:51:59 1998  Craig Burley  <burley@gnu.org>
* Make-lang.in (f77.install-info, f77.uninstall):
Use install-info as appropriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19953 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTue May 19 12:56:54 1998 Craig Burley <burley@gnu.org>
fx [Fri, 22 May 1998 10:24:50 +0000 (10:24 +0000)]
Tue May 19 12:56:54 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_init_0): Rename xargc to f__xargc,
in accord with same-dated change to f/runtime.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19952 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoJCB update
fx [Fri, 22 May 1998 10:22:44 +0000 (10:22 +0000)]
JCB update

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19951 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pt.c (print_template_context): Use fprintf instead of cp_error.
jason [Fri, 22 May 1998 05:01:43 +0000 (05:01 +0000)]
* pt.c (print_template_context): Use fprintf instead of cp_error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19950 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago (check_explicit_specialization): Don't mess with a returned
jason [Fri, 22 May 1998 04:18:51 +0000 (04:18 +0000)]
(check_explicit_specialization): Don't mess with a returned
error_mark_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19949 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agocomment
jason [Fri, 22 May 1998 03:49:13 +0000 (03:49 +0000)]
comment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19948 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agogenextract.c (print_path): Handle zero-length path as a special case.
rearnsha [Fri, 22 May 1998 03:44:58 +0000 (03:44 +0000)]
genextract.c (print_path): Handle zero-length path as a special case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19947 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pt.c (determine_specialization): Just return an error_mark_node.
jason [Fri, 22 May 1998 03:32:43 +0000 (03:32 +0000)]
* pt.c (determine_specialization): Just return an error_mark_node.
Also print the decl we want in error messages.  If we complain,
return error_mark_node.
(tsubst_friend_function): Set lineno and input_filename so
error messages will be useful.
(instantiate_template): Just return an error_mark_node.
* pt.c (print_template_context): Add new argument.
(maybe_print_template_context): New fn.
(push_tinst_level): Increment tinst_level_tick.
(pop_tinst_level): Likewise.
* errfn.c (cp_thing): Call maybe_print_template_context.  Use
xrealloc instead of xmalloc.
* typeck.c (build_unary_op, CONVERT_EXPR): Propagate TREE_CONSTANT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19946 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Fri, 22 May 1998 00:39:52 +0000 (00:39 +0000)]

        * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19945 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Fri, 22 May 1998 00:39:51 +0000 (00:39 +0000)]

        * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19944 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago8
law [Fri, 22 May 1998 00:39:44 +0000 (00:39 +0000)]
8
        * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19943 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Makefile.in: Add a dependency on stamp-picdir for the
law [Fri, 22 May 1998 00:20:51 +0000 (00:20 +0000)]
    * Makefile.in: Add a dependency on stamp-picdir for the
        objects, so that we can do a parallel build.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19942 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix minor ChangeLog typo.
law [Fri, 22 May 1998 00:02:20 +0000 (00:02 +0000)]
Fix minor ChangeLog typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19941 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * final.c (JUMP_TABLES_IN_TEXT_SECTION): Provide a default value.
law [Fri, 22 May 1998 00:01:23 +0000 (00:01 +0000)]
    * final.c (JUMP_TABLES_IN_TEXT_SECTION): Provide a default value.
        (shorten_branches, final_scan_insn): Test value of
        JUMP_TABLES_IN_TEXT_SECTION instead of just testing whether it
        is defined.
        * tm.texi (JUMP_TABLES_IN_TEXT_SECTION): Corresponding changes.
        * arm/coff.h: Define JUMP_TABLES_IN_TEXT_SECTION to 1.
        coff.h: Likewise.
        * i386/386bsd.h: Likewise.
        * i386/freebsd-elf.h: Likewise.
        * i386/freebsd.h: Likewise.
        * i386/netbsd.h: Likewise.
        * i386/ptx4-i.h: Likewise.
        * i386/sysv4.h: Likewise.
        * pa/pa.h: Likewise.
        * rs6000/linux.h: Likewise.
        * rs6000/rs6000.h: Likewise.
        * sh/sh.h: Likewise.
        * sparc/sp64-elf.h: Likewise.
        * v850/v850.h: Likewise.
        * rs6000/sysv4.h: Define JUMP_TABLES_IN_TEXT_SECTION to 0.
        * i386/linux.h: Define JUMP_TABLES_IN_TEXT_SECTION to (flag_pic).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19940 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Makefile.in (gencheck): Depend on HOST_LIBDEPS.
law [Thu, 21 May 1998 22:54:10 +0000 (22:54 +0000)]
    * Makefile.in (gencheck): Depend on HOST_LIBDEPS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19939 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * regmove.c (gen_add3_insn): New function.
law [Thu, 21 May 1998 22:34:06 +0000 (22:34 +0000)]
    * regmove.c (gen_add3_insn): New function.
        (fixup_match_2): Use it instead of calling gen_addsi3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19938 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.dg/980520-1.c: New test.
law [Thu, 21 May 1998 22:21:28 +0000 (22:21 +0000)]
    * gcc.dg/980520-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19937 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory
law [Thu, 21 May 1998 22:12:04 +0000 (22:12 +0000)]
    * alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory
        address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19936 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pt.c (tsubst_friend_class): Don't call redeclare_class_template
jason [Thu, 21 May 1998 20:57:52 +0000 (20:57 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19935 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Makefile.in (TREE_H): Add tree-check.h.
law [Thu, 21 May 1998 19:20:37 +0000 (19:20 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19934 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.
law [Thu, 21 May 1998 19:12:20 +0000 (19:12 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19933 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cplus-dem.c (do_type): Handle volatile qualification.
mmitchel [Thu, 21 May 1998 15:22:54 +0000 (15:22 +0000)]
* cplus-dem.c (do_type): Handle volatile qualification.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19932 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
bothner [Thu, 21 May 1998 12:24:01 +0000 (12:24 +0000)]

* function.c (init_function_start):  Don't call emit_line_note if
lineno is 0.  (Can happen when compiling Java .class files.)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19931 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago8
bothner [Thu, 21 May 1998 12:23:59 +0000 (12:23 +0000)]
8
* function.c (init_function_start):  Don't call emit_line_note if
lineno is 0.  (Can happen when compiling Java .class files.)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19930 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * reload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT
amylaar [Thu, 21 May 1998 11:52:31 +0000 (11:52 +0000)]
* reload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT
end of lifetime and RELOAD_FOR_OUTPUT start of lifetime.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19929 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * combine.c (nonzero_bits): For paradoxical subregs, take
amylaar [Thu, 21 May 1998 11:35:10 +0000 (11:35 +0000)]
* combine.c (nonzero_bits): For paradoxical subregs, take
LOAD_EXTENDED_OP into account.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19928 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoThu May 21 11:54:44 1998 Dave Brolley <brolley@cygnus.com>
brolley [Thu, 21 May 1998 08:56:16 +0000 (08:56 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19927 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoThu May 21 11:51:15 1998 Dave Brolley <brolley@cygnus.com>
brolley [Thu, 21 May 1998 08:54:04 +0000 (08:54 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19926 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
manfred [Thu, 21 May 1998 07:52:43 +0000 (07:52 +0000)]

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19925 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago0
manfred [Thu, 21 May 1998 07:52:41 +0000 (07:52 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19924 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
manfred [Thu, 21 May 1998 07:52:38 +0000 (07:52 +0000)]

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19923 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoANSI does not allow a prototype to specify an item smaller than an int
ghazi [Thu, 21 May 1998 06:29:55 +0000 (06:29 +0000)]
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'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19922 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl2.c (maybe_make_one_only): New fn.
jason [Thu, 21 May 1998 05:42:51 +0000 (05:42 +0000)]
* decl2.c (maybe_make_one_only): New fn.
(import_export_vtable): Use it.
(import_export_decl): Likewise.
* pt.c (mark_decl_instantiated): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19921 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl2.c (find_representative_member): Rename to ...
mmitchel [Thu, 21 May 1998 00:48:49 +0000 (00:48 +0000)]
* decl2.c (find_representative_member): Rename to ...
(build_anon_union_vars): New function.
(finish_anon_union): Fix stupidity of previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19920 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (grokfndecl): Handle definition of specialization in
jason [Wed, 20 May 1998 23:53:04 +0000 (23:53 +0000)]
* decl.c (grokfndecl): Handle definition of specialization in
friend declaration.
* error.c (dump_decl): Fix LOOKUP_EXPR handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19919 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * class.c (delete_duplicate_fields_1): Use DECL_DECLARES_TYPE_P
mmitchel [Wed, 20 May 1998 23:28:21 +0000 (23:28 +0000)]
* class.c (delete_duplicate_fields_1): Use DECL_DECLARES_TYPE_P
to look for type declarations.
(finish_struct): Deal with templates on the CLASSTYPE_TAGS list.
* cp-tree.h (DECL_DECLARES_TYPE_P): New macro.
(finish_member_class_template): Declare.
* decl.c (pushtag): Put member class templates on the
CLASSTYPE_TAGS list, just as for ordinary member classes.
(pushdecl_class_level): Use DECL_DECLARES_TYPE_P.
(lookup_tag): Look for IDENTIFIER_CLASS_VALUEs, just as with
IDENTIFIER_NAMESPACE_VALUEs.
* parse.y (component_decl): Move code to ...
* semantics.c (finish_member_class_template): New function.
Don't put member class templates on the list of components for a
class.
* pt.c (classtype_mangled_name): Don't try DECL_CONTEXT on types.
In fact, don't use DECL_CONTEXT at all here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19918 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * warn_summary, test_summary: New scripts from
law [Wed, 20 May 1998 22:44:58 +0000 (22:44 +0000)]
    * warn_summary, test_summary: New scripts from
        Kaveh Ghazi and Alexandre Oliva respectively.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19917 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.dg/980502-1.c: Fix return type.
law [Wed, 20 May 1998 21:48:45 +0000 (21:48 +0000)]
    * gcc.dg/980502-1.c: Fix return type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19916 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcse.c (current_function_calls_longjmp): Declare.
law [Wed, 20 May 1998 21:30:13 +0000 (21:30 +0000)]
    * gcse.c (current_function_calls_longjmp): Declare.
For sco5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19915 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (record_unknown_type): New function.
jason [Wed, 20 May 1998 19:08:59 +0000 (19:08 +0000)]
* decl.c (record_unknown_type): New function.
(init_decl_processing): Call it for the unknown and global type
nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19912 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * dwarf2out.c (base_type_die): Use int_size_in_bytes.
jason [Wed, 20 May 1998 18:51:13 +0000 (18:51 +0000)]
* dwarf2out.c (base_type_die): Use int_size_in_bytes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19911 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl2.c (find_representative_member): New function.
mmitchel [Wed, 20 May 1998 11:03:18 +0000 (11:03 +0000)]
* decl2.c (find_representative_member): New function.
(finish_anon_union): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19910 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.dg/{980502-1.c, clobbers.c}: New tests.
law [Wed, 20 May 1998 10:30:42 +0000 (10:30 +0000)]
    * gcc.dg/{980502-1.c, clobbers.c}: New tests.
        * gcc.c-torture/compile/{980504-1.c, 980506-1.c}: Likewise.
        * gcc.c-torture/compile/{980506-2.c, 980611-1.c}: Likewise.
        * gcc.c-torture/execute/{980505-1.c, 980505-2.c, 980506-1.c}: Likewise.
        * gcc.c-torture/execute/{980506-2.c, 980506-3.c}: Likewise.
Missing ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19909 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agonew test
mmitchel [Wed, 20 May 1998 10:04:35 +0000 (10:04 +0000)]
new test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19908 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cp-tree.h (MAIN_NAME_P): New macro.
mmitchel [Wed, 20 May 1998 10:04:25 +0000 (10:04 +0000)]
* cp-tree.h (MAIN_NAME_P): New macro.
(DECL_MAIN_P): Likwise.
* decl.c (pushdecl): Avoid crashing on redefinitions of `main'.
(grokfndecl): Use the new macros.
(grokdeclarator): Likewise.
(start_function): Likewise.
(store_parm_decls): Likewise.
(finsh_function): Likewise.
* friend.c (do_friend): Likewise.
* typeck.c (build_function_call_real): Likewise.
(build_unary_op): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19907 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-05-20 Dave Love <d.love@dl.ac.uk>
fx [Wed, 20 May 1998 09:34:26 +0000 (09:34 +0000)]
1998-05-20  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/980520-1.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19906 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoNew test.
fx [Wed, 20 May 1998 09:28:28 +0000 (09:28 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19905 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl2.c (start_objects, finish_objects, do_dtors,
jason [Wed, 20 May 1998 02:46:16 +0000 (02:46 +0000)]
* decl2.c (start_objects, finish_objects, do_dtors,
do_ctors): Split out from...
(finish_file): ...here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19904 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoremove CYGNUS LOCAL
jason [Wed, 20 May 1998 01:57:33 +0000 (01:57 +0000)]
remove CYGNUS LOCAL

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19903 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoVarious minor updates.
law [Wed, 20 May 1998 00:36:31 +0000 (00:36 +0000)]
Various minor updates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19902 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Global CSE and constant/copy propagation.
law [Wed, 20 May 1998 00:24:32 +0000 (00:24 +0000)]
    * Global CSE and constant/copy propagation.
        * Makefile.in (OBJS): Add gcse.o
        (STAGESTUFF): Add *.gcse.
        (gcse.o): Add dependencies.
        (mostlyclean): Remove *.gcse and */*.gcse.
        * gcse.c: New file.
        * loop.c (loop_optimize): Move call to init_alias_analysis.
        * recog.c (validate_replace_src): New function.
        * toplev.c (gcse_dump): New global variable.
        (flag_gcse, gcse_time): Likewise.
        (compile_file): Initialize gcse_time and clean out the gcse dump
        file if necessary.
        (rest_of_compilation): Call gcse_main as requested.  Dump RTL
        after gcse if requested.
        (main): Enable gcse for -O2 and above.  Handle -dG.  Enable gcse
        dumps for -da.
        * gcc.texi: Add gcse related internal documentation.
        * invoke.texi: Note new command line options for gcse.
        * tm.texi: Document AVOID_CCMODE_COPIES.
        * mips.h (AVOID_CCMODE_COPIES): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19901 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoVarious updates.
law [Wed, 20 May 1998 00:01:58 +0000 (00:01 +0000)]
Various updates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19900 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
law [Tue, 19 May 1998 21:45:41 +0000 (21:45 +0000)]
    * Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
        exists.
        (stmp-fixproto): Simlarly for running fixproto.
        * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19899 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
law [Tue, 19 May 1998 21:41:03 +0000 (21:41 +0000)]
    * Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
        exists.
        * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.
Bring over from Cygnus sources.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19898 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * tree.c (is_overloaded_fn): Don't abort on placeholders from
jason [Tue, 19 May 1998 20:38:04 +0000 (20:38 +0000)]
* tree.c (is_overloaded_fn): Don't abort on placeholders from
push_class_decls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19888 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix Irix6 Mesa compile failure reported by Andy Tai.
wilson [Tue, 19 May 1998 19:23:09 +0000 (19:23 +0000)]
Fix Irix6 Mesa compile failure reported by Andy Tai.
* config/mips/mips.c (double_memory_operand): Accept any MEM during
reload when TARGET_64BIT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19887 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFinish incomplete change started by Kenner.
wilson [Tue, 19 May 1998 18:24:07 +0000 (18:24 +0000)]
Finish incomplete change started by Kenner.
* configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines.
(powerpcle-*-cygwin32): Delete xm_defines.
* final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use
HAVE_STAB_H instead of NO_STAB_H.
* config/xm-linux.h (NO_STAB_H): Delete.
(HAVE_STAB_H): Undefine.
* config/i386/xm-go32.h (NO_STAB_H): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19886 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * class.c (is_empty_class): Return 0 if TYPE is an error_mark_node.
brendan [Tue, 19 May 1998 18:16:49 +0000 (18:16 +0000)]
* class.c (is_empty_class): Return 0 if TYPE is an error_mark_node.
* error.c (dump_expr): Handle an ARROW_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19885 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoAdd test
mmitchel [Tue, 19 May 1998 15:43:24 +0000 (15:43 +0000)]
Add test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19884 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix SCO5 namespace/dwarf interaction bug.
wilson [Tue, 19 May 1998 15:31:53 +0000 (15:31 +0000)]
Fix SCO5 namespace/dwarf interaction bug.
* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore
LANG_TYPE trees with DECL_SOURCE_LINE of 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19883 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (saveable_obstack): Declare.
mmitchel [Tue, 19 May 1998 15:15:22 +0000 (15:15 +0000)]
* decl.c (saveable_obstack): Declare.
(pushdecl): Copy TYPE_DECLs to the same obstack as the type they
declare, if necessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19882 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* arm/netbsd.h: Ensure DWARF2_UNWIND_INFO is undefined.
rearnsha [Tue, 19 May 1998 15:13:23 +0000 (15:13 +0000)]
* arm/netbsd.h: Ensure DWARF2_UNWIND_INFO is undefined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19881 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * call.c (compare_qual): Remove.
mmitchel [Tue, 19 May 1998 14:51:38 +0000 (14:51 +0000)]
* call.c (compare_qual): Remove.
(is_subseq): Tweak.
(is_properly_derived_from): New function.
(maybe_handle_ref_bind): Likewise.
(maybe_handle_implicit_object): Likewise.
(compare_ics): Modify substantially to bring into conformance with
the standard.
* cp-tree.h (TYPE_PTRMEMFUNC_OBJECT_TYPE): New macro.
(comp_cv_qualification): Declare.
(comp_cv_qual_signature): Likewise.
* typeck.c (comp_cv_qualification): Likewise.
(comp_cv_qual_signature): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19880 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoSat May 2 16:44:46 1998 Craig Burley <burley@gnu.org>
fx [Tue, 19 May 1998 11:02:16 +0000 (11:02 +0000)]
Sat May  2 16:44:46 1998  Craig Burley  <burley@gnu.org>
* libF77/signal_.c, libI77/dfe.c, libI77/due.c,
libI77/wsfe.c: Tweaks to eliminate unnecessary
differences vs. netlib libf2c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19879 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTweaks to eliminate unnecessary
fx [Tue, 19 May 1998 11:01:52 +0000 (11:01 +0000)]
Tweaks to eliminate unnecessary
differences vs. netlib libf2c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19878 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoUpdate to Netlib version of 1998-04-20
fx [Tue, 19 May 1998 10:52:03 +0000 (10:52 +0000)]
Update to Netlib version of 1998-04-20

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19877 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoJCB: update email in header.
fx [Tue, 19 May 1998 10:50:55 +0000 (10:50 +0000)]
JCB: update email in header.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19876 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoUpdate to Netlib version of 1998-04-20
fx [Tue, 19 May 1998 10:45:44 +0000 (10:45 +0000)]
Update to Netlib version of 1998-04-20

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19875 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoJCB updates.
fx [Tue, 19 May 1998 10:29:42 +0000 (10:29 +0000)]
JCB updates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19874 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFri Apr 17 17:18:04 1998 Craig Burley <burley@gnu.org>
fx [Tue, 19 May 1998 10:26:25 +0000 (10:26 +0000)]
Fri Apr 17 17:18:04 1998  Craig Burley  <burley@gnu.org>
* version.h: Get rid of the overly large headers
here too, as done in version.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19873 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoGet rid of the overly large headers
fx [Tue, 19 May 1998 10:25:05 +0000 (10:25 +0000)]
Get rid of the overly large headers
here too, as done in version.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19872 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoon Mar 23 21:20:35 1998 Craig Burley <burley@gnu.org>
fx [Tue, 19 May 1998 10:23:53 +0000 (10:23 +0000)]
on Mar 23 21:20:35 1998  Craig Burley  <burley@gnu.org>
* version.c: Reduce to a one-line file, like
gcc's version.c, since there's really no content
there.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19871 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoReduce to a one-line file, like
fx [Tue, 19 May 1998 10:21:47 +0000 (10:21 +0000)]
Reduce to a one-line file, like
gcc's version.c, since there's really no content
there.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19870 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * reload1.c (reload_reg_free_for_value_p): New function.
amylaar [Tue, 19 May 1998 09:23:21 +0000 (09:23 +0000)]
* reload1.c (reload_reg_free_for_value_p): New function.
(allocate_reload_reg, choose_reload_regs): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19869 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix logic on when to generate a new handler label
amacleod [Tue, 19 May 1998 09:05:27 +0000 (09:05 +0000)]
Fix logic on when to generate a new handler label

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19868 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoWarning Fixes:
ghazi [Tue, 19 May 1998 08:42:48 +0000 (08:42 +0000)]
Warning Fixes:
        * Makefile.in (print-rtl.o): Depend on bitmap.h.
        (dbxout.o): Depend on toplev.h.
        ($(SCHED_PREFIX)sched.o): Likewise.
        ($(out_object_file)): Likewise for system.h and toplev.h.
        (cppmain.o): Depend on gansidecl.h.
        (cpplib.o): Likewise.
        (cpperror.o): Likewise.
        (cppexp.o): Likewise.
        (cpphash.o): Likewise.
        (cppalloc.o): Likewise.
        (fix-header.o): Depend on cpplib.h and cpphash.h.
        (scan-decls.o): Depend on gansidecl.h.
        * basic-block.h (free_regset_vector): Add prototype.
        * cccp.c (check_precompiled): Mark parameter `fname' with
        ATTRIBUTE_UNUSED.
        (do_assert): Likewise for `op' and `keyword'.
        (do_unassert): Likewise.
        (do_line): Likewise for `keyword'.
        (do_error): Likewise for `op' and `keyword'.
        (do_warning): Likewise.
        (do_ident): Likewise for `keyword'.
        (do_pragma): Likewise for `limit', `op' and `keyword'.
        (do_sccs): Likewise.
        (do_if): Likewise for `keyword'.
        (do_elif): Likewise.
        (do_else): Likewise.
        (do_endif): Likewise.
        * collect2.c (getenv): Remove redundant prototype.
        (collect_exit, collect_execute, dump_file): Likewise.
        (dump_list): Wrap prototype and definition in COLLECT_EXPORT_LIST.
        (dump_prefix_list): Hide prototype and definition.
        * sparc.c: Include toplev.h.
        (intreg_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED.
        (symbolic_memory_operand): Likewise.
        (sp64_medium_pic_operand): Likewise.
        (data_segment_operand): Likewise.
        (text_segment_operand): Likewise.
        (splittable_symbolic_memory_operand): Likewise.
        (splittable_immediate_memory_operand): Likewise.
        (eq_or_neq): Likewise.
        (normal_comp_operator): Likewise.
        (noov_compare_op): Likewise.
        (v9_regcmp_op): Likewise.
        (v8plus_regcmp_op): Likewise.
        (extend_op): Likewise.
        (cc_arithop): Likewise.
        (cc_arithopn): Likewise.
        (small_int): Likewise.
        (uns_small_int): Likewise.
        (clobbered_register): Likewise.
        (legitimize_pic_address): Likewise.
        (delay_operand): Likewise.
        (sparc_builtin_saveregs): Remove unused variable `stdarg'.
        * sparc.h (order_regs_for_local_alloc, eligible_for_return_delay,
        sparc_issue_rate, v8plus_regcmp_p): Add prototypes.
        * sparc.md (cmpdi_v8plus): Add abort for default case in switch.
        * cppalloc.c: Include gansidecl.h.
        * cpperror.c: Include stdarg.h/varargs.h and gansidecl.h.
        (cpp_file_line_for_message): Mark parameter `pfile' with
        ATTRIBUTE_UNUSED.
        (v_cpp_message): New function.
        (cpp_message): Use it.  Also convert to variable arguments.
        (cpp_fatal): Likewise.
        (cpp_pfatal_with_name): Constify parameter `name'.
        * cppexp.c: Move gansidecl.h before cpplib.h.
        * cpphash.c: Likewise.
        * cpphash.h (hashf, delete_macro): Add prototypes.
        * cpplib.c: Include stdarg.h/varargs.h and move gansidecl.h before
        cpplib.h.  Don't include errno.h.
        (update_path): Add arguments to prototype.
        (cpp_fatal, cpp_file_line_for_message, cpp_message, delete_macro,
        cpp_print_containing_files): Remove redundant prototypes.
        (cpp_hash_cleanup, add_import, append_include_chain,
        make_assertion, path_include, initialize_builtins,
        initialize_char_syntax, finclude, validate_else, comp_def_part,
        lookup_import, redundant_include_p, is_system_include,
        read_name_map, read_filename_string, open_include_file,
        check_macro_name, compare_defs, compare_token_lists,
        eval_if_expression, change_newlines): Add prototype arguments.
        (hashf): Remove redundant prototype.
        (read_token_list, free_token_list, safe_read, xcalloc, savestring,
        conditional_skip, skip_if_group): Add prototype arguments.
        (fdopen): Remove redundant prototype.
        (do_define, do_line, do_include, do_undef, do_error, do_pragma,
        do_ident, do_if, do_xifdef, do_else, do_elif, do_endif, do_sccs,
        do_once, do_assert, do_unassert, do_warning): Add prototype arguments.
        (struct directive): Add prototype arguments to function pointer
        member `func'.
        (handle_directive): Add missing arguments to call to `do_line'.
        (do_include): Mark parameters `unused1' and `unused2' with
        ATTRIBUTE_UNUSED.
        (do_line): Likewise for `keyword' and new parameters `unused1' and
        `unused2'.
        (do_error): Likewise for `keyword'.
        (do_warning): Likewise.  Also add missing argument `pfile' in call
        to cpp_pedwarn.
        (do_once): Mark parameter `keyword', `unused1' and `unused2' with
        ATTRIBUTE_UNUSED.
        (do_ident): Likewise for `keyword', `buf' and `limit'.
        (do_pragma): Likewise.  Also add missing arguments in call to do_once.
        (do_sccs): Mark parameter `keyword', `buf' and `limit' with
        ATTRIBUTE_UNUSED.
        (do_if): Likewise for `keyword'.
        (do_elif): Likewise.
        (eval_if_expression): Likewise for `buf' and `length'.
        (do_xifdef): Likewise for `unused1' and `unused2'.
        (do_else): Likewise for `keyword', `buf' and `limit'.
        (do_endif): Likewise.
        (parse_name): Add missing argument `pfile' in call to cpp_pedwarn.
        (cpp_handle_options): Remove superfluous NULL argument in call to
        cpp_fatal.
        (cpp_handle_options): Likewise.
        (do_assert): Mark parameter `keyword', `buf' and `limit' with
        ATTRIBUTE_UNUSED.
        (do_unassert): Likewise.
        (cpp_print_file_and_line): Add missing argument `pfile' in call to
        cpp_file_line_for_message.
        (v_cpp_error): New function.
        (cpp_error): Use it. Also accept variable arguments.
        (v_cpp_warning): New function.
        (cpp_warning): Use it. Also accept variable arguments.
        (cpp_pedwarn): Accept variable arguments.
        (v_cpp_error_with_line): New function
        (cpp_error_with_line): Use it.  Accept variable arguments.
        (v_cpp_warning_with_line): New function.
        (cpp_warning_with_line): Use it.  Accept variable arguments.  Hide
        definition.
        (cpp_pedwarn_with_line): Accept variable arguments.
        (cpp_pedwarn_with_file_and_line): Likewise.
        (cpp_error_from_errno): Constify parameter `name'.  Add missing
        argument `pfile' in call to cpp_file_line_for_message.
        (cpp_perror_with_name): Constify parameter `name'.
        * cpplib.h: Define PARAMS() in terms of PROTO().
        (fatal): Remove redundant prototype.
        (cpp_error, cpp_warning, cpp_pedwarn, cpp_error_with_line,
        cpp_pedwarn_with_line, cpp_pedwarn_with_file_and_line,
        cpp_error_from_errno, cpp_perror_with_name, cpp_pfatal_with_name,
        cpp_fatal, cpp_message, cpp_pfatal_with_name,
        cpp_file_line_for_message, cpp_print_containing_files): Add
        arguments to prototypes.
        (scan_decls, cpp_finish): Add prototypes.
        * cppmain.c: Include gansidecl.h.
        (main): Remove unused variable `i'.
        * dbxout.c: Include toplev.h.
        * demangle.h (do_tlink, collect_execute, collect_exit,
        collect_wait, dump_file, file_exists): Add prototype.
        * dwarf2out.c (dwarf_type_encoding_name, decl_start_label): Hide
        prototype and definition.
        (gen_unspecified_parameters_die): Don't assign results of call to
        function new_die() to unused variable `parm_die'.
        (dwarf2out_line): Mark parameter `filename' with ATTRIBUTE_UNUSED.
        (dwarf2out_define): Likewise for `lineno' and `buffer'.
        * dwarfout.c (output_unsigned_leb128, output_signed_leb128): Hide
        prototype and definition.
        (output_die): Add prototype arguments to function pointer arg.
        (output_unspecified_parameters_die): Mark parameter `arg' with
        ATTRIBUTE_UNUSED.
        * except.c (output_exception_table_entry): Remove unused variable
        `eh_entry'.
        * except.h (expand_fixup_region_start, expand_fixup_region_end):
        Add prototypes.
        * expr.c (do_jump_by_parts_equality_rtx): Remove prototype.
        * expr.h (do_jump_by_parts_equality_rtx): Add prototype.
        * fix-header.c: Include stdarg.h/varargs.h, move gansidecl.h
        before cpplib.h, include cpphash.h, remove redundant prototype of
        cpp_fatal, don't define `const', add a prototype for `fatal'.
        (cpp_file_line_for_message): Add missing arguments `pfile'.
        (v_cpp_message): New function.
        (cpp_message): Use it.
        (v_fatal): New function.
        (fatal, cpp_fatal): Use it.
        (cpp_pfatal_with_name): Constify parameter `name'.
        * flow.c (free_regset_vector): Remove redundant prototype.
        * function.c (round_down): Wrap prototype and definition with
        macro ARGS_GROW_DOWNWARD.
        (record_insns): Wrap prototype and definition with
        defined (HAVE_prologue) || defined (HAVE_epilogue).
        * gansidecl.h (ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5): New macros.
        * gen-protos.c: Include gansidecl.h.
        (hashf): Don't make it static, constify parameter `name'.
        * genattrtab.c (check_attr_test): Change XEXP() to XSTR() to match
        specifier %s in calls to function `fatal'.
        * haifa-sched.c: Include toplev.h.
        (find_rgns): Remove unused variable `j'.
        * integrate.c (note_modified_parmregs): Mark parameter `x' with
        ATTRIBUTE_UNUSED.
        (mark_stores): Likewise.
        * jump.c (mark_modified_reg): Likewise.
        * output.h (insn_current_reference_address): Add prototype.
        (eh_frame_section): Likewise.
        * print-rtl.c: Include bitmap.h.
        * reload1.c (reload): Wrap variables `note' and `next' in macro
        PRESERVE_DEATH_INFO_REGNO_P.
        (forget_old_reloads_1): Mark parameter `ignored' with
        ATTRIBUTE_UNUSED.
        (choose_reload_regs): Remove unused variable `in'.
        (reload_cse_invalidate_mem): Mark parameter `ignore' with
        ATTRIBUTE_UNUSED.
        (reload_cse_check_clobber): Likewise.
        * rtl.h (expand_null_return, reg_classes_intersect_p): Add prototype.
        (mark_elimination): Fix typo in prototype.
        * scan-decls.c: Include gansidecl.h.
        * tree.h (using_eh_for_cleanups, supports_one_only): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19867 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoWarning fixes:
ghazi [Tue, 19 May 1998 07:19:17 +0000 (07:19 +0000)]
Warning fixes:
        * Makefile.in (parse.o): Depend on toplev.h.
        * class.c (typecode_p): Remove prototype and definition.
        * cp-tree.h (currently_open_class, is_empty_class, member_p):
        Add prototype.
        * decl.c (push_overloaded_decl_top_level): Remove prototype and
        definition.
        * errfn.c (cp_error): Cast function pointer `error' to (errorfn *)
        in call to `cp_thing'.
        (cp_warning): Likewise for function pointer `warning'.
        * except.c (do_function_call): Remove prototype and definition.
        (call_eh_info): Wrap variable `t1' in macro NEW_EH_MODEL.
        * method.c (is_java_type): Add prototype and make it static.
        * parse.y: Include toplev.h.
        * pt.c (type_unification): Remove unused variable `arg'.
        (instantiate_decl): likewise for `save_ti'.
        * tree.c (propagate_binfo_offsets): Likewise for `base_binfos'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19866 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Tue, 19 May 1998 07:09:55 +0000 (07:09 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19862 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agotweak
jason [Tue, 19 May 1998 02:53:39 +0000 (02:53 +0000)]
tweak

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19860 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * init.c (build_member_call): Handle template_ids.
jason [Tue, 19 May 1998 02:50:52 +0000 (02:50 +0000)]
* init.c (build_member_call): Handle template_ids.
* parse.y (primary): Add global_scope template_id.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19859 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl2.c (get_sentry): Use end_temporary_allocation.
jason [Mon, 18 May 1998 23:23:05 +0000 (23:23 +0000)]
* decl2.c (get_sentry): Use end_temporary_allocation.
Don't declare permanent_obstack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19858 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * function.c (identify_blocks): Fix thinko when setting the
law [Mon, 18 May 1998 21:39:43 +0000 (21:39 +0000)]
    * function.c (identify_blocks): Fix thinko when setting the
        block number for NOTE_INSN_BLOCK_END.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19857 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoApplied fixes from PR 15949 and 15047
nickc [Mon, 18 May 1998 16:37:30 +0000 (16:37 +0000)]
Applied fixes from PR 15949 and 15047

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19856 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoUndid previous delta to dbxout.c
nickc [Mon, 18 May 1998 15:34:05 +0000 (15:34 +0000)]
Undid previous delta to dbxout.c
Added comment explaining why.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19855 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoadd error loc for original default arg
brendan [Mon, 18 May 1998 14:51:47 +0000 (14:51 +0000)]
add error loc for original default arg

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19854 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* tree.h (TYPE_SIZE_UNIT): New.
rth [Mon, 18 May 1998 13:21:14 +0000 (13:21 +0000)]
* tree.h (TYPE_SIZE_UNIT): New.
(struct tree_type): Add size_unit member.
* stor-layout.c (layout_type): Initialize it.
* expr.c (get_inner_reference) [ARRAY_REF]: Use it.
* tree.c (size_in_bytes, int_size_in_bytes): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19853 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * parse.y (.finish_new_placement): New non-terminal.
mmitchel [Mon, 18 May 1998 12:28:30 +0000 (12:28 +0000)]
* parse.y (.finish_new_placement): New non-terminal.
(unary_expr, new_type_id): Use it.
* parse.c: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19852 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pt.c (redeclare_class_template): Say where the original definition
brendan [Mon, 18 May 1998 12:21:29 +0000 (12:21 +0000)]
* pt.c (redeclare_class_template): Say where the original definition
of the template-parameter's default argument appeared.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19851 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * stor-layout.c (layout_record): Fix off-by-one error when checking
jason [Mon, 18 May 1998 12:08:10 +0000 (12:08 +0000)]
* stor-layout.c (layout_record): Fix off-by-one error when checking
length of the TYPE_BINFO vector.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19850 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-05-18 Craig Burley <burley@gnu.org>
fx [Mon, 18 May 1998 11:23:15 +0000 (11:23 +0000)]
1998-05-18  Craig Burley  <burley@gnu.org>
* Make-lang.in (G77STAGESTUFF): Add g77.o, g77spec.o,
and g77version.o.
(f77.clean): Add removal of g77.c, g77.o, g77spec.o,
and g77version.o.
(f77.distclean): Delete removal of g77.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19849 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(G77STAGESTUFF): Add g77.o, g77spec.o,
fx [Mon, 18 May 1998 11:18:41 +0000 (11:18 +0000)]
(G77STAGESTUFF): Add g77.o, g77spec.o,
and g77version.o.
(f77.clean): Add removal of g77.c, g77.o, g77spec.o,
and g77version.o.
(f77.distclean): Delete removal of g77.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19848 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoLayout change.
fx [Mon, 18 May 1998 11:17:41 +0000 (11:17 +0000)]
Layout change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19847 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix entries (JCB).
fx [Mon, 18 May 1998 11:10:31 +0000 (11:10 +0000)]
Fix entries (JCB).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19846 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoUse TREE_ARG to compute the type of a function parameter passed in memory.
nickc [Mon, 18 May 1998 11:02:18 +0000 (11:02 +0000)]
Use TREE_ARG to compute the type of a function parameter passed in memory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19845 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-05-18 Craig Burley <burley@gnu.org>
fx [Mon, 18 May 1998 10:53:27 +0000 (10:53 +0000)]
1998-05-18  Craig Burley  <burley@gnu.org>
* com.c (ffecom_convert_narrow_, ffecom_convert_widen_):
Be even more persnickety in checking for internal bugs.
Also, if precision isn't changing, just return the expr.
(ffecom_expr_): Add ltkt variable for clarity.
* expr.c Use ffestrOther in place of ffeexprDotdot_.
(ffeexpr_token_number_): Call
ffeexpr_make_float_const_ to make an integer.
(ffeexpr_make_float_const_): Handle making an integer.
* intrin.c (ffeintrin_init_0): Distinguish between
crashes on bad arg base and kind types.
* Makefile.in (f/expr.c): Now depends on f/stamp-str.
* str-ot.fin: Add more keywords for expr.c.
* intdoc.c (dumpimp): Trivial fix.
* stb.c (ffestb_R100110_): Fix an assertion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19844 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(ffestb_R100110_): Fix an assertion.
fx [Mon, 18 May 1998 10:49:39 +0000 (10:49 +0000)]
(ffestb_R100110_): Fix an assertion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19843 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoLayout change.
fx [Mon, 18 May 1998 10:47:05 +0000 (10:47 +0000)]
Layout change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19842 138bc75d-0d04-0410-961f-82ee72b054a4