Manfred Hollstein [Mon, 23 Feb 1998 09:41:03 +0000 (09:41 +0000)]
t-linux (LIBGCC1, [...]): Add macros and set to empty.
a
* config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
set to empty.
* config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
* config/alpha/t-linux: Remove file.
* config/sparc/t-linux: Remove file.
* config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
* config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
* configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
for tmake_file.
(alpha*-*-linux-gnu*): Likewise.
(sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
(sparc-*-linux-gnu*): Likewise.
From-SVN: r18204
Manfred Hollstein [Mon, 23 Feb 1998 09:41:01 +0000 (09:41 +0000)]
t-linux (LIBGCC1, [...]): Add macros and set to empty.
d
* config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
set to empty.
* config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
* config/alpha/t-linux: Remove file.
* config/sparc/t-linux: Remove file.
* config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
* config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
* configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
for tmake_file.
(alpha*-*-linux-gnu*): Likewise.
(sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
(sparc-*-linux-gnu*): Likewise.
From-SVN: r18203
Robert Lipe [Mon, 23 Feb 1998 08:58:16 +0000 (08:58 +0000)]
collect2.c (ldd_file_name): Bracket declaration with same manifests as use.
* collect2.c (ldd_file_name): Bracket declaration with same
manifests as use.
(full_real_ld_suffix): Deleted. Variable was calloced and
written into, but never read.
From-SVN: r18202
Jason Merrill [Mon, 23 Feb 1998 05:11:57 +0000 (05:11 +0000)]
pt.c, [...]: Remove unused NARGS argument to tsubst and friends.
* pt.c, call.c, decl.c, method.c, cp-tree.h: Remove unused NARGS
argument to tsubst and friends.
From-SVN: r18201
Jason Merrill [Mon, 23 Feb 1998 04:55:44 +0000 (04:55 +0000)]
* pt.c (tsubst, FUNCTION_DECL): Tidy.
From-SVN: r18200
Jason Merrill [Mon, 23 Feb 1998 03:18:11 +0000 (22:18 -0500)]
new
From-SVN: r18199
Jason Merrill [Mon, 23 Feb 1998 03:17:44 +0000 (22:17 -0500)]
Support for friend templates.
* typeck.c (build_x_function_call): Handle static member function
templates like non-templates. Handle friend templates like normal
function templates.
* pt.c (tsubst, *_PARM): Don't use orig_level.
(get_bindings): Don't call add_to_template_args.
(instantiate_template): Likewise.
(tsubst, FUNCTION_DECL): Call add_to_template_args as appropriate.
* ptree.c (print_lang_type): Print index/level for template parms.
* Make-lang.in (cc1plus): Note that cc1plus depends on
cp/cp-tree.h and cp/cp-tree.def.
* cp-tree.def (TEMPLATE_CONST_PARM): Remove.
(TEMPLATE_PARM_INDEX): New tree code, used to indicate a
position in a template parameter list.
* cp-tree.h (template_parm_index): New structure, used as the tree
structure for a TEMPLATE_PARM_INDEX.
(TEMPLATE_PARM_IDX): New macro.
(TEMPLATE_PARM_LEVEL): Likewise.
(TEMPLATE_PARM_DESCENDANTS): Likewise.
(TEMPLATE_PARM_ORIG_LEVEL): Likewise.
(TEMPLATE_PARM_DECL): Likewise.
(TEMPLATE_TYPE_PARM_INDEX): Likewise.
(TEMPLATE_TYPE_ORIG_LEVEL): Likewise.
(TEMPLATE_TYPE_DECL): Likewise.
(TEMPLATE_CONST_IDX): Remove.
(TEMPLATE_CONST_LEVEL): Likewise.
(TEMPLATE_CONST_SET_INFO): Likewise.
(TEMPLATE_TYPE_SET_INFO): Likewise.
(TEMPLATE_TYPE_IDX): Redefine in terms of TEMPLATE_PARM_INDEX
node.
(TEMPLATE_TYPE_LEVEL): Likewise.
* decl.c (decls_match): Call comp_template_parms, rather than
expanding it inline.
(duplicate_decls): If two template declarations are being merged,
then their TEMPLATE_INFOs should be merged as well.
(grokfndecl): Save template-id information when declaring a friend
with explicit template arguments. Pass arguments to
check_explicit_specialization via correct convention; at some
point check_explicit_specialization changed, but these call-sites
did not.
(grokdeclarator): Tidy up slightly.
* decl2.c (check_classfn): Tidy up slightly. Don't assume that
two template functions with the same DECL_ASSEMBLER_NAME the same,
since the names are not yet mangled.
* error.c (dump_decl): Use TEMPLATE_PARM_INDEX instead of
TEMPLATE_CONST_PARM.
(dump_expr): Likewise. Use the TEMPLATE_PARM_DECL to get at the
decl for a non-type parameter, rather than printing `<tparm ...>'.
* friend.c (is_friend): Handle TEMPLATE_DECL friends.
(do_friend): Deal with template friends.
* lex.c (do_pending_inlines): Call
maybe_begin_member_template_processing, rather than
conditionally calling begin_member_template_processing.
(process_next_inline): Likewise. Call
maybe_end_member_template_processing, rather than
conditionally calling end_member_template_processing.
(do_pending_defargs): Likewise.
(do_identifier): Use TEMPLATE_PARM_INDEX instead of
TEMPLATE_CONST_PARM.
* method.c (build_mangled_template_parm_index): New function.
(build_overload_value): Use it.
(build_overload_name): Likewise.
* pt.c (finish_member_template_decl): Allow friend declarations.
(template_class_depth): New function.
(is_member_template): Rename, and modify, to become...
(is_member_or_friend_template): New function.
(end_member_template_processing): Rename, and modify, to become...
(maybe_end_member_template_processing).
(build_template_parm_index): New function.
(reduce_template_parm_level): New function.
(process_template_parm): Modify to use build_template_parm_index.
(current_template_args): Change name to current_template_parms.
(push_template_decl): Deal with friend templates.
(uses_template_parms): Use TEMPLATE_PARM_INDEX instead of
TEMPLATE_CONST_PARM.
(tsubst_friend_function): New function.
(instantiate_class_template): Generate the DECL_FRIENDLIST
for a new instantiation by using tsubst_friend_function rather
than just tsubst.
(tsubst): Don't tsubst into a type which is a TEMPLATE_DECL.
Use TEMPLATE_PARM_INDEX instead of TEMPLATE_CONST_PARM, and the
appropriate new macros. Use reduce_template_parm_level to
generate lower-level template parameters. Handle tsubst'ing into
TEMPLATE_DECLS that declare TEMPLATE_TEMPLATE_PARMS. Don't forget
to tsubst the DECL_CONTEXT and DECL_CLASS_CONTEXT of newly created
templates. Similarly for the template parameters for a new
template.
(tsubst_copy): Tidy up slightly. Use TEMPLATE_PARM_INDEX instead
of TEMPLATE_CONST_PARM. Handle TYPE_DECLs by tsubsting into them.
(unify): Use TEMPLATE_PARM_INDEX instead of TEMPLATE_CONST_PARM.
(get_bindings): Call add_to_template_args if necessary.
(instantiate_decl): Handle instantiations of friend templates.
* search.c (lookup_field_1): Don't treat the TYPE_FIELDS of a
TEMPLATE_TYPE_PARM as a list of fields; it's not!
* spew.c (yylex): Do a little manual constant propogation to
clarify the code.
From-SVN: r18198
Mike Stump [Sun, 22 Feb 1998 23:10:06 +0000 (23:10 +0000)]
configure.in: Add support for i386-wrs-vxworks configuration.
* configure.in: Add support for i386-wrs-vxworks configuration.
* i386/vxi386.h: New file.
From-SVN: r18197
Bruno Haible [Sun, 22 Feb 1998 20:17:30 +0000 (20:17 +0000)]
tree.c (contains_placeholder_p): Ensure function always returns a value.
* tree.c (contains_placeholder_p): Ensure function always returns
a value.
* sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
(movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
From-SVN: r18196
Jeffrey A Law [Sun, 22 Feb 1998 19:55:58 +0000 (19:55 +0000)]
* vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
From-SVN: r18195
Craig Burley [Sun, 22 Feb 1998 19:39:08 +0000 (14:39 -0500)]
expr.c (ffeexpr_token_arguments_): Make sure outer exprstack isn't null.
* expr.c (ffeexpr_token_arguments_): Make sure
outer exprstack isn't null.
From-SVN: r18190
Craig Burley [Sun, 22 Feb 1998 19:37:26 +0000 (14:37 -0500)]
* Make-lang.in (f77.install-info): Fix typo in script.
From-SVN: r18189
Jeff Law [Sun, 22 Feb 1998 19:36:33 +0000 (12:36 -0700)]
Another bunch of patches from Craig. See ChangeLogs for details.
From-SVN: r18188
Craig Burley [Sun, 22 Feb 1998 19:31:54 +0000 (14:31 -0500)]
Improve run-time diagnostic for "PRINT '(I1', 42":
* com.c (ffecom_char_args_x_): Renamed from ffecom_char_args_,
which is now a macro (to avoid lots of changes to other code)
with new arg, ffecom_char_args_with_null_ being another new
macro to call same function with different value for new arg.
This function now appends a null byte to opCONTER expression
if the new arg is TRUE.
(ffecom_arg_ptr_to_expr): Support NULL length pointer.
* ste.c (ffeste_io_cilist_):
(ffeste_io_icilist_): Pass NULL length ptr for
FORMAT expression, so null byte gets appended where
feasible.
* target.c (ffetarget_character1):
(ffetarget_concatenate_character1):
(ffetarget_substr_character1):
(ffetarget_convert_character1_character1):
(ffetarget_convert_character1_hollerith):
(ffetarget_convert_character1_integer4):
(ffetarget_convert_character1_logical4):
(ffetarget_convert_character1_typeless):
(ffetarget_hollerith): Append extra phantom null byte as
part of FFETARGET-NULL-BYTE kludge.
Yes, even more patches from Craig :-)
From-SVN: r18187
Craig Burley [Sun, 22 Feb 1998 19:29:55 +0000 (14:29 -0500)]
intrin.c (ffeintrin_check_): No longer ignore explicit omitted trailing args.
* intrin.c (ffeintrin_check_): No longer ignore explicit
omitted trailing args.
* intrin.c (ffeintrin_fulfill_generic): Don't generate
FFEBAD_INTRINSIC_TYPE for CHARACTER*(*) intrinsic.
More patches from Craig
From-SVN: r18186
Craig Burley [Sun, 22 Feb 1998 19:28:41 +0000 (14:28 -0500)]
Make-lang.in (f77.install-common): Don't install, and don't uninstall existing, Info files if f/g77.info doesn't exit.
* Make-lang.in (f77.install-common): Don't install, and
don't uninstall existing, Info files if f/g77.info
doesn't exit. (This is a somewhat modified version
of an egcs patch on 1998-01-07 12:05:51 by Bruno Haible
<bruno@linuix.mathematik.uni-karlsruhe.de>.
From-SVN: r18185
Craig Burley [Sun, 22 Feb 1998 19:27:44 +0000 (14:27 -0500)]
* intrin.def: Fix up spacing a bit.
From-SVN: r18184
Jeff Law [Sun, 22 Feb 1998 19:26:46 +0000 (12:26 -0700)]
com.c (ffecom_arglist_expr_): Crash if non-supplied optional arg isn't passed as an address.
* com.c (ffecom_arglist_expr_): Crash if non-supplied
optional arg isn't passed as an address.
Pass null pointer explicitly, instead of via ffecom routine.
If incoming argstring is NULL, substitute pointer to "0".
Recognize '0' as ending the usual arg stuff, just like '\0'.
* com.c (ffecom_arglist_expr_): Pass null pointers for optional
args which aren't supplied.
More patches from Craig.
From-SVN: r18183
Craig Burley [Sun, 22 Feb 1998 19:25:07 +0000 (14:25 -0500)]
Various changes from Craig. See the appropriate ChangeLog files.
From-SVN: r18182
Craig Burley [Sun, 22 Feb 1998 19:21:21 +0000 (14:21 -0500)]
Support FORMAT(I<1+2>) (constant variable-FORMAT expressions):
Support FORMAT(I<1+2>) (constant variable-FORMAT
expressions):
* bad.def (FFEBAD_FORMAT_VARIABLE): New diagnostic.
* std.c (ffestd_R1001rtexpr_): New function.
(ffestd_R1001dump_, ffestd_R1001dump_1005_1_,
ffestd_R1001dump_1005_2_, ffestd_R1001dump_1005_3_,
ffestd_R1001dump_1005_4_, ffestd_R1001dump_1005_5_,
ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_,
ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_):
Use new function instead of ffestd_R1001error_.
* stb.c (ffestb_R10014_, ffestb_R10016_, ffestb_R10018_,
ffestb_R100110_): Restructure `for' loop for style.
Change from Craig.
From-SVN: r18181
Jeff Law [Sun, 22 Feb 1998 19:09:19 +0000 (12:09 -0700)]
sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Define this new symbol.
/
* config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
Define this new symbol.
(DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
* toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
From-SVN: r18180
Paul Eggert [Sun, 22 Feb 1998 19:09:18 +0000 (19:09 +0000)]
sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Define this new symbol.
d
* config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
Define this new symbol.
(DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
* toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
From-SVN: r18179
Jim Wilson [Sun, 22 Feb 1998 19:05:13 +0000 (19:05 +0000)]
iris5.h (DWARF2_UNWIND_INFO): Define to 0.
* iris5.h (DWARF2_UNWIND_INFO): Define to 0.
* iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
From-SVN: r18178
Jeffrey A Law [Sun, 22 Feb 1998 18:57:30 +0000 (18:57 +0000)]
* error.c: Include sys/types.h.
From-SVN: r18176
Jeff Law [Sun, 22 Feb 1998 16:58:47 +0000 (09:58 -0700)]
Tweak various entries to make them match devo.
From-SVN: r18175
Jeff Law [Sun, 22 Feb 1998 16:55:25 +0000 (09:55 -0700)]
vmsbuild.com [...]: Synchronized with Makefile.in: Add fnmatch.o and objalloc.o; remove vasprintf.o.
�
* vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
Add fnmatch.o and objalloc.o; remove vasprintf.o.
[config.h]: Define NEED_strsignal.
* functions.def: Correct argument types for strerror and
strsignal. Reported by Alex Gutman <agutman@emc.com>.
From-SVN: r18174
Jeff Law [Sun, 22 Feb 1998 16:55:24 +0000 (09:55 -0700)]
vmsbuild.com [...]: Synchronized with Makefile.in: Add fnmatch.o and objalloc.o; remove vasprintf.o.
$
* vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
Add fnmatch.o and objalloc.o; remove vasprintf.o.
[config.h]: Define NEED_strsignal.
* functions.def: Correct argument types for strerror and
strsignal. Reported by Alex Gutman <agutman@emc.com>.
From-SVN: r18173
Jeff Law [Sun, 22 Feb 1998 16:55:23 +0000 (09:55 -0700)]
vmsbuild.com [...]: Synchronized with Makefile.in: Add fnmatch.o and objalloc.o; remove vasprintf.o.
P
* vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
Add fnmatch.o and objalloc.o; remove vasprintf.o.
[config.h]: Define NEED_strsignal.
* functions.def: Correct argument types for strerror and
strsignal. Reported by Alex Gutman <agutman@emc.com>.
From-SVN: r18172
Jeff Law [Sun, 22 Feb 1998 16:53:40 +0000 (09:53 -0700)]
cplus-dem.c (gnu_special): Don't get confused by .<digits> strings that are not actually lengths.
* cplus-dem.c (gnu_special): Don't get confused by .<digits>
strings that are not actually lengths.
* config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
since it gets built automatically
* vasprintf.c (int_vasprintf): Increase buffer size for float/double
values.
From-SVN: r18171
Jeff Law [Sun, 22 Feb 1998 16:46:27 +0000 (09:46 -0700)]
alloca-norm.h (alloca, GCC case): Don't redefine alloca if it was alr eady defined previously.
* alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
was alr eady defined previously.
* Makefile.in (INSTALL): Use ../install-sh, not install.
From-SVN: r18170
Ian Lance Taylor [Sun, 22 Feb 1998 16:44:13 +0000 (16:44 +0000)]
getopt.c: Update to latest FSF version.
* getopt.c: Update to latest FSF version.
* getopt1.c: Likewise.
Bring over from devo.
From-SVN: r18169
Jeff Law [Sun, 22 Feb 1998 16:31:03 +0000 (09:31 -0700)]
configure.in: For *-*-cygwin32*, add a -I for winsup to both XCINCLUDES and XCXXINCLUDES.
* configure.in: For *-*-cygwin32*, add a -I for winsup to both
XCINCLUDES and XCXXINCLUDES.
* config.shared: Use ${host_includes} when setting CXXINCLUDES in
the DOING_LIBGXX case.
* Makefile.in (_G_config.h): Pass $(CINCLUDES) in CC and
$(CXXINCLUDES) in CXX when running gen-params.
* config.shared (THIS_FILE): Really found via TOLIBIO instead
of TOLIBCXX, which is empty when configuring gperf.
(LIBS): When linking gperf, find libstdc++ relative to TO_TOPDIR
instead of hardcoded "../".
From-SVN: r18168
Richard Henderson [Sun, 22 Feb 1998 15:33:39 +0000 (07:33 -0800)]
* objc/Object.m (-error): Call objc_verror with our va_list.
From-SVN: r18167
David Edelsohn [Sun, 22 Feb 1998 09:48:22 +0000 (04:48 -0500)]
collect2.c (scan_prog_file): Completely cover uses of variable `exports' with macro COLLECT_EXPORT_LIST.
* collect2.c (scan_prog_file): Completely cover uses of variable
`exports' with macro COLLECT_EXPORT_LIST.
From-SVN: r18163
Jeff Law [Sat, 21 Feb 1998 21:09:28 +0000 (14:09 -0700)]
Didn't belong in the egcs sources.
From-SVN: r18162
Jeffrey A Law [Sat, 21 Feb 1998 20:36:25 +0000 (13:36 -0700)]
Bump for snapshot
From-SVN: r18159
Michael Meissner [Fri, 20 Feb 1998 13:24:50 +0000 (13:24 +0000)]
Remove old code to get arguments in regs into pseudos early.
From-SVN: r18148
Jason Merrill [Fri, 20 Feb 1998 12:31:00 +0000 (07:31 -0500)]
oops
From-SVN: r18141
Jason Merrill [Fri, 20 Feb 1998 12:30:20 +0000 (07:30 -0500)]
oops
From-SVN: r18140
Jason Merrill [Fri, 20 Feb 1998 12:28:16 +0000 (12:28 +0000)]
* collect2.c (main): Still handle !do_collecting for non-AIX targets.
From-SVN: r18139
Jason Merrill [Fri, 20 Feb 1998 11:13:44 +0000 (06:13 -0500)]
ropeimpl.h: Check __STL_PTHREADS instead of _PTHREADS.
* ropeimpl.h: Check __STL_PTHREADS instead of _PTHREADS.
* stl_alloc.h: Ditto.
* stl_config.h: Ditto.
* stl_rope.h: Ditto.
* stl_config.h: include <_G_config.h> if __GNUG__ is defined.
(__STL_PTHREADS): Defined if _PTHREADS is defined or
__GLIBC__ >= 2.
From-SVN: r18138
Michael Tiemann [Fri, 20 Feb 1998 10:42:11 +0000 (10:42 +0000)]
Patch from Michael Tiemann to fix typo.
* ginclude/va-mips.h (va_arg): Remove trailing space after '\'
continuation character (line 243).
From-SVN: r18136
Andreas Schwab [Fri, 20 Feb 1998 03:17:40 +0000 (03:17 +0000)]
* genrecog.c (main): Remove duplicated sentence in emitted comment.
From-SVN: r18134
David Edelsohn [Thu, 19 Feb 1998 19:41:03 +0000 (14:41 -0500)]
[multiple changes]
Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
David Edelsohn <edelsohn@mhpcc.edu>
* collect2.c (XCOFF_SCAN_LIBS): Remove.
(export_flag): New variable.
(export_file): #ifdef COLLECT_EXPORT_LIST.
(import_file, exports, imports, undefined): New variables.
(libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
(dump_list, dump_prefix_list, is_in_list): New functions.
(write_export_file): $ifdef COLLECT_EXPORT_LIST.
(write_import_file, resolve_lib_name): New functions.
(use_import_list, ignore_library): Same.
(collect_exit): maybe_unlink import_file and #ifdef.
(handler): Same.
(main): New variable importf, #ifdef exportf. Move parsing of
-shared before general argument parsing. Resolve AIX library
paths and import libgcc.a symbols. Treat .so shared libraries the
same as objects and .a libraries. Create alias for object_lst and
increment it instead of original pointer. Scan AIX libraries as
objects earlier instead of using scan_libraries. Perform AIX
tlink later to resolve templates instead of forking ld.
(GCC_OK_SYMBOL): Ensure symbol not in undef section.
(GCC_UNDEF_SYMBOL): New macro.
(scan_prog_file): Loop for members of AIX libraries. Handle
export/import of ctors/dtors.
(aix_std_libs): New variable.
(scan_libraries, XCOFF): Delete.
Fri Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
* collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
From-SVN: r18128
Mike Stump [Thu, 19 Feb 1998 19:12:33 +0000 (19:12 +0000)]
Makefile.in: Use $tooldir for sys-include to match toplevel configure.
* Makefile.in: Use $tooldir for sys-include to match toplevel
configure.
From-SVN: r18126
Jeff Law [Thu, 19 Feb 1998 14:16:42 +0000 (07:16 -0700)]
opps.
From-SVN: r18125
Jeff Law [Thu, 19 Feb 1998 13:49:28 +0000 (06:49 -0700)]
method.c (build_mangled_name): Start CPP directives in column zero.
8
* method.c (build_mangled_name): Start CPP directives in column zero.
From-SVN: r18124
Jeff Law [Thu, 19 Feb 1998 13:49:26 +0000 (06:49 -0700)]
method.c (build_mangled_name): Start CPP directives in column zero.
* method.c (build_mangled_name): Start CPP directives in column zero.
From-SVN: r18123
Jason Merrill [Thu, 19 Feb 1998 11:32:23 +0000 (06:32 -0500)]
oops
From-SVN: r18122
Jason Merrill [Thu, 19 Feb 1998 10:41:58 +0000 (10:41 +0000)]
typeck2.c (process_init_constructor): Sorry about non-trivial labeled initializers.
* typeck2.c (process_init_constructor): Sorry about non-trivial
labeled initializers.
* parse.y (initlist): Reenable labeled initializers.
From-SVN: r18121
Kriang Lerdsuwanakij [Thu, 19 Feb 1998 10:17:10 +0000 (10:17 +0000)]
* pt.c (coerce_template_parms) Add a new parameter, is_tmpl_parm,
all callers changed. Rely on the new parameter instead of arg
being a TREE_LIST when determine whether we are working inside
template template parameter. Clean up is_type test.
From-SVN: r18120
Jason Merrill [Thu, 19 Feb 1998 10:05:22 +0000 (10:05 +0000)]
cvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.
* cvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.
* typeck2.c (initializer_constant_valid_p): Allow conversions
between pointers and refrerences.
From-SVN: r18119
Brendan Kehoe [Thu, 19 Feb 1998 09:55:51 +0000 (09:55 +0000)]
typeck.c (build_unary_op): Only warn about incr/decr a pointer if pedantic || warn_pointer_arith.
* typeck.c (build_unary_op): Only warn about incr/decr a pointer
if pedantic || warn_pointer_arith.
From-SVN: r18118
Kriang Lerdsuwanakij [Thu, 19 Feb 1998 09:38:02 +0000 (09:38 +0000)]
* pt.c (unify): Handle TEMPLATE_DECL.
From-SVN: r18117
Jeff Law [Thu, 19 Feb 1998 03:47:44 +0000 (20:47 -0700)]
Initial revision
From-SVN: r18114
Jeffrey A Law [Thu, 19 Feb 1998 00:35:51 +0000 (00:35 +0000)]
emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
* emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
* emit-rtl.c (hard-reg-set.h): Include.
(get_lowpart_common): Don't make new REG for hard reg in a
class that cannot change size.
* Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
* combine.c: Revert previous patch.
Co-Authored-By: Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
From-SVN: r18109
Paul Eggert [Thu, 19 Feb 1998 00:08:12 +0000 (00:08 +0000)]
sol2-sld.h: New file.
* config/sparc/sol2-sld.h: New file.
* configure.in (sparc-*-solaris2*): Use it when using the
system linker.
From-SVN: r18105
Jeff Law [Thu, 19 Feb 1998 00:04:36 +0000 (17:04 -0700)]
Fix doc typos.
From-SVN: r18104
Jeffrey A Law [Wed, 18 Feb 1998 23:47:59 +0000 (23:47 +0000)]
* loop.c (force_movables): Fix typo.
From-SVN: r18102
Manfred Hollstein [Wed, 18 Feb 1998 23:28:57 +0000 (23:28 +0000)]
m88k.h: Change file pattern to match reality.
�
* m88k.h: Change file pattern to match reality.
From-SVN: r18101
Manfred Hollstein [Wed, 18 Feb 1998 23:28:54 +0000 (23:28 +0000)]
m88k.h: Change file pattern to match reality.
�
* m88k.h: Change file pattern to match reality.
From-SVN: r18100
Jeffrey A Law [Wed, 18 Feb 1998 22:19:00 +0000 (22:19 +0000)]
varasm.c (output_constant_pool): Fix dumb thinko in last change.
* varasm.c (output_constant_pool): Fix dumb thinko in last
change.
From-SVN: r18099
David Edelsohn [Wed, 18 Feb 1998 13:25:57 +0000 (08:25 -0500)]
Note AIX 4.3 assembler bug for RS/6000 installation.
From-SVN: r18080
Jeff Law [Wed, 18 Feb 1998 13:08:43 +0000 (06:08 -0700)]
Update now that the if/else warning buglet is fixed.
From-SVN: r18079
Jeff Law [Wed, 18 Feb 1998 12:38:29 +0000 (05:38 -0700)]
pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from a function name to a section name.
8
* pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
a function name to a section name.
From-SVN: r18078
Jeff Law [Wed, 18 Feb 1998 12:38:28 +0000 (05:38 -0700)]
pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from a function name to a section name.
�
* pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
a function name to a section name.
From-SVN: r18077
David Edelsohn [Wed, 18 Feb 1998 12:12:15 +0000 (07:12 -0500)]
add AIX 4.3 assembler bug and reorder items.
From-SVN: r18074
Dave Love [Wed, 18 Feb 1998 12:03:40 +0000 (12:03 +0000)]
dnrm2.f (dnrm2): Avoid uninitialized (and possibly uninitialized) variables and declare dnrm2.
* g77.f-torture/execute/dnrm2.f (dnrm2): Avoid uninitialized (and
possibly uninitialized) variables and declare dnrm2.
From-SVN: r18070
Dave Love [Wed, 18 Feb 1998 12:00:51 +0000 (12:00 +0000)]
(dnrm2): Avoid uninitialized (and
possibly uninitialized) variables and declare dnrm2.
From-SVN: r18069
Brendan Kehoe [Wed, 18 Feb 1998 11:00:03 +0000 (11:00 +0000)]
* cp-tree.h (strip_attrs): Remove decl.
From-SVN: r18067
Brendan Kehoe [Wed, 18 Feb 1998 10:49:56 +0000 (05:49 -0500)]
add doc for -fsquangle/-fno-squangle
From-SVN: r18066
Brendan Kehoe [Wed, 18 Feb 1998 10:38:57 +0000 (05:38 -0500)]
tree.h (merge_machine_{type,decl}_attributes): Declare.
./ChangeLog: * tree.h (merge_machine_{type,decl}_attributes): Declare.
(split_specs_attrs, strip_attrs): Add prototypes.
* tree.c (merge_machine_{type,decl}_attributes): New functions.
* c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
Update olddecl's attributes too.
* c-common.c (strip_attrs): New function.
* c-typeck.c (common_type): Call merge_machine_type_attributes.
* varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
(make_decl_rtl): Likewise.
* c-decl.c (shadow_tag_warned): Call split_specs_attrs.
./cp/ChangeLog: * decl.c (duplicate_decls): Call merge_machine_decl_attributes.
Update olddecl's attributes too.
(strip_attrs): Remove function.
* typeck.c (common_type): Call merge_machine_type_attributes.
From-SVN: r18065
Jeffrey A Law [Wed, 18 Feb 1998 08:07:59 +0000 (08:07 +0000)]
Remove this change until we can fix it correctly.
* collect2.c: Bracket declaration of 'exportf' and
'full_real_ld_suffix'.
From-SVN: r18062
Bernd Schmidt [Wed, 18 Feb 1998 07:42:20 +0000 (07:42 +0000)]
* Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
From-SVN: r18061
Dave Love [Wed, 18 Feb 1998 00:18:26 +0000 (00:18 +0000)]
Makefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with CONFIG_SITE=/dev/null to forestall lossage with site...
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with
CONFIG_SITE=/dev/null to forestall lossage with site configuration.
From-SVN: r18060
Dave Love [Tue, 17 Feb 1998 23:52:39 +0000 (23:52 +0000)]
u77-test.f: Tweak some o/p.
* libU77/u77-test.f: Tweak some o/p.
* libU77/Makefile.in (check): Use -L for new directory structure.
* Makefile.in (check): Run the u77 check.
(config.status, Makefile): New targets.
From-SVN: r18059
Kaveh R. Ghazi [Tue, 17 Feb 1998 22:43:25 +0000 (22:43 +0000)]
fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
* fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
(lshift_double): Add parentheses around + or - inside shift.
(rshift_double): Likewise.
(size_int_wide): Explicitly set type of `bit_p' to `int'.
* Makefile.in (fold-const.o): Depend on system.h.
From-SVN: r18057
Bernd Schmidt [Tue, 17 Feb 1998 22:28:23 +0000 (22:28 +0000)]
c-common.c (c_expand_start_cond, [...]): Don't warn about non-ambiguous else even if braces are missing.
* c-common.c (c_expand_start_cond, c_expand_end_cond,
c_expand_start_else): Don't warn about non-ambiguous else even if
braces are missing.
From-SVN: r18055
Robert Lipe [Tue, 17 Feb 1998 22:02:42 +0000 (22:02 +0000)]
sco5.h (ASM_OUTPUT_DOUBLE, [...]): Delete.
* sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
instead.
From-SVN: r18054
Richard Henderson [Tue, 17 Feb 1998 21:54:24 +0000 (13:54 -0800)]
combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when simplifying a subreg of a hard reg.
* combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
simplifying a subreg of a hard reg.
(expand_compound_operation): Likewise.
(force_to_mode): Likewise.
From-SVN: r18052
Jeff Law [Tue, 17 Feb 1998 21:50:10 +0000 (14:50 -0700)]
New testcase for x86 XFmode problems.
From-SVN: r18051
Jeff Law [Tue, 17 Feb 1998 21:44:09 +0000 (14:44 -0700)]
Remove unwanted CYGNUS LOCAL marker.
From-SVN: r18050
Kaveh R. Ghazi [Tue, 17 Feb 1998 21:37:55 +0000 (21:37 +0000)]
Makefile.in (gcc.o): Depend on system.h, in accordance with last change to gcc.c.
* Makefile.in (gcc.o): Depend on system.h, in accordance with last
change to gcc.c.
From-SVN: r18049
Kaveh R. Ghazi [Tue, 17 Feb 1998 21:35:43 +0000 (21:35 +0000)]
haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
* haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
(BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
(sched_note_set): Remove unused parameter `b', all callers changed.
(schedule_block): Likewise for `rgn'.
(split_hard_reg_notes): Likewise for `orig_insn'.
(check_live): Likewise for `trg'.
(update_live): Likewise.
(check_live_1): Explcitly declare variable `i' as int.
(update_live_1): Likewise.
(insn_issue_delay): Remove unused variable `link'.
(sched_analyze_2): Add default case in enumeration switch.
(schedule_insns): Remove unused variable `i'.
* Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
From-SVN: r18048
Jeffrey A Law [Tue, 17 Feb 1998 21:30:22 +0000 (21:30 +0000)]
loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate a dangling else clause.
* loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
a dangling else clause.
From-SVN: r18047
Jeff Law [Tue, 17 Feb 1998 21:24:02 +0000 (14:24 -0700)]
New alpha test from HJ.
From-SVN: r18046
Jeff Law [Tue, 17 Feb 1998 21:21:20 +0000 (14:21 -0700)]
Various minor tweaks.
From-SVN: r18045
H.J. Lu [Tue, 17 Feb 1998 20:54:12 +0000 (20:54 +0000)]
linux.mt (IO_OBJECTS): Add iogetline.o.
* config/linux.mt (IO_OBJECTS): Add iogetline.o.
* config/linuxlibc1.mt: Ditto.
* iogetline.c (_IO_getline_info): Renamed from _IO_getline.
(_IO_getline): Just call _IO_getline_info.
* isgetline.cc (istream::getline, istream::get, _sb_readline):
Call _IO_getline_info instead of _IO_getline and get the EOF
information.
* sbgetline.cc (streambuf::sgetline): Ditto.
* libioP.h (_IO_getline_info): New declaration.
* iogetline.c (_IO_getline): Handle the case when there is no
buffer.
From-SVN: r18042
Gavin Koch [Tue, 17 Feb 1998 18:31:03 +0000 (18:31 +0000)]
mips.h (CAN_ELIMINATE): Don't eliminate the frame pointer for the stack pointer in MIPS16 and 64BIT.
* mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
pointer for the stack pointer in MIPS16 and 64BIT.
From-SVN: r18035
Mark Mitchell [Tue, 17 Feb 1998 14:13:09 +0000 (14:13 +0000)]
parse.y (initdcl0_innards): New grammar symbol.
* parse.y (initdcl0_innards): New grammar symbol.
(nomods_initdecls, nomods_initdcl0): Change type from itype to
none, since the resulting value is never used.
(parse_decl): New function.
(datadef): Remove redundant actions.
(initdcl0, notype_initdcl0, nomods_initdcl0): Use initdcl0_innards.
* parse.c: Regenerated.
From-SVN: r18034
J"orn Rennecke [Tue, 17 Feb 1998 13:21:01 +0000 (13:21 +0000)]
Fix problems with last patch.
From-SVN: r18033
Jason Merrill [Tue, 17 Feb 1998 11:54:56 +0000 (11:54 +0000)]
* parse.y (simple_stmt): Use getdecls() to check for decl.
From-SVN: r18032
Joern Rennecke [Tue, 17 Feb 1998 10:26:44 +0000 (10:26 +0000)]
rtl.h (force_line_numbers, [...]): Declare.
* rtl.h (force_line_numbers, restore_line_number_status): Declare.
* emit-rtl.c (force_line_numbers, restore_line_number_status):
New functions.
* stmt.c (struct nesting): Replace seenlabel with line_number_status.
(expand_start_case): Adjust to this change.
(check_seenlabel): New function.
(pushcase, pushcase_range, expand_endcase): Use it.
From-SVN: r18031
J"orn Rennecke [Tue, 17 Feb 1998 02:23:03 +0000 (02:23 +0000)]
* i386.md (adddi3): Add =!r,0,0,X alternative.
From-SVN: r18030
Richard Henderson [Mon, 16 Feb 1998 17:19:13 +0000 (09:19 -0800)]
Update documentation for builtin_setjmp related patterns.
From-SVN: r18029
David Edelsohn [Mon, 16 Feb 1998 13:20:12 +0000 (08:20 -0500)]
bump copyright date
From-SVN: r18028
David Edelsohn [Mon, 16 Feb 1998 13:17:50 +0000 (13:17 +0000)]
rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
* rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
* x-aix31 (INSTALL): Delete.
From-SVN: r18027
Gavin Koch [Mon, 16 Feb 1998 06:26:59 +0000 (06:26 +0000)]
mips.c (mips_expand_epilogue): Update tsize_rtx if tsize changes to something other than zero.
* mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
tsize changes to something other than zero.
From-SVN: r18026
Gavin Koch [Mon, 16 Feb 1998 06:14:01 +0000 (06:14 +0000)]
va-mips.h: Replace casts of pointers to int with casts of pointers to __PTRDIFF_TYPE__.
* ginclude/va-mips.h: Replace casts of pointers to int with
casts of pointers to __PTRDIFF_TYPE__.
From-SVN: r18025
John Carr [Mon, 16 Feb 1998 05:26:05 +0000 (05:26 +0000)]
loop.c (strength_reduce, [...]): Use HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
* loop.c (strength_reduce, record_biv, record_giv): Use
HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
From-SVN: r18024