platform/upstream/gcc.git
26 years agoreload1.c (choose_reload_regs): If using an equivalence from find_equiv_reg and reg_r...
J"orn Rennecke [Thu, 9 Jul 1998 10:29:03 +0000 (10:29 +0000)]
reload1.c (choose_reload_regs): If using an equivalence from find_equiv_reg and reg_reloaded_valid is not set...

* reload1.c (choose_reload_regs): If using an equivalence from
find_equiv_reg and reg_reloaded_valid is not set for this register,
clear the associated spill_reg_store.

From-SVN: r21035

26 years agoreload1.c (emit_reload_insns): If an output reload copies only to a secondary reload...
J"orn Rennecke [Thu, 9 Jul 1998 10:18:53 +0000 (10:18 +0000)]
reload1.c (emit_reload_insns): If an output reload copies only to a secondary reload register...

* reload1.c (emit_reload_insns): If an output reload copies only
to a secondary reload register, indicate that the secondary reload
does the actual store.

From-SVN: r21034

26 years agoreload.c (find_equiv_reg): If need_stable_sp is set, check if stack pointer is change...
J"orn Rennecke [Thu, 9 Jul 1998 10:06:18 +0000 (10:06 +0000)]
reload.c (find_equiv_reg): If need_stable_sp is set, check if stack pointer is changed directly in a PARALLEL.

* reload.c (find_equiv_reg): If need_stable_sp is set,
check if stack pointer is changed directly in a PARALLEL.

From-SVN: r21033

26 years ago* jump.c (duplicate_loop_exit_test): Fix thinko.
Jeffrey A Law [Thu, 9 Jul 1998 09:40:18 +0000 (09:40 +0000)]
* jump.c (duplicate_loop_exit_test): Fix thinko.

From-SVN: r21032

26 years ago* libU77/Version.c, libI77/Version.c: Update version info.
Dave Love [Thu, 9 Jul 1998 04:01:07 +0000 (04:01 +0000)]
* libU77/Version.c, libI77/Version.c: Update version info.

From-SVN: r21031

26 years agoUpdate version info.
Dave Love [Thu, 9 Jul 1998 03:59:25 +0000 (03:59 +0000)]
Update version info.

From-SVN: r21030

26 years agoZap spurious entry.
Dave Love [Thu, 9 Jul 1998 03:57:21 +0000 (03:57 +0000)]
Zap spurious entry.

From-SVN: r21029

26 years agosys_clock_.c: Replace TIMES conditional stuff removed in error by last change.
Dave Love [Thu, 9 Jul 1998 03:40:30 +0000 (03:40 +0000)]
sys_clock_.c: Replace TIMES conditional stuff removed in error by last change.

1998-07-09  Dave Love  <d.love@dl.ac.uk>
* libU77/sys_clock_.c: Replace TIMES conditional stuff removed in
error by last change.

From-SVN: r21028

26 years agoReplace TIMES conditional stuff removed in
Dave Love [Thu, 9 Jul 1998 03:40:06 +0000 (03:40 +0000)]
Replace TIMES conditional stuff removed in
error by last change.

From-SVN: r21027

