David S. Miller [Sat, 12 Sep 1998 01:03:36 +0000 (01:03 +0000)]
flow.c (mark_set_1): Recognize multi-register structure return values in CALL insns.
* flow.c (mark_set_1): Recognize multi-register structure return
values in CALL insns.
(mark_used_regs): Likewise.
(count_reg_sets_1): Likewise.
(count_reg_references): Likewise.
* rtlanal.c (note_stores): Likewise.
From-SVN: r22395
Jeff Law [Sat, 12 Sep 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22394
Alexandre Oliva [Fri, 11 Sep 1998 21:44:37 +0000 (21:44 +0000)]
typedef5.C: check whether typedefs can be redefined to the same non-trivial type
* g++.old-deja/g++.other/typedef5.C: check whether typedefs can be
redefined to the same non-trivial type
* g++.old-deja/g++.pt/explicit73.C: test for proper
namespace-qualification of template specializations declared in
other namespaces
* g++.old-deja/g++.other/friend4.C: check whether it is possible
to declare a subset of the specializations of a template function
as friends of specializations of a template class
* g++.old-deja/g++.pt/explicit71.C: make sure specializations of
member templates that do not fully specialize the enclosing
template class are rejected
From-SVN: r22392
Robert Lipe [Fri, 11 Sep 1998 21:31:59 +0000 (21:31 +0000)]
fix typo.
From-SVN: r22391
Eric Dumazet [Fri, 11 Sep 1998 21:01:29 +0000 (21:01 +0000)]
*config/i386/sco5.h (ASM_WEAKEN_LABEL): Defined as in svr4.h.
From-SVN: r22390
Dave Love [Fri, 11 Sep 1998 04:59:05 +0000 (04:59 +0000)]
u77-test.f: Fix bad consistency checks.
1998-09-11 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f: Fix bad consistency checks.
From-SVN: r22387
Dave Love [Fri, 11 Sep 1998 04:57:47 +0000 (04:57 +0000)]
Fix bad consistency checks.
From-SVN: r22386
Jeff Law [Fri, 11 Sep 1998 00:45:32 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22385
David S. Miller [Thu, 10 Sep 1998 23:06:43 +0000 (23:06 +0000)]
* glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
From-SVN: r22384
Jakub Jelinek [Thu, 10 Sep 1998 22:28:30 +0000 (00:28 +0200)]
configure.in: Add check for GAS subsection -1 support.
* configure.in: Add check for GAS subsection -1 support.
* acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add.
* configure config.in: Rebuilt.
* config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use
SImode is subsection -1 works, else use DImode.
(ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if
subsection -1 works.
* config/sparc/sparc.c (sparc_output_addr_vec,
sparc_output_addr_diff_vec): Use them if defined.
From-SVN: r22383
Dave Brolley [Thu, 10 Sep 1998 14:56:22 +0000 (14:56 +0000)]
actions.c (chill_convert_for_assignment): Make a copy of the result node before modifying it.
Thu Sep 10 17:52:36 1998 Dave Brolley <brolley@cygnus.com>
* actions.c (chill_convert_for_assignment): Make a copy of the result
node before modifying it.
From-SVN: r22382
Mark Mitchell [Thu, 10 Sep 1998 11:20:43 +0000 (11:20 +0000)]
decl.c (pushdecl): Don't copy types if the DECL_ABSTRACT_ORIGIN of the new decl matches the...
* decl.c (pushdecl): Don't copy types if the
DECL_ABSTRACT_ORIGIN of the new decl matches the TYPE_NAME of the
type.
From-SVN: r22381
Mark Mitchell [Thu, 10 Sep 1998 10:46:00 +0000 (10:46 +0000)]
tree.h (DECL_ORIGIN): New macro.
* tree.h (DECL_ORIGIN): New macro.
* integrate.c (copy_and_set_decl_abstract_origin): New function.
(copy_decl_list): Use it.
(integrate_parm_decls): Likewise.
(integrate_decl_tree): Likewise.
* dwarf2out.c (decl_ultimate_origin): Simplify.
* dwarfout.c (decl_ultimate_origin): Likewise.
* c-decl.c (duplicate_decls): Use DECL_ORIGIN.
(pushdecl): Likewise.
From-SVN: r22380
Jeffrey A Law [Thu, 10 Sep 1998 09:34:50 +0000 (09:34 +0000)]
* Make-lang.in (GCJ): Define before using.
From-SVN: r22379
Anthony Green [Thu, 10 Sep 1998 08:08:04 +0000 (08:08 +0000)]
* config/rs6000/rs6000.c (output_epilog): Add Java support.
From-SVN: r22378
Martin v. Löwis [Thu, 10 Sep 1998 05:55:04 +0000 (05:55 +0000)]
* invoke.texi (C++ Dialect Options): Document -fhonor-std.
From-SVN: r22377
Jeffrey A Law [Thu, 10 Sep 1998 01:03:02 +0000 (01:03 +0000)]
reg-stack.c (straighten_stack): Do nothing if the virtual stack is empty or has a single entry.
* reg-stack.c (straighten_stack): Do nothing if the virtual stack is
empty or has a single entry.
From-SVN: r22376
Jeff Law [Thu, 10 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22375
Jeffrey A Law [Thu, 10 Sep 1998 00:40:19 +0000 (00:40 +0000)]
toplev.c (rest_of_compilation): Open up the dump file for reg-stack before calling reg_to_stack.
* toplev.c (rest_of_compilation): Open up the dump file for reg-stack
before calling reg_to_stack.
So we get the proper debug information in the .stack dump file.
From-SVN: r22374
Richard Henderson [Thu, 10 Sep 1998 00:07:33 +0000 (17:07 -0700)]
alpha.c (alphaev5_insn_pipe): Abort on default case.
* alpha.c (alphaev5_insn_pipe): Abort on default case.
(alphaev5_next_group): Swallow CLOBBERs and USEs.
From-SVN: r22373
Richard Henderson [Thu, 10 Sep 1998 00:06:10 +0000 (17:06 -0700)]
* c-tree.h (warn_long_long): Declare it.
From-SVN: r22372
Stephen L Moshier [Wed, 9 Sep 1998 22:33:06 +0000 (16:33 -0600)]
emit-rtl.c (gen_lowpart_common): Disable optimization of initialized float-int union if the value is a NaN.
* emit-rtl.c (gen_lowpart_common): Disable optimization of
initialized float-int union if the value is a NaN.
From-SVN: r22371
Nathan Sidwell [Wed, 9 Sep 1998 22:02:02 +0000 (22:02 +0000)]
c-lex.c (real_yylex): Don't warn about long long constants if we're allowing long long
* c-lex.c (real_yylex): Don't warn about long long constants if
we're allowing long long
From-SVN: r22370
Bernd Schmidt [Wed, 9 Sep 1998 21:48:42 +0000 (21:48 +0000)]
except.h (current_function_eh_stub_label): Declare.
* except.h (current_function_eh_stub_label): Declare.
(current_function_eh_old_stub_label): Declare.
* function.h (struct function): New members eh_stub_label and
eh_old_stub_label.
* except.c (current_function_eh_stub_label): New variable.
(current_function_eh_old_stub_label): New variable.
(init_eh_for_function): Clear them.
(save_eh_status): Save them.
(restore_eh_status): Restore them.
(expand_builtin_eh_stub): Set current_function_eh_stub_label.
(expand_builtin_eh_stub_old): Set current_function_eh_old_stub_label.
* flow.c (find_basic_blocks_1): When handling a REG_LABEL note, don't
make an edge from the block that contains it to the block starting
with the label if this label is one of the eh stub labels.
If eh stub labels exist, show they are reachable from the last block
in the function.
From-SVN: r22369
Jeffrey A Law [Wed, 9 Sep 1998 21:31:17 +0000 (21:31 +0000)]
pa.c (pa_reorg): New marking scheme for jumps inside switch tables.
* pa.c (pa_reorg): New marking scheme for jumps inside switch
tables.
(pa_adjust_insn_length): Update to work with new marking scheme
for jumps inside switch tables.
* pa.md (switch_jump): Remove pattern.
(jump): Handle jumps inside jump tables.
From-SVN: r22368
Bernd Schmidt [Wed, 9 Sep 1998 21:12:04 +0000 (21:12 +0000)]
reload1.c (reload): Break out several subroutines and make some variables global.
* reload1.c (reload): Break out several subroutines and make some
variables global.
(calculate_needs_all_insns): New function, broken out of reload.
(calculate_needs): Likewise.
(find_reload_regs): Likewise.
(find_group): Likewise.
(find_tworeg_group): Likewise.
(something_needs_reloads): New global variable, formerly in reload.
(something_needs_elimination): Likewise.
(caller_save_spill_class): Likewise.
(caller_save_group_size): Likewise.
(max_needs): Likewise.
(group_size): Likewise.
(max_groups): Likewise.
(max_nongroups): Likewise.
(group_mode): Likewise.
(max_needs_insn): Likewise.
(max_groups_insn): Likewise.
(max_nongroups_insn): Likewise.
(failure): Likewise.
From-SVN: r22367
Bernd Schmidt [Wed, 9 Sep 1998 20:59:53 +0000 (20:59 +0000)]
* print-rtl.c (print_rtx): For MEMs, print MEM_ALIAS_SET.
From-SVN: r22366
Jeffrey A Law [Wed, 9 Sep 1998 20:35:49 +0000 (20:35 +0000)]
* Add library exception clause to the copyright notice for all
.c and .h files.
From-SVN: r22365
Jeffrey A Law [Wed, 9 Sep 1998 20:24:25 +0000 (20:24 +0000)]
gjavah.c (java_no_argument): Renamed from no_argument to avoid losing due to namespace pollution in GNU getopt.h
* gjavah.c (java_no_argument): Renamed from no_argument to avoid
losing due to namespace pollution in GNU getopt.h
From-SVN: r22364
Bruce Korb [Wed, 9 Sep 1998 16:51:30 +0000 (16:51 +0000)]
Document term.h and tinfo.h in avoid_bool
From-SVN: r22363
Bruce Korb [Wed, 9 Sep 1998 16:45:21 +0000 (16:45 +0000)]
Regenerated, based on update to inclhack.def
From-SVN: r22361
Bruce Korb [Wed, 9 Sep 1998 16:41:14 +0000 (16:41 +0000)]
Added files term.h and tinfo.h in avoid_bool for use by Open Server 5
From-SVN: r22360
Tom Tromey [Wed, 9 Sep 1998 14:33:06 +0000 (14:33 +0000)]
Make-lang.in (java.all.build): Don't mention jvgenmain or gcjh.
* Make-lang.in (java.all.build): Don't mention jvgenmain or gcjh.
(java.all.cross): Likewise.
(java.rest.encap): Likewise.
From-SVN: r22359
Robert Lipe [Wed, 9 Sep 1998 13:47:30 +0000 (13:47 +0000)]
* config.guess: Match "Pent II" or "PentII" for OpenServer.
From-SVN: r22358
Richard Henderson [Wed, 9 Sep 1998 13:15:23 +0000 (06:15 -0700)]
* loop.c (load_mems): Copy rtx for output mem.
From-SVN: r22357
Gavin Romig-Koch [Wed, 9 Sep 1998 12:19:17 +0000 (12:19 +0000)]
abi64.h (LONG_MAX_SPEC): Don't set LONG_MAX for mips1 or mips2 either.
* mips/abi64.h (LONG_MAX_SPEC): Don't set LONG_MAX for
mips1 or mips2 either.
From-SVN: r22356
Manfred Hollstein [Wed, 9 Sep 1998 11:49:10 +0000 (11:49 +0000)]
configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...
p
* libio/configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
value; don't change its value if --enable-version-specific-runtime-libs
has been specified.
* libstdc++/Makefile.in (install): Initialize RELINSTALLDIR correctly
even for multilib and cross configurations.
* libstdc++/configure.in (INSTALLDIR): Don't change INSTALLDIR's init
value if --enable-version-specific-runtime-libs has been specified.
From-SVN: r22355
Manfred Hollstein [Wed, 9 Sep 1998 11:49:09 +0000 (11:49 +0000)]
configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...
M
* libio/configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
value; don't change its value if --enable-version-specific-runtime-libs
has been specified.
* libstdc++/Makefile.in (install): Initialize RELINSTALLDIR correctly
even for multilib and cross configurations.
* libstdc++/configure.in (INSTALLDIR): Don't change INSTALLDIR's init
value if --enable-version-specific-runtime-libs has been specified.
From-SVN: r22354
Manfred Hollstein [Wed, 9 Sep 1998 11:49:07 +0000 (11:49 +0000)]
configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...
* libio/configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
value; don't change its value if --enable-version-specific-runtime-libs
has been specified.
* libstdc++/Makefile.in (install): Initialize RELINSTALLDIR correctly
even for multilib and cross configurations.
* libstdc++/configure.in (INSTALLDIR): Don't change INSTALLDIR's init
value if --enable-version-specific-runtime-libs has been specified.
From-SVN: r22353
Manfred Hollstein [Wed, 9 Sep 1998 11:49:06 +0000 (11:49 +0000)]
configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...
�
* libio/configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
value; don't change its value if --enable-version-specific-runtime-libs
has been specified.
* libstdc++/Makefile.in (install): Initialize RELINSTALLDIR correctly
even for multilib and cross configurations.
* libstdc++/configure.in (INSTALLDIR): Don't change INSTALLDIR's init
value if --enable-version-specific-runtime-libs has been specified.
From-SVN: r22352
Jeffrey A Law [Wed, 9 Sep 1998 11:33:00 +0000 (11:33 +0000)]
* Makefile.in (profile.o): Depend on insn-config.h
From-SVN: r22351
Jim Wilson [Wed, 9 Sep 1998 09:39:24 +0000 (09:39 +0000)]
Reenable accidentally disabled dwarf2 eh support for irix6.
* iris6.h (DWARF2_UNWIND_INFO): Undef.
From-SVN: r22350
Craig Burley [Wed, 9 Sep 1998 06:18:00 +0000 (02:18 -0400)]
configure.in: Test $srcdir, not $subdir (probable typo).
1998-09-09 Craig Burley <burley@gnu.org>
* configure.in: Test $srcdir, not $subdir (probable typo).
Clarify commentary, fix a bit of spacing.
From-SVN: r22349
Dave Love [Wed, 9 Sep 1998 06:08:45 +0000 (06:08 +0000)]
ChangeLog.egcs: Deleted.
1998-09-07 Dave Love <d.love@dl.ac.uk>
* ChangeLog.egcs: Deleted. Entries merged here.
From-SVN: r22348
Dave Love [Wed, 9 Sep 1998 06:00:11 +0000 (06:00 +0000)]
ChangeLog.egcs: Deleted.
1998-09-07 Dave Love <d.love@dl.ac.uk>
* ChangeLog.egcs: Deleted. Entries merged here.
From-SVN: r22347
Dave Love [Wed, 9 Sep 1998 05:55:04 +0000 (05:55 +0000)]
ChangeLog.egcs: Deleted.
1998-09-07 Dave Love <d.love@dl.ac.uk>
* ChangeLog.egcs: Deleted. Entries merged here.
From-SVN: r22346
David S. Miller [Wed, 9 Sep 1998 02:43:28 +0000 (02:43 +0000)]
Add preliminary native sparcv9 Solaris support.
* configure.in: Recognize sparv9-*-solaris2*
* configure: rebuilt
* config.sub: Recognize sparcv9 just like sparc64.
* config/sparc/sol2-c1.asm config/sparc/sol2-ci.asm
config/sparc/sol2-cn.asm: Macroize so it can be shared between
32-bit and 64-bit Solaris systems.
* config/sparc/t-sol2: Assemble those with cpp.
* config/sparc/sparc.h (TARGET_CPU_sparcv9): New alias for v9.
(*TF*_LIBCALL): If ARCH64 use V9 names.
* config/sparc/{xm-sysv4-64,sol2-sld-64}.h: New files.
From-SVN: r22345
Jakub Jelinek [Wed, 9 Sep 1998 02:19:08 +0000 (04:19 +0200)]
sparc.h (TARGET_CM_MEDMID): Fix documentation.
* config/sparc/sparc.h (TARGET_CM_MEDMID): Fix documentation.
(CASE_VECTOR_MODE): Set to SImode even if PTR64, when MEDLOW and
not doing pic.
(ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Check CASE_VECTOR_MODE not
Pmode.
* config/sparc/sparc.md (tablejump): Likewise, and sign extend op0
to Pmode if CASE_VECTOR_MODE is something else.
From-SVN: r22344
Jason Merrill [Wed, 9 Sep 1998 02:14:55 +0000 (22:14 -0400)]
class.c (get_enclosing_class): New function.
* class.c (get_enclosing_class): New function.
(is_base_of_enclosing_class): Likewise.
* cp-tree.h (get_enclosing_class): Declare.
(is_base_of_enclosing_class): Likewise.
* pt.c (coerce_template_parms): Use them.
* g++spec.c (lang_specific_driver): Check whether MATH_LIBRARY is
null to decide whether to use it.
From-SVN: r22343
Jason Merrill [Wed, 9 Sep 1998 00:52:50 +0000 (20:52 -0400)]
error.c (dump_type_real): Handle NAMESPACE_DECL.
* error.c (dump_type_real): Handle NAMESPACE_DECL.
* parse.y (base_class.1): Avoid crash on error.
* decl.c (make_typename_type): If context is a namespace, the code
is in error.
From-SVN: r22342
Jeff Law [Wed, 9 Sep 1998 00:47:02 +0000 (18:47 -0600)]
Daily bump.
From-SVN: r22341
Jeffrey A Law [Tue, 8 Sep 1998 23:52:38 +0000 (23:52 +0000)]
configure.in (m68k-next-nextstep3*): Use collect2.
* configure.in (m68k-next-nextstep3*): Use collect2.
Similarly for x86 NeXT configurations.
* configure: Rebuilt.
From-SVN: r22340
Hans-Peter Nilsson [Tue, 8 Sep 1998 22:48:00 +0000 (00:48 +0200)]
expr.c: Corrected comment about what MOVE_RATIO does.
* expr.c: Corrected comment about what MOVE_RATIO does.
* config/alpha/alpha.h: Ditto.
* config/1750a/1750a.h: Ditto.
* config/clipper/clipper.h: Ditto.
* config/i386/i386.h: Ditto.
From-SVN: r22339
Jeff Law [Tue, 8 Sep 1998 22:10:06 +0000 (16:10 -0600)]
config.guess: Correctly identify Pentium II sco boxes.
8
* config.guess: Correctly identify Pentium II sco boxes.
From-SVN: r22338
Jeff Law [Tue, 8 Sep 1998 22:10:04 +0000 (16:10 -0600)]
config.guess: Correctly identify Pentium II sco boxes.
* config.guess: Correctly identify Pentium II sco boxes.
From-SVN: r22337
Jeffrey A Law [Tue, 8 Sep 1998 21:58:22 +0000 (21:58 +0000)]
configure.in (m68k-next-nextstep3*): Use collect2.
* configure.in (m68k-next-nextstep3*): Use collect2.
* configure: Rebuilt.
From-SVN: r22336
Martin v. Löwis [Tue, 8 Sep 1998 18:33:57 +0000 (14:33 -0400)]
* cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
From-SVN: r22335
Dave Love [Tue, 8 Sep 1998 14:58:46 +0000 (14:58 +0000)]
u77-test.f (main): New file, somewhat altered from libf2c/libU77 version.
1998-09-08 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f (main): New file, somewhat
altered from libf2c/libU77 version.
From-SVN: r22333
Dave Love [Tue, 8 Sep 1998 14:58:01 +0000 (14:58 +0000)]
New file, somewhat altered from libf2c/libU77 version.
From-SVN: r22332
Mumit Khan [Tue, 8 Sep 1998 14:00:19 +0000 (14:00 +0000)]
* parse.y (nomods_initdcl0): Set up the parser stack correctly.
From-SVN: r22331
Joern Rennecke [Tue, 8 Sep 1998 13:42:58 +0000 (14:42 +0100)]
Typo fix in comment.
From-SVN: r22330
Mark Mitchell [Tue, 8 Sep 1998 11:37:48 +0000 (11:37 +0000)]
cp-tree.h (anonymous_namespace_name): Declare.
* cp-tree.h (anonymous_namespace_name): Declare.
* decl.c: Define it.
(push_namespace): Use anonymous_namespace_name, rather than local
static anon_name.
* error.c (dump_decl): If a namespace is named
anonymous_namespace_name, call it {anonymous}.
From-SVN: r22329
Mark Mitchell [Tue, 8 Sep 1998 10:04:38 +0000 (10:04 +0000)]
decl.c (grokparms): Distinguish between references and pointers in error message.
* decl.c (grokparms): Distinguish between references and pointers
in error message.
From-SVN: r22328
Jeffrey A Law [Tue, 8 Sep 1998 09:42:42 +0000 (09:42 +0000)]
* rts.h: Update with missing code.
From-SVN: r22327
Jeffrey A Law [Tue, 8 Sep 1998 09:35:36 +0000 (09:35 +0000)]
gjavah.c (print_class_decls): Fix thinko in arglist
* gjavah.c (print_class_decls): Fix thinko in arglist
* jcv-io.c (find_classfile): Similarly.
From-SVN: r22326
Richard Henderson [Tue, 8 Sep 1998 09:06:28 +0000 (02:06 -0700)]
pt.c (process_partial_specialization): Consistantly allocate and zero tpd.parms based on ntparms.
* pt.c (process_partial_specialization): Consistantly allocate
and zero tpd.parms based on ntparms. Use tpd2.parms, not
tpd.parms, where appropriate.
Co-Authored-By: Mark Mitchell <mark@markmitchell.com>
From-SVN: r22325
Jeff Law [Tue, 8 Sep 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22324
Nathan Sidwell [Tue, 8 Sep 1998 00:41:00 +0000 (00:41 +0000)]
* gcc/configure.in: Don't assume srcdir is .../gcc
From-SVN: r22323
John Wehle [Tue, 8 Sep 1998 00:29:35 +0000 (00:29 +0000)]
global.c: Update comments.
* global.c: Update comments.
(global_alloc): Assign allocation-numbers
even for registers allocated by local_alloc in case
they are later spilled and retry_global_alloc is called.
(mark_reg_store, mark_reg_clobber,
mark_reg_conflicts, mark_reg_death): Always record a
conflict with a pseudo register even if it has been
assigned to a hard register.
(dump_conflicts): Don't list pseudo registers already assigned to
a hard register as needing to be allocated, but do list their
conflicts.
* local-alloc.c: Update comment.
From-SVN: r22322
Jeffrey A Law [Tue, 8 Sep 1998 00:19:58 +0000 (00:19 +0000)]
* config.guess: Fix "tr" code. From Weiwen Liu.
From-SVN: r22321
Jeffrey A Law [Mon, 7 Sep 1998 22:39:41 +0000 (22:39 +0000)]
configure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.
* configure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.
* configure: Rebuilt.
From-SVN: r22320
Michael Meissner [Mon, 7 Sep 1998 20:42:22 +0000 (20:42 +0000)]
Fix name for -mcpu=ec603e; Make sure all targets that turn on -msoft-float use the correct multilibs
From-SVN: r22315
Kaveh R. Ghazi [Mon, 7 Sep 1998 20:37:13 +0000 (20:37 +0000)]
mkstemp.c: Include config.h even when not IN_GCC.
* mkstemp.c: Include config.h even when not IN_GCC. Wrap header
inclusions inside HAVE_*_H macros. Include ansidecl.h when not
IN_GCC.
* vasprintf.c: Include stdarg.h/varargs.h first.
* vprintf.c: Likewise.
From-SVN: r22314
Kaveh R. Ghazi [Mon, 7 Sep 1998 20:35:41 +0000 (20:35 +0000)]
* toplev.c (print_switch_values): Make static to match prototype.
From-SVN: r22313
Jeffrey A Law [Mon, 7 Sep 1998 18:15:42 +0000 (18:15 +0000)]
configure.in: If we are unable to find the "gnatbind" program...
* configure.in: If we are unable to find the "gnatbind" program,
then do not configure the ada subdir.
* configure: Rebuilt.
From-SVN: r22312
Mark Mitchell [Mon, 7 Sep 1998 15:40:51 +0000 (15:40 +0000)]
Back out previous change
From-SVN: r22311
Jason Merrill [Mon, 7 Sep 1998 14:25:35 +0000 (10:25 -0400)]
revert error reporting patch
From-SVN: r22310
Jeffrey A Law [Mon, 7 Sep 1998 13:00:59 +0000 (13:00 +0000)]
* Makefile.in (INCLUDES): Update for recent toplevel gcc changes.
From-SVN: r22309
Mark Mitchell [Mon, 7 Sep 1998 11:35:39 +0000 (11:35 +0000)]
cp-tree.h (cp_error): Prototype.
* cp-tree.h (cp_error): Prototype.
(cp_error_at): Likewise.
(cp_warning): Likewise.
(cp_warning_at): Likewise.
(cp_pedwarn): Likewise.
(cp_pedwarn_at): Likewise.
(cp_compiler_error): Likewise.
(cp_sprintf): Likewise.
(cp_enable_warning): Likewise.
* errfn.c: Remove hack to avoid error-function prototypes when
including cp-tree.h.
Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r22308
Dave Love [Mon, 7 Sep 1998 02:45:42 +0000 (02:45 +0000)]
sfe.c, dfe.c: Revert last change.
1998-09-07 Dave Love <d.love@dl.ac.uk>
* libI77/sfe.c, libI77/dfe.c: Revert last change.
From-SVN: r22307
Dave Love [Mon, 7 Sep 1998 02:45:11 +0000 (02:45 +0000)]
Revert last change.
From-SVN: r22306
Jeff Law [Mon, 7 Sep 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22305
Mark Mitchell [Sun, 6 Sep 1998 19:45:16 +0000 (19:45 +0000)]
cp-error.def: New file.
* cp-error.def: New file.
* Make-lang.in (cc1plus): Add dependency on it.
* Makefile.in (CXX_TREE_H): Likewise.
* cp-tree.h (error_code): New type.
Include cp-error.def to get error codes. Make it possible to
include cp-tree.h in errfn.c.
(enable_warning): New function.
(flag_diag_codes): New variable.
* errfn.c: Include cp-tree.h.
(cp_err_msg): New type. Include cp-error.def to define it.
(err_msgs): New variable.
(is_warning_enabled): New function.
(cp_thing): Take an error_code, not a format string. Output the
diagnostic code if flag_diag_codes.
(cp_error, cp_compiler_error, cp_sprintf, cp_error_at): Take
error_codes, not format strings.
(cp_warning, cp_pedwarn, cp_warning_at, cp_pedwarn_at): Likewise.
Call is_warning_enabled.
* decl2.c (flag_diag_codes): New variable.
(lang_decode_option): Handle -fdiag-codes and -Wnumber.
* lang-options.h: Add -fdiag-codes, -fno-diag-codes, and
-W-number-, and -Wno-number.
* class.c: Update all calls to error-functions.
* cvt.c: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* friend.c: Likewise.
* lex.c: Likewise.
* parse.y: Likewise.
* pt.c: Likewise.
* repo.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* semantics.c: Likewise.
* sig.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.
* xref.c: Likewise.
From-SVN: r22304
Anthony Green [Sun, 6 Sep 1998 15:36:06 +0000 (15:36 +0000)]
Initial revision
From-SVN: r22299
Jeffrey A Law [Sun, 6 Sep 1998 14:04:04 +0000 (08:04 -0600)]
Bump for snapshot
From-SVN: r22298
Jeffrey A Law [Sun, 6 Sep 1998 13:28:10 +0000 (07:28 -0600)]
Bump for snapshot
From-SVN: r22297
Dave Love [Sun, 6 Sep 1998 06:25:18 +0000 (06:25 +0000)]
io0.f: Test formatted direct i/o too.
1998-09-06 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/io0.f: Test formatted direct i/o too.
From-SVN: r22296
Dave Love [Sun, 6 Sep 1998 06:24:38 +0000 (06:24 +0000)]
Test formatted direct i/o too.
From-SVN: r22295
Dave Love [Sun, 6 Sep 1998 06:15:14 +0000 (06:15 +0000)]
1998-09-06 Dave Love <d.love@dl.ac.uk>
From Toon to fix spurious recursive i/o errors:
* libI77/sfe.c (e_wdfe): Set f__init.
* libI77/dfe.c (c_dfe): Check and set f__init.
(s_rdfe, s_wdfe): Don't check and set f__init.
From-SVN: r22294
Kaveh R. Ghazi [Sun, 6 Sep 1998 05:56:20 +0000 (05:56 +0000)]
Makefile.in (toplev.o): Depend on $(EXPR_H).
* Makefile.in (toplev.o): Depend on $(EXPR_H).
(insn-extract.o, insn-attrtab.o): Depend on toplev.h.
* gansidecl.h: Define ATTRIBUTE_NORETURN.
* genattrtab.c: Have insn-attrtab.c include toplev.h.
* genextract.c: Have insn-extract.c include toplev.h.
* rtl.h: Don't prototype `fatal_insn_not_found' and `fatal_insn'.
* toplev.c: Include expr.h.
(really_sorry, fancy_abort): Remove prototypes.
(set_target_switch): Add argument in prototype.
(vfatal): Mark prototype with ATTRIBUTE_NORETURN.
(v_really_sorry): Likewise.
(print_version, print_single_switch, print_switch_values): Make
static and add prototype arguments.
(decl_printable_name): Add prototype arguments.
(lang_expand_expr_t): New typedef.
(lang_expand_expr): Declare as a lang_expand_expr_t.
(incomplete_decl_finalize_hook): Add prototype argument.
(decl_name): Mark variable `verbosity' with ATTRIBUTE_UNUSED.
(botch): Likewise for variable `s'.
(rest_of_type_compilation): Mark variables `type' and `toplev'
with ATTRIBUTE_UNUSED if none of DBX_DEBUGGING_INFO,
XCOFF_DEBUGGING_INFO or SDB_DEBUGGING_INFO are defined.
(display_help): Make variable `i' an `unsigned long'.
(main): Remove unused parameter `envp'.
Cast assignment to `lang_expand_expr' to a `lang_expand_expr_t'.
Cast -1 when comparing it with a `size_t'.
* toplev.h (fatal, fatal_io_error, pfatal_with_name): Mark
prototype with ATTRIBUTE_NORETURN.
(fatal_insn_not_found, fatal_insn, really_sorry,
push_float_handler, pop_float_handler): Add prototypes.
(fancy_abort): Mark prototype with ATTRIBUTE_NORETURN.
(do_abort, botch): Add prototypes.
From-SVN: r22293
John Carr [Sun, 6 Sep 1998 05:52:08 +0000 (05:52 +0000)]
final.c (final): If a label is reached only from a single jump...
(
* final.c (final): If a label is reached only from a single jump,
call NOTICE_UPDATE_CC on the jump and its predecessor before
emitting the insn after the label.
* i386.h: Add AMD K6 support.
Change TARGET_* macros to use table lookup.
(INITIALIZE_TRAMPOLINE): Improve trampoline code.
(ADJUST_COST): Change definition to call function in i386.c.
(ISSUE_RATE): Define as 2 for anything newer than an 80486.
* i386.c: Add AMD K6 support.
Add constants for feature tests used by TARGET_* macros.
(split_di): If before reload, call gen_lowpart and gen_highpart.
(x86_adjust_cost): New function.
(put_jump_code): New function.
(print_operand): New codes 'D' and 'd'.
* i386.md: New insn types. New insn attribute "memory".
Redefine scheduling parameters to use new types and add AMD K6
support. Explicitly set type of most insns.
(move insns): K6 prefers movl $0,reg to xorl reg,reg. Pentium
Pro and K6 prefer movl $1,reg to incl reg.
(adddi3, subdi3): Set cc_status.
(DImode shift patterns): Change label counters from HOST_WIDE_INT
to int; x86 can't have more than 2^31 DImode shifts per file.
(setcc): Combine all setcc patterns. Allow writing memory.
Combine all jump patterns using match_operator.
(*bzero): Name pattern. Emit mutliple stos instructions when that
is faster than rep stos.
(xordi3, anddi3, iordi3): Simplify DImode logical patterns and
add define_split.
* ch/Make-lang.in: Comment ^L characters. Sun make doesn't like them.
From-SVN: r22292
John Carr [Sun, 6 Sep 1998 05:52:02 +0000 (05:52 +0000)]
final.c (final): If a label is reached only from a single jump...
�
* final.c (final): If a label is reached only from a single jump,
call NOTICE_UPDATE_CC on the jump and its predecessor before
emitting the insn after the label.
* i386.h: Add AMD K6 support.
Change TARGET_* macros to use table lookup.
(INITIALIZE_TRAMPOLINE): Improve trampoline code.
(ADJUST_COST): Change definition to call function in i386.c.
(ISSUE_RATE): Define as 2 for anything newer than an 80486.
* i386.c: Add AMD K6 support.
Add constants for feature tests used by TARGET_* macros.
(split_di): If before reload, call gen_lowpart and gen_highpart.
(x86_adjust_cost): New function.
(put_jump_code): New function.
(print_operand): New codes 'D' and 'd'.
* i386.md: New insn types. New insn attribute "memory".
Redefine scheduling parameters to use new types and add AMD K6
support. Explicitly set type of most insns.
(move insns): K6 prefers movl $0,reg to xorl reg,reg. Pentium
Pro and K6 prefer movl $1,reg to incl reg.
(adddi3, subdi3): Set cc_status.
(DImode shift patterns): Change label counters from HOST_WIDE_INT
to int; x86 can't have more than 2^31 DImode shifts per file.
(setcc): Combine all setcc patterns. Allow writing memory.
Combine all jump patterns using match_operator.
(*bzero): Name pattern. Emit mutliple stos instructions when that
is faster than rep stos.
(xordi3, anddi3, iordi3): Simplify DImode logical patterns and
add define_split.
* ch/Make-lang.in: Comment ^L characters. Sun make doesn't like them.
From-SVN: r22291
John Carr [Sun, 6 Sep 1998 05:52:01 +0000 (05:52 +0000)]
final.c (final): If a label is reached only from a single jump...
d
* final.c (final): If a label is reached only from a single jump,
call NOTICE_UPDATE_CC on the jump and its predecessor before
emitting the insn after the label.
* i386.h: Add AMD K6 support.
Change TARGET_* macros to use table lookup.
(INITIALIZE_TRAMPOLINE): Improve trampoline code.
(ADJUST_COST): Change definition to call function in i386.c.
(ISSUE_RATE): Define as 2 for anything newer than an 80486.
* i386.c: Add AMD K6 support.
Add constants for feature tests used by TARGET_* macros.
(split_di): If before reload, call gen_lowpart and gen_highpart.
(x86_adjust_cost): New function.
(put_jump_code): New function.
(print_operand): New codes 'D' and 'd'.
* i386.md: New insn types. New insn attribute "memory".
Redefine scheduling parameters to use new types and add AMD K6
support. Explicitly set type of most insns.
(move insns): K6 prefers movl $0,reg to xorl reg,reg. Pentium
Pro and K6 prefer movl $1,reg to incl reg.
(adddi3, subdi3): Set cc_status.
(DImode shift patterns): Change label counters from HOST_WIDE_INT
to int; x86 can't have more than 2^31 DImode shifts per file.
(setcc): Combine all setcc patterns. Allow writing memory.
Combine all jump patterns using match_operator.
(*bzero): Name pattern. Emit mutliple stos instructions when that
is faster than rep stos.
(xordi3, anddi3, iordi3): Simplify DImode logical patterns and
add define_split.
* ch/Make-lang.in: Comment ^L characters. Sun make doesn't like them.
From-SVN: r22290
John Carr [Sun, 6 Sep 1998 05:51:59 +0000 (05:51 +0000)]
final.c (final): If a label is reached only from a single jump...
0
* final.c (final): If a label is reached only from a single jump,
call NOTICE_UPDATE_CC on the jump and its predecessor before
emitting the insn after the label.
* i386.h: Add AMD K6 support.
Change TARGET_* macros to use table lookup.
(INITIALIZE_TRAMPOLINE): Improve trampoline code.
(ADJUST_COST): Change definition to call function in i386.c.
(ISSUE_RATE): Define as 2 for anything newer than an 80486.
* i386.c: Add AMD K6 support.
Add constants for feature tests used by TARGET_* macros.
(split_di): If before reload, call gen_lowpart and gen_highpart.
(x86_adjust_cost): New function.
(put_jump_code): New function.
(print_operand): New codes 'D' and 'd'.
* i386.md: New insn types. New insn attribute "memory".
Redefine scheduling parameters to use new types and add AMD K6
support. Explicitly set type of most insns.
(move insns): K6 prefers movl $0,reg to xorl reg,reg. Pentium
Pro and K6 prefer movl $1,reg to incl reg.
(adddi3, subdi3): Set cc_status.
(DImode shift patterns): Change label counters from HOST_WIDE_INT
to int; x86 can't have more than 2^31 DImode shifts per file.
(setcc): Combine all setcc patterns. Allow writing memory.
Combine all jump patterns using match_operator.
(*bzero): Name pattern. Emit mutliple stos instructions when that
is faster than rep stos.
(xordi3, anddi3, iordi3): Simplify DImode logical patterns and
add define_split.
* ch/Make-lang.in: Comment ^L characters. Sun make doesn't like them.
From-SVN: r22289
Dave Love [Sun, 6 Sep 1998 03:21:32 +0000 (03:21 +0000)]
x-next (BOOT_LDFLAGS): Define suitably for f771 linking.
Sun Sep 6 11:17:20 1998 Dave Love <d.love@dl.ac.uk>
* config/m68k/x-next (BOOT_LDFLAGS): Define suitably for f771
linking.
From-SVN: r22288
Dave Love [Sun, 6 Sep 1998 03:20:54 +0000 (03:20 +0000)]
(BOOT_LDFLAGS): Define suitably for f771 linking.
From-SVN: r22287
Jeff Law [Sun, 6 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22286
Jeffrey A Law [Sun, 6 Sep 1998 00:33:30 +0000 (00:33 +0000)]
allgmem.c: Do not include config.h anymore.
* allgmem.c: Do not include config.h anymore.
* allmem.c allocate.c andps.c cardps.c cause.c copyps.c: Likewise.
* diffps.c eqps.c exh.c exhstack.c ffsetclrps.c ffsetps.c: Likewise.
* flsetclrps.c flsetps.c inbitstr.c inps.c leps.c ltps.c: Likewise.
* neps.c notps.c orps.c retmem.c rtsdummy.c setbitps.c: Likewise.
* setbits.c sliceps.c terminate.c unhex.c unhex1.c xorps.c: Likewise.
From-SVN: r22285
Richard Henderson [Sat, 5 Sep 1998 23:07:00 +0000 (16:07 -0700)]
Revert prototype for function not comitted.
From-SVN: r22284
Jeffrey A Law [Sat, 5 Sep 1998 23:02:22 +0000 (23:02 +0000)]
Makefile.in (INCLUDES): Update after recent toplevel gcc reorganizations.
* Makefile.in (INCLUDES): Update after recent toplevel gcc
reorganizations.
From-SVN: r22283