gcc.git
25 years agoFix discrepancies between devo and egcs.
Nick Clifton [Tue, 13 Oct 1998 12:57:14 +0000 (12:57 +0000)]
Fix discrepancies between devo and egcs.

From-SVN: r23052

25 years agoiris6.h (ASM_OUTPUT_WEAK_ALIAS): Call ASM_GLOBALIZE_LABEL.
Jason Merrill [Tue, 13 Oct 1998 11:50:20 +0000 (11:50 +0000)]
iris6.h (ASM_OUTPUT_WEAK_ALIAS): Call ASM_GLOBALIZE_LABEL.

* mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS): Call ASM_GLOBALIZE_LABEL.
* varasm.c (assemble_start_function et al): Don't call
ASM_GLOBALIZE_LABEL for weak symbols.

From-SVN: r23051

25 years agojcf-dump.c (process_class): Use FATAL_EXIT_CODE, not -1.
Tom Tromey [Tue, 13 Oct 1998 11:49:26 +0000 (11:49 +0000)]
jcf-dump.c (process_class): Use FATAL_EXIT_CODE, not -1.

* jcf-dump.c (process_class): Use FATAL_EXIT_CODE, not -1.
(main): Likewise.  Exit with SUCCESS_EXIT_CODE at end of
function.
Include <config.h> and "system.h".
(disassemble_method): Undefine RET to avoid clash with
config/i386/i386.h.

From-SVN: r23050

25 years agoCheck for NULL return from gen_lowpart_if_possible().
Nick Clifton [Tue, 13 Oct 1998 11:39:26 +0000 (11:39 +0000)]
Check for NULL return from gen_lowpart_if_possible().

From-SVN: r23049

25 years agoconfigure: Add pattern to replace "build_tooldir"'s definition in the generated Makef...
Manfred Hollstein [Tue, 13 Oct 1998 10:48:25 +0000 (10:48 +0000)]
configure: Add pattern to replace "build_tooldir"'s definition in the generated Makefile...

* configure: Add pattern to replace "build_tooldir"'s
definition in the generated Makefile with "tooldir"'s
actual value.

From-SVN: r23048

25 years ago* collect2.c (main): Pass -EL/-EB through to the compiler.
Jeffrey A Law [Tue, 13 Oct 1998 10:26:28 +0000 (10:26 +0000)]
* collect2.c (main): Pass -EL/-EB through to the compiler.

From-SVN: r23047

25 years agoexpr.c (push_block): Handle targets where the stack grows to higher addresses...
Herman A.J. ten Brugge [Tue, 13 Oct 1998 10:08:10 +0000 (12:08 +0200)]
expr.c (push_block): Handle targets where the stack grows to higher addresses...

        * expr.c (push_block): Handle targets where the stack grows
        to higher addresses, but args grow to lower addresses and
        ACCUMULATE_OUTGOING_ARGS is not defined.

From-SVN: r23046

25 years agoMakefile.in (.SUFFIXES): Don't use any.
Dave Love [Tue, 13 Oct 1998 08:51:49 +0000 (08:51 +0000)]
Makefile.in (.SUFFIXES): Don't use any.

1998-10-12  Dave Love  <fx@gnu.org>
* Makefile.in (.SUFFIXES): Don't use any.
(all-unilib): New target, like old all.
(all): Use it.
(.PHONY): Add all-unilib.

From-SVN: r23045

25 years agoRegenerated.
Dave Love [Tue, 13 Oct 1998 08:50:24 +0000 (08:50 +0000)]
Regenerated.

From-SVN: r23044

25 years agoRevert bogus previous checkin.
Dave Love [Tue, 13 Oct 1998 08:49:54 +0000 (08:49 +0000)]
Revert bogus previous checkin.

From-SVN: r23043

25 years ago
Jeff Law [Tue, 13 Oct 1998 08:39:01 +0000 (02:39 -0600)]

Doh!

From-SVN: r23042

25 years ago* config.sub: Bring back lost sparcv9.
Jeffrey A Law [Tue, 13 Oct 1998 08:37:39 +0000 (08:37 +0000)]
* config.sub: Bring back lost sparcv9.

From-SVN: r23041

25 years ago* Makefile.in (all-snvavigator): Remove all-flexlm dependency.
Jeffrey A Law [Tue, 13 Oct 1998 08:19:08 +0000 (08:19 +0000)]
* Makefile.in (all-snvavigator): Remove all-flexlm dependency.

From-SVN: r23040

25 years ago* lib/old-dejagnu.exp (old-dejagnu): support `Additional sources:'
Alexandre Oliva [Tue, 13 Oct 1998 07:52:27 +0000 (07:52 +0000)]
* lib/old-dejagnu.exp (old-dejagnu): support `Additional sources:'

From-SVN: r23039

25 years agoExtend meaning of 'c' operands to support .vtinherit.
Catherine Moore [Tue, 13 Oct 1998 06:05:23 +0000 (06:05 +0000)]
Extend meaning of 'c' operands to support .vtinherit.

