gcc.git
25 years agoFix sparc-elf bugs stemming from solaris2 changes.
Jim Wilson [Wed, 3 Mar 1999 19:19:29 +0000 (19:19 +0000)]
Fix sparc-elf bugs stemming from solaris2 changes.

* sparc/elf.h (MULDI3_LIBCALL, DIVDI3_LIBCALL, UDIVDI3_LIBCALL,
MODDI3_LIBCALL, UMODDI3_LIBCALL, STDC_0_IN_SYSTEM_HEADERS): Undef.
(INIT_SUBTARGET_OPTABS): Define to empty.

From-SVN: r25564

25 years agoclass.c, [...]: Add 'static' to make SunOS 4 cc happy.
Jason Merrill [Wed, 3 Mar 1999 11:24:45 +0000 (11:24 +0000)]
class.c, [...]: Add 'static' to make SunOS 4 cc happy.

* class.c, decl2.c, method.c, pt.c: Add 'static' to make SunOS 4
cc happy.
* decl2.c (import_export_class): Also return if
CLASSTYPE_INTERFACE_ONLY is set.

From-SVN: r25562

25 years agoNew test case
Martin v. Löwis [Wed, 3 Mar 1999 11:23:47 +0000 (11:23 +0000)]
New test case

From-SVN: r25561

25 years agodecl.c (push_overloaded_decl): Only overwrite the old binding if there was one.
Martin v. Löwis [Wed, 3 Mar 1999 11:22:42 +0000 (11:22 +0000)]
decl.c (push_overloaded_decl): Only overwrite the old binding if there was one.

* decl.c (push_overloaded_decl): Only overwrite the old binding if
there was one.
* decl2.c (do_local_using_decl): Fix loop termination.

From-SVN: r25560

25 years agoMerge from fixincl-branch
Bruce Korb [Wed, 3 Mar 1999 08:07:47 +0000 (08:07 +0000)]
Merge from fixincl-branch

From-SVN: r25559

25 years agoMerge from fixincl-branch
Bruce Korb [Wed, 3 Mar 1999 07:41:52 +0000 (07:41 +0000)]
Merge from fixincl-branch

From-SVN: r25558

