platform/upstream/gcc.git
22 years ago* gcse.c (insert_insn_end_bb): Fix typo in last change.
Kaveh R. Ghazi [Fri, 8 Mar 2002 20:23:55 +0000 (20:23 +0000)]
* gcse.c (insert_insn_end_bb): Fix typo in last change.

From-SVN: r50453

22 years ago* recog.c (peephole2_optimize): Re-distribute EH edges.
Jan Hubicka [Fri, 8 Mar 2002 20:14:04 +0000 (21:14 +0100)]
* recog.c (peephole2_optimize): Re-distribute EH edges.

From-SVN: r50452

22 years ago41intnam.ads, [...]: Merge in ACT changes.
Geert Bosch [Fri, 8 Mar 2002 20:11:04 +0000 (21:11 +0100)]
41intnam.ads, [...]: Merge in ACT changes.

* 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.

* 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files

* 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed

* mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
to mdll-fil.ad[bs] and mdll-util.ad[bs]

* mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
from mdllfile.ad[bs] and mdlltool.ad[bs]

From-SVN: r50451

22 years agoexpr.c (expand_expr): Use unsave lang hook.
Neil Booth [Fri, 8 Mar 2002 19:21:04 +0000 (19:21 +0000)]
expr.c (expand_expr): Use unsave lang hook.

* expr.c (expand_expr): Use unsave lang hook.
* langhooks-def.h (LANG_HOOKS_UNSAVE): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New hook unsave.
* tree.c (lang_unsave, lang_unsave_expr_now): Remove.
(unsave_expr_1): Remove unused lang_unsave_expr_now.
(unsave_expr_now_r): Rename lhd_unsave.  Update. Return input.
(unsave_expr_now): Remove.
* tree.h (unsave_expr_now, lang_unsave,
lang_unsave_expr_now): Remove.
(lhd_unsave): New.
cp:
* cp-lang.c (LANG_HOOKS_UNSAVE): Redefine.
* cp-tree.h (cxx_unsave): New.
* tree.c (cp_unsave): Rename cxx_unsave, update prototype.
(init_tree): Update.

From-SVN: r50449

22 years agostd_limits.h: Move static const data members out of generic template...
Benjamin Kosnik [Fri, 8 Mar 2002 17:59:14 +0000 (17:59 +0000)]
std_limits.h: Move static const data members out of generic template...

2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/std_limits.h: Move static const data members out of
generic template, into base class __numeric_limits_base.
* src/limits.cc: Add definitions.
* config/linker-map.gnu: Add __numeric_limits_base.
* testsuite/18_support/numeric_limits.cc: Declare test in scope.

From-SVN: r50447

22 years ago* flow.c (propagate_block_delete_insn): Remove unused variable.
Andreas Jaeger [Fri, 8 Mar 2002 17:34:00 +0000 (18:34 +0100)]
* flow.c (propagate_block_delete_insn): Remove unused variable.

From-SVN: r50446

22 years agoh8300.c (h8300_adjust_insn_length): Tighten insn length for memory load/store.
Kazu Hirata [Fri, 8 Mar 2002 16:51:08 +0000 (16:51 +0000)]
h8300.c (h8300_adjust_insn_length): Tighten insn length for memory load/store.

* config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
insn length for memory load/store.

From-SVN: r50445

22 years agoinstall.texi (--with-libiconv-prefix): Document.
Craig Rodrigues [Fri, 8 Mar 2002 16:44:50 +0000 (16:44 +0000)]
install.texi (--with-libiconv-prefix): Document.

2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/install.texi (--with-libiconv-prefix): Document.

From-SVN: r50444

22 years agoposix.cc (internal_gettimeofday): New function.
Tom Tromey [Fri, 8 Mar 2002 16:31:28 +0000 (16:31 +0000)]
posix.cc (internal_gettimeofday): New function.

* posix.cc (internal_gettimeofday): New function.
(_Jv_select): Use it.

From-SVN: r50442

22 years ago* doc/sourcebuild.texi: Fix typo.
Michael Y. Brukman [Fri, 8 Mar 2002 14:16:36 +0000 (14:16 +0000)]
* doc/sourcebuild.texi: Fix typo.

From-SVN: r50439

22 years agore PR c/3711 (ICE in instantiate_virtual_regs_1, at function.c:3880)
Jakub Jelinek [Fri, 8 Mar 2002 13:45:13 +0000 (14:45 +0100)]
re PR c/3711 (ICE in instantiate_virtual_regs_1, at function.c:3880)

PR c/3711
* builtins.c (std_expand_builtin_va_arg): Do all computations on
trees.

* gcc.c-torture/execute/20020307-2.c: New test.

From-SVN: r50438

22 years agortl.c (copy_most_rtx): Move from here ...
Richard Kenner [Fri, 8 Mar 2002 12:29:13 +0000 (12:29 +0000)]
rtl.c (copy_most_rtx): Move from here ...

* rtl.c (copy_most_rtx): Move from here ...
* emit-rtl.c (copy_most_rtx): ... to here.

From-SVN: r50435