26 years agoDaily bump.
Jeff Law [Thu, 9 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21026

26 years agortemself.h: Updated to keep in sync with config/i386/linux.h.
Joel Sherrill [Thu, 9 Jul 1998 00:37:05 +0000 (00:37 +0000)]
rtemself.h: Updated to keep in sync with config/i386/linux.h.

        * config/i386/rtemself.h: Updated to keep in sync with
        config/i386/linux.h.
        * configure.in: Added sh-rtemself.
        * configure: Rebuilt.
        * config/sh/rtems.h: Removed -D__ELF__ since it is now COFF.
        * config/sh/rtemself.h: New file.
        * config/rs6000/rtems.h: Defined STARTFILE_DEFAULT_SPEC.

Co-Authored-By: Ralf Corsepius <corsepiu@faw.uni-ulm.de>
From-SVN: r21025

26 years agoRegenerated.
Jeff Law [Thu, 9 Jul 1998 00:28:12 +0000 (18:28 -0600)]
Regenerated.

From-SVN: r21024

26 years agoconfigure.in: Check if the assembler supports ".balign" and ".p2align" and define...
Jeffrey A Law [Thu, 9 Jul 1998 00:27:21 +0000 (00:27 +0000)]
configure.in: Check if the assembler supports ".balign" and ".p2align" and define...

        * configure.in: Check if the assembler supports ".balign" and
        ".p2align" and define HAVE_GAS_BALIGN_AND_P2ALIGN appropriately.
        * acconfig.h (HAVE_GAS_BALIGN_AND_P2ALIGN): New tag.
        * i386/gas.h (ASM_OUTPUT_ALIGN): If the assembler has support for
        ".balign" then use it.

From-SVN: r21023

26 years agoFix debugging of CHARACTER*(*), etc., which requires emitting debug info on types...
Jeff Law [Wed, 8 Jul 1998 23:47:57 +0000 (17:47 -0600)]
Fix debugging of CHARACTER*(*), etc., which requires emitting debug info on types like `ftnlen':

Fix debugging of CHARACTER*(*), etc., which requires
emitting debug info on types like `ftnlen':
* com.c (ffecom_start_progunit_): Don't bother
resetting "invented" flag for identifier.
(ffecom_transform_equiv_): Don't bother zeroing
"ignored" flag for decl.
(pushdecl): No longer set "ignored", "used", or
"suppressed debug" flags for decls having "invented"
identifiers.

From-SVN: r21022

26 years agoFix debugging of CHARACTER*(*), etc., which requires emitting debug info on types...
Craig Burley [Wed, 8 Jul 1998 23:47:55 +0000 (17:47 -0600)]
Fix debugging of CHARACTER*(*), etc., which requires emitting debug info on types like `ftnlen':

d
Fix debugging of CHARACTER*(*), etc., which requires
emitting debug info on types like `ftnlen':
* com.c (ffecom_start_progunit_): Don't bother
resetting "invented" flag for identifier.
(ffecom_transform_equiv_): Don't bother zeroing
"ignored" flag for decl.
(pushdecl): No longer set "ignored", "used", or
"suppressed debug" flags for decls having "invented"
identifiers.

From-SVN: r21021

26 years agoFix debugging of CHARACTER*(*), etc., which requires emitting debug info on types...
Craig Burley [Wed, 8 Jul 1998 23:47:54 +0000 (17:47 -0600)]
Fix debugging of CHARACTER*(*), etc., which requires emitting debug info on types like `ftnlen':


Fix debugging of CHARACTER*(*), etc., which requires
emitting debug info on types like `ftnlen':
* com.c (ffecom_start_progunit_): Don't bother
resetting "invented" flag for identifier.
(ffecom_transform_equiv_): Don't bother zeroing
"ignored" flag for decl.
(pushdecl): No longer set "ignored", "used", or
"suppressed debug" flags for decls having "invented"
identifiers.

From-SVN: r21020

26 years ago* print-rtl.c (print_rtx): Revert previous patch.
Jeffrey A Law [Wed, 8 Jul 1998 23:44:15 +0000 (23:44 +0000)]
* print-rtl.c (print_rtx): Revert previous patch.

From-SVN: r21019

26 years ago* gcc.dg/980709-1.c: New test.
Jeffrey A Law [Wed, 8 Jul 1998 23:40:33 +0000 (23:40 +0000)]
* gcc.dg/980709-1.c: New test.

From-SVN: r21018

26 years agojump.c (duplicate_loop_exit_test): Do not duplicate the loop exit test if the exit...
Jeffrey A Law [Wed, 8 Jul 1998 23:37:50 +0000 (23:37 +0000)]
jump.c (duplicate_loop_exit_test): Do not duplicate the loop exit test if the exit code has an insn with ASM_OPERANDS.

        * jump.c (duplicate_loop_exit_test): Do not duplicate the loop exit
        test if the exit code has an insn with ASM_OPERANDS.

From-SVN: r21017

26 years ago* m32r.h (STDIO_PROTO): Fix typo.
Jeffrey A Law [Wed, 8 Jul 1998 22:45:04 +0000 (22:45 +0000)]
* m32r.h (STDIO_PROTO): Fix typo.

From-SVN: r21016

26 years ago* i386/cygwin32.h (STDIO_PROTO): Fix typo.
Jeffrey A Law [Wed, 8 Jul 1998 22:39:04 +0000 (22:39 +0000)]
* i386/cygwin32.h (STDIO_PROTO): Fix typo.

From-SVN: r21015

26 years agopa.h (LEGITIMIZE_RELOAD_ADDRESS): Handle addresses created by LEGITIMIZE_RELOAD_ADDRESS.
Jeffrey A Law [Wed, 8 Jul 1998 22:05:40 +0000 (22:05 +0000)]
pa.h (LEGITIMIZE_RELOAD_ADDRESS): Handle addresses created by LEGITIMIZE_RELOAD_ADDRESS.

        * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Handle addresses created by
        LEGITIMIZE_RELOAD_ADDRESS.
        * tm.texi (LEGITIMIZE_RELOAD_ADDRESS): Note that this macro must be
        able to handle addresses created by previous invocations of the macro.

From-SVN: r21014

26 years agoflow.c (find_auto_inc): Remove most recent change.
Jeffrey A Law [Wed, 8 Jul 1998 21:15:55 +0000 (21:15 +0000)]
flow.c (find_auto_inc): Remove most recent change.

        * flow.c (find_auto_inc): Remove most recent change.  Real bug was
        elsewhere.

From-SVN: r21013

26 years agocse.c (count_reg_usage): Count registers used in addresses of CLOBBERs.
Jeffrey A Law [Wed, 8 Jul 1998 20:46:15 +0000 (20:46 +0000)]
cse.c (count_reg_usage): Count registers used in addresses of CLOBBERs.

        * cse.c (count_reg_usage): Count registers used in addresses of
        CLOBBERs.

From-SVN: r21012

26 years ago* Makefile.in (STAGESTUFF): Readd line lost during June 9 FSF merge.
Jim Wilson [Wed, 8 Jul 1998 17:13:04 +0000 (17:13 +0000)]
* Makefile.in (STAGESTUFF): Readd line lost during June 9 FSF merge.

From-SVN: r21011

26 years agoFix big/little endian confusion.
Jim Wilson [Wed, 8 Jul 1998 15:09:39 +0000 (15:09 +0000)]
Fix big/little endian confusion.

* configure.in (mips64orion-*-rtems*): Use elf64.h not elfl64.h.

From-SVN: r21010

26 years agofp-bit.c (__gexf2, [...]): Add function stubs.
Vladimir N. Makarov [Wed, 8 Jul 1998 13:44:21 +0000 (13:44 +0000)]
fp-bit.c (__gexf2, [...]): Add function stubs.

* config/fp-bit.c (__gexf2, __fixxfsi, __floatsixf): Add function
stubs.

From-SVN: r21009

26 years agoRemove '#line' directives from file.
Robert Lipe [Wed, 8 Jul 1998 13:02:30 +0000 (13:02 +0000)]
Remove '#line' directives from file.

Remove '#line' directives from file.  They were tormenting some Solaris
builds. Strangely, they were unnoticed on other hosts including linux/x86
and ix86-pc-sco3.2v5*.

From-SVN: r21008

26 years agotoplev.c (lang_options): Add -Wlong-long, -Wno-long-long options.
Vladimir N. Makarov [Wed, 8 Jul 1998 12:16:05 +0000 (12:16 +0000)]
toplev.c (lang_options): Add -Wlong-long, -Wno-long-long options.

* toplev.c (lang_options): Add -Wlong-long, -Wno-long-long
options.
* c-decl.c (warn_long_long): Define.
(c_decode_option): Parse -Wlong-long, -Wno-long-long options.
(grokdeclarator): Add flag `warn_long_long' as guard for
warning "ANSI C does not support `long long'".
* invoke.texi: Add description of options -Wlong-long,
-Wno-long-long.
* gcc.1: The same as above.
* cp-tree.h (warn_long_long): Define.
* decl.c (grokdeclarator): Add flag `warn_long_long' as guard for
warning "ANSI C++ does not support `long long'".
* decl2.c (warn_long_long): Define.
(lang_decode_option): Parse -Wlong-long, -Wno-long-long options.

From-SVN: r21007

26 years agoHonor [sic] JCB technical writer preferences :-).
Dave Love [Wed, 8 Jul 1998 08:59:38 +0000 (08:59 +0000)]
Honor [sic] JCB technical writer preferences :-).