25 years agoDaily bump.
Jeff Law [Wed, 3 Mar 1999 00:45:33 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25555

25 years agocp-tree.h (determine_specialization): Don't declare.
Mark Mitchell [Tue, 2 Mar 1999 23:44:49 +0000 (23:44 +0000)]
cp-tree.h (determine_specialization): Don't declare.

* cp-tree.h (determine_specialization): Don't declare.
* pt.c (determine_specialization): Make it static.  Eliminate
complain parameter.  Note that decl is always non-NULL now, and
simplify accordingly.

From-SVN: r25554

25 years agodecl.c (maybe_push_to_top_level): Always call push_cp_function_context.
Mark Mitchell [Tue, 2 Mar 1999 23:29:37 +0000 (23:29 +0000)]
decl.c (maybe_push_to_top_level): Always call push_cp_function_context.

* decl.c (maybe_push_to_top_level): Always call
push_cp_function_context.
(pop_from_top_level): Always call pop_cp_function_context.

From-SVN: r25553

25 years agoUpdate NEWS derived file
Craig Burley [Tue, 2 Mar 1999 22:01:38 +0000 (17:01 -0500)]
Update NEWS derived file

From-SVN: r25552

25 years agoFix IDATE (VXT) intrinsic
Craig Burley [Tue, 2 Mar 1999 21:59:52 +0000 (21:59 +0000)]
Fix IDATE (VXT) intrinsic

From-SVN: r25551

25 years agoUpdate BUGS, NEWS derived files
Craig Burley [Tue, 2 Mar 1999 21:49:48 +0000 (16:49 -0500)]
Update BUGS, NEWS derived files

From-SVN: r25550

25 years agodoc changes from Dave Love left over
Craig Burley [Tue, 2 Mar 1999 21:45:55 +0000 (21:45 +0000)]
doc changes from Dave Love left over

From-SVN: r25549

25 years agofix references for HTML, etc.
Craig Burley [Tue, 2 Mar 1999 21:41:30 +0000 (21:41 +0000)]
fix references for HTML, etc.

From-SVN: r25548

25 years agodelete fixed bugs, describe one as appropriate news
Craig Burley [Tue, 2 Mar 1999 21:14:32 +0000 (21:14 +0000)]
delete fixed bugs, describe one as appropriate news

From-SVN: r25547

25 years agodoc 1.1.2 news in trunk
Craig Burley [Tue, 2 Mar 1999 21:06:55 +0000 (21:06 +0000)]
doc 1.1.2 news in trunk

From-SVN: r25546

25 years agoSupport -ax for Fortran code
Craig Burley [Tue, 2 Mar 1999 20:44:33 +0000 (20:44 +0000)]
Support -ax for Fortran code

From-SVN: r25545

25 years agofix STAT, LSTAT, FSTAT, DATE_AND_TIME docs
Craig Burley [Tue, 2 Mar 1999 20:40:59 +0000 (20:40 +0000)]
fix STAT, LSTAT, FSTAT, DATE_AND_TIME docs

From-SVN: r25544

25 years agofix news-doc item
Craig Burley [Tue, 2 Mar 1999 20:38:14 +0000 (20:38 +0000)]
fix news-doc item

From-SVN: r25543

25 years agoSplit old ChangeLog entries into ChangeLog.0
Craig Burley [Tue, 2 Mar 1999 20:35:06 +0000 (15:35 -0500)]
Split old ChangeLog entries into ChangeLog.0

From-SVN: r25542

25 years agoclarify g77 bug-reporting docs
Craig Burley [Tue, 2 Mar 1999 20:30:27 +0000 (20:30 +0000)]
clarify g77 bug-reporting docs

From-SVN: r25541

25 years agosh.c (force_into): New function.
J"orn Rennecke [Tue, 2 Mar 1999 16:42:59 +0000 (16:42 +0000)]
sh.c (force_into): New function.

* sh.c (force_into): New function.
(expand_block_move): Use it.

From-SVN: r25540

25 years agoAdd ability to display omitted search directories.
Nick Clifton [Tue, 2 Mar 1999 10:41:07 +0000 (10:41 +0000)]
Add ability to display omitted search directories.

From-SVN: r25539

25 years agoOops - fixed typos in previous delta
Nick Clifton [Tue, 2 Mar 1999 09:29:26 +0000 (09:29 +0000)]
Oops - fixed typos in previous delta

From-SVN: r25538

25 years agoRename gxx_include_dir to gcc_gxx_include_dir
Nick Clifton [Tue, 2 Mar 1999 09:25:31 +0000 (09:25 +0000)]
Rename gxx_include_dir to gcc_gxx_include_dir
Fix computation of gcc_tooldir.

From-SVN: r25537

25 years agoRename CYGNUS LOCAL to EGCS LOCAL
Nick Clifton [Tue, 2 Mar 1999 09:20:14 +0000 (09:20 +0000)]
Rename CYGNUS LOCAL to EGCS LOCAL

From-SVN: r25536

25 years agounroll.c (copy_loop_body): Don't make extra copies of NOTE_INSN_LOOP_CONT notes.
J"orn Rennecke [Tue, 2 Mar 1999 08:48:09 +0000 (08:48 +0000)]
unroll.c (copy_loop_body): Don't make extra copies of NOTE_INSN_LOOP_CONT notes.

* unroll.c (copy_loop_body): Don't make extra copies of
NOTE_INSN_LOOP_CONT notes.

From-SVN: r25535

25 years agotree.c (save_tree_status): Don't treat functions with no context as nested.
Mark Mitchell [Tue, 2 Mar 1999 07:42:49 +0000 (07:42 +0000)]
tree.c (save_tree_status): Don't treat functions with no context as nested.

* tree.c (save_tree_status): Don't treat functions with no context
as nested.

From-SVN: r25534

25 years agoMakefile.in (MAKEINFO): Use makeinfo built from sibling tree when available.
Robert Lipe [Tue, 2 Mar 1999 07:40:24 +0000 (07:40 +0000)]
Makefile.in (MAKEINFO): Use makeinfo built from sibling tree when available.

        * Makefile.in (MAKEINFO): Use makeinfo built from sibling
        tree when available.

From-SVN: r25533

25 years agoalpha.c (alpha_cpu_name, [...]): Add the `const' keyword.
Kaveh R. Ghazi [Tue, 2 Mar 1999 07:21:47 +0000 (07:21 +0000)]
alpha.c (alpha_cpu_name, [...]): Add the `const' keyword.

        * alpha.c (alpha_cpu_name, alpha_cpu_string, alpha_tp_string,
        alpha_fprm_string, alpha_fptm_string, alpha_mlat_string,
        current_function_file): Add the `const' keyword.
        (normal_memory_operand): Mark parameter `mode' with
        ATTRIBUTE_UNUSED.
        (alpha_expand_unaligned_load): Add a default case to a switch.
        * alpha.h (alpha_cpu_string, alpha_fprm_string, alpha_fptm_string,
        alpha_tp_string, alpha_mlat_string): Add the `const' keyword.
        (normal_memory_operand): Add prototype.
        * alpha.md: Cast an expression to `unsigned HOST_WIDE_INT' when
        comparing against one.

From-SVN: r25532

25 years agomips.c (abort_with_insn): Make function static...
Kaveh R. Ghazi [Tue, 2 Mar 1999 07:07:33 +0000 (07:07 +0000)]
mips.c (abort_with_insn): Make function static...

        * mips.c (abort_with_insn): Make function static, add a prototype,
        constify 2nd parameter and mark with ATTRIBUTE_NORETURN.
        (current_function_file, mips_cpu_string, mips_isa_string,
        mips_abi_string, mips_no_mips16_string, mips_entry_string,
        mips_move_1word, mips_move_2words, output_block_move, load_store,
        override_options, make_temp_file, mips16_fp_args): Qualify a char*
        with the `const' keyword.
        * mips.h (current_function_file, mips_cpu_string, mips_isa_string,
        mips_abi_string, mips_entry_string, mips_no_mips16_string,
        mips_move_1word, mips_move_2words, output_block_move): Likewise.
        (abort_with_insn): Remove extern prototype.
        * mips.md: Qualify a char* with the `const' keyword.
        Remove many unused variables named `label'.

From-SVN: r25531

25 years agoMakefile.in (cpp_install_dir, [...]): New variables.
H.J. Lu [Tue, 2 Mar 1999 00:59:35 +0000 (17:59 -0700)]
Makefile.in (cpp_install_dir, [...]): New variables.


        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25530

25 years agoMakefile.in (cpp_install_dir, [...]): New variables.
H.J. Lu [Tue, 2 Mar 1999 00:59:28 +0000 (17:59 -0700)]
Makefile.in (cpp_install_dir, [...]): New variables.

p
        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25529

25 years agoMakefile.in (cpp_install_dir, [...]): New variables.
H.J. Lu [Tue, 2 Mar 1999 00:59:26 +0000 (17:59 -0700)]
Makefile.in (cpp_install_dir, [...]): New variables.


        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25528

25 years agocse.c (fold_rtx): Update comments for (const (minus (label) (label))) case.
Franz Sirl [Tue, 2 Mar 1999 00:45:45 +0000 (00:45 +0000)]
cse.c (fold_rtx): Update comments for (const (minus (label) (label))) case.

        * cse.c (fold_rtx): Update comments for (const (minus (label) (label)))
        case.
        (cse_insn): Avoid creating a bogus REG_EQUAL note for
        (const (minus (label) (label)))
        (record_jump_cond): Fix mismatched paren in comment.
Fixes powerpc label-label problem.
Bootstraps on the x86.

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

25 years agoDaily bump.
Jeff Law [Tue, 2 Mar 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25526

25 years agofinal.c (end_final): There are 11 words in the "main header" structure, not 10.
Dan Nicolaescu [Tue, 2 Mar 1999 00:08:51 +0000 (00:08 +0000)]
final.c (end_final): There are 11 words in the "main header" structure, not 10.

        * final.c (end_final): There are 11 words in the "main header"
        structure, not 10.

From-SVN: r25524

25 years ago* extend.texi: Reference __extension__ in the index.
Marc Espie [Mon, 1 Mar 1999 23:11:13 +0000 (23:11 +0000)]
* extend.texi: Reference __extension__ in the index.

From-SVN: r25523

25 years ago* g++.old-deja/g++.law/weak1.C: New test.
Jeffrey A Law [Mon, 1 Mar 1999 22:30:22 +0000 (22:30 +0000)]
* g++.old-deja/g++.law/weak1.C: New test.

From-SVN: r25520

25 years agoCorrect mistake in previous patch
Zack Weinberg [Mon, 1 Mar 1999 20:24:54 +0000 (20:24 +0000)]
Correct mistake in previous patch

From-SVN: r25519

25 years agoPatch to fix solaris2 float.h/limits.h conflict.
Jim Wilson [Mon, 1 Mar 1999 19:15:49 +0000 (19:15 +0000)]
Patch to fix solaris2 float.h/limits.h conflict.

* Makefile.in (CROSS_FLOAT_H): Delete.
(FLOAT_H): Use float_h_file.
(rest.cross, stmp-int-hdrs): Delete gfloat.h dependency.
(gfloat.h): Delete.
(stmp-int-hdrs): Use FLOAT_H instead of gfloat.h.
(mostlyclean): Delete gloat.h reference.
(install-cross-rest, install-float-h-cross, stmp-headers): Update
comments.
* configure.in (sparcv9-*-solaris2*): Set float_format to none.
(sparc-*-solaris2*): Set float_format to none for 2.5 and higher.
(float_h_file): Set from float_format.  Substitute into Makefile.in.
(float_format): No longer substitute into Makefile.in.
* cross-make (FLOAT_H): Delete.
* config/mips/t-cross64 (FLOAT_H): Delete.
* configure: Rebuilt.

From-SVN: r25518

25 years agomips.md (div_trap_normal, [...]): Require the dependent insn to be an INSN before...
Jeffrey A Law [Mon, 1 Mar 1999 15:44:24 +0000 (15:44 +0000)]
mips.md (div_trap_normal, [...]): Require the dependent insn to be an INSN before looking at its pattern.

        * mips.md (div_trap_normal, div_trap_mips16): Require the dependent
        insn to be an INSN before looking at its pattern.

From-SVN: r25517

25 years agoPatch to fix coldfire bugs found by PlumHall testing.
Jim Wilson [Mon, 1 Mar 1999 15:06:46 +0000 (15:06 +0000)]
Patch to fix coldfire bugs found by PlumHall testing.

* config/m68k/lb1sf68.asm (udivsi3): Change jmi to jcs.  Fix comments.
* config/m68k/m68k.h (LEGITIMATE_INDEX_REG_P): Reject SIGN_EXTEND of
HImode reg when TARGET_5200.

From-SVN: r25516

25 years agoFrom Toshiyasu Morita:
J"orn Rennecke [Mon, 1 Mar 1999 13:49:34 +0000 (13:49 +0000)]
From Toshiyasu Morita:

* sh.h (CACHE_LOG): SH2 has cache, too.

From-SVN: r25515

25 years agotoplev.c (compile_file): Disable -ffunction-sections and debugging warning if the...
Catherine Moore [Mon, 1 Mar 1999 12:29:35 +0000 (12:29 +0000)]
toplev.c (compile_file): Disable -ffunction-sections and debugging warning if the object format is elf.

Mon Mar  1 14:06:36 1999  Catherine Moore  <clm@cygnus.com>
        * toplev.c (compile_file):  Disable -ffunction-sections and
        debugging warning if the object format is elf.

From-SVN: r25514

25 years agoh8300.c (print_operand): Use 16 bit addressing when the data in 8-bit area and can...
Vladimir N. Makarov [Mon, 1 Mar 1999 08:53:02 +0000 (08:53 +0000)]
h8300.c (print_operand): Use 16 bit addressing when the data in 8-bit area and can not be addressed by 8-bit.

Mon Mar  1 11:46:25 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
* config/h8300/h8300.c (print_operand):  Use 16 bit addressing
when the data in 8-bit area and can not be addressed by 8-bit.

From-SVN: r25513

25 years agononcompile.exp (951025-1.c): Accept an error message on line 1 or line 2; cccp and...
Zack Weinberg [Mon, 1 Mar 1999 07:10:45 +0000 (07:10 +0000)]
noncompile.exp (951025-1.c): Accept an error message on line 1 or line 2; cccp and cpplib do this differently.

1999-03-01 Zack Weinberg  <zack@rabi.columbia.edu>
* noncompile/noncompile.exp (951025-1.c): Accept an error
message on line 1 or line 2; cccp and cpplib do this differently.

From-SVN: r25512

25 years agoDaily bump.
Jeff Law [Mon, 1 Mar 1999 00:45:05 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25511

25 years ago* flow.c (create_basic_block): Disregard integrated bb notes.
Richard Henderson [Sun, 28 Feb 1999 16:41:04 +0000 (08:41 -0800)]
* flow.c (create_basic_block): Disregard integrated bb notes.

From-SVN: r25510

25 years ago* sparc.md (blockage, nonlocal_goto_receiver): Set length to 0.
Richard Henderson [Sun, 28 Feb 1999 15:58:15 +0000 (07:58 -0800)]
* sparc.md (blockage, nonlocal_goto_receiver): Set length to 0.

From-SVN: r25509

25 years agoMinor tweaks to testing harness
Zack Weinberg [Sun, 28 Feb 1999 15:05:41 +0000 (15:05 +0000)]
Minor tweaks to testing harness

From-SVN: r25508

25 years agoNew test; derived from glibc regression
Zack Weinberg [Sun, 28 Feb 1999 15:05:16 +0000 (15:05 +0000)]
New test; derived from glibc regression

From-SVN: r25507

25 years ago990119-1.c: Renamed to...
Zack Weinberg [Sun, 28 Feb 1999 15:03:13 +0000 (15:03 +0000)]
990119-1.c: Renamed to...

1999-02-28 17:59 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
* gcc.c-torture/execute/990119-1.c: Renamed to...
* gcc.dg/990119-1.c: this, so it will only be tested once
(it's a preprocessor test, it doesn't need to be run at
multiple optimization levels).

From-SVN: r25506

25 years agot-sco5gas (crti.o): New target.
Arturo Montes [Sun, 28 Feb 1999 12:49:37 +0000 (12:49 +0000)]
t-sco5gas (crti.o): New target.

h
Sun Feb 28 14:47:53 1999  Arturo Montes  <mitosys@colomsat.com.co>
        * config/i386/t-sco5gas (crti.o): New target.

From-SVN: r25503

25 years agot-sco5gas (crti.o): New target.
Arturo Montes [Sun, 28 Feb 1999 12:49:34 +0000 (12:49 +0000)]
t-sco5gas (crti.o): New target.


Sun Feb 28 14:47:53 1999  Arturo Montes  <mitosys@colomsat.com.co>
        * config/i386/t-sco5gas (crti.o): New target.

From-SVN: r25502

25 years ago[multiple changes]
David Edelsohn [Sun, 28 Feb 1999 12:27:05 +0000 (07:27 -0500)]
[multiple changes]

Sun Feb 28 15:10:17 1999  David Edelsohn  <edelsohn@mhpcc.edu>
        * rs6000.md (elf_high, movsi_got, *movsi_got_internal,
        *movsi_got_internal_mem, GOT splitter, movdf_hardfloat32,
        movdf_softfloat32, movdf_hardfloat64, movdf_softfloat64,
        load_multiple, allocate_stack, call_indirect_aix32,
        call_indirect_aix64, call_value_indirect_aix32,
        call_value_indirect_aix64, call_indirect_nt,
        call_value_indirect_nt): Use gpc_reg_operand instead of
        register_operand.
Sun Feb 28 15:10:17 1999  Michael Meissner  <meissner@cygnus.com>
        * rs6000.md (one_cmplsi2, andsi3, iorsi3, xorsi3, *eqvsi3,
        *andcsi3, *iorcsi3, *nandsi3, *norsi3): Add alternatives to use CR
        other than cr0.
        * rs6000.c (and{,64}_operand): If the user did -ffixed-cr0, don't
        allow andi. or andis. which always set cr0.

From-SVN: r25501

25 years agoRevisionist history.
Arturo Montes [Sun, 28 Feb 1999 12:23:40 +0000 (12:23 +0000)]
Revisionist history.

Revisionist history.   When committing the patch from Arturo, I
(mistakenly) didn't commit the ChangeLog.   Since the change happened
before the snapshot, I'm putting the entry where it occurred in time,
not at the top.

From-SVN: r25500

25 years agoFix bug, mark expected failure
Martin v. Löwis [Sun, 28 Feb 1999 09:56:05 +0000 (09:56 +0000)]
Fix bug, mark expected failure

From-SVN: r25499

25 years agoNew test cases.
Martin v. Löwis [Sun, 28 Feb 1999 09:07:01 +0000 (09:07 +0000)]
New test cases.

From-SVN: r25498

25 years ago* config.sub: Check for "cygwin*" rather than "cygwin32*"
Geoffrey Noer [Sun, 28 Feb 1999 01:23:55 +0000 (01:23 +0000)]
* config.sub: Check for "cygwin*" rather than "cygwin32*"

From-SVN: r25497

25 years agoBump for snapshot
Jeffrey A Law [Sun, 28 Feb 1999 01:15:08 +0000 (18:15 -0700)]
Bump for snapshot

From-SVN: r25495

25 years ago* invoke.texi: Update information for PA scheduling.
Jeffrey A Law [Sun, 28 Feb 1999 01:05:37 +0000 (01:05 +0000)]
* invoke.texi: Update information for PA scheduling.

From-SVN: r25494

25 years agopa.c (override_options): Change default to 7100LC
Jerry Quinn [Sun, 28 Feb 1999 01:01:34 +0000 (01:01 +0000)]
pa.c (override_options): Change default to 7100LC

        * pa.c (override_options): Change default to 7100LC

Co-Authored-By: Mike Stump <mrs@wrs.com>
From-SVN: r25493

25 years agoDaily bump.
Jeff Law [Sun, 28 Feb 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25492

25 years agoupdate
Jason Merrill [Sun, 28 Feb 1999 00:22:44 +0000 (19:22 -0500)]
update

From-SVN: r25491

25 years agopa.h (REG_ALLOC_ORDER): Change order to allocate left half of float regs before right...
Jerry Quinn [Sat, 27 Feb 1999 22:23:31 +0000 (22:23 +0000)]
pa.h (REG_ALLOC_ORDER): Change order to allocate left half of float regs before right half of float regs.

        * pa.h (REG_ALLOC_ORDER): Change order to allocate left half of
        float regs before right half of float regs.

Co-Authored-By: Mike Stump <mrs@wrs.com>
From-SVN: r25488

25 years agoframe.h: Update some comments.
H.J. Lu [Sat, 27 Feb 1999 22:21:58 +0000 (22:21 +0000)]
frame.h: Update some comments.

        * frame.h: Update some comments.
        * defaults.h (TARGET_ATTRIBUTE_WEAK): Define.
        * crtstuff.c (__register_frame_info, __deregister_frame_info): Declare
        using TARGET_WEAK_ATTRIBUTE.
        (__do_global_dtors_aux): Check if __deregister_frame_info is
        zero before calling it.
        (__do_global_dtors): Likewise.
        (frame_dummy): Check if __register_frame_info is zero before
        calling it.
        (__frame_dummy): Likewise.

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

25 years ago* SERVICE: Update from the FSF.
Jeffrey A Law [Sat, 27 Feb 1999 18:19:40 +0000 (18:19 +0000)]
* SERVICE: Update from the FSF.

From-SVN: r25481

25 years agoconifgure: regenerate
Arturo Montes [Sat, 27 Feb 1999 12:48:26 +0000 (12:48 +0000)]
conifgure: regenerate

conifgure: regenerate
        * config/i386/t-sco5 (crti.o): New target.
        * config/i386/sco5.h (STARTFILE_SPEC): Include crti.o when
        linking -shared.
        * configure.in (i[34567]86-*-sco3.2v5*): Add crti.o.

From-SVN: r25480

25 years agog++.exp: Don't add incdir=$base_dir/../include to ALWAYS_CXXFLAGS.
Zack Weinberg [Sat, 27 Feb 1999 10:37:09 +0000 (10:37 +0000)]
g++.exp: Don't add incdir=$base_dir/../include to ALWAYS_CXXFLAGS.

1999-02-27 13:34 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
* lib/g++.exp: Don't add incdir=$base_dir/../include to
        ALWAYS_CXXFLAGS.

From-SVN: r25479

25 years agoDaily bump.
Jeff Law [Sat, 27 Feb 1999 00:45:05 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25478

25 years ago[multiple changes]
Jeff Law [Sat, 27 Feb 1999 00:16:01 +0000 (17:16 -0700)]
[multiple changes]

Sat Feb 27 01:12:40 1999  Jeffrey A Law  (law@cygnus.com)
        * md.texi (prologue,epilogue): Document named patterns.
Fri Feb 26 19:31:25 1999  Dave Love  <fx@gnu.org>
        * md.texi, invoke.texi: Fix unterminated @xrefs.

From-SVN: r25477

25 years agotypeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics.
Nathan Sidwell [Fri, 26 Feb 1999 23:37:04 +0000 (23:37 +0000)]
typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics.

* typeck.c (complete_type_or_else): Add VALUE arg, for helpful
diagnostics.
cp-tree.h (complete_type_or_else): Added VALUE parameter.
* init.c (build_new_1): Extra arg to complete_type_or_else.
(build_delete): Likewise.
* typeck.c (require_complete_type): Likewise.
(pointer_int_sum): Likewise.
(pointer_diff): Likewise.
(build_component_ref): Likewise.
* typeck2.c (incomplete_type_error): Always use cp_error.
Show declaration of undefined type, if appropriate.
Deal with UNKNOWN_TYPE nodes.
* typeck.c (require_complete_type): Use TYPE_SIZE as
size_zero_node to mean incomplete type.
(require_complete_type_in_void): New function.
(build_compound_expr): Call complete_type_in_void for LHS.
(build_c_cast): Call complete_type_in_void for void cast.
* cvt.c (ocp_convert): Call complete_type_in_void for void cast.
* decl.c (cplus_expand_expr_stmt): Void expression checks moved to
require_complete_type_in_void. Call it.
* cp-tree.h (require_complete_type_in_void): Prototype new function.
* typeck.c (convert_arguments): Use alternative format for function
decls. Don't require_complete_type here. Simplify diagnostic printing.
(convert_for_initialization): Don't require_complete_type on RHS yet.
* call.c (convert_arg_to_ellipsis): Call require_complete_type.
* call.c (build_over_call): Cope with qualified void return type.
* semantics.c (finish_call_expr): Likewise
* typeck.c (build_function_call_real): Likewise
(c_expand_return): Likewise
* decl2.c (reparse_absdcl_as_expr): Cope with qualified void type.
* call.c (print_z_candidates): Use alternate print format, to be
consistant with (pt.c) print_candidates.
method.c (hack_identifier): List candidate members.
search.c (lookup_field): Build ambiguous list, and show it, if
ambiguous.

From-SVN: r25474

25 years ago* genextract.c (main): Clear recog_operands before extracting.
Richard Henderson [Fri, 26 Feb 1999 16:00:08 +0000 (08:00 -0800)]
* genextract.c (main): Clear recog_operands before extracting.

From-SVN: r25473

25 years agogenattrtab.c (simplify_knowing): Fix uninitialized read in Feb 21 change.
Richard Henderson [Fri, 26 Feb 1999 15:35:21 +0000 (07:35 -0800)]
genattrtab.c (simplify_knowing): Fix uninitialized read in Feb 21 change.

        * genattrtab.c (simplify_knowing): Fix uninitialized read
        in Feb 21 change.

From-SVN: r25472

25 years agocheck-init.c (check_init): COPYN takes word count, not bit count.
Per Bothner [Fri, 26 Feb 1999 14:50:21 +0000 (06:50 -0800)]
check-init.c (check_init): COPYN takes word count, not bit count.

0
*  check-init.c (check_init):  COPYN takes word count, not bit count.

From-SVN: r25471

25 years agocheck-init.c (check_init): COPYN takes word count, not bit count.
Per Bothner [Fri, 26 Feb 1999 14:50:20 +0000 (06:50 -0800)]
check-init.c (check_init): COPYN takes word count, not bit count.


*  check-init.c (check_init):  COPYN takes word count, not bit count.

From-SVN: r25470

25 years agotypeck.c (convert_ieee_real_to_integer): Use save_expr instead of explicit build_decl.
Per Bothner [Fri, 26 Feb 1999 14:43:30 +0000 (06:43 -0800)]
typeck.c (convert_ieee_real_to_integer): Use save_expr instead of explicit build_decl.


* typeck.c (convert_ieee_real_to_integer):  Use save_expr instead of
explicit build_decl.  (Avoids crash in reload when optimizing.)
* decl.c (complete_start_java_method):  Handle synchronized method
even when compiling from bytecode.

From-SVN: r25469

25 years agotypeck.c (convert_ieee_real_to_integer): Use save_expr instead of explicit build_decl.
Per Bothner [Fri, 26 Feb 1999 14:43:29 +0000 (06:43 -0800)]
typeck.c (convert_ieee_real_to_integer): Use save_expr instead of explicit build_decl.


* typeck.c (convert_ieee_real_to_integer):  Use save_expr instead of
explicit build_decl.  (Avoids crash in reload when optimizing.)
* decl.c (complete_start_java_method):  Handle synchronized method
even when compiling from bytecode.

From-SVN: r25468

25 years agogjavah.c (add_class_decl): Only generate `#include' if outer class is not the name...
Tom Tromey [Fri, 26 Feb 1999 12:49:52 +0000 (12:49 +0000)]
gjavah.c (add_class_decl): Only generate `#include' if outer class is not the name of the class we are...

* gjavah.c (add_class_decl): Only generate `#include' if outer
class is not the name of the class we are processing.  Correctly
append `.h' in #include.
(process_file): Clean up newlines around generated `#include's.
(decode_signature_piece): Correctly handle inner classes.
(struct include): New structure.
(all_includes): New global.
(print_include): New function.
(add_class_decl): Use it.
(process_file): Likewise.
(add_class_decl): Generate include for java-array.h if array
seen.
(process_file): Don't generate java-array.h include.

From-SVN: r25460

25 years agotypeck.c (decay_conversion): Don't confuse constant array variables with their intiai...
Mark Mitchell [Fri, 26 Feb 1999 12:15:37 +0000 (12:15 +0000)]
typeck.c (decay_conversion): Don't confuse constant array variables with their intiailizers.

* typeck.c (decay_conversion): Don't confuse constant array
variables with their intiailizers.

From-SVN: r25459

25 years agodecl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when merging decls.
Mark Mitchell [Fri, 26 Feb 1999 12:11:43 +0000 (12:11 +0000)]
decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when merging decls.

* decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when
merging decls.
* pt.c (regenerate_decl_from_template): Tweak for clarity.
(instantiate_decl): Mark a decl instantiated before regenerating
it to avoid recursion.
* tree.c (mapcar): Don't call decl_constant_value unless we know
something is TREE_READONLY_DECL_P.

From-SVN: r25458

25 years agoclass.c (check_for_override): Don't stop checking when we find the first overridden...
Mark Mitchell [Fri, 26 Feb 1999 12:00:10 +0000 (12:00 +0000)]
class.c (check_for_override): Don't stop checking when we find the first overridden function.

* class.c (check_for_override): Don't stop checking when we find
the first overridden function.  Delete #if 0'd code.
* search.c (get_matching_virtual): Likewise.

From-SVN: r25457

25 years agogjavah.c (add_namelet): Check for standard package names here.
Tom Tromey [Fri, 26 Feb 1999 11:33:53 +0000 (11:33 +0000)]
gjavah.c (add_namelet): Check for standard package names here.

* gjavah.c (add_namelet): Check for standard package names here.
(add_class_decl): Don't check for standard package names here.

From-SVN: r25456

25 years agoDon't shift signed positive integers into the sign bit
Zack Weinberg [Fri, 26 Feb 1999 06:00:48 +0000 (06:00 +0000)]
Don't shift signed positive integers into the sign bit

From-SVN: r25455

25 years ago* c-pragma.c (add_weak); Delete. Moved into...
Jeffrey A Law [Fri, 26 Feb 1999 01:29:21 +0000 (01:29 +0000)]
* c-pragma.c (add_weak); Delete.  Moved into...

        * varasm.c (add_weak): New external function.
        (declare_weak): If HANDLE_PRAGMA_WEAK, then add the function to
        the list of weak functions.
        * c-pragma (add_weak): Declare.

From-SVN: r25454

25 years agoDaily bump.
Jeff Law [Fri, 26 Feb 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25451

25 years agoFlow rewrite to use basic block structures and edge lists.
Richard Henderson [Thu, 25 Feb 1999 23:45:42 +0000 (15:45 -0800)]
Flow rewrite to use basic block structures and edge lists.

From-SVN: r25450

25 years agofixinc.wrap: Also handle struct queue in sys/stream.h.
Jason Merrill [Thu, 25 Feb 1999 21:35:57 +0000 (21:35 +0000)]
fixinc.wrap: Also handle struct queue in sys/stream.h.

* fixinc.wrap: Also handle struct queue in sys/stream.h.
* fixinc.svr4: Likewise.

From-SVN: r25449

25 years agodwarf2out.c (scope_die_for): Set scope_die to comp_unit_die rather than asserting it.
Jason Merrill [Thu, 25 Feb 1999 21:26:06 +0000 (21:26 +0000)]
dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die rather than asserting it.

* dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die
rather than asserting it.

From-SVN: r25448

25 years agocppexp.c (left_shift, [...]): Replace uses of long/HOST_BITS_PER_LONG with...
Kaveh R. Ghazi [Thu, 25 Feb 1999 20:48:42 +0000 (20:48 +0000)]
cppexp.c (left_shift, [...]): Replace uses of long/HOST_BITS_PER_LONG with...

        * cppexp.c (left_shift, right_shift, parse_charconst, COMPARE,
        cpp_parse_expr): Replace uses of long/HOST_BITS_PER_LONG with
        HOST_WIDEST_INT/HOST_BITS_PER_WIDEST_INT.

From-SVN: r25447

25 years agoMakefile.in (cppmain.o, [...]): Don't depend on machmode.h.
Kaveh R. Ghazi [Thu, 25 Feb 1999 20:40:21 +0000 (20:40 +0000)]
Makefile.in (cppmain.o, [...]): Don't depend on machmode.h.

        * Makefile.in (cppmain.o, cpplib.o, cpphash.o, cppalloc.o,
        cpperror.o, cppexp.o, cppfiles.o, cppinit.o, fix-header.o,
        scan-decls.o): Don't depend on machmode.h.
        * cppexp.c: Don't define CHAR_BIT or HOST_BITS_PER_WIDE_INT anymore.
        Replace all instances of HOST_WIDE_INT with HOST_WIDEST_INT.
        * cppfiles.c: Likewise.
        * cpplib.c: Likewise.
        * cpplib.h: Likewise.  Also don't include machmode.h anymore.

From-SVN: r25446

25 years agogcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
Richard Henderson [Thu, 25 Feb 1999 18:50:07 +0000 (10:50 -0800)]
gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.

        * gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
        * cp/lang-specs.h: Likewise.
        * f/lang-specs.h: Likewise.
        * objc/lang-specs.h: Likewise.

From-SVN: r25445

25 years agoFix two typos
Zack Weinberg [Thu, 25 Feb 1999 18:06:54 +0000 (18:06 +0000)]
Fix two typos

From-SVN: r25444

25 years ago* pa.md (call patterns): Lose unused argument to output_call.
Jeffrey A Law [Thu, 25 Feb 1999 16:33:18 +0000 (16:33 +0000)]
* pa.md (call patterns): Lose unused argument to output_call.

From-SVN: r25443

25 years ago* print-rtl.c (print_rtl): Print /j and /c for the jump/call flags.
Jeffrey A Law [Thu, 25 Feb 1999 15:25:06 +0000 (15:25 +0000)]
* print-rtl.c (print_rtl): Print /j and /c for the jump/call flags.

From-SVN: r25442

25 years agocpphash.c (install): Rename to cpp_install, add cpp_reader* first argument.
Zack Weinberg [Thu, 25 Feb 1999 14:24:40 +0000 (14:24 +0000)]
cpphash.c (install): Rename to cpp_install, add cpp_reader* first argument.

1999-02-25 17:14 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
* cpphash.c (install): Rename to cpp_install, add cpp_reader*
first argument.  All callers changed.
(hashtab): Removed.
(cpp_lookup, cpp_install): Change all refs to hashtab to
pfile->hashtab.
(cpp_hash_cleanup): Removed.
* cpphash.h: Adjust prototypes.
* cpplib.h (struct cpp_reader): Add hashtab pointer.
* cppinit.c (cpp_reader_init): Also allocate space for the
hashtab.
(cpp_cleanup): Delete all macros and free the hashtab.

From-SVN: r25441

25 years agosh.h (PASS_IN_REG_P): For TARGET_HITACHI, don't pass structures in registers.
J"orn Rennecke [Thu, 25 Feb 1999 14:02:32 +0000 (14:02 +0000)]
sh.h (PASS_IN_REG_P): For TARGET_HITACHI, don't pass structures in registers.

* sh.h (PASS_IN_REG_P):  For TARGET_HITACHI, don't pass structures
in registers.
* expr.h (PRETEND_OUTGOING_VARARGS_NAMED): Provide default definition.
* function.c (assign_parms): Honour PRETEND_OUTGOING_VARARGS_NAMED.
* calls.c (expand_call): Likewise.
* sh.c (sh_expand_prologue): For TARGET_HITACHI, don't push varargs /
stdarg arguments.
* sh.h (CPP_SPEC): Add -D__HITACHI__ for -mhitachi.
(FUNCTION_ARG):  For TARGET_HITACHI, don't pass unnamed
arguments in registers.
(PRETEND_OUTGOING_VARARGS_NAMED): Define.
* va-sh.h (entire file): If __HITACHI__ is defined, use sh[123]
flavour varargs.

From-SVN: r25440

25 years agoparse.y (read_import_dir): Use `|=', not `+=', to set `found'.
Tom Tromey [Thu, 25 Feb 1999 12:36:03 +0000 (12:36 +0000)]
parse.y (read_import_dir): Use `|=', not `+=', to set `found'.

* parse.y (read_import_dir): Use `|=', not `+=', to set `found'.
When reading a zip file, only use strncmp if both strings are
bigger than the buffer length.  Initialize `k' when looping
through zip file.

From-SVN: r25439

25 years agocse.c (dump_class): Revert last change and make the prototype extern.
Kaveh R. Ghazi [Thu, 25 Feb 1999 11:43:00 +0000 (11:43 +0000)]
cse.c (dump_class): Revert last change and make the prototype extern.

       * cse.c (dump_class): Revert last change and make the prototype
       extern.

From-SVN: r25438