From-SVN: r23038

25 years agoc4x.c: Convert to gen_rtx_FOO.
Michael Hayes [Tue, 13 Oct 1998 03:04:59 +0000 (03:04 +0000)]
c4x.c: Convert to gen_rtx_FOO.

* config/c4x/c4x.c:  Convert to gen_rtx_FOO.
Added ATTRIBUTE_UNUSED to unused function arguments.
(rc_reg_operand): New predicate.
(c4x_rptb_insert): New function.
(c4x_rptb_nop_p): Recognize modified rptb_top pattern.
(c4x_optimization_options): New function.
* config/c4x/c4x.md: Convert to gen_rtx_FOO.
 (decrement_and_branch_on_count): New pattern.
 (rptb_top): Modified pattern to work with BCT optimization.
* config/c4x/c4x.h (RC_REG): New register class.
(rc_reg_operand): Define prototype.
(IS_RC_REG): New macro.
(IS_RC_OR_PSEUDO_REG): New macro.
(IS_RC_OR_PSEUDO_REGNO): New macro.
(OPTIMIZATION_OPTIONS): Define.

From-SVN: r23037

25 years agoDaily bump.
Jeff Law [Tue, 13 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r23036

25 years ago* i386/t-cygwin32 (TARGET_LIBGCC2_CFLAGS): Don't define.
Jason Merrill [Mon, 12 Oct 1998 20:09:48 +0000 (16:09 -0400)]
* i386/t-cygwin32 (TARGET_LIBGCC2_CFLAGS): Don't define.

From-SVN: r23035

25 years ago* tinfo.cc (operator==): Always compare names.
Jason Merrill [Mon, 12 Oct 1998 20:08:54 +0000 (20:08 +0000)]
* tinfo.cc (operator==): Always compare names.

From-SVN: r23034

25 years ago* collect2.c (extract_init_priority): No priority is 65535.
Jason Merrill [Mon, 12 Oct 1998 20:08:10 +0000 (20:08 +0000)]
* collect2.c (extract_init_priority): No priority is 65535.

From-SVN: r23033

25 years agotypo fix in Jeff's Monday Morning fix. delte -> delete.
Robert Lipe [Mon, 12 Oct 1998 19:58:23 +0000 (19:58 +0000)]
typo fix in Jeff's Monday Morning fix.  delte -> delete.

From-SVN: r23032

25 years ago* decl.c (start_function): Fix cut-and-paste error.
Herman ten Brugge [Mon, 12 Oct 1998 19:34:12 +0000 (21:34 +0200)]
* decl.c (start_function): Fix cut-and-paste error.

From-SVN: r23031

25 years agoWarning fixes:
Kaveh R. Ghazi [Mon, 12 Oct 1998 17:54:46 +0000 (17:54 +0000)]
Warning fixes:

        * bad.c (ffebad_finish): Change type of variable `c' to unsigned
        char, change type of variable `s' to unsigned char *.
        * com.c (ffecom_symbol_null_): Add missing initializers.
        * fini.c (MAXNAMELEN): Undef it before defining.
        * implic.c (ffeimplic_lookup_): Change type of parameter `c' to
        unsigned char.
        * intrin.c (ffeintrin_init_0): Cast the argument of ctype macros
        to (unsigned char).
        * lex.c (ffelex_splice_tokens): Change type of variable `p' to
        unsigned char *.
        (ffelex_token_name_from_names): Cast the argument of
        `ffelex_is_firstnamechar' to (unsigned char).
        (ffelex_token_names_from_names): Likewise.
        (ffelex_token_new_name): Likewise.
        (ffelex_token_new_names): Likewise.
        * malloc.c (malloc_root_): Add missing initializer.
        * stb.c (ffestb_do): Change type of variable `p' to unsigned char *.
        (ffestb_else) Likewise.
        (ffestb_else3_) Likewise.
        (ffestb_endxyz) Likewise.
        (ffestb_goto) Likewise.
        (ffestb_let) Likewise.
        (ffestb_varlist) Likewise.
        (ffestb_R522) Likewise.
        (ffestb_R528) Likewise.
        (ffestb_R834) Likewise.
        (ffestb_R835) Likewise.
        (ffestb_R838) Likewise.
        (ffestb_R1102) Likewise.
        (ffestb_blockdata) Likewise.
        (ffestb_R1212) Likewise.
        (ffestb_R810) Likewise.
        (ffestb_R10014_): Cast the argument of `ffelex_is_firstnamechar'
        to (unsigned char).
        (ffestb_V014): Change type of variable `p' to unsigned char *.
        (ffestb_dummy) Likewise.
        (ffestb_R524) Likewise.
        (ffestb_R547) Likewise.
        (ffestb_decl_chartype) Likewise.
        (ffestb_decl_dbltype) Likewise.
        (ffestb_decl_gentype) Likewise.
        (ffestb_decl_entsp_2_) Likewise.
        (ffestb_V027) Likewise.
        (ffestb_decl_R539) Likewise.
        * top.c (ffe_decode_option): Mark parameter `argc' with
        ATTRIBUTE_UNUSED.
        * where.c (ffewhere_unknown_line_): Add missing initializers.

From-SVN: r23030

25 years agoFix parallel make problem.
Michael Tiemann [Mon, 12 Oct 1998 17:45:24 +0000 (17:45 +0000)]
Fix parallel make problem.

* Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.

From-SVN: r23029

25 years agoReplace (reg 24) with (reg:CC 24)
Nick Clifton [Mon, 12 Oct 1998 15:58:14 +0000 (15:58 +0000)]
Replace (reg 24) with (reg:CC 24)

From-SVN: r23028

25 years agoInstall ChangeLog entry that got left out
Mark Mitchell [Mon, 12 Oct 1998 14:07:55 +0000 (14:07 +0000)]
Install ChangeLog entry that got left out

From-SVN: r23027

25 years agoupdate copyright
Michael Meissner [Mon, 12 Oct 1998 13:51:07 +0000 (13:51 +0000)]
update copyright

From-SVN: r23026

25 years ago
Per Bothner [Mon, 12 Oct 1998 12:43:53 +0000 (05:43 -0700)]

Merge from Cygnus internal source tree.

From-SVN: r23025

25 years ago
Per Bothner [Mon, 12 Oct 1998 12:43:52 +0000 (05:43 -0700)]

Merge from Cygnus internal source tree.

From-SVN: r23024

25 years agoMerge from Cygnus internal source tree.
Per Bothner [Mon, 12 Oct 1998 12:43:51 +0000 (05:43 -0700)]
Merge from Cygnus internal source tree.

From-SVN: r23023

25 years agoMerge from Cygnus internal source tree.
Per Bothner [Mon, 12 Oct 1998 12:43:48 +0000 (05:43 -0700)]
Merge from Cygnus internal source tree.

From-SVN: r23022

25 years ago
Per Bothner [Mon, 12 Oct 1998 12:43:39 +0000 (05:43 -0700)]

Merge from Cygnus internal source tree.

From-SVN: r23021

25 years ago8
Per Bothner [Mon, 12 Oct 1998 12:43:33 +0000 (05:43 -0700)]
8
Merge from Cygnus internal source tree.

From-SVN: r23020

25 years ago*** empty log message ***
Per Bothner [Mon, 12 Oct 1998 12:43:32 +0000 (05:43 -0700)]
*** empty log message ***

From-SVN: r23019

25 years agoMerge from Cygnus internal source tree.
Per Bothner [Mon, 12 Oct 1998 12:43:28 +0000 (05:43 -0700)]
Merge from Cygnus internal source tree.

From-SVN: r23018

25 years agoMakefile.in (build_tooldir): new variable...
Alexandre Oliva [Mon, 12 Oct 1998 11:14:11 +0000 (11:14 +0000)]
Makefile.in (build_tooldir): new variable...

* Makefile.in (build_tooldir): new variable, same as old
$(tooldir), but without depending on $(libdir)/$(unlibsubdir)
(GCC_FOR_TARGET): add -B$(build_tooldir)/bin/
(bootstrap, bootstrap2, bootstrap3, bootstrap4): ditto
* configure.in (gxx_include_dir): set default based on unlibsubdir
* Makefile.in (tooldir): ditto
(cccp.o, cpplib.o): use unlibsubdir implicitly through
gxx_include_dir, includedir and tooldir
(protoize.o, unprotoize.o): ditto

From-SVN: r23017

25 years agoMakefile.in (CHILL_FOR_TARGET): Mirror recent changes to CC_FOR_TARGET and friends.
Jeff Law [Mon, 12 Oct 1998 11:11:16 +0000 (05:11 -0600)]
Makefile.in (CHILL_FOR_TARGET): Mirror recent changes to CC_FOR_TARGET and friends.

        * Makefile.in (CHILL_FOR_TARGET): Mirror recent changes to
        CC_FOR_TARGET and friends.
Mon Oct 12 12:09:30 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
        * Makefile.in (build_tooldir): new variable, same as tooldir
        (CC_FOR_TARGET, GCC_FOR_TARGET, CXX_FOR_TARGET): add
        -B$(build_tooldir)/bin/
        (BASE_FLAGS_TO_PASS): pass build_tooldir down

From-SVN: r23016

25 years agoopen.c (_XOPEN_SOURCE): Define.
Dave Love [Mon, 12 Oct 1998 11:09:53 +0000 (11:09 +0000)]
open.c (_XOPEN_SOURCE): Define.

1998-10-12  Dave Love  <fx@gnu.org>
* libI77/open.c (_XOPEN_SOURCE): Define.

From-SVN: r23015

25 years agoMakefile.in (.SUFFIXES): Don't use any.
Dave Love [Mon, 12 Oct 1998 11:08:12 +0000 (11:08 +0000)]
Makefile.in (.SUFFIXES): Don't use any.

1998-10-12  Dave Love  <fx@gnu.org>
* Makefile.in (.SUFFIXES): Don't use any.
(all-unilib): New target, like old all.
(all): Use it.
(.PHONY): Add all-unilib.

From-SVN: r23014

25 years agothumb.c - add warning about PIC code not being supported just yet.
Nick Clifton [Mon, 12 Oct 1998 10:53:08 +0000 (10:53 +0000)]
thumb.c - add warning about PIC code not being supported just yet.

arm.c - synchronised with devo
arm.md - synchronised with devo
README-interworking - sychronised with devo.

From-SVN: r23013

25 years agoFinal changes from devo<->egcs merge.
Jeff Law [Mon, 12 Oct 1998 10:44:57 +0000 (04:44 -0600)]
Final changes from devo<->egcs merge.

Final changes from devo<->egcs merge.  Ugh, a year of configury/Makefile
hacking.

From-SVN: r23012

25 years agoflow.c: Update comment.
John Wehle [Mon, 12 Oct 1998 10:06:49 +0000 (10:06 +0000)]
flow.c: Update comment.

        * flow.c: Update comment.
        (notice_stack_pointer_modification): New static function.
        (record_volatile_insns): Use it.
        (mark_regs_live_at_end): Mark the stack pointer as alive
        at the end of the function if current_function_sp_is_unchanging
        is set.
        (life_analysis_1): Set current_function_sp_is_unchanging.
        * function.c: Define it.
        (init_function_start): Initialize it.
        * output.h: Declare it.
        * reorg.c (fill_simple_delay_slots, dbr_schedule): Mark
        the stack pointer as alive at the end of the function if
        current_function_sp_is_unchanging is set.
        * i386.c (ix86_epilogue): Optimize the restoring
        of the stack pointer.

From-SVN: r23009

25 years agoconfig.shared (depend.new): delete libc-lock.h from dependencies, and fix _G_config...
Alexandre Oliva [Mon, 12 Oct 1998 09:28:02 +0000 (09:28 +0000)]
config.shared (depend.new): delete libc-lock.h from dependencies, and fix _G_config.h -> $(_G_CONFIG_H) rule

* config.shared (depend.new): delete libc-lock.h from
dependencies, and fix _G_config.h -> $(_G_CONFIG_H) rule
* depend: Rebuilt.

From-SVN: r23008

25 years agoinstantiate5.C: New test.
Alexandre Oliva [Mon, 12 Oct 1998 09:25:50 +0000 (09:25 +0000)]
instantiate5.C: New test.

* g++.old-deja/g++.pt/instantiate5.C: New test.  `global
constructors' name is not unique
* g++.old-deja/g++.pt/instantiate5.cc: ditto
* g++.old-deja/g++.pt/instantiate5-main.cc: ditto

From-SVN: r23007

25 years agoexplicit74.C: New test.
Alexandre Oliva [Mon, 12 Oct 1998 05:12:44 +0000 (05:12 +0000)]
explicit74.C: New test.

* g++.old-deja/g++.pt/explicit74.C: New test.  Explicit
  instantiation of template produces incorrect code for delete
  expression.

From-SVN: r23006

25 years agoconfigure.in: Reorder Makefile, g2c.h in AC_OUTPUT.
Dave Love [Mon, 12 Oct 1998 02:52:16 +0000 (02:52 +0000)]
configure.in: Reorder Makefile, g2c.h in AC_OUTPUT.

1998-10-12  Dave Love  <d.love@dl.ac.uk>
* configure.in: Reorder Makefile, g2c.h in AC_OUTPUT.

From-SVN: r23005

25 years agot-cygwin32 (TARGET_LIBGCC2_CFLAGS): Define.
Jason Merrill [Mon, 12 Oct 1998 02:14:03 +0000 (02:14 +0000)]
t-cygwin32 (TARGET_LIBGCC2_CFLAGS): Define.

* i386/t-cygwin32 (TARGET_LIBGCC2_CFLAGS): Define.
(cp) * inc/typeinfo: Add #pragma interface.
(operator!=): Just call operator==.
* tinfo.cc: Add #pragma implementation.
(operator==): Move from inc/typeinfo and tinfo2.cc.
Check __COMMON_UNRELIABLE instead of _WIN32.

From-SVN: r23004

25 years agotypeck2.c (my_friendly_abort): Add URL.
Jason Merrill [Mon, 12 Oct 1998 02:08:18 +0000 (22:08 -0400)]
typeck2.c (my_friendly_abort): Add URL.

* typeck2.c (my_friendly_abort): Add URL.
* decl.c (start_method): Added extra parameter for attributes.
* cp-tree.h (start_method): Update prototype.
* parse.y (fn.def2): Update start_method parameter list.

From-SVN: r23003

25 years agoBump for snapshot
Jeffrey A Law [Mon, 12 Oct 1998 01:22:57 +0000 (19:22 -0600)]
Bump for snapshot

From-SVN: r23001

25 years agoDaily bump.
Jeff Law [Mon, 12 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r23000

25 years agoinit8.C: New test.
Alexandre Oliva [Sun, 11 Oct 1998 22:52:49 +0000 (22:52 +0000)]
init8.C: New test.

* g++.old-deja/g++.other/init8.C: New test.  uninitialized
  automatic array of const is ill-formed

From-SVN: r22999

25 years agoAdd Michael Hayes as c4x maintainer
Michael Hayes [Sun, 11 Oct 1998 21:38:14 +0000 (21:38 +0000)]
Add Michael Hayes as c4x maintainer

From-SVN: r22998

25 years agoc-pragma.c (handle_pragma_token): If passed a token instead of a tree, use that as...
Robert Lipe [Sun, 11 Oct 1998 21:05:04 +0000 (21:05 +0000)]
c-pragma.c (handle_pragma_token): If passed a token instead of a tree, use that as the pack value.

        * c-pragma.c (handle_pragma_token): If passed a token instead
        of a tree, use that as the pack value.

From-SVN: r22997

25 years agottp53.C: New test.
Alexandre Oliva [Sun, 11 Oct 1998 19:59:27 +0000 (19:59 +0000)]
ttp53.C: New test.

* g++.old-deja/g++.pt/ttp53.C: New test.  incorrect substitution
of template parameter?

From-SVN: r22996

25 years agoconv3.C: New test.
Alexandre Oliva [Sun, 11 Oct 1998 19:36:47 +0000 (19:36 +0000)]
conv3.C: New test.

* g++.old-deja/g++.other/conv3.C: New test.  conversion discards
const

From-SVN: r22995

25 years agopmf2.C: New test.
Alexandre Oliva [Sun, 11 Oct 1998 19:29:17 +0000 (19:29 +0000)]
pmf2.C: New test.

* g++.old-deja/g++.other/pmf2.C: New test.  invalid
pointer-to-member expression

From-SVN: r22994

25 years agofriend5.C: New test.
Alexandre Oliva [Sun, 11 Oct 1998 19:23:16 +0000 (19:23 +0000)]
friend5.C: New test.

* g++.old-deja/g++.other/friend5.C: New test.  bogus friend
declaration causes ICE

From-SVN: r22993

25 years agomain1.C: New test.
Alexandre Oliva [Sun, 11 Oct 1998 18:53:41 +0000 (18:53 +0000)]
main1.C: New test.

* g++.old-deja/g++.ns/main1.C: New test.  main() should only be
  reserved in the global namespace

From-SVN: r22992

25 years ago* stl_config.h (__SGI_STL_USE_AUTO_PTR_CONVERSIONS): Define.
Mark Mitchell [Sun, 11 Oct 1998 17:55:56 +0000 (17:55 +0000)]
* stl_config.h (__SGI_STL_USE_AUTO_PTR_CONVERSIONS): Define.

From-SVN: r22989

25 years agomemory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
Mark Mitchell [Sun, 11 Oct 1998 17:48:12 +0000 (17:48 +0000)]
memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.

* memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
(auto_ptr::operator auto_ptr<_Tp1>): Add missing
semicolon.

From-SVN: r22988

25 years agocp-tree.h (specializations_of_same_template_p): Declare.
Mark Mitchell [Sun, 11 Oct 1998 17:38:53 +0000 (17:38 +0000)]
cp-tree.h (specializations_of_same_template_p): Declare.

* cp-tree.h (specializations_of_same_template_p): Declare.
* pt.c (specializations_of_same_template_p): New function.
(unify): Use it.
* search.c (get_template_base): Use it.
(get_template_base_recursive): Likewise.

From-SVN: r22987

25 years ago* flow.c (find_basic_blocks_1): Fix prototype.
Mark Mitchell [Sun, 11 Oct 1998 15:02:04 +0000 (15:02 +0000)]
* flow.c (find_basic_blocks_1): Fix prototype.

From-SVN: r22986

25 years agoinstantiate4.C: New test: -frepo does not generate needed virtual table
Alexandre Oliva [Sun, 11 Oct 1998 11:12:06 +0000 (11:12 +0000)]
instantiate4.C: New test: -frepo does not generate needed virtual table

* g++.old-deja/g++.pt/instantiate4.C: New test: -frepo does not
generate needed virtual table
* lib/old-dejagnu.exp (old-dejagnu): support `Build then link:'

From-SVN: r22984

25 years agoFine-grained control of -fcheck-memory-usage with new no_check_memory_usage attribute.
Ken Raeburn [Sun, 11 Oct 1998 02:21:54 +0000 (02:21 +0000)]
Fine-grained control of -fcheck-memory-usage with new no_check_memory_usage attribute.

Fine-grained control of -fcheck-memory-usage with new no_check_memory_usage
attribute.  Misc minor bugfixes and tests for it too.

From-SVN: r22983

25 years agoconfig.shared (depend.new): Fix typo.
Jeffrey A Law [Sun, 11 Oct 1998 00:53:50 +0000 (00:53 +0000)]
config.shared (depend.new): Fix typo.

        * config.shared (depend.new): Fix typo.
        * depend: Rebuilt.

From-SVN: r22982

25 years agoDaily bump.
Jeff Law [Sun, 11 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22981

25 years agocppexp.c: When forcing unsigned comparisons, cast both sides of the operation.
Zack Weinberg [Sun, 11 Oct 1998 00:05:11 +0000 (00:05 +0000)]
cppexp.c: When forcing unsigned comparisons, cast both sides of the operation.

        * cppexp.c: When forcing unsigned comparisons, cast both sides
        of the operation.
        * cpphash.h: Move static declaration of hashtab[]...
        * cpphash.c: ...here.
        * cpplib.c: Cast difference of two pointers to size_t before
        comparing it to size_t.  Cast signed to unsigned
        before comparing to size_t. (FIXME: struct argdata should use
        unsigned buffer sizes.)
        * cpplib.h (struct cpp_reader): Declare token_buffer_size as
        unsigned int. (CPP_WRITTEN): Cast return value to size_t.
        (CPP_RESERVE): Parenthesize N for evaluation order, cast to
        size_t before comparison.

From-SVN: r22980

25 years agoflow.c (find_basic_blocks): Delte "live_reachable_p" argument.
Jeffrey A Law [Sat, 10 Oct 1998 23:18:32 +0000 (23:18 +0000)]
flow.c (find_basic_blocks): Delte "live_reachable_p" argument.

        * flow.c (find_basic_blocks): Delte "live_reachable_p" argument.
        (find_basic_blocks_1): Similarly.
        * output.h (find_basic_blocks): Fix prototype.
        * gcse.c, toplev.c: Don't pass "live_reachable_p" argument to
        find_basic_blocks anymore.

From-SVN: r22979

25 years agobasic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
Richard Henderson [Sat, 10 Oct 1998 22:03:34 +0000 (15:03 -0700)]
basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.

        * basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
        (sbitmap_free, sbitmap_vector_free): New macros.
        * output.h (rtl_dump_file): Declare.

From-SVN: r22978

25 years ago* regmove.c (optimize_reg_copy_3): Honor TRULY_NOOP_TRUNCATION.
Jeffrey A Law [Sat, 10 Oct 1998 16:03:44 +0000 (16:03 +0000)]
* regmove.c (optimize_reg_copy_3): Honor TRULY_NOOP_TRUNCATION.

From-SVN: r22977

25 years agothese XFAILs are hard to get right on the first try.
Alexandre Oliva [Sat, 10 Oct 1998 11:50:22 +0000 (11:50 +0000)]
these XFAILs are hard to get right on the first try.

these XFAILs are hard to get right on the first try.  Yet harder when results
are different on different platforms :-)

From-SVN: r22976

25 years agodecl2.c (start_objects): Add new variable `joiner' and initialize it properly.
Manfred Hollstein [Sat, 10 Oct 1998 09:24:06 +0000 (09:24 +0000)]
decl2.c (start_objects): Add new variable `joiner' and initialize it properly.

8
* decl2.c (start_objects): Add new variable `joiner' and
initialize it properly.

From-SVN: r22975

25 years agodecl2.c (start_objects): Add new variable `joiner' and initialize it properly.
Manfred Hollstein [Sat, 10 Oct 1998 09:24:04 +0000 (09:24 +0000)]
decl2.c (start_objects): Add new variable `joiner' and initialize it properly.


* decl2.c (start_objects): Add new variable `joiner' and
initialize it properly.

From-SVN: r22974

25 years agotypeof is an extension, -ansi -pedantic (default options) wouldn't
Alexandre Oliva [Sat, 10 Oct 1998 08:15:19 +0000 (08:15 +0000)]
typeof is an extension, -ansi -pedantic (default options) wouldn't
accept it; make it __typeof__

From-SVN: r22973

25 years agotypeof1.C: New test; typeof based on template-dependent type
Dariush Eslimi [Sat, 10 Oct 1998 08:11:06 +0000 (08:11 +0000)]
typeof1.C: New test; typeof based on template-dependent type

* g++.old-deja/g++.ext/typeof1.C: New test; typeof based on
template-dependent type

From-SVN: r22972

25 years agoparse3.C: XFAILs, not ERRORs
Alexandre Oliva [Sat, 10 Oct 1998 07:51:24 +0000 (07:51 +0000)]
parse3.C: XFAILs, not ERRORs

* g++.old-deja/g++.brendan/parse3.C: XFAILs, not ERRORs
* g++.old-deja/g++.brendan/parse5.C: XFAILs, not ERRORs
* g++.old-deja/g++.brendan/parse6.C: XFAILs, not ERRORs

From-SVN: r22971

25 years agousing5.C: New test; using decl from base class should be usable as argument of member...
Alexandre Oliva [Sat, 10 Oct 1998 07:38:29 +0000 (07:38 +0000)]
using5.C: New test; using decl from base class should be usable as argument of member function

* g++.old-deja/g++.other/using5.C: New test; using decl from base
  class should be usable as argument of member function
* g++.old-deja/g++.other/using6.C: New test; using decl from base
  class should be usable as return type of member function
* g++.old-deja/g++.other/using7.C: New test; using decl from base
  class should be usable as type of data member

From-SVN: r22970

25 years agoDaily bump.
Jeff Law [Sat, 10 Oct 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22969

25 years ago* g++.old-deja/g++.ns/extern1.C: fix XFAIL mark
Alexandre Oliva [Fri, 9 Oct 1998 21:25:57 +0000 (21:25 +0000)]
* g++.old-deja/g++.ns/extern1.C: fix XFAIL mark

From-SVN: r22968

25 years agoWarning fixes:
Kaveh R. Ghazi [Fri, 9 Oct 1998 19:17:54 +0000 (19:17 +0000)]
Warning fixes:

        * fp-bit.c (SFtype): Don't implicitly use int in declaration.
        (DFtype): Likewise.
        (_fpdiv_parts): Remove unused parameter `tmp', all callers changed.
        (divide): Remove unused variable `tmp'.
        (si_to_float): Cast numeric constant to (SItype) before comparing
        it against one.

From-SVN: r22967

25 years ago920521-1.c: Fix bogus test.
Jeff Law [Fri, 9 Oct 1998 18:22:11 +0000 (12:22 -0600)]
920521-1.c: Fix bogus test.

8
        * gcc.c-torture/special/920521-1.c: Fix bogus test.

From-SVN: r22966

25 years ago920521-1.c: Fix bogus test.
Jeff Law [Fri, 9 Oct 1998 18:22:09 +0000 (12:22 -0600)]
920521-1.c: Fix bogus test.


        * gcc.c-torture/special/920521-1.c: Fix bogus test.

From-SVN: r22965

25 years agoflow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
Graham Stott [Fri, 9 Oct 1998 16:08:51 +0000 (09:08 -0700)]
flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.

Fri Oct  9 16:03:19 1998  Graham  <grahams@rcp.co.uk>
        * flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
        * gcc.c (add_preprocessor_option): Correct typo when allocating
        memory, sizeof() argument had one too many `*'.
        (add_assembler_option): Likewise.
        (add_linker_option): Likewise.
        * gcov.c (output_data): Likewise.
        * local-alloc.c (memref_used_between_p): Likewise.
        (update_equiv_regs): Likewise.
        * loop.c (strength_reduce): Likewise.
        * reg-stack.c (record_asm_reg_life): Likewise.
        (subst_asm_stack_reg): Likewise.
        * reorg.c (dbr_schedule): Likewise.

From-SVN: r22964

25 years agoflow.c (life_analysis_1): Break out some functions.
Bernd Schmidt [Fri, 9 Oct 1998 15:58:37 +0000 (08:58 -0700)]
flow.c (life_analysis_1): Break out some functions.

Fri Oct  9 15:57:51 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
        * flow.c (life_analysis_1): Break out some functions.
        (find_basic_blocks_1): Likewise.  Also move some variables out and
        make them static.
        Rename NONLOCAL_LABEL_LIST arg to NONLOCAL_LABELS and initialize
        new static var nonlocal_label_list with it.
        (active_eh_region, nested_eh_region, label_value_list,
        nonlocal_label_list): New static variables.
        (make_edges, delete_unreachable_blocks, delete_block): New static
        functions, broken out of find_basic_blocks_1.
        (record_volatile_insns, mark_regs_live_at_end, set_noop_p,
        noop_move_p): New static functions, broken out of life_analysis_1.

From-SVN: r22963

25 years agoexpmed.c (store_bit_field): Pun non-integral str_rtx modes.
Richard Henderson [Fri, 9 Oct 1998 15:50:25 +0000 (08:50 -0700)]
expmed.c (store_bit_field): Pun non-integral str_rtx modes.

        * expmed.c (store_bit_field): Pun non-integral str_rtx modes.
        Take extra care for op0 now possibly being a subreg.
        (extract_bit_field): Likewise.
        * function.c (purge_addressof_1): Revert Oct 4 change.  Drop
        the reg to memory if there is no equal sized integral mode.
        * stor-layout.c (int_mode_for_mode): New function.
        * machmode.h: Prototype it.

From-SVN: r22962

25 years agoglobal.c (build_insn_chain): Verify no real insns exist past the end of the last...
Jeffrey A Law [Fri, 9 Oct 1998 13:28:55 +0000 (13:28 +0000)]
global.c (build_insn_chain): Verify no real insns exist past the end of the last basic block, then exit the loop.

        * global.c (build_insn_chain): Verify no real insns exist past the
        end of the last basic block, then exit the loop.

From-SVN: r22961

25 years agosearch.c (expand_upcast_fixups): Tweak to match 1998-10-07 change to vtable types.
Mark Mitchell [Fri, 9 Oct 1998 11:01:42 +0000 (11:01 +0000)]
search.c (expand_upcast_fixups): Tweak to match 1998-10-07 change to vtable types.

* search.c (expand_upcast_fixups): Tweak to match 1998-10-07
change to vtable types.

From-SVN: r22959

25 years agocvt.c (ocp_convert): Avoid infinite recursion caused by 1998-10-03 change.
Mark Mitchell [Fri, 9 Oct 1998 10:32:01 +0000 (10:32 +0000)]
cvt.c (ocp_convert): Avoid infinite recursion caused by 1998-10-03 change.

* cvt.c (ocp_convert): Avoid infinite recursion caused by
1998-10-03 change.

From-SVN: r22958

25 years agoWarning fixes:
Kaveh R. Ghazi [Fri, 9 Oct 1998 10:08:26 +0000 (10:08 +0000)]
Warning fixes:

        * ch-tree.h (build_delay_case_end): Remove unused parameter.
        (build_receive_case_end): Likewise.
        (check_queue_size): Likewise.
        * parse.c: Callers changed.
        * satisfy.c: Likewise.
        * tasking.c (build_receive_buffer_case_end): Remove unused
        parameter `label_cnt'.
        (build_receive_signal_case_end): Likewise.
        (build_receive_case_end): Likewise.
        (build_delay_case_end): Likewise.
        (check_queue_size): Likewise for parameter `type'.
        All callers changed.

From-SVN: r22957

25 years agoexpr6.C: New test.
Alexandre Oliva [Fri, 9 Oct 1998 09:48:27 +0000 (09:48 +0000)]
expr6.C: New test.

* g++.old-deja/g++.pt/expr6.C: New test.  operator?: breaks
matching of template brackets.
(forgot to cvs add it yesterday)

From-SVN: r22956

25 years ago* loop.c (insert_bct): Ensure loop_iteration_var non-zero before use.
David Edelsohn [Fri, 9 Oct 1998 08:42:34 +0000 (08:42 +0000)]
* loop.c (insert_bct): Ensure loop_iteration_var non-zero before use.

From-SVN: r22955

25 years agonew
Jason Merrill [Fri, 9 Oct 1998 02:08:19 +0000 (22:08 -0400)]
new

From-SVN: r22954

25 years agoDaily bump.
Jeff Law [Fri, 9 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22953

25 years agoconfig.guess: Merge with FSF.
Ian Lance Taylor [Fri, 9 Oct 1998 00:15:05 +0000 (00:15 +0000)]
config.guess: Merge with FSF.

        * config.guess: Merge with FSF.
Merged with devo.

From-SVN: r22952

25 years agopt.c (resolve_overloaded_unification): New fn.
Jason Merrill [Fri, 9 Oct 1998 00:10:57 +0000 (00:10 +0000)]
pt.c (resolve_overloaded_unification): New fn.

* pt.c (resolve_overloaded_unification): New fn.
(try_one_overload): Likewise.
(unify): Don't fail on unknown type.
(type_unification_real): Likewise.  Use resolve_overloaded_unification
to handle an overloaded argument.
(template_args_equal): Split out...
(comp_template_args): From here.
(determine_specialization): Also allow a template with more
parms than were explicitly specified.
* cp-tree.h: Add template_args_equal.
* call.c (resolve_args): Remove TEMPLATE_ID_EXPR code.

From-SVN: r22951

25 years agoconfig.sub: Merge with FSF.
Ian Lance Taylor [Fri, 9 Oct 1998 00:07:36 +0000 (18:07 -0600)]
config.sub: Merge with FSF.

8
* config.sub: Merge with FSF.
* config.sub: Accept m68060 and m5200 as CPU names.
Merge with devo/config.sub.

From-SVN: r22950

25 years agoconfig.sub: Merge with FSF.
Ian Lance Taylor [Fri, 9 Oct 1998 00:07:35 +0000 (18:07 -0600)]
config.sub: Merge with FSF.


* config.sub: Merge with FSF.
* config.sub: Accept m68060 and m5200 as CPU names.
Merge with devo/config.sub.

From-SVN: r22949

25 years agoconfig-ml.in: Default to being verbose, to match Feb 18 change to configure.
Ian Lance Taylor [Thu, 8 Oct 1998 23:34:45 +0000 (23:34 +0000)]
config-ml.in: Default to being verbose, to match Feb 18 change to configure.

        * config-ml.in: Default to being verbose, to match Feb 18 change to
        configure.

From-SVN: r22948

25 years agoVarious libtool updates from devo, including update to libtool 1.2b
Ian Lance Taylor [Thu, 8 Oct 1998 23:32:31 +0000 (23:32 +0000)]
Various libtool updates from devo, including update to libtool 1.2b

From-SVN: r22947

25 years agomissing: Update to version from automake 1.3.
Ian Lance Taylor [Thu, 8 Oct 1998 23:28:38 +0000 (23:28 +0000)]
missing: Update to version from automake 1.3.

Wed Jun 10 11:19:47 1998  Ian Lance Taylor  <ian@cygnus.com>
        * missing: Update to version from automake 1.3.
Bring over from devo.

From-SVN: r22946