From-SVN: r21006

26 years agortlanal.c (reg_overlap_mentioned_p): Handle STRICT_LOW_PART.
Jeffrey A Law [Wed, 8 Jul 1998 01:58:58 +0000 (01:58 +0000)]
rtlanal.c (reg_overlap_mentioned_p): Handle STRICT_LOW_PART.

        * rtlanal.c (reg_overlap_mentioned_p): Handle STRICT_LOW_PART.  If
        either argument is CONSTANT_P, then return zero.
        * reload.c (reg_overlap_mentioned_for_reload_p): Similarly.

From-SVN: r21005

26 years agoconfigure.in: Also look at $srcdir/gas/configure to find a gas version #.
Jeffrey A Law [Wed, 8 Jul 1998 01:51:21 +0000 (01:51 +0000)]
configure.in: Also look at $srcdir/gas/configure to find a gas version #.

        * configure.in: Also look at $srcdir/gas/configure to find a
        gas version #.

From-SVN: r21004

26 years agoDaily bump.
Jeff Law [Wed, 8 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21003

26 years ago* dsp16xx.h : Clean up of macro OPTIMIZATION_OPTIONS
Carlo Wood [Tue, 7 Jul 1998 23:33:15 +0000 (01:33 +0200)]
* dsp16xx.h : Clean up of macro OPTIMIZATION_OPTIONS

From-SVN: r21002

26 years agocygwin32.h (ASM_DECLARE_FUNCTION_NAME): Merge duplicate definitions from last two...
Mumit Khan [Tue, 7 Jul 1998 23:31:03 +0000 (17:31 -0600)]
cygwin32.h (ASM_DECLARE_FUNCTION_NAME): Merge duplicate definitions from last two patches.

* i386/cygwin32.h (ASM_DECLARE_FUNCTION_NAME): Merge duplicate
definitions from last two patches.

From-SVN: r21001

26 years agocygwin32.h (ASM_DECLARE_FUNCTION_NAME): Merge duplicate definitions from last two...
Mumit Khan [Tue, 7 Jul 1998 23:31:01 +0000 (17:31 -0600)]
cygwin32.h (ASM_DECLARE_FUNCTION_NAME): Merge duplicate definitions from last two patches.

* i386/cygwin32.h (ASM_DECLARE_FUNCTION_NAME): Merge duplicate
definitions from last two patches.

From-SVN: r21000

26 years agoreload1.c (choose_reload_regs): Don't set reload_override_in if EQUIV is clobbered...
J"orn Rennecke [Tue, 7 Jul 1998 15:08:34 +0000 (15:08 +0000)]
reload1.c (choose_reload_regs): Don't set reload_override_in if EQUIV is clobbered in INSN and the reload is...

* reload1.c (choose_reload_regs): Don't set reload_override_in
if EQUIV is clobbered in INSN and the reload is done after INSN.

From-SVN: r20999

26 years ago* gcc.c-torture/execute/bcp-1.c: New test.
Richard Henderson [Tue, 7 Jul 1998 13:41:17 +0000 (06:41 -0700)]
* gcc.c-torture/execute/bcp-1.c: New test.

From-SVN: r20998

26 years agoexpr.c (emit_queue): If emitting a SEQUENCE, set QUEUED_INSN to the first insn of...
J"orn Rennecke [Tue, 7 Jul 1998 13:26:49 +0000 (13:26 +0000)]
expr.c (emit_queue): If emitting a SEQUENCE, set QUEUED_INSN to the first insn of the sequence.

* expr.c (emit_queue): If emitting a SEQUENCE, set QUEUED_INSN
to the first insn of the sequence.

From-SVN: r20997

26 years ago* cse (cse_insn): Don't make change without validation.
J"orn Rennecke [Tue, 7 Jul 1998 13:09:07 +0000 (13:09 +0000)]
* cse (cse_insn): Don't make change without validation.

From-SVN: r20996

26 years agooops
Jason Merrill [Tue, 7 Jul 1998 13:07:27 +0000 (09:07 -0400)]
oops

From-SVN: r20995

26 years agodecl.c (xref_tag): Handle attributes between 'class' and name.
Jason Merrill [Tue, 7 Jul 1998 11:25:01 +0000 (11:25 +0000)]
decl.c (xref_tag): Handle attributes between 'class' and name.

* decl.c (xref_tag): Handle attributes between 'class' and name.
* parse.y (aggr): Likewise.
* semantics.c (finish_class_definition): Likewise.
* Makefile.in (EXPECTED): Adjust.
* cp-tree.h: Declare flag_optional_diags and warn_multichar.
* decl2.c: Define them.
(lang_decode_option): Handle them.
* lang-options.h: Add -foptional-diags.
* class.c (finish_struct): Don't complain about multiple meanings of
name if -fno-optional-diags.
* decl.c (pushdecl_class_level): Likewise.
* lex.c (real_yylex): Check warn_multichar.

From-SVN: r20994

26 years ago* gcc.c-torture/execute/980707-1.c: New test.
Jeffrey A Law [Tue, 7 Jul 1998 10:50:43 +0000 (10:50 +0000)]
* gcc.c-torture/execute/980707-1.c: New test.

From-SVN: r20993

26 years agomn10200.md (various zero/sign extension patterns): zero and sign extensions which...
Jeffrey A Law [Tue, 7 Jul 1998 10:45:12 +0000 (10:45 +0000)]
mn10200.md (various zero/sign extension patterns): zero and sign extensions which use "sub" clobber cc0.

        * mn10200.md (various zero/sign extension patterns): zero and sign
        extensions which use "sub" clobber cc0.

From-SVN: r20992

26 years agoBump for snapshot
Jeffrey A Law [Tue, 7 Jul 1998 09:12:11 +0000 (03:12 -0600)]
Bump for snapshot

From-SVN: r20990

26 years ago* print-rtl.c (print_rtx): Use REAL_VALUE_TYPE instead of "double".
Jeffrey A Law [Tue, 7 Jul 1998 09:09:31 +0000 (09:09 +0000)]
* print-rtl.c (print_rtx): Use REAL_VALUE_TYPE instead of "double".

From-SVN: r20989

26 years agoprint-rtl.c (print_rtx): Only print fp values when REAL_VALUE_TYPE is a double.
Richard Henderson [Tue, 7 Jul 1998 08:42:42 +0000 (01:42 -0700)]
print-rtl.c (print_rtx): Only print fp values when REAL_VALUE_TYPE is a double.

        * print-rtl.c (print_rtx): Only print fp values when REAL_VALUE_TYPE
        is a double.

From-SVN: r20988

26 years agoDaily bump.
Jeff Law [Tue, 7 Jul 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20987

26 years agoBump for snapshot
Jeffrey A Law [Tue, 7 Jul 1998 00:32:01 +0000 (18:32 -0600)]
Bump for snapshot

From-SVN: r20986

26 years agoreload.c (find_equiv_reg): When looking for stack pointer + const, make sure we don...
J"orn Rennecke [Tue, 7 Jul 1998 00:19:56 +0000 (00:19 +0000)]
reload.c (find_equiv_reg): When looking for stack pointer + const, make sure we don't use a stack adjust.

        * reload.c (find_equiv_reg): When looking for stack pointer + const,
        make sure we don't use a stack adjust.

From-SVN: r20985

26 years agoreload.c (find_equiv_reg): If need_stable_sp is set, check if stack pointer is change...
J"orn Rennecke [Tue, 7 Jul 1998 00:18:02 +0000 (00:18 +0000)]
reload.c (find_equiv_reg): If need_stable_sp is set, check if stack pointer is changed directly.

* reload.c (find_equiv_reg): If need_stable_sp is set,
check if stack pointer is changed directly.

From-SVN: r20984

26 years agoSupport for dllimport and dllexport attributes for i386-pe.
Mumit Khan [Tue, 7 Jul 1998 00:05:27 +0000 (00:05 +0000)]
Support for dllimport and dllexport attributes for i386-pe.

* tree.h (DECL_NON_ADDR_CONST_P): New accessor macro.
(struct tree_decl): Add non_addr_const_p field.
* tree.c (staticp): Use.
* i386/cygwin32.h (CPP_PREDEFINES): Map __declspec(x) to GCC
attributes.
(SUBTARGET_SWITCHES): Switches to turn on/off dllimport|export
attributes. Also accept -mwindows option.
(VALID_MACHINE_DECL_ATTRIBUTE): New macro.
(MERGE_MACHINE_DECL_ATTRIBUTE): New macro.
(REDO_SECTION_INFO_P): New macro.
(DRECTVE_SECTION_FUNCTION): New macro.
(drectve_section): Cover function to implement above.
(SWITCH_TO_SECTION_FUNCTION): New macro.
(switch_to_section): Covert function to implement above.
(EXTRA_SECTIONS): Add in_drectve.
(EXTRA_SECTION_FUNCTIONS): Add in_drectve and switch_to_section.
(ENCODE_SECTION_INFO): Delete old macro and redefine as a function.
(STRIP_NAME_ENCODING): Handle new attributes.
(ASM_OUTPUT_LABELREF): New macro.
(ASM_OUTPUT_FUNCTION_NAME): New macro.
(ASM_OUTPUT_COMMON): New macro.
(ASM_OUTPUT_DECLARE_OBJECT_NAME): New macro.
* i386/mingw32.h (CPP_PREDEFINES): Map __declspec(x) to GCC
attributes.
* i386/winnt.c (i386_pe_valid_decl_attribute_p): New function.
(i386_pe_merge_decl_attributes): New function.
(i386_pe_check_vtable_importexport): New function.
(i386_pe_dllexport_p): New function.
(i386_pe_dllimport_p): New function.
(i386_pe_dllexport_name_p): New function.
(i386_pe_dllimport_name_p): New function.
(i386_pe_mark_dllexport): New function.
(i386_pe_mark_dllimport): New function.
(i386_pe_encode_section_info): New function.
(i386_pe_unique_section): Strip encoding from name first.

From-SVN: r20983

26 years agolibgcc2.c (L_exit): Provide a fake for atexit on systems which define ON_EXIT but...
Manfred Hollstein [Mon, 6 Jul 1998 23:52:21 +0000 (23:52 +0000)]
libgcc2.c (L_exit): Provide a fake for atexit on systems which define ON_EXIT but not HAVE_ATEXIT.

        * libgcc2.c (L_exit): Provide a fake for atexit on systems which
        define ON_EXIT but not HAVE_ATEXIT.

From-SVN: r20982

26 years ago* m68k.md (zero_extend QI to HI): Correctly handle TARGET_5200.
Franz Sirl [Mon, 6 Jul 1998 23:47:09 +0000 (23:47 +0000)]
* m68k.md (zero_extend QI to HI): Correctly handle TARGET_5200.

From-SVN: r20981

26 years ago* i386.c: Remove random whitespace at end of lines.
Ulrich Drepper [Mon, 6 Jul 1998 23:42:47 +0000 (23:42 +0000)]
* i386.c: Remove random whitespace at end of lines.

From-SVN: r20980

26 years agoi386.c (ix86_epilogue): For pentium processors...
Ulrich Drepper [Mon, 6 Jul 1998 23:39:32 +0000 (23:39 +0000)]
i386.c (ix86_epilogue): For pentium processors...

        * i386.c (ix86_epilogue): For pentium processors, try to deallocate
        4 or 8 byte stacks with pop instructions instead of an add instruction.

From-SVN: r20979

26 years ago* alpha.c: Include tree.h before expr.h.
Klaus Kaempf [Mon, 6 Jul 1998 23:32:38 +0000 (23:32 +0000)]
* alpha.c: Include tree.h before expr.h.

From-SVN: r20978

26 years agocygwin32.h: Add some declaration of external functions.
Jeff Law [Mon, 6 Jul 1998 23:03:03 +0000 (17:03 -0600)]
cygwin32.h: Add some declaration of external functions.

X
* i386/cygwin32.h: Add some declaration of external functions.
  (ASM_DECLARE_FUNCTION_NAME): Define.
(ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
(ASM_FILE_END): Define.
* i386/winnt.c (i386_pe_declare_function_type): New function.
(struct extern_list, extern_head): Define.
(i386_pe_record_external_function): New function.
(i386_pe_asm_file_end): New function.

From-SVN: r20977

26 years agocygwin32.h: Add some declaration of external functions.
Ian Lance Taylor [Mon, 6 Jul 1998 23:03:02 +0000 (23:03 +0000)]
cygwin32.h: Add some declaration of external functions.


* i386/cygwin32.h: Add some declaration of external functions.
  (ASM_DECLARE_FUNCTION_NAME): Define.
(ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
(ASM_FILE_END): Define.
* i386/winnt.c (i386_pe_declare_function_type): New function.
(struct extern_list, extern_head): Define.
(i386_pe_record_external_function): New function.
(i386_pe_asm_file_end): New function.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r20976

26 years agoreload1.c (delete_dead_insn): Don't delete feeding insn if that insn has side effects.
J"orn Rennecke [Mon, 6 Jul 1998 22:55:30 +0000 (22:55 +0000)]
reload1.c (delete_dead_insn): Don't delete feeding insn if that insn has side effects.

* reload1.c (delete_dead_insn): Don't delete feeding insn
if that insn has side effects.

From-SVN: r20975

26 years agoflow.c (find_auto_inc): Clear UNCHANGING bit of register that is changed.
J"orn Rennecke [Mon, 6 Jul 1998 22:53:34 +0000 (22:53 +0000)]
flow.c (find_auto_inc): Clear UNCHANGING bit of register that is changed.

        * flow.c (find_auto_inc): Clear UNCHANGING bit of register that is
        changed.

From-SVN: r20974

26 years agoreload1.c (reload_reg_free_before_p): RELOAD_FOR_OPADDR_ADDR precedes RELOAD_FOR_OUTA...
J"orn Rennecke [Mon, 6 Jul 1998 22:44:41 +0000 (22:44 +0000)]
reload1.c (reload_reg_free_before_p): RELOAD_FOR_OPADDR_ADDR precedes RELOAD_FOR_OUTADDR_ADDRESS.

        * reload1.c (reload_reg_free_before_p): RELOAD_FOR_OPADDR_ADDR
        precedes RELOAD_FOR_OUTADDR_ADDRESS.

From-SVN: r20973

26 years agoprint-rtl.c (print_rtx): Display the real-value equivalent of a const_double when...
Richard Henderson [Mon, 6 Jul 1998 22:40:02 +0000 (15:40 -0700)]
print-rtl.c (print_rtx): Display the real-value equivalent of a const_double when easy.

        * print-rtl.c (print_rtx): Display the real-value equivalent of
        a const_double when easy.
        * real.h (REAL_VALUE_TO_TARGET_SINGLE): Use a union to pun types.
        Zero memory first for predictability.
        (REAL_VALUE_TO_TARGET_DOUBLE): Likewise.
        * varasm.c (immed_real_const_1): Notice width of H_W_I == double.

From-SVN: r20972

26 years agoc-parse.in (struct_head, [...]): New nonterminals.
Jason Merrill [Mon, 6 Jul 1998 22:30:16 +0000 (22:30 +0000)]
c-parse.in (struct_head, [...]): New nonterminals.

        * c-parse.in (struct_head, union_head, enum_head): New nonterminals.
        (structsp): Use them.  Update files generated from c-parse.in.
        * extend.texi (Type Attributes): Document it.

From-SVN: r20971

26 years ago* i386.c (is_fp_test): Fix thinko.
Alasdair Baird [Mon, 6 Jul 1998 22:02:12 +0000 (22:02 +0000)]
* i386.c (is_fp_test): Fix thinko.

From-SVN: r20970

26 years ago* makeinfo/makeinfo.c (add_word_args): Fix thinko.
Tobias Naehring [Mon, 6 Jul 1998 21:58:00 +0000 (21:58 +0000)]
* makeinfo/makeinfo.c (add_word_args): Fix thinko.

From-SVN: r20969

26 years agoc-decl.c: Add warn_multichar.
Jason Merrill [Mon, 6 Jul 1998 21:53:23 +0000 (21:53 +0000)]
c-decl.c: Add warn_multichar.

        * c-decl.c: Add warn_multichar.
        (c_decode_option): Handle -Wno-multichar.
        * c-lex.c (yylex): Check it.
        * c-tree.h: Declare it.
        * toplev.c (lang_options): Add it.
        * invoke.texi: Document it.

From-SVN: r20968

26 years agogcse.c (hash_scan_insn): New argument IN_LIBCALL_BLOCK.
J"orn Rennecke [Mon, 6 Jul 1998 21:50:50 +0000 (21:50 +0000)]
gcse.c (hash_scan_insn): New argument IN_LIBCALL_BLOCK.

        * gcse.c (hash_scan_insn): New argument IN_LIBCALL_BLOCK.  Changed
        caller.

From-SVN: r20967

26 years agocombine.c (expand_compound_operation): Fix thinko in code to optimize (zero_extend...
Jeffrey A Law [Mon, 6 Jul 1998 21:45:51 +0000 (21:45 +0000)]
combine.c (expand_compound_operation): Fix thinko in code to optimize (zero_extend:DI (subreg:SI (foo:DI) 0)) to foo:DI.

        * combine.c (expand_compound_operation): Fix thinko in code to optimize
        (zero_extend:DI (subreg:SI (foo:DI) 0)) to foo:DI.

From-SVN: r20966

26 years ago* configure.in (INSTALLDIR): Make sed pattern failsafe.
Manfred Hollstein [Mon, 6 Jul 1998 21:29:29 +0000 (21:29 +0000)]
* configure.in (INSTALLDIR): Make sed pattern failsafe.

From-SVN: r20965

26 years ago* gcc.c-torture/compile/980706-1.c: New test.
Kamil Iskra [Mon, 6 Jul 1998 21:25:13 +0000 (23:25 +0200)]
* gcc.c-torture/compile/980706-1.c: New test.

From-SVN: r20964

26 years agom68k.c (output_scc_di): Use cmpw #0 instead of tstl when testing address registers...
Kamil Iskra [Mon, 6 Jul 1998 21:23:56 +0000 (23:23 +0200)]
m68k.c (output_scc_di): Use cmpw #0 instead of tstl when testing address registers on the 68000.

        * m68k.c (output_scc_di): Use cmpw #0 instead of tstl when
        testing address registers on the 68000.

From-SVN: r20963

26 years ago* jump.c (jump_optimize) Check for CONST_INT before using INTVAL.
Alasdair Baird [Mon, 6 Jul 1998 21:19:17 +0000 (21:19 +0000)]
* jump.c (jump_optimize) Check for CONST_INT before using INTVAL.

From-SVN: r20962

26 years agoregclass.c (allocate_reg_info): Initialize the entire reg_data virtual array.
Richard Henderson [Mon, 6 Jul 1998 21:16:56 +0000 (14:16 -0700)]
regclass.c (allocate_reg_info): Initialize the entire reg_data virtual array.

        * regclass.c (allocate_reg_info): Initialize the entire reg_data
        virtual array.

From-SVN: r20961

26 years agocpplib.c (cpp_options_init): Initialize cplusplus_comments to 1, matching July 18...
Ian Lance Taylor [Mon, 6 Jul 1998 21:14:13 +0000 (21:14 +0000)]
cpplib.c (cpp_options_init): Initialize cplusplus_comments to 1, matching July 18, 1995 change to cccp.c.

        * cpplib.c (cpp_options_init): Initialize cplusplus_comments to 1,
        matching July 18, 1995 change to cccp.c.  If -traditional then
        disable cplusplus_comments.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r20960

26 years agoMove recent entry into the right file.
Jeff Law [Mon, 6 Jul 1998 21:05:07 +0000 (15:05 -0600)]
Move recent entry into the right file.

From-SVN: r20959

26 years agoMake-lang.in (f77.stage?): Use mv -f instead of just mv so that we can move g77.c.
Mike Stump [Mon, 6 Jul 1998 21:04:02 +0000 (15:04 -0600)]
Make-lang.in (f77.stage?): Use mv -f instead of just mv so that we can move g77.c.

8
* Make-lang.in (f77.stage?): Use mv -f instead of just mv so that
we can move g77.c.

From-SVN: r20958

26 years agoMake-lang.in (f77.stage?): Use mv -f instead of just mv so that we can move g77.c.
Mike Stump [Mon, 6 Jul 1998 21:04:01 +0000 (15:04 -0600)]
Make-lang.in (f77.stage?): Use mv -f instead of just mv so that we can move g77.c.


* Make-lang.in (f77.stage?): Use mv -f instead of just mv so that
we can move g77.c.

From-SVN: r20957

26 years agoMakefile.in (clean): Don't remove Makefiles, that is done in distclean.
Mike Stump [Mon, 6 Jul 1998 21:01:47 +0000 (21:01 +0000)]
Makefile.in (clean): Don't remove Makefiles, that is done in distclean.

        * Makefile.in (clean): Don't remove Makefiles, that is done in
        distclean.

From-SVN: r20956

26 years ago* Disable the following change from gcc2. Not appropriate for egcs:
Jeffrey A Law [Mon, 6 Jul 1998 20:33:33 +0000 (20:33 +0000)]
* Disable the following change from gcc2.  Not appropriate for egcs:

        Sun Jun  7 09:30:31 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * reload.c (find_reloads): Give preference to pseudo that was the
        reloaded output of previous insn.

From-SVN: r20955

26 years agodecl.c (lookup_tag): Use CP_DECL_CONTEXT.
Jason Merrill [Mon, 6 Jul 1998 18:24:46 +0000 (18:24 +0000)]
decl.c (lookup_tag): Use CP_DECL_CONTEXT.

* decl.c (lookup_tag): Use CP_DECL_CONTEXT.
* tree.c (make_binfo): Fix length.

From-SVN: r20954

26 years agoRedesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly.
Kaveh R. Ghazi [Mon, 6 Jul 1998 18:17:41 +0000 (18:17 +0000)]
Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly.

Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF
directly.  Instead, autoconf will only determine whether "%p" works and
its up to machmode.h to base its definition of HOST_PTR_PRINTF on that.
This ensures that machmode.h is always included to get the definition of
HOST_PTR_PRINTF for lossy hosts or cross compiles where "%p" is not
found.
        * aclocal.m4 (GCC_FUNC_PRINTF_PTR): Don't define HOST_PTR_PRINTF.
        Instead, define a new macro HAVE_PRINTF_PTR which only signifies
        whether we have the %p format specifier or not.
        * acconfig.h: Delete stub for HOST_PTR_PRINTF, add HAVE_PRINTF_PTR.
        * machmode.h (HOST_PTR_PRINTF): When determining the definition,
        check HAVE_PRINTF_PTR to see whether "%p" is okay.
        * mips-tfile.c: Include machmode.h to get HOST_PTR_PRINTF.
        * Makefile.in (mips-tfile.o): Depend on machmode.h.

From-SVN: r20953

26 years agojump.c (duplicate_loop_exit_test): Don't refuse to copy a section of code just becaus...
Mark Mitchell [Mon, 6 Jul 1998 10:42:43 +0000 (10:42 +0000)]
jump.c (duplicate_loop_exit_test): Don't refuse to copy a section of code just because it contains...

* jump.c (duplicate_loop_exit_test): Don't refuse to copy a
section of code just because it contains
NOTE_INSN_BLOCK_{BEG,END}.
* stmt.c (expand_end_loop): Likewise.  Also, don't refuse to
move CALL_INSNs or CODE_LABELs.  When moving code, don't move
NOTE_INSN_BLOCK_{BEG,END}.

From-SVN: r20952

26 years agoUpdate.
Ulrich Drepper [Mon, 6 Jul 1998 10:36:12 +0000 (10:36 +0000)]
Update.

From-SVN: r20951

26 years ago(class basic_string): Correct iterator return values in insert member
Ulrich Drepper [Mon, 6 Jul 1998 10:35:56 +0000 (10:35 +0000)]
(class basic_string): Correct iterator return values in insert member
functions.

From-SVN: r20950

26 years agointdoc.in (HOSTNM_func, [...]): Note possible need for -lsocket.
Dave Love [Mon, 6 Jul 1998 09:56:06 +0000 (09:56 +0000)]
intdoc.in (HOSTNM_func, [...]): Note possible need for -lsocket.

1998-07-06  Dave Love  <d.love@dl.ac.uk>
* intdoc.in (HOSTNM_func, HOSTNM_subr): Note possible need for
-lsocket.

From-SVN: r20949

26 years agoFix 1998-07-05 entry
Dave Love [Mon, 6 Jul 1998 09:53:15 +0000 (09:53 +0000)]
Fix 1998-07-05 entry

From-SVN: r20948

26 years ago(system_clock_): Remove (just f90 intrinsic).
Dave Love [Mon, 6 Jul 1998 09:52:26 +0000 (09:52 +0000)]
(system_clock_): Remove (just f90 intrinsic).

From-SVN: r20947

26 years ago(F2CEXT): Remove sclock.
Dave Love [Mon, 6 Jul 1998 09:51:36 +0000 (09:51 +0000)]
(F2CEXT): Remove sclock.

(UOBJ): Add libU77/datetime_.o.

From-SVN: r20946

26 years agocse.c (CSE_ADDRESS_COST): New macro, based on ADDRESS_COST, but dealing with ADDRESSOF.
Mark Mitchell [Mon, 6 Jul 1998 09:38:46 +0000 (09:38 +0000)]
cse.c (CSE_ADDRESS_COST): New macro, based on ADDRESS_COST, but dealing with ADDRESSOF.

* cse.c (CSE_ADDRESS_COST): New macro, based on ADDRESS_COST, but
dealing with ADDRESSOF.
(find_best_addr): Use it.

From-SVN: r20945

26 years ago* alpha/vms.h (TRAMPOLINE_TEMPLATE): Revert last change.
Richard Henderson [Mon, 6 Jul 1998 09:26:18 +0000 (02:26 -0700)]
* alpha/vms.h (TRAMPOLINE_TEMPLATE): Revert last change.

From-SVN: r20944

26 years agolibgcc2.c (__eprintf): Make args consistent with prototype in assert.h.
Dave Love [Mon, 6 Jul 1998 09:24:31 +0000 (09:24 +0000)]
libgcc2.c (__eprintf): Make args consistent with prototype in assert.h.

        * libgcc2.c (__eprintf): Make args consistent with prototype in
        assert.h.

From-SVN: r20943

26 years agof2cext.c (system_clock_): Remove (just f90 intrinsic).
Dave Love [Mon, 6 Jul 1998 09:03:28 +0000 (09:03 +0000)]
f2cext.c (system_clock_): Remove (just f90 intrinsic).

1998-07-05  Dave Love  <d.love@dl.ac.uk>
* f2cext.c (system_clock_): Remove (just f90 intrinsic).
* Makefile.in (F2CEXT): Add datetime, remove sclock.
(UOBJ): Add libU77/datetime_.o.
* libU77/config.h.in: Add HAVE_GETTIMEOFDAY.
* libU77/configure.in: Check for gettimeofday.
* libU77/datetime_.c: New file.
* libU77/sys_clock_.c: Allow optional args.
* libU77/Makefile.in (G77DIR): Fix for current directory
structure.
(SRCS, OBJS): Add datetime.

From-SVN: r20942

26 years ago[multiple changes]
Dave Love [Mon, 6 Jul 1998 09:01:43 +0000 (09:01 +0000)]
[multiple changes]

1998-07-06  Dave Love  <d.love@dl.ac.uk>
* libU77/Makefile.in (lib): Change variable lib to LIBS.
1998-07-06  Robert Lipe <robertl@dgii.com>
* libU77/configure.in: Look for -lsocket, add to LIBS if found.
* libU77/Makefile.in (lib):  Use LIBS from above.

From-SVN: r20941

26 years agof2cext.c (system_clock_): Remove (just f90 intrinsic).
Dave Love [Mon, 6 Jul 1998 08:40:35 +0000 (08:40 +0000)]
f2cext.c (system_clock_): Remove (just f90 intrinsic).

1998-07-05  Dave Love  <d.love@dl.ac.uk>
* f2cext.c (system_clock_): Remove (just f90 intrinsic).
* Makefile.in (F2CEXT): Add datetime, remove sclock.
(UOBJ): Add libU77/datetime_.o.
* libU77/config.h.in: Add HAVE_GETTIMEOFDAY.
* libU77/configure.in: Check for gettimeofday.
* libU77/datetime_.c: New file.
* libU77/sys_clock_.c: Allow optional args.
* libU77/Makefile.in (G77DIR): Fix for current directory
structure.
(SRCS, OBJS): Add datetime.
* libU77/u77-test.f: Call date_and_time.  Call system_clock
omitting args.

From-SVN: r20940

26 years agoShould have been removed before.
Dave Love [Mon, 6 Jul 1998 08:38:19 +0000 (08:38 +0000)]
Should have been removed before.

From-SVN: r20939

26 years agointdoc.in: Add entry for DATE_AND_TIME.
Dave Love [Mon, 6 Jul 1998 08:29:31 +0000 (08:29 +0000)]
intdoc.in: Add entry for DATE_AND_TIME.

1998-07-05  Dave Love  <d.love@dl.ac.uk>
* intdoc.in: Add entry for DATE_AND_TIME.
* intrin.def: Add implementation for DATE_AND_TIME.  Make second
and third args of SYSTEM_CLOCK optional.
* com.c (ffecom_expr_intrinsic_): New case for DATE_AND_TIME.
* com-rt.def (FFECOM_gfrtSYSTEM_CLOCK): Call G77_system_clock_0,
not system_clock_.
(FFECOM_gfrtDATE_AND_TIME): New DEFGFRT.

From-SVN: r20938

26 years agoDaily bump.
Jeff Law [Mon, 6 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20937

26 years agocse.c (cse_insn): Second arg is an RTX now.
Jeffrey A Law [Sun, 5 Jul 1998 23:59:03 +0000 (23:59 +0000)]
cse.c (cse_insn): Second arg is an RTX now.

        * cse.c (cse_insn): Second arg is an RTX now.  Update all callers.
        (cse_basic_block): Keep track of the current RETVAL insn for a
        libcall instead of just noting that we're in a libcall.

From-SVN: r20936

26 years agocse.c (cse_insn): When SETting (MEM (ADDRESSOF (X))) to Y...
Mark Mitchell [Sun, 5 Jul 1998 23:33:36 +0000 (23:33 +0000)]
cse.c (cse_insn): When SETting (MEM (ADDRESSOF (X))) to Y...

        * cse.c (cse_insn): When SETting (MEM (ADDRESSOF (X))) to Y,
        don't claim that the former is equivalent to the latter.

From-SVN: r20935