22 years agoDaily bump.
GCC Administrator [Fri, 8 Mar 2002 08:17:38 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r50430

22 years agostl_alloc.h: Add extern implicit allocator instantiations.
Benjamin Kosnik [Fri, 8 Mar 2002 06:05:21 +0000 (06:05 +0000)]
stl_alloc.h: Add extern implicit allocator instantiations.

2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_alloc.h: Add extern implicit allocator
instantiations.
* include/bits/basic_string.tcc: Tweak.
* include/bits/locale_facets.tcc: Remove default args. Add
has_facet, use_facet extern instantiations.
* src/stl-inst.cc: Add explicit instantiation.
* src/locale-inst.cc: Clean. Remove locale member template
instantiations.

* testsuite/22_locale/operators.cc (test02): Enable.

From-SVN: r50426

22 years agomips.h (LONG_MAX_SPEC): Rewrite, along with SUBTARGET_CPP_SIZE_SPEC.
Alexandre Oliva [Fri, 8 Mar 2002 05:59:25 +0000 (05:59 +0000)]
mips.h (LONG_MAX_SPEC): Rewrite, along with SUBTARGET_CPP_SIZE_SPEC.

* config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
SUBTARGET_CPP_SIZE_SPEC.
* config/mips/abi64.h (LONG_MAX_SPEC): Delete.

From-SVN: r50425

22 years ago* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
Alexandre Oliva [Fri, 8 Mar 2002 05:17:43 +0000 (05:17 +0000)]
* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.

From-SVN: r50424

22 years agofp-bit.c (_unord_f2): Compile it in even if US_SOFTWARE_GOFAST is enabled.
Alexandre Oliva [Fri, 8 Mar 2002 03:02:00 +0000 (03:02 +0000)]
fp-bit.c (_unord_f2): Compile it in even if US_SOFTWARE_GOFAST is enabled.

* config/fp-bit.c (_unord_f2): Compile it in even if
US_SOFTWARE_GOFAST is enabled.

From-SVN: r50423

22 years agogofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as NULL_RTX.
Alexandre Oliva [Fri, 8 Mar 2002 02:57:13 +0000 (02:57 +0000)]
gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as NULL_RTX.

* config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
NULL_RTX.  Set all HFmode operations as NULL_RTX.
* optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
NULL_RTX, try reversing the comparison and the operands.

From-SVN: r50422

22 years agonatPlainSocketImpl.cc: Changed USE_WINSOCK to WIN32, and added thunks for read()...
Adam Megacz [Fri, 8 Mar 2002 01:46:34 +0000 (01:46 +0000)]
natPlainSocketImpl.cc: Changed USE_WINSOCK to WIN32, and added thunks for read(), write(), and close().

2002-03-07  Adam Megacz  <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
        WIN32, and added thunks for read(), write(), and close().
        * java/net/natPlainSocketImpl.cc (accept, read, read):
        Disabled timeouts on WIN32 pending discussion.

From-SVN: r50418

22 years agowin32.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong.
Adam Megacz [Fri, 8 Mar 2002 01:03:56 +0000 (01:03 +0000)]
win32.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong.

2002-03-07  Adam Megacz  <adam@xwt.org>

        * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
        returns jlong. Added implementation
        * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
        returns jlong.
        * win32.h (_Jv_platform_gettimeofday): Now takes no args,
        returns jlong.
        * posix.h (_Jv_platform_gettimeofday): Now takes no args,
        returns jlong.
        * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
        _Jv_platform_gettimeofday signature.

From-SVN: r50416

22 years ago- Add Darwin and AIX to supported platforms.
David Edelsohn [Thu, 7 Mar 2002 22:11:35 +0000 (17:11 -0500)]
- Add Darwin and AIX to supported platforms.

From-SVN: r50414

22 years agogenextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
Ulrich Weigand [Thu, 7 Mar 2002 22:03:27 +0000 (22:03 +0000)]
genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.

* genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
and MATCH_OP_DUP.

From-SVN: r50412

22 years agoMake-lang.in (JAVA_TARGET_INSTALL_NAME): Define.
Jeff Sturm [Thu, 7 Mar 2002 20:28:49 +0000 (20:28 +0000)]
Make-lang.in (JAVA_TARGET_INSTALL_NAME): Define.

* java/Make-lang.in (JAVA_TARGET_INSTALL_NAME): Define.
(java.install-common): Link native driver to
JAVA_TARGET_INSTALL_NAME.

From-SVN: r50411

22 years agoconfigure.in: Enable gprof for mips*-*-linux*.
H.J. Lu [Thu, 7 Mar 2002 19:32:12 +0000 (19:32 +0000)]
configure.in: Enable gprof for mips*-*-linux*.

2002-03-07  H.J. Lu  (hjl@gnu.org)

* configure.in: Enable gprof for mips*-*-linux*.

From-SVN: r50410

22 years agoMakefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
Andreas Tobler [Thu, 7 Mar 2002 18:24:42 +0000 (19:24 +0100)]
Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.

2002-03-07  Andreas Tobler  <toa@pop.agri.ch>
    David Edelsohn  <edelsohn@gnu.org>

* Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
(TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
(TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
* Makefile.in: Regenerate.
* include/ffi.h.in: Add AIX and Darwin closure definitions.
* src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
(flush_icache, flush_range): New functions.
(ffi_closure_helper_DARWIN): New function.
* src/powerpc/aix_closure.S: New file.
* src/powerpc/darwin_closure.S: New file.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r50408

22 years ago* g77.f-torture/compile/20020307-1.f: New test.
Jeff Law [Thu, 7 Mar 2002 17:50:08 +0000 (10:50 -0700)]
* g77.f-torture/compile/20020307-1.f: New test.

From-SVN: r50407

22 years ago* reload1.c (reload_cse_delete_noop_set): Purge dead edges.
Jan Hubicka [Thu, 7 Mar 2002 15:55:03 +0000 (16:55 +0100)]
* reload1.c (reload_cse_delete_noop_set): Purge dead edges.

From-SVN: r50406

22 years agobasic-block.h (fixup_abnormal_edges): Declare.
Jan Hubicka [Thu, 7 Mar 2002 15:38:00 +0000 (16:38 +0100)]
basic-block.h (fixup_abnormal_edges): Declare.

* basic-block.h (fixup_abnormal_edges): Declare.
* reload1.c (fixup_abnormal_edges): New function.
* reg-stack.c (convert_regs): Use it.

* gcse.c (insert_insn_end_bb): Handle trapping insns.

* gcse.c (hash_scan_set): Refuse instructions with EH edges.

From-SVN: r50405

22 years agoAdd 2002 to the copyright dates.
Richard Sandiford [Thu, 7 Mar 2002 13:38:22 +0000 (13:38 +0000)]
Add 2002 to the copyright dates.

From-SVN: r50404

22 years ago* gcc.dg/unordered-1.c: New test.
Richard Sandiford [Thu, 7 Mar 2002 11:39:13 +0000 (11:39 +0000)]
* gcc.dg/unordered-1.c: New test.

From-SVN: r50402

22 years agodefaults.h (MODE_HAS_NANS, [...]): New.
Richard Sandiford [Thu, 7 Mar 2002 11:37:16 +0000 (11:37 +0000)]
defaults.h (MODE_HAS_NANS, [...]): New.

* defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
(MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
* flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
(HONOR_SIGN_DEPENDENT_ROUNDING): New.
* builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
* c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
unless x and y could be infinite.
(expand_unordered_cmp): New, mostly split from expand_tree_builtin.
Check that the common type of both arguments is a real, even for
targets without unordered comparisons.  Allow an integer argument
to be compared against a real.
(expand_tree_builtin): Use expand_unordered_cmp.
* combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
* cse.c (fold_rtx): Likewise.  Fix indentation.
* fold-const.c (fold_real_zero_addition_p): New.
(fold): Use it, and the new HONOR_... macros.
* ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
* jump.c (reversed_comparison_code_parts): After searching for
the true comparison mode, use HONOR_NANS to decide whether it
can be safely reversed.
(reverse_condition_maybe_unordered): Remove IEEE check.
* simplify-rtx.c (simplify_binary_operation): Use the new macros
to decide which simplifications are valid.  Allow the following
simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
and (a - -b) to (a + b).
(simplify_relational_operation): Use HONOR_NANS.
* doc/tm.texi: Document the MODE_HAS_... macros.

From-SVN: r50401

22 years agocombine.c (simplify_comparison): If simplifying a logical shift right and compare...
Richard Earnshaw [Thu, 7 Mar 2002 10:39:50 +0000 (10:39 +0000)]
combine.c (simplify_comparison): If simplifying a logical shift right and compare with constant...

* combine.c (simplify_comparison): If simplifying a logical shift
right and compare with constant, force the comparison to unsigned.

From-SVN: r50400

22 years ago* gcc.c-torture/execute/20020307-1.c: New test.
Richard Earnshaw [Thu, 7 Mar 2002 10:38:25 +0000 (10:38 +0000)]
* gcc.c-torture/execute/20020307-1.c: New test.

From-SVN: r50399

22 years agoDaily bump.
GCC Administrator [Thu, 7 Mar 2002 08:16:59 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r50398

22 years agostl_tree.h (_S_rb_tree_red): Make enum.
Benjamin Kosnik [Thu, 7 Mar 2002 06:53:23 +0000 (06:53 +0000)]
stl_tree.h (_S_rb_tree_red): Make enum.

2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
    Stephen M. Webb  <stephen.webb@bregmasoft.com>

* include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
(_S_rb_tree_black): Make enum.
Clean. Format.
* include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
* include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
(__stl_threshold): _M_threshold, enum.
* src/stl-inst.cc: Same.
* config/linker-map.gnu: Remove.

* testsuite/23_containers/vector_bool.cc: New.

Co-Authored-By: Stephen M. Webb <stephen.webb@bregmasoft.com>
From-SVN: r50393

22 years agoinvoke.texi: Add documentation for -mabi=no-altivec.
Aldy Hernandez [Thu, 7 Mar 2002 06:50:32 +0000 (06:50 +0000)]
invoke.texi: Add documentation for -mabi=no-altivec.

2002-03-07  Aldy Hernandez  <aldyh@redhat.com>

        * doc/invoke.texi: Add documentation for -mabi=no-altivec.

        * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
        -mabi=no-altivec
        (alt_reg_names): Remove % for vrsave.

From-SVN: r50392

22 years agonatPlainSocketImpl.cc (_Jv_recv): Removed.
Bryce McKinlay [Thu, 7 Mar 2002 01:53:21 +0000 (01:53 +0000)]
natPlainSocketImpl.cc (_Jv_recv): Removed.

* java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
(read): Call recv() directly, not _Jv_recv().

From-SVN: r50391

22 years agoTidy whitespace.
Richard Henderson [Thu, 7 Mar 2002 01:17:14 +0000 (17:17 -0800)]
Tidy whitespace.

From-SVN: r50387

22 years agogenemit.c (gen_exp): New argument used.
Richard Henderson [Thu, 7 Mar 2002 01:15:59 +0000 (17:15 -0800)]
genemit.c (gen_exp): New argument used.

        * genemit.c (gen_exp): New argument used.  Invoke copy_rtx
        if used indicates we've already emitted one copy of an operand.
        (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
        (gen_split): Supply a non-null used.

From-SVN: r50386

22 years agosplay-tree.c (splay_tree_xmalloc_allocate, [...]): Use K&R-style definitions, not...
Jim Blandy [Thu, 7 Mar 2002 00:20:12 +0000 (00:20 +0000)]
splay-tree.c (splay_tree_xmalloc_allocate, [...]): Use K&R-style definitions, not prototyped definitions.

* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
prototyped definitions.  Mark `data' arguments as unused.

From-SVN: r50384

22 years agonatFileDescriptorEcos.cc (init): Don't use GetStdHandle.
Tom Tromey [Wed, 6 Mar 2002 23:23:34 +0000 (23:23 +0000)]
natFileDescriptorEcos.cc (init): Don't use GetStdHandle.

* java/io/natFileDescriptorEcos.cc (init): Don't use
GetStdHandle.
* java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
is negative.
(init): Don't use GetStdHandle.

From-SVN: r50383

22 years agoconfig.h.in: Rebuilt.
Tom Tromey [Wed, 6 Mar 2002 23:11:18 +0000 (23:11 +0000)]
config.h.in: Rebuilt.

* include/config.h.in: Rebuilt.
* configure: Rebuilt.
* Makefile.in: Rebuilt.

From-SVN: r50381

22 years agoreload1.c (reload): Unshare all rtl after reload is done.
Ulrich Weigand [Wed, 6 Mar 2002 23:07:08 +0000 (23:07 +0000)]
reload1.c (reload): Unshare all rtl after reload is done.

        * reload1.c (reload): Unshare all rtl after reload is done.

* simplify-rtx.c (simplify_plus_minus): Do not abort,
but simply fail if the expression is too complex to simplify.
(simplify_gen_binary): Handle simplify_plus_minus failures.

From-SVN: r50380

22 years agoFileDescriptor.java: Initialize in/out/err in init().
Adam Megacz [Wed, 6 Mar 2002 22:37:26 +0000 (22:37 +0000)]
FileDescriptor.java: Initialize in/out/err in init().

2002-03-06  Adam Megacz  <adam@xwt.org>

        * java/io/FileDescriptor.java: Initialize in/out/err in init().
        * java/io/natFileDescriptorWin32.cc (init()): Added function.
        * java/io/natFileDescriptorPosix.cc (init()): Added function.
        * java/io/natFileDescriptorEcos.cc (init()): Added function.

From-SVN: r50378

22 years agouser.cfg.in: Also document deprecated entries.
Phil Edwards [Wed, 6 Mar 2002 21:22:56 +0000 (21:22 +0000)]
user.cfg.in: Also document deprecated entries.

2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/user.cfg.in:  Also document deprecated entries.
* docs/html/Makefile:  Example rule to rebuild porting-howto.html.
* docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
referring to the collection as a whole.  New section on which macros
can be redefined by the user.
* docs/html/19_diagnostics/howto.html:  Update note for concepts.
* docs/html/20_util/howto.html:  Update link to SGI.
* docs/html/faq/index.html:  Update snapshot versions.  New entry
on why g++ (but not gcc) must currently predefine certain macros.
* docs/html/faq/index.txt:  Regenerated.

* include/bits/basic_string.h (basic_string::_S_construct):  Fix
names in declaration.
(basic_string::compare):  These are no longer optional.
* include/bits/ostream.tcc:  Tweak closing brace placement.
* include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
* include/std/std_sstream.h:  Fix typo in comment.
* include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
* src/locale.cc:  Likewise.

From-SVN: r50376

22 years agore PR libstdc++/5734 (2 extensions (empty push_back() and is_sorted()) are not docume...
Phil Edwards [Wed, 6 Mar 2002 20:08:18 +0000 (20:08 +0000)]
re PR libstdc++/5734 (2 extensions (empty push_back() and is_sorted()) are not documented)

2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/5734
* include/bits/stl_vector.h (vector::push_back()):  Guard with
_GLIBCPP_DEPRECATED.

From-SVN: r50375

22 years agossa-ccp.c (ssa_fast_dce): Update the DF def-use chains after completing fast dead...
Jeff Law [Wed, 6 Mar 2002 19:56:21 +0000 (12:56 -0700)]
ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains after completing fast dead code elimination.

        * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
        after completing fast dead code elimination.

From-SVN: r50374

22 years agotoplev.c (rest_of_compilation): Do jump threading before SSA path...
Jan Hubicka [Wed, 6 Mar 2002 19:34:36 +0000 (20:34 +0100)]
toplev.c (rest_of_compilation): Do jump threading before SSA path...

* toplev.c (rest_of_compilation): Do jump threading before SSA path;
consistently call delete_trivially_dead_insns after CSE and GCSE;
fix DFI_life dumping; do jump threading after liveness; do crossjumping
after liveness2; update comment in last crossjumping.
* cfgcleanup.c (try_crossjump_to_edge): Dirtify block.

From-SVN: r50373

22 years agom68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a COMPARE operator.
Jeff Law [Wed, 6 Mar 2002 19:25:13 +0000 (12:25 -0700)]
m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a COMPARE operator.

        * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
        COMPARE operator.

From-SVN: r50372

22 years agoFix ChangeLog date typo
Eric Blake [Wed, 6 Mar 2002 19:15:09 +0000 (19:15 +0000)]
Fix ChangeLog date typo

From-SVN: r50371

22 years agounicode-decomp.pl: Move from chartables.pl...
Eric Blake [Wed, 6 Mar 2002 18:54:45 +0000 (18:54 +0000)]
unicode-decomp.pl: Move from chartables.pl...

2002-03-04  Eric Blake  <ebb9@email.byu.edu>

* scripts/unicode-decomp.pl: Move from chartables.pl, and remove
the code for generating include/java-chartables.h.
* scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
merge with Classpath.
* scripts/unicode-muncher.pl: Copy from Classpath.
* scritps/MakeCharTables.java: New file.
* gnu/gcj/convert/Blocks-3.txt: New file.
* gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
* gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
* gnu/java/lang/CharData.java: Copy from Classpath.
* Makefile.am (ordinary_java_source_files): Add
gnu/java/lang/CharData.java.
* configure.in: Remove --enable-fast-character option.
* java/lang/Character.java: Merge algorithms and Javadoc with
Classpath.
* java/lang/natCharacter.cc: Implement Unicode lookup table more
efficiently.
* include/java-chardecomp.h: Regenerate.
* include/java-chartables.h: Regenerate.

From-SVN: r50368

22 years agoVersion.c: Fix misplaced leading blanks on first line.
Phil Edwards [Wed, 6 Mar 2002 18:42:56 +0000 (18:42 +0000)]
Version.c: Fix misplaced leading blanks on first line.

2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

* libF77/Version.c:  Fix misplaced leading blanks on first line.
* libI77/Version.c:  Likewise.
* libU77/Version.c:  Likewise.

From-SVN: r50367

22 years agoversion.c: Fix misplaced leading blanks on first line.
Phil Edwards [Wed, 6 Mar 2002 18:40:56 +0000 (18:40 +0000)]
version.c: Fix misplaced leading blanks on first line.

2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

* version.c:  Fix misplaced leading blanks on first line.

From-SVN: r50366

22 years agoc++config: Fix misplaced leading blanks on first line.
Phil Edwards [Wed, 6 Mar 2002 18:37:39 +0000 (18:37 +0000)]
c++config: Fix misplaced leading blanks on first line.

2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/c++config:  Fix misplaced leading blanks on first line.

From-SVN: r50365

22 years agoupdate_version: Don't indent the version string.
Phil Edwards [Wed, 6 Mar 2002 18:35:57 +0000 (18:35 +0000)]
update_version: Don't indent the version string.

2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

* update_version:  Don't indent the version string.

From-SVN: r50364

22 years ago* cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
Jan Hubicka [Wed, 6 Mar 2002 18:09:51 +0000 (19:09 +0100)]
* cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.

From-SVN: r50363

22 years agocfgcleanup.c (mentions_nonequal_regs): New function.
Jan Hubicka [Wed, 6 Mar 2002 17:16:22 +0000 (18:16 +0100)]
cfgcleanup.c (mentions_nonequal_regs): New function.

* cfgcleanup.c (mentions_nonequal_regs): New function.
(thread_jump): Use it.
* toplev.c (rest_of_compilation): Run jump threading after
liveness.

From-SVN: r50361

22 years agossa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 patch.
Jakub Jelinek [Wed, 6 Mar 2002 16:53:07 +0000 (17:53 +0100)]
ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 patch.

* ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
patch.

From-SVN: r50359

22 years agopredict.c (estimate_bb_frequencies): Do not reload the frequencies from notes.
Jan Hubicka [Wed, 6 Mar 2002 10:29:11 +0000 (11:29 +0100)]
predict.c (estimate_bb_frequencies): Do not reload the frequencies from notes.

* predict.c (estimate_bb_frequencies): Do not reload the
frequencies from notes.

From-SVN: r50356

22 years agocfgrtl.c (delete_insn_and_edges, [...]): New.
Jan Hubicka [Wed, 6 Mar 2002 10:17:23 +0000 (11:17 +0100)]
cfgrtl.c (delete_insn_and_edges, [...]): New.

* cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
* rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare

* basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
delete_noop_moves): Return indeger.
* flow.c (ndead): New variable.
(propagate_block_delete_insn): Use delete_insn_and_edges; remove
BB argument; update callers.
(propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
(life_analysis): Do not call purge_all_dead_edges.
(update_life_info): Return number of deleted insns; print statistics.
(update_life_info_in_dirty_blocks): likewise.
(delete_noop_moves): Use delete_insn_and_edges; print statistics;
return number of insns deleted.

* cse.c: Include timevar.h
(delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
iterate until stabilizes; print statistics; return number of killed
insns.
* Makefile.in: (cse.o): Add timevar.h dependency
* rtl.h (delete_trivially_dead_insns): New.
* timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
* toplev.c (rest_of_compilation): Update callers.

* cfgcleanup.c (try_optimize_cfg): Kill blocks.
(try_optimize_cfg): Do not update liveness.
(cleanup-cfg): Loop until try_optimize_cfg and dead code
removal stabilizes; use delete_trivially_dead_insns.

* cfgrtl.c (verify_flow_info): Sanity check outgoing edges.

From-SVN: r50355

22 years agoDaily bump.
GCC Administrator [Wed, 6 Mar 2002 08:18:28 +0000 (08:18 +0000)]
Daily bump.

From-SVN: r50353

22 years agoMediaTracker.java: Implemented.
Bryce McKinlay [Wed, 6 Mar 2002 08:11:06 +0000 (08:11 +0000)]
MediaTracker.java: Implemented.

        * java/awt/MediaTracker.java: Implemented.
        * Makefile.am: Add MediaTracker.
        * Makefile.in: Rebuilt.

From-SVN: r50349

22 years agocppmain.c (setup_callbacks): Disable #pragma and #ident callbacks when processing...
Zack Weinberg [Wed, 6 Mar 2002 07:50:03 +0000 (07:50 +0000)]
cppmain.c (setup_callbacks): Disable #pragma and #ident callbacks when processing assembly language.

* cppmain.c (setup_callbacks): Disable #pragma and #ident
callbacks when processing assembly language.

From-SVN: r50346

22 years agoRemove floatformat_arm_ext.
Andrew Cagney [Wed, 6 Mar 2002 06:29:00 +0000 (06:29 +0000)]
Remove floatformat_arm_ext.

From-SVN: r50345

22 years agonatPosixProcess.cc (fail): Removed.
Tom Tromey [Wed, 6 Mar 2002 05:13:58 +0000 (05:13 +0000)]
natPosixProcess.cc (fail): Removed.

* java/lang/natPosixProcess.cc (fail): Removed.
(startProcess): Simplified error-handling.  Preserve
LD_LIBRARY_PATH across exec.

From-SVN: r50342

22 years agopa.h (ASM_FILE_END): Define.
John David Anglin [Wed, 6 Mar 2002 04:59:28 +0000 (04:59 +0000)]
pa.h (ASM_FILE_END): Define.

* pa.h (ASM_FILE_END): Define.
* som.h (ASM_FILE_END): Delete.

* pa.c (function_arg): Don't pass floats in general registers in
indirect calls if TARGET_ELF32.

From-SVN: r50341

22 years ago* config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
Richard Henderson [Wed, 6 Mar 2002 00:06:05 +0000 (16:06 -0800)]
* config/i386/i386.md (floatsidf2): Conditionalize on hard-float.

From-SVN: r50339

22 years agojni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError.
Tom Tromey [Tue, 5 Mar 2002 22:36:11 +0000 (22:36 +0000)]
jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError.

* jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
AbstractMethodError.

From-SVN: r50337

22 years agogthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
Danny Smith [Tue, 5 Mar 2002 22:08:23 +0000 (22:08 +0000)]
gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.

From-SVN: r50336

22 years agoMAINTAINERS (Write After Approval): Add myself.
Danny Smith [Tue, 5 Mar 2002 21:29:18 +0000 (21:29 +0000)]
MAINTAINERS (Write After Approval): Add myself.

From-SVN: r50335

22 years ago002-03-05 Benjamin Kosnik <bkoz@redhat.com>
Benjamin Kosnik [Tue, 5 Mar 2002 21:14:20 +0000 (21:14 +0000)]
002-03-05  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/17_intro/RELEASE-NOTES: Fix usage.
* README (libmath): Make clear.

From-SVN: r50331

22 years agoacinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version script globbing in ld.
Jakub Jelinek [Tue, 5 Mar 2002 21:12:17 +0000 (22:12 +0100)]
acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version script globbing in ld.

* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
script globbing in ld.
* aclocal.m4: Rebuilt.
* configure: Rebuilt.

From-SVN: r50330

22 years agoThis is the documentation for -### that I forgot to add when -### was
Ira Ruben [Tue, 5 Mar 2002 20:17:57 +0000 (20:17 +0000)]
This is the documentation for -### that I forgot to add when -### was
originally added.

From-SVN: r50328

22 years agoRELEASE-NOTES: Update.
Benjamin Kosnik [Tue, 5 Mar 2002 20:16:09 +0000 (20:16 +0000)]
RELEASE-NOTES: Update.

2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/17_intro/RELEASE-NOTES: Update.
* README: Format subdirectories.

From-SVN: r50326

22 years agomklibgcc.in: Prepend a tab before .hidden, add $flags to gcc -r command line.
Jakub Jelinek [Tue, 5 Mar 2002 18:09:29 +0000 (19:09 +0100)]
mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc -r command line.

* mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
-r command line.  Don't hide any symbols if not building
shared libgcc.

From-SVN: r50321

22 years agocfg.c (dump_flow_info): Warn about profile mismatches.
Jan Hubicka [Tue, 5 Mar 2002 17:34:16 +0000 (18:34 +0100)]
cfg.c (dump_flow_info): Warn about profile mismatches.

* cfg.c (dump_flow_info): Warn about profile mismatches.
* cfgrtl.c (verify_flow_info): Few aditional sanity checks.
(purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.

From-SVN: r50320

22 years agosnapshot-README: Note that snapshots come from the 3.1 branch.
Joseph Myers [Tue, 5 Mar 2002 13:50:12 +0000 (13:50 +0000)]
snapshot-README: Note that snapshots come from the 3.1 branch.

* snapshot-README: Note that snapshots come from the 3.1 branch.
Update list of files.

From-SVN: r50318

22 years ago2002-03-05 Paolo Carlini <pcarlini@unitus.it>
Paolo Carlini [Tue, 5 Mar 2002 12:09:45 +0000 (13:09 +0100)]
2002-03-05  Paolo Carlini  <pcarlini@unitus.it>

libstdc++/5816
* include/bits/locale_facets.tcc
(num_get::_M_extract_float): Fix the parsing of __dec, since
the standard prescribes that if no grouping characters are
seen, no grouping check is applied.
        * testsuite/22_locale/num_get_members_char.cc: Add test05
distilled from the PR.
        * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.

From-SVN: r50317

22 years agoexpmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 wide volatile memory by...
Jakub Jelinek [Tue, 5 Mar 2002 11:10:43 +0000 (12:10 +0100)]
expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 wide volatile memory by parts.

* expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
wide volatile memory by parts.

* gcc.c-torture/compile/20020304-2.c: New test.

From-SVN: r50314

22 years agossa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def is NULL.
Jakub Jelinek [Tue, 5 Mar 2002 11:01:09 +0000 (12:01 +0100)]
ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def is NULL.

* ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
is NULL.
* gcc.dg/20020304-1.c: New test.

From-SVN: r50311

22 years agoDaily bump.
GCC Administrator [Tue, 5 Mar 2002 08:18:29 +0000 (08:18 +0000)]
Daily bump.

From-SVN: r50310

22 years agobuiltins.c (cos_builtin): method_return_type ATTRIBUTE_UNUSED
David Billinghurst [Tue, 5 Mar 2002 05:16:15 +0000 (05:16 +0000)]
builtins.c (cos_builtin): method_return_type ATTRIBUTE_UNUSED

2002-03-05  David Billinghurst <David.Billinghurst@riotinto.com>

* builtins.c(cos_builtin): method_return_type ATTRIBUTE_UNUSED
* builtins.c(sin_builtin): Likewise
* builtins.c(sqrt_builtin): Likewise

From-SVN: r50304

22 years agors6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
Richard Henderson [Tue, 5 Mar 2002 04:31:12 +0000 (20:31 -0800)]
rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.

2002-03-05  Richard Henderson  <rth@redhat.com>

        * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.

From-SVN: r50301

22 years agotoplev.c (documented_lang_options): Document more language-specific options.
Geoffrey Keating [Tue, 5 Mar 2002 02:34:07 +0000 (02:34 +0000)]
toplev.c (documented_lang_options): Document more language-specific options.

* toplev.c (documented_lang_options): Document more
language-specific options.
* doc/invoke.texi (Warning Options): Correct documentation for
-Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
* c-decl.c (c_decode_option): Use a table to handle warning options.

From-SVN: r50299

22 years agommix.h (ENCODE_SECTION_INFO): Pass on new second parameter to mmix_encode_section_info.
Hans-Peter Nilsson [Tue, 5 Mar 2002 02:16:39 +0000 (02:16 +0000)]
mmix.h (ENCODE_SECTION_INFO): Pass on new second parameter to mmix_encode_section_info.

* config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
parameter to mmix_encode_section_info.
(LINK_SPEC): Don't defsym __.MMIX.start..text if linking
relocatably.  Always produce ELF, not mmo if linking relocatably.
* config/mmix/mmix.c (mmix_encode_section_info): If new parameter
first is non-zero, don't add symbol prefix.
* config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
prototype accordingly.

From-SVN: r50298

22 years ago* config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
Krister Walfridsson [Tue, 5 Mar 2002 01:38:39 +0000 (02:38 +0100)]
* config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.

From-SVN: r50297

22 years agoconfigure.in: Increase required makeinfo version to 4.1.
Joseph Myers [Tue, 5 Mar 2002 00:39:06 +0000 (00:39 +0000)]
configure.in: Increase required makeinfo version to 4.1.

* configure.in: Increase required makeinfo version to 4.1.
* configure: Regenerate.

From-SVN: r50294

22 years agocvsignore: Remove *.info* and genrtl*; these files are generated elsewhere now.
Geoffrey Keating [Mon, 4 Mar 2002 23:21:41 +0000 (23:21 +0000)]
cvsignore: Remove *.info* and genrtl*; these files are generated elsewhere now.

* .cvsignore: Remove *.info* and genrtl*; these files are generated
elsewhere now.

From-SVN: r50293

22 years agoporting-howto.xml: Refer to http://www.oasis-open.org for docbookx.dtd.
Craig Rodrigues [Mon, 4 Mar 2002 22:58:50 +0000 (22:58 +0000)]
porting-howto.xml: Refer to oasis-open.org for docbookx.dtd.

2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * docs/html/17_intro/porting-howto.xml: Refer to
        http://www.oasis-open.org for docbookx.dtd.
        * docs/html/17_intro/porting-howto.html: Regenerated.

From-SVN: r50291

22 years agoRemove old unneeded .cvsignore files.
Geoffrey Keating [Mon, 4 Mar 2002 22:57:38 +0000 (22:57 +0000)]
Remove old unneeded .cvsignore files.

From-SVN: r50290

22 years agoconfigure.in: Add --enable-install-libiberty option.
Phil Edwards [Mon, 4 Mar 2002 21:41:06 +0000 (21:41 +0000)]
configure.in: Add --enable-install-libiberty option.

2002-03-04  Phil Edwards  <pme@gcc.gnu.org>

* configure.in:  Add --enable-install-libiberty option.
* Makefile.in (INSTALLED_HEADERS):  New variable.
(install_to_libdir):  Possibly also copy headers.
* configure:  Regenerated.

From-SVN: r50288

22 years ago* xmalloc.c (xmalloc_fail): Clarify error message further.
Neil Booth [Mon, 4 Mar 2002 21:22:52 +0000 (21:22 +0000)]
* xmalloc.c (xmalloc_fail): Clarify error message further.

From-SVN: r50287

22 years agotexinfo.tex: Update to version 2002-03-01.06.
Joseph Myers [Mon, 4 Mar 2002 19:04:44 +0000 (19:04 +0000)]
texinfo.tex: Update to version 2002-03-01.06.

* doc/include/texinfo.tex: Update to version 2002-03-01.06.
* doc/invoke.texi: Fix @math uses.

From-SVN: r50284

22 years agoNew test case (from PR c/5830).
Zack Weinberg [Mon, 4 Mar 2002 17:18:06 +0000 (17:18 +0000)]
New test case (from PR c/5830).

From-SVN: r50279

22 years agotoplev.c (rest_of_compilation): Cleanup CFG after dead jumptables removal
Jan Hubicka [Mon, 4 Mar 2002 14:37:45 +0000 (15:37 +0100)]
toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables removal

* toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
removal

From-SVN: r50277

22 years agoDaily bump.
GCC Administrator [Mon, 4 Mar 2002 08:17:49 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r50276

22 years agoRemove cvs junk
Bryce McKinlay [Mon, 4 Mar 2002 01:01:08 +0000 (01:01 +0000)]
Remove cvs junk

From-SVN: r50271

22 years agoMakefile.am: Use -bootclasspath, not -CLASSPATH.
Bryce McKinlay [Mon, 4 Mar 2002 01:00:16 +0000 (01:00 +0000)]
Makefile.am: Use -bootclasspath, not -CLASSPATH.

* Makefile.am: Use -bootclasspath, not -CLASSPATH.
* Makefile.in: Rebuilt.

From-SVN: r50270

22 years agoconfig.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
Aldy Hernandez [Mon, 4 Mar 2002 00:30:25 +0000 (00:30 +0000)]
config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.

2002-03-03  Aldy Hernandez  <aldyh@redhat.com>

        * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
        (powerpc-*-eabisimaltivec*): Same.

        * config/rs6000/t-ppcendian: New.

From-SVN: r50268

22 years agoc4x-protos.h, [...]: Add new functions nonimmediate_src_operand and nonimmediate_lsrc...
Herman A.J. ten Brugge [Sun, 3 Mar 2002 23:05:33 +0000 (00:05 +0100)]
c4x-protos.h, [...]: Add new functions nonimmediate_src_operand and nonimmediate_lsrc_operand to...

* c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
nonimmediate_src_operand and nonimmediate_lsrc_operand to
disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.

From-SVN: r50266