OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years ago
bkoz [Tue, 26 May 1998 19:29:39 +0000 (19:29 +0000)]

1998-05-26  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* decl.c (start_decl): Check for DECL_LANG_SPECIFIC before
  DECL_USE_TEMPLATE.
more QT++ fixes.

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

25 years ago1998-05-26 Dave Love <d.love@dl.ac.uk>
fx [Tue, 26 May 1998 14:11:33 +0000 (14:11 +0000)]
1998-05-26  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/alpha2.f: Add runtime test.

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

25 years agoAdd runtime test.
fx [Tue, 26 May 1998 14:08:56 +0000 (14:08 +0000)]
Add runtime test.

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

25 years ago
bothner [Tue, 26 May 1998 12:55:06 +0000 (12:55 +0000)]

* language_as_string:  Handle lang_java.

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

25 years ago * decl.c (pushdecl): Don't copy the type_decl.
jason [Tue, 26 May 1998 11:43:52 +0000 (11:43 +0000)]
* decl.c (pushdecl): Don't copy the type_decl.
* class.c (pushclass): Always store TYPE_MAIN_VARIANT in
current_class_type.
* decl.c (grokdeclarator): Put typedefs on the type's obstack.
* parse.y (complex_direct_notype_declarator): Use $1 to access
scope of notype_qualified_id.

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

25 years agonew
jason [Tue, 26 May 1998 11:43:44 +0000 (11:43 +0000)]
new

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

25 years ago1998-05-26 Dave Brolley <brolley@cygnus.com>
brolley [Tue, 26 May 1998 10:47:58 +0000 (10:47 +0000)]
1998-05-26  Dave Brolley  <brolley@cygnus.com>
* lex.c (parse_options,yy_cur,yy_lim): Add for cpplib.
(init_parse): Initialize cpplib interface.
* Makefile.in (CXX_OBJS): Make sure dependencies nenver end with an
empty continuation.

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

25 years ago* arm.c: Include toplev.h.
rearnsha [Tue, 26 May 1998 09:30:56 +0000 (09:30 +0000)]
* arm.c: Include toplev.h.
(arm_override_options): Add parentheses around use of tune_flags.
(arm_split_constant): Remove unused variable.
(arm_gen_constant, arm_gen_movstrqi, add_constant): Likewise.
(output_func_prologue, arm_expand_prologue): Likewise.
(arm_canonicalize_comparison): Make I unsigned; rework constants
accordignly.  Add missing paratheses around << operation.
(arm_rtx_costs): Correctly parenthesise MULT costs.  Add a DEFAULT
clause.
({load,store}_multiple_sequence): Initialize BASE_REG.
(select_dominance_cc_mode): Add DEFAULT clauses.
(broken_move): Return zero if the destination is not a register.
(arm_reorg): Move unused REGNO declaration into the dead code.
* arm.h (CANONICALIZE_COMPARISON): Ensure OP1 is updated.

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

25 years ago* arm.c (bad_signed_byte_operand): New predicate function.
rearnsha [Tue, 26 May 1998 07:37:15 +0000 (07:37 +0000)]
* arm.c (bad_signed_byte_operand): New predicate function.
* arm.h (PREDICATE_CODES): Add it to the list.
* arm.md (*extendqi[sh]i_insn): Split any addresses that ldrsb
can't handle.
(define_split): Two new splits for above insns.

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

25 years ago1998-05-25 Mark Mitchell <mark@markmitchell.com>
mmitchel [Tue, 26 May 1998 07:02:37 +0000 (07:02 +0000)]
1998-05-25  Mark Mitchell  <mark@markmitchell.com>
* decl.c (pushtag): Avoid crashing on erroneous input.

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

