Andrew MacLeod [Thu, 28 May 1998 07:32:33 +0000 (07:32 +0000)]
Flow now removes exception regions when their handlers are all removed.
From-SVN: r20115
Michael Meissner [Thu, 28 May 1998 06:47:21 +0000 (06:47 +0000)]
Make rtx, tree types type correct if the appropriate include files was not included
From-SVN: r20114
Jason Merrill [Thu, 28 May 1998 01:44:29 +0000 (21:44 -0400)]
decl.c (start_decl): Always pedwarn about vacuously redeclaring a member.
* decl.c (start_decl): Always pedwarn about vacuously redeclaring
a member.
(start_function): Call check_default_args.
* decl2.c (grokfield): Don't call check_default_args.
(check_default_args): Use cp_error_at.
* lex.c (do_pending_defargs): Call check_default_args.
* call.c (build_scoped_method_call): Make sure get_type_value returns
something before we try to use its TYPE_MAIN_VARIANT.
From-SVN: r20113
Jason Merrill [Thu, 28 May 1998 01:36:06 +0000 (01:36 +0000)]
* index-prop: New file.
From-SVN: r20112
Jeff Law [Thu, 28 May 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20111
Jason Merrill [Thu, 28 May 1998 00:11:24 +0000 (20:11 -0400)]
call.c (build_method_call): Make sure get_type_value returns something before we try to use its...
* call.c (build_method_call): Make sure get_type_value returns
something before we try to use its TYPE_MAIN_VARIANT.
* typeck2.c (digest_init): Complain about getting a TREE_LIST to
initialize an array.
* search.c (expand_upcast_fixups): Don't set DECL_CONTEXT and
DECL_VIRTUAL_P.
From-SVN: r20110
Catherine Moore [Wed, 27 May 1998 23:15:48 +0000 (23:15 +0000)]
* gcc.c-torture/execute/980526-3.c: New test.
From-SVN: r20109
Jason Merrill [Wed, 27 May 1998 23:06:46 +0000 (23:06 +0000)]
* friend.c (do_friend): Clarify template warning.
From-SVN: r20108
Robert Lipe [Wed, 27 May 1998 23:00:37 +0000 (23:00 +0000)]
Addition of a whole slew of "eb" test cases generated from the egcs-bugs mailing lists.
Addition of a whole slew of "eb" test cases generated from the egcs-bugs
mailing lists. See g++.robertl/README
From-SVN: r20107
Jeffrey A Law [Wed, 27 May 1998 22:42:52 +0000 (22:42 +0000)]
* reload1.c: Revert accidental checkin.
From-SVN: r20106
Jeffrey A Law [Wed, 27 May 1998 21:01:48 +0000 (21:01 +0000)]
configure.lang: Fix thinko when adding a definition for target_alias to the Makefile.
* configure.lang: Fix thinko when adding a definition for
target_alias to the Makefile.
From-SVN: r20094
Mark Mitchell [Wed, 27 May 1998 19:11:36 +0000 (19:11 +0000)]
decl.c (shadow_label): Don't treat decls as identifiers.
* decl.c (shadow_label): Don't treat decls as identifiers.
(maybe_push_to_top_level): Clear shadowed_labels.
* pt.c (instantiate_decl): Reset lineno and filename after calling
regenerate_decl_from_template.
From-SVN: r20093
David Edelsohn [Wed, 27 May 1998 12:54:15 +0000 (08:54 -0400)]
add PTF number to AIX 4.3 assembler information.
From-SVN: r20092
Catherine Moore [Wed, 27 May 1998 12:44:13 +0000 (08:44 -0400)]
�
From-SVN: r20091
Catherine Moore [Wed, 27 May 1998 12:40:31 +0000 (08:40 -0400)]
Replace .urem and .rem routines.
Replace .urem and .rem routines. Fix a problem
with signed operands and uses leaf procedure calling
convention.
From-SVN: r20090
Benjamin Kosnik [Wed, 27 May 1998 12:05:04 +0000 (12:05 +0000)]
*** empty log message ***
From-SVN: r20089
Mark Mitchell [Wed, 27 May 1998 07:07:24 +0000 (07:07 +0000)]
decl.c (grokdeclarator): Don't try to use TYPE_OBSTACK on an error_mark_node.
* decl.c (grokdeclarator): Don't try to use TYPE_OBSTACK on an
error_mark_node.
From-SVN: r20088
Richard Earnshaw [Wed, 27 May 1998 02:52:25 +0000 (02:52 +0000)]
arm.c (arm_gen_constant): Rework to eliminate uninitialized variable warnings.
* arm.c (arm_gen_constant): Rework to eliminate uninitialized variable
warnings. Don't generate scratch registers if only counting insns.
(find_barrier): Eliminate unused variable SRC.
From-SVN: r20087
Kevin Buhr [Wed, 27 May 1998 01:25:47 +0000 (01:25 +0000)]
* parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE.
From-SVN: r20086
Jeff Law [Wed, 27 May 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20085
Kriang Lerdsuwanakij [Tue, 26 May 1998 23:54:23 +0000 (23:54 +0000)]
pt.c (process_template_parm): Accept TYPENAME_TYPE nodes.
* pt.c (process_template_parm): Accept TYPENAME_TYPE nodes.
(convert_nontype_argument): Handle cases when nontype template
parameters become classes after substitution.
From-SVN: r20084
Manfred Hollstein [Tue, 26 May 1998 23:47:46 +0000 (23:47 +0000)]
thunk2.C: Setup this test to be expected to fail on m68k-motorola-sysv and...
�
* g++.old-deja/g++.jason/thunk2.C: Setup this test to be expected to
fail on m68k-motorola-sysv and m88k-motorola-sysv3.
* g++.old-deja/g++.jason/thunk3.C: Add m68k-motorola-sysv and
m88k-motorola-sysv3 to XFAIL.
From-SVN: r20083
Manfred Hollstein [Tue, 26 May 1998 23:42:31 +0000 (23:42 +0000)]
toplev.h (rtx_def): Provide global declaration to avoid `limited scope' warnings.
* toplev.h (rtx_def): Provide global declaration to avoid
`limited scope' warnings.
From-SVN: r20082
Manfred Hollstein [Tue, 26 May 1998 23:42:30 +0000 (23:42 +0000)]
toplev.h (rtx_def): Provide global declaration to avoid `limited scope' warnings.
�
* toplev.h (rtx_def): Provide global declaration to avoid
`limited scope' warnings.
From-SVN: r20081
Mark Mitchell [Tue, 26 May 1998 23:17:56 +0000 (23:17 +0000)]
friend.c (is_friend): Use comptypes, rather than == to compare types.
* friend.c (is_friend): Use comptypes, rather than == to compare
types. Modify for new representation of template friends.
(make_friend_class): Likewise.
* pt.c (tsubst_friend_class): Undo 1998-05-21 change. Tweak.
(instantiate_class_template): Deal with template friends.
From-SVN: r20080
Franz Sirl [Tue, 26 May 1998 23:01:48 +0000 (23:01 +0000)]
980526-1.c: New test.
* gcc.dg/980526-1.c: New test.
* gcc.c-torture/execute/980526-2.c: New test.
From-SVN: r20078
Jeffrey A Law [Tue, 26 May 1998 22:55:47 +0000 (22:55 +0000)]
* gcc.dg/980523-1.c: Change "ppc" to "powerpc".
From-SVN: r20077
Jeff Law [Tue, 26 May 1998 22:54:19 +0000 (16:54 -0600)]
Fix typo.
From-SVN: r20076
Mumit Khan [Tue, 26 May 1998 22:49:49 +0000 (22:49 +0000)]
Makefile.in (gencheck.o): Use HOST_CC.
* Makefile.in (gencheck.o): Use HOST_CC.
* i386/t-mingw32: New file.
* configure.in (i386-*-mingw32*): Use.
From-SVN: r20073
Jeffrey A Law [Tue, 26 May 1998 22:41:54 +0000 (22:41 +0000)]
* gcc.c-torture/execute/980526-1.c: New test.
From-SVN: r20072
Jeff Law [Tue, 26 May 1998 21:24:58 +0000 (15:24 -0600)]
char *version_string = "egcs-2.91.33
19980526 (gcc2 ss-980502 experimental)";
From-SVN: r20068
Mark Mitchell [Tue, 26 May 1998 20:59:35 +0000 (20:59 +0000)]
decl.c (store_parm_decls): Remove redundant call to expand_main_function.
* decl.c (store_parm_decls): Remove redundant call to
expand_main_function.
From-SVN: r20067
Benjamin Kosnik [Tue, 26 May 1998 19:29:41 +0000 (19:29 +0000)]
decl.c (start_decl): Check for DECL_LANG_SPECIFIC before DECL_USE_TEMPLATE.
�
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.
From-SVN: r20066
Benjamin Kosnik [Tue, 26 May 1998 19:29:39 +0000 (19:29 +0000)]
decl.c (start_decl): Check for DECL_LANG_SPECIFIC before DECL_USE_TEMPLATE.
�
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.
From-SVN: r20065
Dave Love [Tue, 26 May 1998 14:11:33 +0000 (14:11 +0000)]
alpha2.f: Add runtime test.
1998-05-26 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/alpha2.f: Add runtime test.
From-SVN: r20064
Dave Love [Tue, 26 May 1998 14:08:56 +0000 (14:08 +0000)]
Add runtime test.
From-SVN: r20063
Per Bothner [Tue, 26 May 1998 12:55:06 +0000 (12:55 +0000)]
language_as_string: Handle lang_java.
�
* language_as_string: Handle lang_java.
From-SVN: r20062
Jason Merrill [Tue, 26 May 1998 11:43:52 +0000 (07:43 -0400)]
decl.c (pushdecl): Don't copy the type_decl.
* 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.
From-SVN: r20061
Jason Merrill [Tue, 26 May 1998 11:43:44 +0000 (07:43 -0400)]
new
From-SVN: r20060
Dave Brolley [Tue, 26 May 1998 10:47:58 +0000 (10:47 +0000)]
lex.c (parse_options,yy_cur,yy_lim): Add for cpplib.
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.
From-SVN: r20059
Richard Earnshaw [Tue, 26 May 1998 09:30:56 +0000 (09:30 +0000)]
arm.c: Include toplev.h.
* 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.
From-SVN: r20058
Richard Earnshaw [Tue, 26 May 1998 07:37:15 +0000 (07:37 +0000)]
arm.c (bad_signed_byte_operand): New predicate function.
* 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.
From-SVN: r20057
Mark Mitchell [Tue, 26 May 1998 07:02:37 +0000 (07:02 +0000)]
decl.c (pushtag): Avoid crashing on erroneous input.
1998-05-25 Mark Mitchell <mark@markmitchell.com>
* decl.c (pushtag): Avoid crashing on erroneous input.
From-SVN: r20056
Jeff Law [Tue, 26 May 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20055
Martin v. Löwis [Mon, 25 May 1998 23:31:27 +0000 (19:31 -0400)]
decl.c (push_namespace): Only produce one unique name for anonymous namespaces.
* decl.c (push_namespace): Only produce one unique name for
anonymous namespaces.
(get_unique_name): Remove.
From-SVN: r20054
Jeffrey A Law [Mon, 25 May 1998 22:50:00 +0000 (16:50 -0600)]
Bump for snapshot
From-SVN: r20052
Mark Mitchell [Mon, 25 May 1998 18:20:09 +0000 (18:20 +0000)]
* call.c (tourney): Don't do any extra comparisons.
From-SVN: r20051
Jeffrey A Law [Mon, 25 May 1998 11:56:26 +0000 (05:56 -0600)]
Bump for snapshot
From-SVN: r20047
Dave Brolley [Mon, 25 May 1998 11:04:40 +0000 (11:04 +0000)]
cpperror.c (v_cpp_message): Remove static prototype.
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.
From-SVN: r20046
Mark Mitchell [Mon, 25 May 1998 10:28:16 +0000 (10:28 +0000)]
decl2.c (build_anon_union_vars): Don't crash on empty sub-unions.
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.
From-SVN: r20045
Jeff Law [Mon, 25 May 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20039
Mark Mitchell [Sun, 24 May 1998 23:57:48 +0000 (23:57 +0000)]
tree.c (cp_tree_equal): Handle pointers to member functions.
1998-05-24 Mark Mitchell <mark@markmitchell.com>
* tree.c (cp_tree_equal): Handle pointers to member functions.
From-SVN: r20038
Mark Mitchell [Sun, 24 May 1998 23:55:20 +0000 (23:55 +0000)]
call.c (maybe_handle_implicit_object): Handle QUAL_CONVs.
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.
From-SVN: r20037
Mark Mitchell [Sun, 24 May 1998 23:52:17 +0000 (23:52 +0000)]
parse.y (xcond): Move call to condition_conversion ...
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.
From-SVN: r20036
Jason Merrill [Sun, 24 May 1998 22:37:10 +0000 (18:37 -0400)]
decl.c (push_namespace): Namespaces have type void.
* 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.
From-SVN: r20035
Jason Merrill [Sun, 24 May 1998 20:56:17 +0000 (20:56 +0000)]
* g++.old-deja/old-deja.exp: Strip leading directories.
From-SVN: r20034
Jeffrey A Law [Sun, 24 May 1998 20:36:19 +0000 (14:36 -0600)]
Bump for snapshot
From-SVN: r20032
Jason Merrill [Sun, 24 May 1998 16:21:23 +0000 (16:21 +0000)]
old-dejagnu.exp: All tests fail if we got an internal compiler error for the line.
* 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.
From-SVN: r20028
Jason Merrill [Sun, 24 May 1998 14:00:07 +0000 (10:00 -0400)]
new
From-SVN: r20021
Alexandre Oliva [Sun, 24 May 1998 10:20:27 +0000 (10:20 +0000)]
Makefile.in (boostrap2-lean, [...]): new targets Forgot to commit.
* Makefile.in (boostrap2-lean, bootstrap3-lean,
bootstrap4-lean): new targets
Forgot to commit.
From-SVN: r20016
Craig Burley [Sun, 24 May 1998 08:33:15 +0000 (08:33 +0000)]
bad.def (FFEBAD_OPEN_UNSUPPORTED, [...]): Change these from warnings to errors.
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.
From-SVN: r20015
Jeffrey A Law [Sun, 24 May 1998 02:09:00 +0000 (20:09 -0600)]
Bump for snapshot
From-SVN: r20003
Manfred Hollstein [Sun, 24 May 1998 00:44:00 +0000 (00:44 +0000)]
Makefile.in (ENQUIRE_CFLAGS, [...]): Move down to the end of the Makefile.
* 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)
From-SVN: r20000
Jeff Law [Sun, 24 May 1998 00:29:13 +0000 (18:29 -0600)]
Daily bump.
From-SVN: r19999
Andreas Schwab [Sat, 23 May 1998 23:14:57 +0000 (23:14 +0000)]
m68k.h: Declare more functions used in macros.
* 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.
From-SVN: r19998
Alexandre Oliva [Sat, 23 May 1998 22:46:40 +0000 (16:46 -0600)]
Makefile.in (boostrap2-lean, [...]): New targets.
* Makefile.in (boostrap2-lean, bootstrap3-lean,
bootstrap4-lean): New targets.
From-SVN: r19997
Alexandre Oliva [Sat, 23 May 1998 22:45:35 +0000 (16:45 -0600)]
Makefile.in (boostrap2-lean, [...]): new targets
* Makefile.in (boostrap2-lean, bootstrap3-lean,
bootstrap4-lean): new targets
From-SVN: r19996
Manfred Hollstein [Sat, 23 May 1998 22:41:17 +0000 (22:41 +0000)]
Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
* Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
(rest.encap): Likewise.
From-SVN: r19993
Jeff Law [Sat, 23 May 1998 22:40:01 +0000 (16:40 -0600)]
* test_summary: find good awk (copied from warn_summary).
From-SVN: r19992
Jeffrey A Law [Sat, 23 May 1998 22:36:37 +0000 (22:36 +0000)]
* warn_summary, test_summary: Moved into the contrib directory.
From-SVN: r19991
Jeff Law [Sat, 23 May 1998 22:35:33 +0000 (16:35 -0600)]
Moved here from the gcc subdir.
From-SVN: r19990
Andreas Schwab [Sat, 23 May 1998 22:32:53 +0000 (22:32 +0000)]
* Makefile.in (distclean): Don't remove alloca-conf.h
From-SVN: r19987
Manfred Hollstein [Sat, 23 May 1998 22:29:52 +0000 (22:29 +0000)]
toplev.h (tree_node): Provide global declaration to avoid `limited scope' warnings.
* toplev.h (tree_node): Provide global declaration to avoid
`limited scope' warnings.
From-SVN: r19986
Jeffrey A Law [Sat, 23 May 1998 22:28:21 +0000 (22:28 +0000)]
* gcc.dg/980523-1.c: New test.
From-SVN: r19985
Robert Lipe [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.
* test_summary: Display section breaks for each entry
in a multilibbed target's output.
From-SVN: r19980
Dave Love [Sat, 23 May 1998 09:58:17 +0000 (09:58 +0000)]
970915-0.f: New test.
1998-05-23 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/compile/970915-0.f: New test.
From-SVN: r19973
Dave Love [Sat, 23 May 1998 09:54:41 +0000 (09:54 +0000)]
New test.
From-SVN: r19972
Dave Love [Sat, 23 May 1998 09:51:54 +0000 (09:51 +0000)]
More commentary.
From-SVN: r19971
Craig Burley [Sat, 23 May 1998 09:45:45 +0000 (05:45 -0400)]
com.c (ffecom_finish_symbol_transform_): Don't transform statement (nested) functions...
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.
From-SVN: r19970
Jason Merrill [Sat, 23 May 1998 02:20:21 +0000 (22:20 -0400)]
tweak
From-SVN: r19969
Jason Merrill [Sat, 23 May 1998 02:20:08 +0000 (02:20 +0000)]
* lib/old-dejagnu.exp: Ignore C++ "instantiated from" mesages.
From-SVN: r19968
Jason Merrill [Sat, 23 May 1998 02:18:33 +0000 (02:18 +0000)]
cp-tree.def: Add SRCLOC.
* 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.
From-SVN: r19967
Jason Merrill [Fri, 22 May 1998 23:13:28 +0000 (23:13 +0000)]
decl.c (lang_print_error_function): New fn.
* 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.
From-SVN: r19966
Richard Henderson [Fri, 22 May 1998 23:03:25 +0000 (16:03 -0700)]
expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF...
* expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
offset's mode is not ptr_mode, convert it.
From-SVN: r19965
Jason Merrill [Fri, 22 May 1998 21:05:09 +0000 (21:05 +0000)]
class.c (build_vtable_entry): Use int_fits_type_p.
* 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.
From-SVN: r19964
Jason Merrill [Fri, 22 May 1998 20:58:14 +0000 (20:58 +0000)]
fold-const.c (ssize_binop): New fn.
* fold-const.c (ssize_binop): New fn.
* tree.h: Declare it.
From-SVN: r19963
Ulrich Drepper [Fri, 22 May 1998 20:40:16 +0000 (20:40 +0000)]
Update.
From-SVN: r19962
Ulrich Drepper [Fri, 22 May 1998 20:40:02 +0000 (20:40 +0000)]
(_IO_str_underflow): Read newly available character from buffer as unsigned.
From-SVN: r19961
Per Bothner [Fri, 22 May 1998 12:22:54 +0000 (12:22 +0000)]
cp-tree.h: Add comments documenting which LANG_FLAGS are used.
�
* cp-tree.h: Add comments documenting which LANG_FLAGS are used.
(C_TYPE_VARIABLE_SIZE, C_DECL_VARIABLE_SIZE): Removed, not used.
From-SVN: r19960
Craig Burley [Fri, 22 May 1998 10:55:52 +0000 (10:55 +0000)]
[multiple changes]
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.
From-SVN: r19959
Dave Love [Fri, 22 May 1998 10:55:21 +0000 (10:55 +0000)]
JCB update.
From-SVN: r19958
Dave Love [Fri, 22 May 1998 10:49:26 +0000 (10:49 +0000)]
Makefile.in ($(lib)): Use shell loop instead of unportable make variable substitution.
1998-05-20 Dave Love <d.love@dl.ac.uk>
* Makefile.in ($(lib)): Use shell loop instead of unportable
make variable substitution.
From-SVN: r19957
Craig Burley [Fri, 22 May 1998 10:32:18 +0000 (06:32 -0400)]
Break up main() into separate .o's so making and linking against shared...
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
From-SVN: r19956
Dave Love [Fri, 22 May 1998 10:27:20 +0000 (10:27 +0000)]
JCB patch.
From-SVN: r19955
Craig Burley [Fri, 22 May 1998 10:26:01 +0000 (10:26 +0000)]
bad.def (FFEBAD_OPEN_UNSUPPORTED, [...]): Change these from warnings to errors.
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.
From-SVN: r19954
Craig Burley [Fri, 22 May 1998 10:25:34 +0000 (10:25 +0000)]
Make-lang.in (f77.install-info, [...]): Use install-info as appropriate.
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.
From-SVN: r19953
Craig Burley [Fri, 22 May 1998 10:24:50 +0000 (10:24 +0000)]
com.c (ffecom_init_0): Rename xargc to f__xargc, in accord with same-dated change to f/runtime.
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.
From-SVN: r19952
Dave Love [Fri, 22 May 1998 10:22:44 +0000 (10:22 +0000)]
JCB update
From-SVN: r19951
Jason Merrill [Fri, 22 May 1998 05:01:43 +0000 (05:01 +0000)]
* pt.c (print_template_context): Use fprintf instead of cp_error.
From-SVN: r19950
Jason Merrill [Fri, 22 May 1998 04:18:51 +0000 (04:18 +0000)]
(check_explicit_specialization): Don't mess with a returned
error_mark_node.
From-SVN: r19949