25 years agoDaily bump.
law [Tue, 26 May 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * decl.c (push_namespace): Only produce one unique name for
jason [Mon, 25 May 1998 23:31:27 +0000 (23:31 +0000)]
* decl.c (push_namespace): Only produce one unique name for
anonymous namespaces.
(get_unique_name): Remove.

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

25 years agoBump for snapshot
law [Mon, 25 May 1998 22:50:00 +0000 (22:50 +0000)]
Bump for snapshot

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

25 years ago * call.c (tourney): Don't do any extra comparisons.
mmitchel [Mon, 25 May 1998 18:20:09 +0000 (18:20 +0000)]
* call.c (tourney): Don't do any extra comparisons.

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

25 years agoBump for snapshot
law [Mon, 25 May 1998 11:56:26 +0000 (11:56 +0000)]
Bump for snapshot

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

25 years agoMon May 25 14:00:13 1998 Dave Brolley <brolley@cygnus.com>
brolley [Mon, 25 May 1998 11:04:40 +0000 (11:04 +0000)]
Mon May 25 14:00:13 1998  Dave Brolley  <brolley@cygnus.com>
* cpperror.c (v_cpp_message): Remove static prototype.
* cpplib.c (v_cpp_message): Move prototype to cpplib.h.
* cpplib.h (v_cpp_message): Add protoptype.
(stdarg.h,varargs.h): Needed for v_cpp_message prototype.

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

25 years ago1998-05-25 Mark Mitchell <mark@markmitchell.com>
mmitchel [Mon, 25 May 1998 10:28:16 +0000 (10:28 +0000)]
1998-05-25  Mark Mitchell  <mark@markmitchell.com>
* decl2.c (build_anon_union_vars): Don't crash on empty sub-unions.
* cp-tree.h (processing_template_parmlist): Declare.
* decl.c (pushtag): Don't call push_template_decl when we
shouldn't.
* pt.c (processing_template_parmlist): New variable.
(TMPL_ARGS_HAVE_MULTIPLE_LEVELS): New macro.
(complete_template_args): Use it.
(add_to_template_args): Likewise.
(innermost_args): Likewise.
(tsubst): Likewise.
(begin_template_parm_list): Use processing_template_parmlist.
(end_template_parm_list): Likewise.
* cp-tree.h (ANON_UNION_TYPE_P): New macro.
* decl.c (grokdeclarator): Use it.
* decl2.c (grok_x_components): Likewise.
* init.c (initializing_context): Likewise.
* method.c (do_build_copy_constructor): Likewise.
(do_build_assign_ref): Likewise.
* search.c (compute_access): Likewise.
* typeck.c (build_component_ref): Likewise.
* decl.c (grokdeclarator): Don't give a cv-qualified version of an
unnamed type a typedef name "for linkage purposes".
* pt.c (lookup_template_class): Don't look at
IDENTIFIER_CLASS_VALUE when there's no current_class_type.
* method.c (build_overload_int): Handle error cases gracefully.
* pt.c (instantiate_decl): Handle static member variables
correctly.
* pt.c (tsubst): Use the tsubst'd type when producing new
TEMPLATE_PARM_INDEX nodes.

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

25 years agoDaily bump.
law [Mon, 25 May 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago1998-05-24 Mark Mitchell <mark@markmitchell.com>
mmitchel [Sun, 24 May 1998 23:57:48 +0000 (23:57 +0000)]
1998-05-24  Mark Mitchell  <mark@markmitchell.com>
* tree.c (cp_tree_equal): Handle pointers to member functions.

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

25 years ago1998-05-24 Mark Mitchell <mark@markmitchell.com>
mmitchel [Sun, 24 May 1998 23:55:20 +0000 (23:55 +0000)]
1998-05-24  Mark Mitchell  <mark@markmitchell.com>
* call.c (maybe_handle_implicit_object): Handle QUAL_CONVs.  Make
sure the type of the REF_BIND is a reference type.
(maybe_handle_ref_bind, compare_ics): Rename reference_type* to
ref_to_type* for clarity.

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

25 years ago1998-05-24 Mark Mitchell <mark@markmitchell.com>
mmitchel [Sun, 24 May 1998 23:52:17 +0000 (23:52 +0000)]
1998-05-24  Mark Mitchell  <mark@markmitchell.com>
* parse.y (xcond): Move call to condition_conversion ...
* semantics.c (finish_for_cond): Here.
* parse.c: Regenerated.

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

25 years ago * decl.c (push_namespace): Namespaces have type void.
jason [Sun, 24 May 1998 22:37:10 +0000 (22:37 +0000)]
* decl.c (push_namespace): Namespaces have type void.
* typeck2.c (incomplete_type_error): Complain about namespace
used as expression.
* typeck.c (decay_conversion): Likewise.
* error.c (dump_expr): Support namespaces.

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

25 years ago * g++.old-deja/old-deja.exp: Strip leading directories.
jason [Sun, 24 May 1998 20:56:17 +0000 (20:56 +0000)]
* g++.old-deja/old-deja.exp: Strip leading directories.

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

25 years agoBump for snapshot
law [Sun, 24 May 1998 20:36:19 +0000 (20:36 +0000)]
Bump for snapshot

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

25 years ago * lib/old-dejagnu.exp: All tests fail if we got an internal compiler
jason [Sun, 24 May 1998 16:21:23 +0000 (16:21 +0000)]
* lib/old-dejagnu.exp: All tests fail if we got an internal compiler
error for the line.  Don't run multiple tests for the same line.

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

25 years agonew
jason [Sun, 24 May 1998 14:00:07 +0000 (14:00 +0000)]
new

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

25 years ago * Makefile.in (boostrap2-lean, bootstrap3-lean,
law [Sun, 24 May 1998 10:20:27 +0000 (10:20 +0000)]
    * Makefile.in (boostrap2-lean, bootstrap3-lean,
        bootstrap4-lean): new targets
Forgot to commit.

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

25 years agoTue May 19 14:52:41 1998 Craig Burley <burley@gnu.org>
fx [Sun, 24 May 1998 08:33:15 +0000 (08:33 +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@20015 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoBump for snapshot
law [Sun, 24 May 1998 02:09:00 +0000 (02:09 +0000)]
Bump for snapshot

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

25 years ago * Makefile.in (ENQUIRE_CFLAGS, ENQUIRE_LDFLAGS): Move down to the end
law [Sun, 24 May 1998 00:44:00 +0000 (00:44 +0000)]
* Makefile.in (ENQUIRE_CFLAGS, ENQUIRE_LDFLAGS): Move down to the end
of the Makefile.
(FLOAT_H_TEST): Likewise.
(ENQUIRE): Likewise.
(float.h-nat): Likewise.
(float.h-cross): Likewise.
(enquire): Likewise.
(enquire.o): Likewise.
(stmp-int-hdrs): Fix comment about enquire; depend upon gfloat.h.
(stmp-headers): Move actions to stmp-int-hdrs, retaining only a
no-op.
(FLOAT_H): Remove old float.h-nat version; move current definition
to CROSS_FLOAT_H location.
(all.cross): Remove comments about enquire stuff.
* Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
(rest.encap): Likewise.
(libgcc2.ready): Depend upon $(STMP_FIXPROTO)

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

25 years agoDaily bump.
law [Sun, 24 May 1998 00:29:13 +0000 (00:29 +0000)]
Daily bump.

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

25 years ago * m68k.h: Declare more functions used in macros.
law [Sat, 23 May 1998 23:14:57 +0000 (23:14 +0000)]
    * m68k.h: Declare more functions used in macros.
        (REG_CLASS_CONTENTS): Completely embrace initializer.
        * m68k.md (adddi3, subdi3): Add abort call to avoid warning
        about returning no value.
        * cse.c (find_best_addr): Declare p and found_better only if
        needed.
        * dbxout.c (dbxout_continue): Define only if DBX_CONTIN_LENGTH > 0.
        * dwarfout.c (string_length_attribute): #if 0 away.
        * function.c (expand_function_end): Define varible blktramp only
        if needed.
        * jump.c (find_insert_position): Define only if !HAVE_cc0.
        * loop.c (combine_givs_p): Define variable tem only if needed.
        * real.c: Comment out unused functions eabs, eround,
        e{24,53,64,113}toasc and eiinfin.

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

25 years ago * Makefile.in (boostrap2-lean, bootstrap3-lean,
law [Sat, 23 May 1998 22:46:40 +0000 (22:46 +0000)]
    * Makefile.in (boostrap2-lean, bootstrap3-lean,
        bootstrap4-lean): New targets.

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

25 years ago * Makefile.in (boostrap2-lean, bootstrap3-lean,
law [Sat, 23 May 1998 22:45:35 +0000 (22:45 +0000)]
    * Makefile.in (boostrap2-lean, bootstrap3-lean,
        bootstrap4-lean): new targets

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

25 years ago * Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
law [Sat, 23 May 1998 22:41:17 +0000 (22:41 +0000)]
* Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
(rest.encap): Likewise.

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

25 years ago * test_summary: find good awk (copied from warn_summary).
law [Sat, 23 May 1998 22:40:01 +0000 (22:40 +0000)]
    * test_summary: find good awk (copied from warn_summary).

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

25 years ago * warn_summary, test_summary: Moved into the contrib directory.
law [Sat, 23 May 1998 22:36:37 +0000 (22:36 +0000)]
    * warn_summary, test_summary: Moved into the contrib directory.

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

25 years agoMoved here from the gcc subdir.
law [Sat, 23 May 1998 22:35:33 +0000 (22:35 +0000)]
Moved here from the gcc subdir.

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

25 years ago * Makefile.in (distclean): Don't remove alloca-conf.h
law [Sat, 23 May 1998 22:32:53 +0000 (22:32 +0000)]
    * Makefile.in (distclean): Don't remove alloca-conf.h

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

25 years ago * toplev.h (tree_node): Provide global declaration to avoid
law [Sat, 23 May 1998 22:29:52 +0000 (22:29 +0000)]
    * toplev.h (tree_node): Provide global declaration to avoid
        `limited scope' warnings.

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

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

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

25 years ago * test_summary: Display section breaks for each entry
law [Sat, 23 May 1998 22:24:55 +0000 (22:24 +0000)]
    * test_summary: Display section breaks for each entry
        in a multilibbed target's output.

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

25 years ago1998-05-23 Dave Love <d.love@dl.ac.uk>
fx [Sat, 23 May 1998 09:58:17 +0000 (09:58 +0000)]
1998-05-23  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/compile/970915-0.f: New test.

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

25 years agoNew test.
fx [Sat, 23 May 1998 09:54:41 +0000 (09:54 +0000)]
New test.

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

25 years agoMore commentary.
fx [Sat, 23 May 1998 09:51:54 +0000 (09:51 +0000)]
More commentary.

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

25 years agoSat May 23 06:32:52 1998 Craig Burley <burley@gnu.org>
fx [Sat, 23 May 1998 09:45:45 +0000 (09:45 +0000)]
Sat May 23 06:32:52 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_finish_symbol_transform_): Don't transform
statement (nested) functions, to avoid gcc compiling them
and thus producing linker errors if they refer to undefined
exteral functions.  But warn if they're unused and -Wunused.

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

25 years agotweak
jason [Sat, 23 May 1998 02:20:21 +0000 (02:20 +0000)]
tweak

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

25 years ago * lib/old-dejagnu.exp: Ignore C++ "instantiated from" mesages.
jason [Sat, 23 May 1998 02:20:08 +0000 (02:20 +0000)]
* lib/old-dejagnu.exp: Ignore C++ "instantiated from" mesages.

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

25 years ago * cp-tree.def: Add SRCLOC.
jason [Sat, 23 May 1998 02:18:33 +0000 (02:18 +0000)]
* cp-tree.def: Add SRCLOC.
* cp-tree.h: Add struct tree_srcloc and accessor macros.
* tree.c (build_srcloc, build_srcloc_here): New fns.
* pt.c (add_pending_template): Use build_srcloc_here.
(push_tinst_level): Update last_template_error_tick before erroring.
(instantiate_decl): Restore lineno and input_filename before
calling add_pending_template.
* decl2.c (finish_file): Set up lineno and input_filename for
pending templates.

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

25 years ago * decl.c (lang_print_error_function): New fn.
jason [Fri, 22 May 1998 23:13:28 +0000 (23:13 +0000)]
* decl.c (lang_print_error_function): New fn.
(init_decl_processing): Set print_error_function to use it.
* errfn.c (cp_thing): Don't call maybe_print_template_context here.
* call.c (maybe_handle_ref_bind): Propagate ICS_USER_FLAG and
ICS_BAD_FLAG.
* cvt.c (ocp_convert): Don't set LOOKUP_NO_CONVERSION for
copy-initialization.

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

25 years ago* expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
rth [Fri, 22 May 1998 23:03:25 +0000 (23:03 +0000)]
* expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
offset's mode is not ptr_mode, convert it.

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

25 years ago * class.c (build_vtable_entry): Use int_fits_type_p.
jason [Fri, 22 May 1998 21:05:09 +0000 (21:05 +0000)]
* class.c (build_vtable_entry): Use int_fits_type_p.
(build_vtable): Pass a signed offset to build_vtable_entry.
(prepare_fresh_vtable, modify_one_vtable, fixup_vtable_deltas1,
set_rtti_entry): Likewise.

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

25 years ago * fold-const.c (ssize_binop): New fn.
jason [Fri, 22 May 1998 20:58:14 +0000 (20:58 +0000)]
* fold-const.c (ssize_binop): New fn.
* tree.h: Declare it.

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

25 years agoUpdate.
drepper [Fri, 22 May 1998 20:40:16 +0000 (20:40 +0000)]
Update.

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

25 years ago(_IO_str_underflow): Read newly available character from buffer as unsigned.
drepper [Fri, 22 May 1998 20:40:02 +0000 (20:40 +0000)]
(_IO_str_underflow): Read newly available character from buffer as unsigned.

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

25 years ago
bothner [Fri, 22 May 1998 12:22:54 +0000 (12:22 +0000)]

* cp-tree.h:  Add comments documenting which LANG_FLAGS are used.
(C_TYPE_VARIABLE_SIZE, C_DECL_VARIABLE_SIZE):  Removed, not used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19960 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:55:52 +0000 (10:55 +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.
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.
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@19959 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

25 years ago1998-05-20 Dave Love <d.love@dl.ac.uk>
fx [Fri, 22 May 1998 10:49:26 +0000 (10:49 +0000)]
1998-05-20  Dave Love  <d.love@dl.ac.uk>
* Makefile.in ($(lib)): Use shell loop instead of unportable
make variable substitution.

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

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