Compare commits

...

1192 Commits

Author SHA1 Message Date
No Author
64629404d8 This commit was manufactured by cvs2svn to create tag
'gcc_3_1_release'.

From-SVN: r54955
2002-06-24 16:14:28 +00:00
Mark Mitchell
13cf4f0932 Mark ChangeLog
From-SVN: r53469
2002-05-15 02:27:34 +00:00
Mark Mitchell
5ffbe69172 Update version
From-SVN: r53467
2002-05-14 21:42:35 +00:00
Mark Mitchell
36c5858c70 Mark ChangeLog
From-SVN: r53466
2002-05-14 21:40:38 +00:00
GCC Administrator
aacbb6cb2d Daily bump.
From-SVN: r53444
2002-05-14 07:16:21 +00:00
GCC Administrator
b3c9abb2c8 Daily bump.
From-SVN: r53411
2002-05-13 07:16:20 +00:00
GCC Administrator
69c77cab28 Daily bump.
From-SVN: r53393
2002-05-12 07:16:42 +00:00
GCC Administrator
8bc1749402 Daily bump.
From-SVN: r53376
2002-05-11 07:16:10 +00:00
Rainer Orth
e2af9cc2eb t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and . as N64/N32 libgcc_s.so subdirs.
* config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
	. as N64/N32 libgcc_s.so subdirs.

From-SVN: r53365
2002-05-10 15:22:05 +00:00
Philipp Thomas
ce54e09e5c Update to latest versions.
From-SVN: r53363
2002-05-10 14:52:05 +00:00
GCC Administrator
af29b761d0 Daily bump.
From-SVN: r53355
2002-05-10 07:16:17 +00:00
Mark Mitchell
334221c6ba * config/rs6000/rs6000.h: Revert previous patch.
From-SVN: r53354
2002-05-10 06:25:31 +00:00
Joel Sherrill
4e660b17cc rs6000.h (CPP_CPU_SPEC): Correct 403 and 405 arguments for binutils 2.12.
2002-05-09	Joel Sherrill <joel@OARcorp.com>

	* config/rs6000/rs6000.h CPP_CPU_SPEC): Correct
	403 and 405 arguments for binutils 2.12.

From-SVN: r53342
2002-05-09 20:26:10 +00:00
Jeff Law
b4bf45ea94 pa.c (hppa_profile_hook): Use force_reg to get the address of the profile hook into an appropriate pseudo...
* pa.c (hppa_profile_hook): Use force_reg to get the address
        of the profile hook into an appropriate pseudo register.

From-SVN: r53339
2002-05-09 12:20:31 -06:00
Jakub Jelinek
e3c4994514 mklibgcc.in: Set shlib_slibdir_qual to empty string if SHLIB_SLIBDIR_SUFFIXES is empty.
* mklibgcc.in: Set shlib_slibdir_qual to empty string if
	SHLIB_SLIBDIR_SUFFIXES is empty.

From-SVN: r53336
2002-05-09 19:35:21 +02:00
GCC Administrator
0dd4f97eba Daily bump.
From-SVN: r53317
2002-05-09 07:16:12 +00:00
Mark Mitchell
1cac9e4bc6 * gcc_release: Correct upload handling.
From-SVN: r53316
2002-05-09 05:50:34 +00:00
Rainer Orth
fc253add89 t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
	(SHLIB_LINK, SHLIB_INSTALL): Adjust.

From-SVN: r53312
2002-05-09 01:45:24 +02:00
Jakub Jelinek
2ad3879443 t-linux64 (SHLIB_MAPFILES): Set.
* config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
	* config/sparc/libgcc-sparc-glibc.ver: New file.
	* config/i386/t-linux64 (SHLIB_MAPFILES): Add libgcc-x86_64-glibc.ver.
	* config/i386/libgcc-x86_64-glibc.ver: New file.
	* config/cris/t-linux (SHLIB_MAPFILES): Remove.
	* mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.

From-SVN: r53311
2002-05-09 01:25:36 +02:00
Jakub Jelinek
e9ae38ae98 re PR target/6429 (libgcc_s problem on dual 32/64-bit arches)
PR target/6429
	* Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
	* mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
	shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
	base multilibs.
	* config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
	* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
	* config/i386/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
	* config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
	* config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.

	* lib/g77.exp (g77_link_flags): Append all multilib dirs containing
	libgcc_s*.so.1 below gcc object dir to LD_LIBRARY_PATH.
	* lib/g++.exp (g++_link_flags): Likewise.
	* lib/objc.exp (objc_target_compile): Likewise.

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
	LD_LIBRARY_PATH.

	* testsuite/lib/libjava.exp (libjava_arguments): Append all
	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
	LD_LIBRARY_PATH.

From-SVN: r53310
2002-05-09 01:18:39 +02:00
Mark Mitchell
dd2a0c82df re PR target/6569 (sparc-sun-solaris2.7 C testsuite regression in compile/20011119-2.c)
PR c/6569.
	* varasm.c (mark_weak): New function.
	(merge_weak): Use it.  Do not call declare_weak.
	(declare_weak): Use merge_weak.

	PR c/6569
	* gcc.dg/weak-3.c: Update location of warning messages.
	* gcc.dg/weak-5.c: Likewise.

From-SVN: r53292
2002-05-08 14:36:35 +00:00
GCC Administrator
9ef09a440f Daily bump.
From-SVN: r53280
2002-05-08 07:16:13 +00:00
Alexandre Oliva
4d47b4eebf configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs.
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.

From-SVN: r53277
2002-05-08 04:28:44 +00:00
Geoffrey Keating
6965e99add configure.in: Don't pass -Wno-long-long to a ADA compiler that doesn't support it.
* configure.in: Don't pass -Wno-long-long to a ADA compiler
that doesn't support it.
* configure: Regenerate.

From-SVN: r53274
2002-05-08 00:26:47 +00:00
Jason Merrill
8c62299eda dwarf2out.c (rtl_for_decl_location): Don't try to extract a constant value from DECL_INITIAL.
* dwarf2out.c (rtl_for_decl_location): Don't try to extract a
        constant value from DECL_INITIAL.

From-SVN: r53261
2002-05-07 13:27:30 -04:00
Florian Weimer
b273bf4a4a [multiple changes]
2002-05-07  Florian Weimer  <fw@deneb.enyo.de>

	* nmake.adt, treeprs.adt: Shorten long Revision: line.

	* xnmake.adb, xtreeprs.adb: Do not write comment trailer for
	Revision: lines.

2002-05-05  Florian Weimer  <fw@deneb.enyo.de>

	* 4aintnam.ads, 4cintnam.ads, 4dintnam.ads, 4hintnam.ads,
	4mintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
	4pintnam.ads, 4rintnam.ads, 4sintnam.ads, 4uintnam.ads,
	4vcalend.ads, 4vintnam.ads, 4wintnam.ads, 4zintnam.ads,
	4znumaux.ads, 5avxwork.ads, 5etpopse.adb, 5gintman.adb,
	5gproinf.ads, 5gtasinf.adb, 5ninmaop.adb, 5nintman.adb,
	5oparame.adb, 5pvxwork.ads, 5qvxwork.ads, 5rparame.adb,
	5sintman.adb, 5stasinf.adb, 5stpopse.adb, 5svxwork.ads,
	5uintman.adb, 5vinmaop.adb, 5vintman.adb, 5vtpopde.adb,
	5vtpopde.ads, 5wosprim.adb, 6vinterf.ads, 7sinmaop.adb,
	7sosprim.adb, 7stpopsp.adb, 86numaux.ads, 9drpc.adb, a-astaco.adb,
	a-astaco.ads, a-caldel.ads, a-calend.ads, a-chahan.ads,
	a-charac.ads, a-chlat1.ads, a-colien.adb, a-colien.ads,
	a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
	a-direio.adb, a-dynpri.ads, a-excpol.adb, a-filico.ads,
	a-finali.ads, a-flteio.ads, a-fwteio.ads, a-inteio.ads,
	a-interr.adb, a-intnam.ads, a-intsig.adb, a-intsig.ads,
	a-ioexce.ads, a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads,
	a-liteio.ads, a-liwtio.ads, a-llftio.ads, a-llfwti.ads,
	a-llitio.ads, a-lliwti.ads, a-ncelfu.ads, a-ngcoty.ads,
	a-ngelfu.ads, a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads,
	a-nllcef.ads, a-nllcty.ads, a-nllefu.ads, a-nscefu.ads,
	a-nscoty.ads, a-nselfu.ads, a-nucoty.ads, a-nuflra.adb,
	a-nuflra.ads, a-numaux.ads, a-numeri.ads, a-sequio.ads,
	a-sfteio.ads, a-sfwtio.ads, a-siocst.adb, a-siocst.ads,
	a-siteio.ads, a-siwtio.ads, a-ssicst.adb, a-ssicst.ads,
	a-ssitio.ads, a-ssiwti.ads, a-storio.adb, a-storio.ads,
	a-stream.ads, a-strfix.ads, a-string.ads, a-strsea.adb,
	a-strsea.ads, a-strunb.ads, a-ststio.ads, a-stunau.adb,
	a-stunau.ads, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
	a-stwima.ads, a-stwise.adb, a-stwise.ads, a-sytaco.ads,
	a-tags.ads, a-tasatt.ads, a-teioed.ads, a-ticoau.adb,
	a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.ads,
	a-tideio.ads, a-tienau.ads, a-tifiio.ads, a-tiflau.adb,
	a-tiflau.ads, a-tiflio.ads, a-tiinau.ads, a-tiinio.ads,
	a-timoio.adb, a-tiocst.adb, a-tiocst.ads, a-titest.adb,
	a-titest.ads, a-unccon.ads, a-uncdea.ads, a-wtcoau.adb,
	a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
	a-wtcstr.ads, a-wtdeio.ads, a-wtedit.ads, a-wtenau.ads,
	a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.ads,
	a-wtinau.adb, a-wtinau.ads, a-wtinio.ads, a-wtmoau.adb,
	a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
	a-wttest.ads, ada.ads, binde.ads, bindgen.ads, bindusg.ads,
	calendar.ads, ceinfo.adb, debug_a.adb, debug_a.ads, directio.ads,
	elists.ads, exp_attr.ads, exp_ch10.ads, exp_ch12.ads,
	exp_ch13.ads, exp_ch2.ads, exp_ch6.ads, exp_code.ads,
	exp_disp.ads, exp_dist.ads, exp_fixd.ads, exp_imgv.ads,
	exp_intr.ads, exp_prag.ads, exp_smem.ads, exp_vfpt.adb,
	exp_vfpt.ads, frontend.ads, g-busora.adb, g-busorg.adb,
	g-casuti.adb, g-casuti.ads, g-curexc.ads, g-debuti.adb,
	g-debuti.ads, g-hesora.adb, g-hesorg.adb, g-io_aux.ads,
	g-moreex.adb, g-speche.ads, g-spitbo.adb, g-spitbo.ads,
	g-sptabo.ads, g-sptain.ads, g-sptavs.ads, get_targ.adb,
	gnat1drv.ads, gnatbind.ads, gnatcmd.ads, gnatlink.ads, gnatls.ads,
	gnatmake.adb, gnatmake.ads, gnatprep.ads, gnatpsys.adb, hlo.adb,
	hlo.ads, i-c.ads, i-cexten.ads, i-fortra.adb, i-os2err.ads,
	i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.ads,
	interfac.ads, ioexcept.ads, itypes.ads, krunch.ads, lib-sort.adb,
	live.ads, machcode.ads, makeusg.ads, math_lib.adb, mdllfile.adb,
	nlists.adb, nlists.ads, par-ch2.adb, par-labl.adb, par.ads,
	prj-com.ads, s-addima.adb, s-addima.ads, s-arit64.ads,
	s-assert.adb, s-assert.ads, s-asthan.adb, s-asthan.ads,
	s-atacco.adb, s-chepoo.ads, s-direio.ads, s-errrep.adb,
	s-errrep.ads, s-exnflt.ads, s-exngen.ads, s-exnint.ads,
	s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads, s-exnlli.ads,
	s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads, s-expflt.ads,
	s-expgen.ads, s-expint.ads, s-explfl.ads, s-explin.ads,
	s-expllf.ads, s-explli.ads, s-expllu.adb, s-expllu.ads,
	s-expmod.adb, s-expmod.ads, s-expsfl.ads, s-expsin.ads,
	s-expssi.ads, s-expuns.adb, s-expuns.ads, s-fatflt.ads,
	s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-finimp.ads,
	s-fore.adb, s-fore.ads, s-gloloc.adb, s-imgbiu.adb, s-imgboo.adb,
	s-imgcha.adb, s-imgint.adb, s-imgllb.adb, s-imglld.adb,
	s-imglli.adb, s-imgllu.adb, s-imgllw.adb, s-imguns.adb,
	s-imgwch.adb, s-imgwiu.adb, s-inmaop.ads, s-io.ads, s-mantis.adb,
	s-mantis.ads, s-pack03.ads, s-pack05.ads, s-pack07.ads,
	s-pack09.ads, s-pack11.ads, s-pack13.ads, s-pack15.ads,
	s-pack17.ads, s-pack19.ads, s-pack21.ads, s-pack23.ads,
	s-pack25.ads, s-pack27.ads, s-pack29.ads, s-pack31.ads,
	s-pack33.ads, s-pack35.ads, s-pack37.ads, s-pack39.ads,
	s-pack41.ads, s-pack43.ads, s-pack45.ads, s-pack47.ads,
	s-pack49.ads, s-pack51.ads, s-pack53.ads, s-pack55.ads,
	s-pack57.ads, s-pack59.ads, s-pack61.ads, s-pack63.ads,
	s-pooglo.ads, s-pooloc.ads, s-poosiz.ads, s-proinf.adb,
	s-proinf.ads, s-rpc.ads, s-sequio.adb, s-sequio.ads, s-shasto.ads,
	s-sopco3.adb, s-sopco4.adb, s-sopco5.adb, s-stoele.adb,
	s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
	s-strops.adb, s-taenca.ads, s-tasinf.adb, s-tasren.ads,
	s-tasuti.ads, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
	s-valcha.adb, s-valdec.adb, s-valdec.ads, s-valint.adb,
	s-valint.ads, s-vallld.adb, s-vallld.ads, s-vallli.adb,
	s-vallli.ads, s-valllu.adb, s-valllu.ads, s-valrea.ads,
	s-valuns.adb, s-valuns.ads, s-valuti.ads, s-valwch.adb,
	s-vercon.adb, s-vercon.ads, s-vmexta.ads, s-wchcon.ads,
	s-wchjis.adb, s-wchjis.ads, s-wchstw.ads, s-wchwts.adb,
	s-wchwts.ads, s-widboo.adb, s-widboo.ads, s-widcha.adb,
	s-widcha.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
	s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
	s-wwdcha.ads, s-wwdwch.ads, scn-nlit.adb, sdefault.ads,
	sem_aggr.ads, sem_ch10.ads, sem_ch11.ads, sem_ch2.adb,
	sem_ch2.ads, sem_ch4.ads, sem_ch5.ads, sem_ch6.ads, sem_ch7.ads,
	sem_ch8.ads, sem_disp.ads, sem_elim.ads, sem_intr.ads,
	sem_maps.adb, sem_mech.ads, sem_prag.ads, sem_smem.ads,
	sem_vfpt.ads, sequenio.ads, sinput-l.ads, snames.adb, stand.adb,
	switch.ads, text_io.ads, tree_gen.ads, tree_in.ads, tree_io.ads,
	treepr.ads, uname.ads, unchconv.ads, unchdeal.ads, urealp.ads,
	usage.ads, widechar.ads: Adjust Revision: lines which were too
	long.

From-SVN: r53255
2002-05-07 08:22:37 +00:00
GCC Administrator
186da2b6d6 Daily bump.
From-SVN: r53250
2002-05-07 07:16:27 +00:00
Richard Henderson
1006cebbdd re PR c++/6212 (g++ testsuite EH regressions for irix6 -mabi=64)
PR c++/6212
        * expr.c (highest_pow2_factor_for_type): New.
        (expand_assignment): Use it.

From-SVN: r53248
2002-05-06 22:43:11 -07:00
Jakub Jelinek
5ca29db186 configure.in: If as or ld segfaults, don't clutter with it stdout.
* configure.in: If as or ld segfaults, don't clutter with it stdout.
	* configure: Rebuilt.

From-SVN: r53243
2002-05-07 02:15:07 +02:00
Andreas Schwab
14aedbb108 Remove conflict marker.
From-SVN: r53217
2002-05-06 14:53:20 +00:00
Phil Edwards
30ab106f95 documentation.html: Fix broken link.
2002-05-06  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/documentation.html:  Fix broken link.

From-SVN: r53212
2002-05-06 11:44:55 +00:00
GCC Administrator
841daf3ae7 Daily bump.
From-SVN: r53205
2002-05-06 07:16:14 +00:00
Jakub Jelinek
3ddba7b9ce re PR target/6561 (sparc-sun-solaris2.7 C testsuite failure w/-mcpu=ultrasparc in execute/950511-1.c)
PR target/6561
	* config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.

From-SVN: r53193
2002-05-05 23:45:02 +02:00
Alexandre Oliva
227fe5f06e configure.in (noconfigdirs): Don't disable libgcj on sparc64-*-solaris* and sparcv9-*-solaris*.
* configure.in (noconfigdirs): Don't disable libgcj on
sparc64-*-solaris* and sparcv9-*-solaris*.

From-SVN: r53189
2002-05-05 18:56:48 +00:00
Franz Sirl
d02555f77f install.texi (powerpc-*-linux-gnu*): Update build requirements.
2002-05-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.

From-SVN: r53180
2002-05-05 11:34:44 +00:00
GCC Administrator
9d9425cc0c Daily bump.
From-SVN: r53172
2002-05-05 07:16:14 +00:00
David Edelsohn
3743463a3e rs6000.md (sCC pattern and splitter): Remove clobber and use result as temporary value.
* config/rs6000/rs6000.md (sCC pattern and splitter): Remove
        clobber and use result as temporary value.

From-SVN: r53168
2002-05-04 19:12:24 -04:00
GCC Administrator
43da310f03 Daily bump.
From-SVN: r53148
2002-05-04 07:17:18 +00:00
Joe Buck
c5b9c7b163 1aexcept.adb, [...]: Change Ada Core Technologies from maintainer to contributor.
* 1aexcept.adb, 1aexcept.ads, 41intnam.ads, 42intnam.ads,
	4aintnam.ads, 4cintnam.ads, 4dintnam.ads, 4hexcpol.adb,
	4lintnam.ads, 4mintnam.ads, 4nintnam.ads, 4onumaux.ads,
	4pintnam.ads, 4rintnam.ads, 4sintnam.ads, 4uintnam.ads,
	4vcalend.adb, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
	4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
	4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
	52osinte.ads, 52system.ads, 53osinte.ads, 5aosinte.ads,
	5asystem.ads, 5atasinf.ads, 5ataspri.ads, 5avxwork.ads,
	5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5dosinte.ads,
	5esystem.ads, 5fosinte.ads, 5fsystem.ads, 5ftasinf.ads,
	5ginterr.adb, 5gmastop.adb, 5gosinte.ads, 5gproinf.adb,
	5gproinf.ads, 5gsystem.ads, 5gtasinf.adb, 5gtasinf.ads,
	5gtpgetc.adb, 5hparame.ads, 5hsystem.ads, 5htaspri.ads,
	5iosinte.ads, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
	5losinte.ads, 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads,
	5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5ntaspri.ads,
	5oosprim.adb, 5oparame.adb, 5osystem.ads, 5posinte.ads,
	5posprim.adb, 5pvxwork.ads, 5qparame.ads, 5qvxwork.ads,
	5rosinte.ads, 5rparame.adb, 5sintman.adb, 5sosinte.ads,
	5sparame.adb, 5ssystem.ads, 5stasinf.adb, 5stasinf.ads,
	5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5uosinte.ads,
	5vasthan.adb, 5vinterr.adb, 5vintman.ads, 5vosinte.ads,
	5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsystem.ads,
	5vtaspri.ads, 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb,
	5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
	5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
	5zinterr.adb, 5zosinte.adb, 5zosinte.ads, 5zosprim.adb,
	5zparame.ads, 5zsystem.ads, 6vcpp.adb, 6vcstrea.adb,
	7sosprim.adb, 86numaux.adb, 86numaux.ads, 9drpc.adb,
	a-astaco.adb, a-caldel.ads, a-calend.adb, a-calend.ads,
	a-chahan.adb, a-chahan.ads, a-colien.adb, a-colien.ads,
	a-colire.adb, a-colire.ads, a-comlin.adb, a-comlin.ads,
	a-cwila1.ads, a-decima.adb, a-decima.ads, a-diocst.adb,
	a-diocst.ads, a-direio.adb, a-direio.ads, a-einuoc.adb,
	a-einuoc.ads, a-except.adb, a-except.ads, a-excpol.adb,
	a-exctra.adb, a-exctra.ads, a-filico.adb, a-filico.ads,
	a-finali.adb, a-finali.ads, a-interr.ads, a-intsig.adb,
	a-intsig.ads, a-ngcefu.adb, a-ngcoty.adb, a-ngcoty.ads,
	a-ngelfu.adb, a-nudira.adb, a-nudira.ads, a-nuflra.adb,
	a-nuflra.ads, a-numaux.ads, a-reatim.ads, a-retide.ads,
	a-sequio.adb, a-sequio.ads, a-siocst.adb, a-siocst.ads,
	a-ssicst.adb, a-ssicst.ads, a-stmaco.ads, a-storio.adb,
	a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
	a-strfix.ads, a-strmap.adb, a-strmap.ads, a-strsea.adb,
	a-strsea.ads, a-strunb.adb, a-strunb.ads, a-ststio.adb,
	a-ststio.ads, a-stunau.adb, a-stunau.ads, a-stwibo.adb,
	a-stwibo.ads, a-stwifi.adb, a-stwima.adb, a-stwima.ads,
	a-stwise.adb, a-stwise.ads, a-stwiun.adb, a-stwiun.ads,
	a-suteio.adb, a-suteio.ads, a-swmwco.ads, a-swuwti.adb,
	a-swuwti.ads, a-sytaco.adb, a-sytaco.ads, a-tags.adb,
	a-tags.ads, a-tasatt.ads, a-taside.adb, a-taside.ads,
	a-teioed.adb, a-teioed.ads, a-textio.adb, a-textio.ads,
	a-ticoau.adb, a-ticoau.ads, a-ticoio.adb, a-ticoio.ads,
	a-tideau.adb, a-tideau.ads, a-tideio.adb, a-tideio.ads,
	a-tienau.adb, a-tienau.ads, a-tienio.adb, a-tienio.ads,
	a-tifiio.adb, a-tifiio.ads, a-tiflau.adb, a-tiflau.ads,
	a-tiflio.adb, a-tiflio.ads, a-tigeau.adb, a-tigeau.ads,
	a-tiinau.adb, a-tiinau.ads, a-tiinio.adb, a-tiinio.ads,
	a-timoau.adb, a-timoau.ads, a-timoio.adb, a-timoio.ads,
	a-tiocst.adb, a-tiocst.ads, a-titest.adb, a-witeio.adb,
	a-witeio.ads, a-wtcoau.adb, a-wtcoau.ads, a-wtcoio.adb,
	a-wtcstr.adb, a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads,
	a-wtdeio.adb, a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads,
	a-wtenau.adb, a-wtenau.ads, a-wtenio.adb, a-wtenio.ads,
	a-wtfiio.adb, a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads,
	a-wtflio.adb, a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads,
	a-wtinau.adb, a-wtinau.ads, a-wtinio.adb, a-wtmoau.adb,
	a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
	ada-tree.def, ada-tree.h, ada.h, adaint.c, adaint.h,
	ali-util.adb, ali-util.ads, ali.adb, ali.ads, alloc.ads,
	argv.c, atree.adb, atree.ads, atree.h, back_end.adb,
	back_end.ads, bcheck.adb, bcheck.ads, binde.adb, binde.ads,
	binderr.adb, binderr.ads, bindgen.adb, bindgen.ads,
	bindusg.adb, bindusg.ads, butil.adb, butil.ads, cal.c,
	casing.adb, casing.ads, ceinfo.adb, checks.adb, checks.ads,
	cio.c, comperr.adb, comperr.ads, csets.adb, csets.ads,
	csinfo.adb, cstand.adb, cstand.ads, cstreams.c, cuintp.c,
	debug.adb, debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
	dec-io.ads, dec.ads, decl.c, deftarg.c, einfo.adb, einfo.ads,
	einfo.h, elists.adb, elists.ads, elists.h, errno.c, errout.adb,
	errout.ads, eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
	exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
	exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
	exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
	exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
	exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
	exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
	exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
	exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
	exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
	exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
	exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
	exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
	exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
	exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads, fe.h,
	final.c, fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
	fname-uf.adb, fname-uf.ads, fname.adb, fname.ads, freeze.adb,
	freeze.ads, frontend.adb, frontend.ads, g-calend.ads,
	g-comlin.adb, g-debpoo.adb, g-debpoo.ads, g-locfil.adb,
	g-os_lib.ads, g-regist.adb, g-regist.ads, get_targ.adb,
	get_targ.ads, gigi.h, gmem.c, gnat1drv.adb, gnat1drv.ads,
	gnat_ug.texi, gnatbind.adb, gnatbind.ads, gnatbl.c,
	gnatcmd.adb, gnatcmd.ads, gnatdll.adb, gnatfind.adb,
	gnatkr.adb, gnatkr.ads, gnatlbr.adb, gnatlink.adb,
	gnatlink.ads, gnatls.adb, gnatls.ads, gnatmain.adb,
	gnatmain.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
	gnatprep.adb, gnatprep.ads, gnatpsta.adb, gnatpsys.adb,
	gnatvsn.ads, gnatxref.adb, hlo.adb, hlo.ads, hostparm.ads,
	i-c.adb, i-cexten.ads, i-cobol.adb, i-cobol.ads, i-cpoint.adb,
	i-cpoint.ads, i-cpp.adb, i-cpp.ads, i-cstrea.adb, i-cstrea.ads,
	i-cstrin.adb, i-cstrin.ads, i-fortra.adb, i-os2err.ads,
	i-os2lib.adb, i-os2lib.ads, i-os2syn.ads, i-os2thr.ads,
	i-pacdec.adb, i-pacdec.ads, impunit.adb, impunit.ads, init.c,
	inline.adb, inline.ads, io-aux.c, itypes.adb, itypes.ads,
	krunch.adb, krunch.ads, lang-options.h, lang-specs.h,
	layout.adb, layout.ads, lib-list.adb, lib-load.adb,
	lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
	lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
	lib.adb, lib.ads, link.c, live.adb, live.ads, make.adb,
	make.ads, makeusg.adb, makeusg.ads, math_lib.adb, mdll.adb,
	mdll.ads, mdllfile.adb, mdllfile.ads, mdlltool.adb,
	mdlltool.ads, memtrack.adb, misc.c, namet.adb, namet.ads,
	namet.h, nlists.adb, nlists.ads, nlists.h, nmake.adb,
	nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
	output.adb, output.ads, par-ch10.adb, par-ch11.adb,
	par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
	par-ch4.adb, par-ch5.adb, par-ch6.adb, par-ch7.adb,
	par-ch8.adb, par-ch9.adb, par-endh.adb, par-labl.adb,
	par-load.adb, par-prag.adb, par-sync.adb, par-tchk.adb,
	par-util.adb, par.adb, par.ads, prj-attr.adb, prj-attr.ads,
	prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
	prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
	prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
	prj-part.adb, prj-part.ads, prj-proc.adb, prj-proc.ads,
	prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
	prj-util.adb, prj-util.ads, prj.adb, prj.ads, raise.c, raise.h,
	repinfo.adb, repinfo.ads, repinfo.h, restrict.adb,
	restrict.ads, rident.ads, rtsfind.adb, rtsfind.ads,
	s-addima.adb, s-addima.ads, s-arit64.adb, s-arit64.ads,
	s-assert.adb, s-assert.ads, s-asthan.adb, s-asthan.ads,
	s-atacco.adb, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
	s-bitops.ads, s-chepoo.ads, s-direio.adb, s-direio.ads,
	s-except.ads, s-exctab.adb, s-exctab.ads, s-exnflt.ads,
	s-exngen.adb, s-exngen.ads, s-exnint.ads, s-exnlfl.ads,
	s-exnlin.ads, s-exnllf.ads, s-exnlli.ads, s-exnsfl.ads,
	s-exnsin.ads, s-exnssi.ads, s-expflt.ads, s-expgen.adb,
	s-expgen.ads, s-expint.ads, s-explfl.ads, s-explin.ads,
	s-expllf.ads, s-explli.ads, s-expllu.adb, s-expllu.ads,
	s-expmod.adb, s-expmod.ads, s-expsfl.ads, s-expsin.ads,
	s-expssi.ads, s-expuns.adb, s-expuns.ads, s-fatflt.ads,
	s-fatgen.adb, s-fatgen.ads, s-fatlfl.ads, s-fatllf.ads,
	s-fatsfl.ads, s-ficobl.ads, s-fileio.adb, s-fileio.ads,
	s-finimp.adb, s-finimp.ads, s-finroo.adb, s-finroo.ads,
	s-fore.adb, s-fore.ads, s-imgbiu.adb, s-imgbiu.ads,
	s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
	s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
	s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
	s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
	s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
	s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
	s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
	s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
	s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb, s-mantis.ads,
	s-memory.adb, s-memory.ads, s-osprim.ads, s-pack03.adb,
	s-pack03.ads, s-pack05.adb, s-pack05.ads, s-pack06.adb,
	s-pack06.ads, s-pack07.adb, s-pack07.ads, s-pack09.adb,
	s-pack09.ads, s-pack10.adb, s-pack10.ads, s-pack11.adb,
	s-pack11.ads, s-pack12.adb, s-pack12.ads, s-pack13.adb,
	s-pack13.ads, s-pack14.adb, s-pack14.ads, s-pack15.adb,
	s-pack15.ads, s-pack17.adb, s-pack17.ads, s-pack18.adb,
	s-pack18.ads, s-pack19.adb, s-pack19.ads, s-pack20.adb,
	s-pack20.ads, s-pack21.adb, s-pack21.ads, s-pack22.adb,
	s-pack22.ads, s-pack23.adb, s-pack23.ads, s-pack24.adb,
	s-pack24.ads, s-pack25.adb, s-pack25.ads, s-pack26.adb,
	s-pack26.ads, s-pack27.adb, s-pack27.ads, s-pack28.adb,
	s-pack28.ads, s-pack29.adb, s-pack29.ads, s-pack30.adb,
	s-pack30.ads, s-pack31.adb, s-pack31.ads, s-pack33.adb,
	s-pack33.ads, s-pack34.adb, s-pack34.ads, s-pack35.adb,
	s-pack35.ads, s-pack36.adb, s-pack36.ads, s-pack37.adb,
	s-pack37.ads, s-pack38.adb, s-pack38.ads, s-pack39.adb,
	s-pack39.ads, s-pack40.adb, s-pack40.ads, s-pack41.adb,
	s-pack41.ads, s-pack42.adb, s-pack42.ads, s-pack43.adb,
	s-pack43.ads, s-pack44.adb, s-pack44.ads, s-pack45.adb,
	s-pack45.ads, s-pack46.adb, s-pack46.ads, s-pack47.adb,
	s-pack47.ads, s-pack48.adb, s-pack48.ads, s-pack49.adb,
	s-pack49.ads, s-pack50.adb, s-pack50.ads, s-pack51.adb,
	s-pack51.ads, s-pack52.adb, s-pack52.ads, s-pack53.adb,
	s-pack53.ads, s-pack54.adb, s-pack54.ads, s-pack55.adb,
	s-pack55.ads, s-pack56.adb, s-pack56.ads, s-pack57.adb,
	s-pack57.ads, s-pack58.adb, s-pack58.ads, s-pack59.adb,
	s-pack59.ads, s-pack60.adb, s-pack60.ads, s-pack61.adb,
	s-pack61.ads, s-pack62.adb, s-pack62.ads, s-pack63.adb,
	s-pack63.ads, s-parame.adb, s-parame.ads, s-parint.adb,
	s-parint.ads, s-pooglo.adb, s-pooglo.ads, s-pooloc.adb,
	s-pooloc.ads, s-poosiz.adb, s-poosiz.ads, s-powtab.ads,
	s-proinf.adb, s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
	s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
	s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
	s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
	s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
	s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stopoo.ads,
	s-stratt.adb, s-stratt.ads, s-strops.adb, s-strops.ads,
	s-taprob.ads, s-taprop.ads, s-tarest.ads, s-tasdeb.adb,
	s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.ads,
	s-taskin.ads, s-tasren.ads, s-tasres.ads, s-tassta.ads,
	s-tpinop.adb, s-tpinop.ads, s-tpoben.ads, s-tpobop.ads,
	s-unstyp.ads, s-vaflop.adb, s-vaflop.ads, s-valboo.adb,
	s-valboo.ads, s-valcha.adb, s-valcha.ads, s-valdec.adb,
	s-valdec.ads, s-valenu.adb, s-valenu.ads, s-valint.adb,
	s-valint.ads, s-vallld.adb, s-vallld.ads, s-vallli.adb,
	s-vallli.ads, s-valllu.adb, s-valllu.ads, s-valrea.adb,
	s-valrea.ads, s-valuns.adb, s-valuns.ads, s-valuti.adb,
	s-valuti.ads, s-valwch.adb, s-valwch.ads, s-vercon.adb,
	s-vercon.ads, s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb,
	s-wchcnv.ads, s-wchcon.ads, s-wchjis.adb, s-wchjis.ads,
	s-wchstw.adb, s-wchstw.ads, s-wchwts.adb, s-wchwts.ads,
	s-widboo.adb, s-widboo.ads, s-widcha.adb, s-widcha.ads,
	s-widenu.adb, s-widenu.ads, s-widlli.adb, s-widlli.ads,
	s-widllu.adb, s-widllu.ads, s-widwch.adb, s-widwch.ads,
	s-wwdcha.adb, s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads,
	s-wwdwch.adb, s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
	scn-slit.adb, scn.adb, scn.ads, sdefault.ads, sem.adb, sem.ads,
	sem_aggr.adb, sem_aggr.ads, sem_attr.adb, sem_attr.ads,
	sem_case.adb, sem_case.ads, sem_cat.adb, sem_cat.ads,
	sem_ch10.adb, sem_ch10.ads, sem_ch11.adb, sem_ch11.ads,
	sem_ch12.adb, sem_ch12.ads, sem_ch13.adb, sem_ch13.ads,
	sem_ch2.adb, sem_ch2.ads, sem_ch3.adb, sem_ch3.ads,
	sem_ch4.adb, sem_ch4.ads, sem_ch5.adb, sem_ch5.ads,
	sem_ch6.adb, sem_ch6.ads, sem_ch7.adb, sem_ch7.ads,
	sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_ch9.ads,
	sem_disp.adb, sem_disp.ads, sem_dist.adb, sem_dist.ads,
	sem_elab.adb, sem_elab.ads, sem_elim.adb, sem_elim.ads,
	sem_eval.adb, sem_eval.ads, sem_intr.adb, sem_intr.ads,
	sem_maps.adb, sem_maps.ads, sem_mech.adb, sem_mech.ads,
	sem_prag.adb, sem_prag.ads, sem_res.adb, sem_res.ads,
	sem_smem.adb, sem_smem.ads, sem_type.adb, sem_type.ads,
	sem_util.adb, sem_util.ads, sem_vfpt.adb, sem_vfpt.ads,
	sem_warn.adb, sem_warn.ads, sfn_scan.adb, sfn_scan.ads,
	sinfo-cn.adb, sinfo-cn.ads, sinfo.adb, sinfo.ads, sinfo.h,
	sinput-l.adb, sinput-l.ads, sinput-p.adb, sinput-p.ads,
	sinput.adb, sinput.ads, snames.adb, snames.ads, snames.h,
	sprint.adb, sprint.ads, stand.adb, stand.ads, stringt.adb,
	stringt.ads, stringt.h, style.adb, style.ads, stylesw.adb,
	stylesw.ads, switch.adb, switch.ads, sysdep.c, system.ads,
	table.adb, table.ads, targparm.adb, targparm.ads, targtyps.c,
	tbuild.adb, tbuild.ads, trans.c, tree_gen.adb, tree_gen.ads,
	tree_in.adb, tree_in.ads, tree_io.adb, tree_io.ads, treepr.adb,
	treepr.ads, treeprs.ads, treeprs.adt, ttypef.ads, ttypes.ads,
	types.adb, types.ads, types.h, uintp.adb, uintp.ads, uintp.h,
	uname.adb, uname.ads, urealp.adb, urealp.ads, urealp.h,
	usage.adb, usage.ads, utils.c, utils2.c, validsw.adb,
	validsw.ads, widechar.adb, widechar.ads, xeinfo.adb,
	xnmake.adb, xr_tabls.adb, xr_tabls.ads, xref_lib.adb,
	xref_lib.ads, xsinfo.adb, xsnames.adb, xtreeprs.adb : Change
	Ada Core Technologies from maintainer to contributor.

From-SVN: r53142
2002-05-04 05:29:26 +02:00
Jakub Jelinek
1c44af1ef2 re PR target/6542 (Internal compiler error when building libgcc for sparc-elf)
PR target/6542
	* config/sparc/sparc.h (leaf_reg_remap): Remove const.
	(CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
	fill leaf_reg_remap with identity.
	* config/sparc/sparc.c (leaf_reg_remap): Remove const.

	* gcc.dg/20020503-1.c: New test.

From-SVN: r53127
2002-05-03 22:46:23 +02:00
No Author
db007e7a8c This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53126
2002-05-03 20:46:23 +00:00
Jakub Jelinek
7079617c44 re PR target/6522 ([x86] incorrect struct offset for unaligned 64-bit fields in debug information)
PR target/6522
	* dwarf2out.c (simple_decl_align_in_bits): Renamed to...
	(simple_field_decl_align_in_bits): this.  Apply
	BIGGEST_FIELD_ALIGNMENT and ADJUST_FIELD_ALIGN if defined.

From-SVN: r53125
2002-05-03 22:35:39 +02:00
Richard Henderson
f8c1f16acc New.
From-SVN: r53122
2002-05-03 13:29:16 -07:00
Jakub Jelinek
55802867e5 cmdlne-dM-M.c: New test.
* gcc.dg/cpp/cmdlne-dM-M.c: New test.
	* gcc.dg/cpp/cmdlne-dD-M.c: New test.
	* gcc.dg/cpp/cmdlne-dN-M.c: New test.
	* gcc.dg/cpp/cmdlne-dI-M.c: New test.
	* gcc.dg/cpp/cmdlne-dI-M.h: New aux file.
	* gcc.dg/cpp/cmdlne-dD-dM.c: New test.
	* gcc.dg/cpp/cmdlne-dM-dD.c: New test.

From-SVN: r53120
2002-05-03 22:26:42 +02:00
Richard Henderson
f2cacf9644 ifcvt.c (noce_try_store_flag, [...]): Insert new code before JUMP, not EARLIEST.
* ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
        noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
        noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
        code before JUMP, not EARLIEST.

From-SVN: r53119
2002-05-03 13:24:01 -07:00
Jason Merrill
2c5a72e585 revert reversion
From-SVN: r53112
2002-05-03 14:55:23 -04:00
Alexandre Oliva
8402ca3130 Checked in by Eric Christopher <echristo@redhat.com>
2002-05-02  Alexandre Oliva  <aoliva@redhat.com>

        * Makefile.in: Fix for multilibbed natives.

From-SVN: r53111
2002-05-03 18:41:12 +00:00
Benjamin Kosnik
a58e14c40f re PR libstdc++/6549 (std::getline(std::cin,s) work wrong at FreeBSD 4.5)
2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6549.
	* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
	* testsuite/27_io/narrow_stream_objects.cc (test07): Add.

From-SVN: r53110
2002-05-03 18:29:07 +00:00
Alexandre Oliva
be24d3147a * configure.in: Revert 2002-04-18's patch; fixed in libjava.
From-SVN: r53106
2002-05-03 18:22:38 +00:00
Alexandre Oliva
90cda437cd Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
(gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
* Makefile.in: Rebuilt.

From-SVN: r53105
2002-05-03 18:22:16 +00:00
Jakub Jelinek
803b392819 re PR preprocessor/6489 (tradcpp0 fails on line ending with '\r\n')
PR preprocessor/6489
	* tradcpp.c (fixup_newlines): New.
	(main, finclude): Use it.

From-SVN: r53102
2002-05-03 19:51:03 +02:00
Rainer Orth
47c82f92e9 install.texi (Installing): Mention GCC 3.1 buildstats.
* doc/install.texi (Installing): Mention GCC 3.1 buildstats.
	(Specific): Removed buildstats references.
	(Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
	(Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
	Accomodate Solaris versions beyond 8.
	(Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
	(Specific, *-*-solaris2.8): Removed, obsolete.

From-SVN: r53096
2002-05-03 15:10:24 +00:00
Jakub Jelinek
a8bf68a15f Add missing comment end.
From-SVN: r53094
2002-05-03 16:08:33 +02:00
Jason Merrill
4eff559b0e defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53092
2002-05-03 09:13:37 -04:00
Jason Merrill
414397bdb7 defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53087
2002-05-03 08:07:13 -04:00
Jason Merrill
17058dc71a dwarf2out.c (gen_type_die): Don't recurse if TYPE_NAME doesn't actually declare this type.
* dwarf2out.c (gen_type_die): Don't recurse if TYPE_NAME doesn't
        actually declare this type.
        * decl.c (grokdeclarator): Revert last change.

From-SVN: r53084
2002-05-03 07:31:24 -04:00
GCC Administrator
758e93c407 Daily bump.
From-SVN: r53078
2002-05-03 07:16:15 +00:00
Loren J. Rittle
37e7ed7e1c * doc/install.texi (*-*-freebsd*): Update to latest status.
From-SVN: r53071
2002-05-02 23:29:52 +00:00
Jakub Jelinek
2934d02edd re PR target/6540 (sparc-sun-solaris2.7 (perhaps all bi-arch sparc) fail libstdc++-v3 18_support/numeric_limits.cc)
2002-05-02  Jakub Jelinek  <jakub@redhat.com>

	PR target/6540
	* config.gcc (sparc*-*-solaris2*): Set float_format to i128.
	* config/float-sparc.h: Assume 128-bit long double if
	__LONG_DOUBLE_128__ is defined.

From-SVN: r53068
2002-05-02 14:28:50 -07:00
Phil Edwards
8a2afc9d8e index.html: Update list in #4.1.
2002-05-02  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/faq/index.html:  Update list in #4.1.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53066
2002-05-02 21:22:14 +00:00
Hans Boehm
bb5f8c456a dwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
	use sigaction instead of __libc_sigaction.

From-SVN: r53062
2002-05-02 20:15:45 +00:00
Mark Mitchell
e906ba2888 init.c (perform_base_cleanups): Correct order of base class cleanups.
* init.c (perform_base_cleanups): Correct order of base class
	cleanups.

	* g++.dg/init/dtor1.C: Make it tougher.

From-SVN: r53060
2002-05-02 20:02:41 +00:00
Rainer Orth
f0af81232c libjava.exp (libjava_find_spec): New function.
* testsuite/lib/libjava.exp (libjava_find_spec): New function.
	(libjava_init): Use it to find libgcj.spec.
	(libjava_arguments): Likewise.

From-SVN: r53056
2002-05-02 19:10:51 +00:00
David S. Miller
64ae967ad3 re PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)
2002-05-02  David S. Miller  <davem@redhat.com>

	PR bootstrap/6525
	* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
	__libc_sigaction on Sparc.

From-SVN: r53053
2002-05-02 10:53:35 -07:00
John David Anglin
3861646581 * Makefile.in (ALL_ADAFLAGS, MOST_ADAFLAGS): Add CFLAGS to defines.
From-SVN: r53049
2002-05-02 17:32:36 +00:00
Jakub Jelinek
f47e5d0cef PR target/6512, PR target/5628
PR target/6512, PR target/5628
	* config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
	when memory is not aligned.
	(movdf_insn_v9only_vis): Likewise.
	* config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
	temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
	(SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.

From-SVN: r53042
2002-05-02 11:50:52 +02:00
Joseph Myers
422cac9fee * doc/install.texi: State GNAT version requirements.
From-SVN: r53041
2002-05-02 10:00:29 +01:00
GCC Administrator
9c1c1f7789 Daily bump.
From-SVN: r53035
2002-05-02 07:16:21 +00:00
Mark Mitchell
a5bf807ffb re PR c++/6527 (g++ 3.1: class member dtor order wrong (regression in past week))
PR c++/6527
	* init.c (perform_base_cleanups): Emit cleanups in reverse order
	of construction.

From-SVN: r53032
2002-05-02 05:13:30 +00:00
Richard Henderson
65913e0632 Not a good day...
From-SVN: r53030
2002-05-01 18:14:38 -07:00
Jeff Law
e94dce828e pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the 'T' constraint.
* pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
	'T' constraint.

From-SVN: r53029
2002-05-02 00:33:08 +00:00
Benjamin Kosnik
415d081b64 re PR libstdc++/6533 (libstdc++ broken on unsigned char platforms)
2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6533
	* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
	(istreambuf_iterator::equal): Use it.
	(istreambuf_iterator::operator*): Use it.

From-SVN: r53028
2002-05-02 00:29:01 +00:00
Phil Edwards
0f29a49796 std_bitset.h: Fix doxygen comments.
2002-05-01  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_bitset.h:  Fix doxygen comments.
	* docs/html/documentation.html:  Minor tweaks for 3.1.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
	* docs/html/faq/index.html:  Likewise.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53026
2002-05-01 22:58:59 +00:00
Joel Brobecker
0d3f4efa77 dbxout.c (dbxout_type): Emit size information for range types, as well, but only when using GDB extensions.
* dbxout.c (dbxout_type): Emit size information for range types,
	as well, but only when using GDB extensions.

From-SVN: r53022
2002-05-01 18:29:25 -04:00
Geert Bosch
41083949d0 * comperr.adb : Fix typo.
From-SVN: r53020
2002-05-01 23:15:25 +02:00
Richard Henderson
0f53b031f9 Arg. Typo last change.
From-SVN: r53016
2002-05-01 13:32:38 -07:00
Richard Henderson
adcd20fbc9 configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with target-independent gnu binutils date test.
* configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
        target-independent gnu binutils date test.

From-SVN: r53015
2002-05-01 13:31:57 -07:00
Jakub Jelinek
8371b14a70 cppinit.c (cpp_handle_option): Don't set no_output here...
* cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
	(cpp_post_options): ...but here.  Disable -dD, -dN and -dI when
	-M -or -MM is in effect.

From-SVN: r53012
2002-05-01 22:04:46 +02:00
Geert Bosch
f8bb897f27 bindgen.adb (Public_Version_Warning): Remove.
* bindgen.adb (Public_Version_Warning): Remove.

	* gnatvsn.ads : Change to match GCC 3.1 version.

	* comperr.adb : Change bug box, remove ACT-specific circuitry.

	* comperr.ads : Update comments to reflect changed bug message.

From-SVN: r53011
2002-05-01 21:57:06 +02:00
Zack Weinberg
aa47d55099 config.gcc: Correct test of --enable-obsolete.
* config.gcc: Correct test of --enable-obsolete.  Obsolete all
	A29k configurations.
	* doc/install.texi: Update to match.

From-SVN: r53010
2002-05-01 18:44:42 +00:00
Franz Sirl
37b0aef153 re PR bootstrap/6514 (3.1 irix6.5 bootstrap failure in libstdc++-v3/src/misc-inst.cc)
2002-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR bootstrap/6514
	* varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
	for duplicates. Always loop over whole list.

From-SVN: r53007
2002-05-01 18:03:36 +00:00
Richard Kenner
e41e5e5bc3 * reload.c (find_reloads, case 'p'): Set BADOP to 0.
From-SVN: r53004
2002-05-01 13:26:44 -04:00
Joel Sherrill
068780a1c5 t-elf (sparc-rtems, sparc-elf): Build assembly support routines.
2002-05-01	Joel Sherrill <joel@OARcorp.com>

	* config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
	support routines.

From-SVN: r53002
2002-05-01 17:15:48 +00:00
Gabriel Dos Reis
5bb305d5be * error.c (dump_type): Be careful about implicit typenames.
From-SVN: r53000
2002-05-01 16:29:27 +00:00
Joseph Myers
5cc668b9c0 install.texi: Update Texinfo version requirement documentation.
* doc/install.texi: Update Texinfo version requirement
	documentation.

From-SVN: r52998
2002-05-01 14:05:07 +01:00
Paolo Carlini
7c0fc7e6c3 re PR libstdc++/6513 (sigfaults on trivial code)
2002-05-01  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/6513
	* include/bits/stl_uninitialized.h
	(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
	Fix typo in 2001-07-17 commit: typedef _ValueType to
	iterator_traits<_ForwardIter> not <_InputIter>.
	* testsuite/23_containers/vector_ctor.cc: Add test04.

From-SVN: r52996
2002-05-01 08:57:14 +00:00
Nathan Sidwell
f120129309 Fix bad regexp
From-SVN: r52993
2002-05-01 07:34:35 +00:00
GCC Administrator
232316a275 Daily bump.
From-SVN: r52989
2002-05-01 07:16:23 +00:00
Richard Henderson
233b817811 sol27-sld.h: Rename from sol26-sld.h.
* config/sparc/sol27-sld.h: Rename from sol26-sld.h.
        (PREFERRED_DEBUGGING_TYPE, ASM_DEBUG_SPEC): Undef.
        * config.gcc (sparc-solaris): Adjust test for native ld bug.
        Add it after the biarch headers.

From-SVN: r52987
2002-04-30 19:47:56 -07:00
Richard Henderson
87417d6a53 toplev.c (rest_of_compilation): Don't run cross-jump before bb-reorder.
* toplev.c (rest_of_compilation): Don't run cross-jump before
        bb-reorder.
	* gcc.dg/20020430-1.c: New.

From-SVN: r52980
2002-04-30 16:04:54 -07:00
David S. Miller
422ac28835 Add ABI change note to previous change.
From-SVN: r52978
2002-04-30 15:27:46 -07:00
Mark Mitchell
faad55f353 class.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if TYPE_HAS_TRIVIAL_INIT_REF is false or...
2002-04-30  Mark Mitchell  <mark@codesourcery.com>

	* class.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if
	TYPE_HAS_TRIVIAL_INIT_REF is false or
	TYPE_HAS_NONTRIVIAL_DESTRUCTOR is true.

From-SVN: r52975
2002-04-30 14:53:02 -07:00
Joel Sherrill
d5b94ded33 rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
2002-04-30	Joel Sherrill <joel@OARcorp.com>

	* config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.

From-SVN: r52971
2002-04-30 19:58:55 +00:00
Mark Mitchell
fba79de59a re PR c++/6492 (New boost regression (friends))
PR c++/6492
	* pt.c (tsubst_friend_class): If the friend has an explicit scope,
	enter that scope before name lookup.

From-SVN: r52968
2002-04-30 19:43:56 +00:00
John David Anglin
c02e45f9ae re PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)
PR libstdc++/6501
	* include/c_std/std_cctype.h: Include bits/c++config.h.
	* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.

From-SVN: r52967
2002-04-30 19:29:24 +00:00
Richard Henderson
bf68c82283 sparc.c (emit_soft_tfmode_libcall, [...]): New.
* config/sparc/sparc.c (emit_soft_tfmode_libcall,
        emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
        emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
        emit_tfmode_cvt): New.
        * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
        trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
        fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
        addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
        * config/sparc/sparc-protos.h: Update.

From-SVN: r52964
2002-04-30 12:10:02 -07:00
Benjamin Kosnik
b7952e6c3e stdio_filebuf.h: New file.
2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/stdio_filebuf.h: New file.
	* include/ext/enc_filebuf.h: New file.
	* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
	* config/io/basic_file_stdio.cc: Same.
	* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
	Remove _M_unbuf hacks.
	(filebuf::_M_destroy_internal_buffer): Same.
	(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
	(filebuf::fd): Remove.
	* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
	(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
	(filebuf::fd): Remove.
	* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
	filebufs.
	(ios_base::_S_ios_destroy): Same.
	* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
	* include/Makefile.am (ext_headers): Add ext_filebuf.h,
	stdio_filebuf.h.  * include/Makefile.in: Regenerate.

From-SVN: r52963
2002-04-30 19:05:47 +00:00
No Author
ca4834b7c8 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52962
2002-04-30 19:05:47 +00:00
John David Anglin
be12062f28 config.gcc (hppa1.1-*-pro*, [...]): Define xmake_file.
* config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
	hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
	hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
	hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
	* ada/Make-lang.in (ADA_FLAGS_TO_PASS): Don't pass ADA_CFLAGS.
	* pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
	* pa/x-ada: New file.  Define ADA_CFLAGS.

From-SVN: r52960
2002-04-30 19:02:22 +00:00
Janis Johnson
a3a1aa89bd install.texi (Final install): Add to the list of info to include in a report of a successful bootstrap...
* doc/install.texi (Final install): Add to the list of info to include
	in a report of a successful bootstrap, and add link to 3.1 list.

From-SVN: r52958
2002-04-30 18:06:53 +00:00
Jason Merrill
c95ff6545e decl.c (grokdeclarator): Don't override TYPE_NAME of an anonymous class with a typedef if...
* decl.c (grokdeclarator): Don't override TYPE_NAME of an
        anonymous class with a typedef if there are attributes.

[[Split portion of a mixed commit.]]

From-SVN: r52955.1
2002-04-30 13:50:12 -04:00
Jakub Jelinek
ad23c3ac25 re PR c++/6396 (3.1 flow.c 583 ICE with -frename-registers)
PR c++/6396
	* toplev.c (rest_of_compilation): Only run regrename and copy
	propagation if optimizing.

From-SVN: r52952
2002-04-30 19:08:16 +02:00
Paul Eggert
f2738d5ba7 * parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$.
From-SVN: r52947
2002-04-30 11:42:21 -04:00
Gerald Pfeifer
171b35c125 contrib.texi (Contributors): Use MIPS instead of Mips and mips.
* doc/contrib.texi (Contributors): Use MIPS instead of Mips and
	mips.  Add two missing commas.

From-SVN: r52943
2002-04-30 13:29:22 +00:00
Paolo Carlini
605c614ae0 contrib.texi (Contributors): Update Paolo Carlini's and Benjamin Kosnik's entries.
2002-04-30  Paolo Carlini  <pcarlini@unitus.it>

	* doc/contrib.texi (Contributors): Update Paolo Carlini's
	and Benjamin Kosnik's entries.

From-SVN: r52942
2002-04-30 11:07:52 +00:00
Paul Eggert
4a42c73aee parse.y (nomods_initdcl0): Do not move stack entries when setting things up as initdcl0_innards expects.
* parse.y (nomods_initdcl0): Do not move stack entries
	when setting things up as initdcl0_innards expects.

From-SVN: r52940
2002-04-30 09:35:14 +00:00
Benjamin Kosnik
f5e0e1f6d0 re PR libstdc++/6511 (new libstdc++ v3 testsuite regressions on *-*-solaris2.8)
2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6511
	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.

From-SVN: r52938
2002-04-30 09:19:28 +00:00
Benjamin Kosnik
4d3d0741fd re PR libstdc++/5820 (EOF not handled correctly on input)
2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/5820
        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
        Check for eof.
        * include/bits/streambuf_iterator.h: Match stream_iterator.h.
        (istreambuf_iterator::operator++): Invalidate on eof.
        (istreambuf_iterator::operator++(int)): Same.
        (istreambuf_iterator::operator*): Same.

From-SVN: r52936
2002-04-30 08:28:04 +00:00
Benjamin Kosnik
2fc045a030 re PR libstdc++/5820 (EOF not handled correctly on input)
2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/5820
        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
        Check for eof.
        * include/bits/streambuf_iterator.h: Match stream_iterator.h.
        (istreambuf_iterator::operator++): Invalidate on eof.
        (istreambuf_iterator::operator++(int)): Same.
        (istreambuf_iterator::operator*): Same.

From-SVN: r52935
2002-04-30 08:27:20 +00:00
GCC Administrator
a990fd6464 Daily bump.
From-SVN: r52929
2002-04-30 07:16:21 +00:00
Rainer Orth
d5516493c2 libstdc++-v3-dg.exp (libstdc++-v3-init): Set all of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, LD_LIBRARY64_PATH.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
	of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
	LD_LIBRARY64_PATH.

From-SVN: r52918
2002-04-30 01:41:37 +00:00
Franz Sirl
9ec740b1ac combine.c (find_split_point): Use trunc_int_for_mode.
2002-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* combine.c (find_split_point): Use trunc_int_for_mode.

From-SVN: r52917
2002-04-30 00:42:48 +00:00
Richard Kenner
4474a953e5 reload1.c (eliminate_regs, [...]): Fix typo in adjust_address_nv call.
* reload1.c (eliminate_regs, case SUBREG): Fix typo in
	adjust_address_nv call.

From-SVN: r52912
2002-04-29 17:22:47 -04:00
Roger Sayle
b0452af3f2 * MAINTAINERS: Synchronize with mainline.
From-SVN: r52911
2002-04-29 20:44:37 +00:00
Janis Johnson
b84acfa60c install.texi (Testing): Provide additional information...
* doc/install.texi (Testing): Provide additional information, and
	a stronger encouragement, for running the testsuites.

From-SVN: r52909
2002-04-29 20:25:20 +00:00
Rainer Orth
87d46d9efc inclhack.def (solaris_widec): Include <wchar.h> in Solaris 2 <widec.h> if missing.
* fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
	Solaris 2 <widec.h> if missing.
	* fixinc/fixincl.x: Regenerate.
	* fixinc/tests/base/widec.h: New file.

From-SVN: r52905
2002-04-29 19:31:19 +00:00
Jakub Jelinek
714c9c0edf re PR target/6476 (Need configury bits to detect binutils eh_frame optimizer bugs)
PR target/6476
	* configure.in: Check whether linker eh_frame optimizations work
	properly.
	* configure: Rebuilt.

From-SVN: r52901
2002-04-29 17:20:53 +02:00
Jan Hubicka
2f448eca6e * i386.c (dbx64_register_map): Fix typo.
From-SVN: r52898
2002-04-29 15:09:23 +00:00
Jan Hubicka
37d9dcfbb9 *** empty log message ***
From-SVN: r52897
2002-04-29 15:07:26 +00:00
Jakub Jelinek
cd24738009 re PR c++/6477 (Segfault on conflicting types in trivial code)
PR c++/6477
	* decl.c (follow_tag_typedef): Check if TYPE_NAME (original) is
	non-NULL first.

	* g++.dg/parse/typedef1.C: New test.

From-SVN: r52896
2002-04-29 17:05:46 +02:00
Mark Mitchell
3939c11f5c re PR c++/6492 (New boost regression (friends))
PR c++/6492
	* pt.c (tsubst_friend_class): If the friend has an explicit scope,
	enter that scope before name lookup.

	PR c++/6486
	* method.c (do_build_copy_constructor): Avoid building
	cv-qualified reference types.

	PR c++/6486
	* g++.dg/template/friend6.C: New test.

	PR c++/6492
	* g++.dg/init/copy1.C: New test.

From-SVN: r52894
2002-04-29 14:54:52 +00:00
Gerald Pfeifer
cb66b1e54f contrib.texi (Contributors): Add Paolo Carlini and Janis Johnson.
* doc/contrib.texi (Contributors): Add Paolo Carlini and
	Janis Johnson.
	Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
	Refer to Objective-C instead of ObjC, SPARC instead of sparc,
	and CPU instead of cpu.

From-SVN: r52892
2002-04-29 13:10:06 +00:00
Nathan Sidwell
059417f379 re PR c++/5719 (Suspect gcc-3 to report wrong waring for 'T& T::operator+=( const T& )')
cp:
	PR c++/5719
	* decl.c (grok_op_properties): Assignment ops don't have to return
	by value. operator% should.
testsuite:
	* g++.dg/warn/effc1.C: New test.

From-SVN: r52887
2002-04-29 08:41:44 +00:00
Joseph Myers
f41520d803 invoke.texi: Use @gol at ends of lines inside @gccoptlist.
* invoke.texi: Use @gol at ends of lines inside @gccoptlist.
	* g77.texi: Update last update date.

From-SVN: r52886
2002-04-29 08:58:32 +01:00
Alexandre Oliva
c59d253cde config.gcc: Revert i386 changes inadvertently brought in from mainline along with...
* config.gcc: Revert i386 changes inadvertently brought in
from mainline along with 2002-04-04's change.

From-SVN: r52884
2002-04-29 07:52:06 +00:00
GCC Administrator
12a1d40c9a Daily bump.
From-SVN: r52880
2002-04-29 07:16:12 +00:00
David S. Miller
5b0713b0a7 configure.in, configure: Fix SPARC test in previous change.
2002-04-28  David S. Miller  <davem@redhat.com>

	* configure.in, configure: Fix SPARC test in previous change.

From-SVN: r52877
2002-04-28 22:47:08 -07:00
David S. Miller
a90f4688c9 re PR target/6496 (Sparc backend clobbers call-return stack of UltraSparc)
2002-04-28  David S. Miller  <davem@redhat.com>

	PR target/6496
	* config/sparc/sparc.md (call followed by jump peephole): Do not
	match for TARGET_V9, kill TARGET_ARCH64 variants.

	PR target/6500
	* config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
	64-bit TARGET_V9.  Do not use prefetch page, use prefetch for
	several {reads,writes} instead.
	* config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
	Define.

From-SVN: r52875
2002-04-28 22:26:08 -07:00
David S. Miller
7ba22dde83 re PR target/6494 (sparc64-linux libjava testsuite failures)
2002-04-27  David S. Miller  <davem@redhat.com>

	PR target/6494
	* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
	of the stack bias.

	* config/sparc/linux.h, config/sparc/linux64.h: Don't bother
	including signal.h and sys/ucontext.h, not needed.

From-SVN: r52871
2002-04-28 21:09:50 -07:00
Bruce Korb
5f434ce0d0 spell defined "defined" instead of "procedure"
From-SVN: r52868
2002-04-29 02:28:36 +00:00
Paolo Carlini
abeb408a60 [multiple changes]
2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* include/ext/stl_hashtable.h: Import __iterator_category

2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* testsuite/ext/hash_set.cc: New testfile.

From-SVN: r52865
2002-04-28 22:22:57 +00:00
Richard Henderson
e2ab4c390a re PR middle-end/5154 (GCC 3.0.2 crashes when compiling a HUGE function)
PR c/5154
        * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
        (ggc_mark_rtx_children): New.

From-SVN: r52862
2002-04-28 13:35:54 -07:00
Franz Sirl
f52b318c77 re PR c/6497 (unrecognizable insn:l inux-2.4.19 pre7 kernel comling with gcc-3.1 prerelease)
2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR c/6497
	* config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
	result as temporary value.

From-SVN: r52861
2002-04-28 20:34:49 +00:00
Jakub Jelinek
5ae87e434b configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working %r_disp32().
* configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
	%r_disp32().
	* src/sparc/v8.S: Use it.
	* src/sparc/v9.S: Likewise.
	* fficonfig.h.in: Rebuilt.
	* configure: Rebuilt.

From-SVN: r52859
2002-04-28 22:12:04 +02:00
Jakub Jelinek
aaecc993d8 re PR rtl-optimization/6475 (zlib miscompilation with gcc-3.1)
PR optimization/6475
	* reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
	register of REGNO_DECL (i).
	* Makefile.in (reload1.o): Add $(TREE_H).

	* gcc.dg/20020426-2.c: New test.

From-SVN: r52854
2002-04-28 21:43:49 +02:00
Bruce Korb
f84bf33e48 verify existence of set-writable before using
From-SVN: r52852
2002-04-28 19:37:53 +00:00
Franz Sirl
043d816ce3 re PR c/6343 (attribute((weak)) not working on second declaration)
2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR c/6343
	* c-decl.c (duplicate_decls): Call merge_weak.
	* c-pragma.c (apply_pragma_weak): Warn about misuse.
	* output.h (merge_weak): Prototype merge_weak.
	* varasm.c (merge_weak): New function.
	(declare_weak): Make sure we don't give an error on VAR_DECLs.
	Mark RTL with SYMBOL_REF_WEAK.

cp:
	* decl.c (duplicate_decls): Call merge_weak.

testsuite:
	* gcc.dg/weak-[2-7].c: New tests.

From-SVN: r52848
2002-04-28 18:43:58 +00:00
No Author
ee7406c446 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52847
2002-04-28 18:43:58 +00:00
Mark Mitchell
7d981d7b8b * .cvsignore: Remove files that are present in CVS.
From-SVN: r52846
2002-04-28 18:42:21 +00:00
GCC Administrator
ac7c86789b Daily bump.
From-SVN: r52839
2002-04-28 07:16:40 +00:00
GCC Administrator
028c232e29 Daily bump.
From-SVN: r52828
2002-04-27 07:16:25 +00:00
Mark Mitchell
008a105bf3 re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
PR bootstrap/6445
	* config/i386/i386.md (untyped_call): Return the value in a float
	register if TARGET_FLOAT_RETURNS_IN_80387, not just if
	TARGET_80387.

From-SVN: r52823
2002-04-27 00:25:12 +00:00
David S. Miller
3ec6c769bf re PR target/6422 (libjava failures on sparc-linux)
2002-04-25  David S. Miller  <davem@redhat.com>

	PR target/6422
	* reorg.c (optimize_skip): Do not allow exception causing
	instructions to be considered for delay slots.
	(fill_simply_delay_slots, fill_slots_from_thread): Likewise.
	(relax_delay_slots): Do not try to consider exception causing
	instructions as redundant.

From-SVN: r52821
2002-04-26 17:06:15 -07:00
David S. Miller
f1e032e207 re PR target/6422 (libjava failures on sparc-linux)
2002-04-25  David S. Miller  <davem@redhat.com>

	PR target/6422
	* include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
	program counter to next program counter minus 8.  Update
	comments in this macro to explain why.

From-SVN: r52819
2002-04-26 17:03:03 -07:00
Alexandre Oliva
0b28889419 re PR c++/6479 (access control bug)
PR c++/6497
* g++.dg/inherit/access2.C: New test.

From-SVN: r52818
2002-04-26 23:48:32 +00:00
No Author
c5843d9e38 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52817
2002-04-26 23:48:32 +00:00
Alexandre Oliva
43a769bd2e tree.c (tree_int_cst_lt): Compare constants whose types differ in unsigned-ness correctly.
* tree.c (tree_int_cst_lt): Compare constants whose types differ
in unsigned-ness correctly.

From-SVN: r52816
2002-04-26 23:46:01 +00:00
Joel Sherrill
ebbf3df442 configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
2002-04-26	Joel Sherrill <joel@OARcorp.com>

	* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
	(sparc-*-elf*, sparc64-*-elf*): Disable libgcj.

From-SVN: r52811
2002-04-26 21:40:53 +00:00
Chris Demetriou
c4bde695cf mips.h (SUBTARGET_CPP_SIZE_SPEC): Get closer to correct for MEABI (used by mipsisa32-elf).
2002-04-26  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Get closer to
        correct for MEABI (used by mipsisa32-elf).

From-SVN: r52810
2002-04-26 14:32:14 -07:00
Mark Mitchell
e18f3a4cc8 re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
PR bootstrap/6445
	* config/i386/i386.md (untyped_call): Return the value in a float
	register if TARGET_FLOAT_RETURNS_IN_80387, not just if
	TARGET_80387.

	PR c++/6497
	* method.c (do_build_assign_ref): Pass a derivation to
	build_method_call when calling base class assignment operators.

	PR c++/6497
	* g++.dg/inherit/access2.C: New test.

	PR bootstrap/6445
	* gcc.dg/20020426-1.c: New test.

From-SVN: r52808
2002-04-26 21:26:07 +00:00
Alexandre Oliva
3face55598 * g++.dg/abi/enum1.C: New test.
From-SVN: r52806
2002-04-26 20:10:05 +00:00
No Author
9e561320c3 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52805
2002-04-26 20:10:05 +00:00
Paolo Carlini
e81de24ca7 basic_string.h (replace(__pos, __n1, __s, __n2): Fix and tighten __throw_length_error check.
2002-04-26  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
	Fix and tighten __throw_length_error check.
	* testsuite/21_strings/replace.cc (test04): New.
	* testsuite/21_strings/replace.cc (test02, test03): Tweak.

From-SVN: r52803
2002-04-26 19:36:27 +00:00
Ulrich Weigand
6ffe9df0c4 * config/s390/linux.h: Revert 2002-04-22 change.
From-SVN: r52801
2002-04-26 19:21:18 +00:00
John David Anglin
76bc077009 pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the portable runtime model.
* pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
	portable runtime model.

From-SVN: r52799
2002-04-26 18:40:47 +00:00
David Edelsohn
8a14269289 rs6000.md (sCC pattern): Remove clobber and use result as temporary value.
* config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
        result as temporary value.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r52798
2002-04-26 14:22:51 -04:00
Richard Henderson
af15ba6b57 * c-common.c (combine_strings): Tweak __FUNCTION__ warning text.
From-SVN: r52796
2002-04-26 11:10:32 -07:00
Richard Henderson
c71c2bcad9 * c-common.c (combine_strings): Use xmalloc, not alloca.
From-SVN: r52795
2002-04-26 10:53:35 -07:00
Bo Thorsen
2d6231b75d linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for x86-64.
2002-04-26  Bo Thorsen  <bo@suse.co.uk>

	* config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
		x86-64.

From-SVN: r52792
2002-04-26 09:57:50 +02:00
GCC Administrator
7ffd0daca1 Daily bump.
From-SVN: r52783
2002-04-26 07:16:46 +00:00
David S. Miller
5f76609a8b sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check for DECL being NULL.
2002-04-25  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
	for DECL being NULL.

From-SVN: r52775
2002-04-25 19:04:04 -07:00
Eric Botcazou
81f8fa35df c-decl.c (grokdeclarator): Remove outdated ??? note on invalid declaration of flexible array members.
* c-decl.c (grokdeclarator): Remove outdated ??? note
        on invalid declaration of flexible array members.

From-SVN: r52773
2002-04-25 17:23:32 -07:00
Richard Henderson
adc6b5fd82 * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
From-SVN: r52770
2002-04-25 15:33:21 -07:00
Ulrich Weigand
cc03dff663 s390.c (s390_emit_epilogue): Always restore registers needed by the compiler...
* config/s390/s390.c (s390_emit_epilogue): Always restore registers
needed by the compiler, even if they are used as global regs.

From-SVN: r52766
2002-04-25 20:06:51 +00:00
Kaveh R. Ghazi
cf891c917c 20020227-1.x: New file, xfail on 64-bit targets.
* gcc.c-torture/execute/20020227-1.x: New file, xfail on 64-bit
	targets.

From-SVN: r52761
2002-04-25 18:44:37 +00:00
Steven Bosscher
4063beb78b * doc/c-tree.texi: Fix typo in introduction.
From-SVN: r52759
2002-04-25 09:34:52 +00:00
GCC Administrator
f2af4b8b4d Daily bump.
From-SVN: r52754
2002-04-25 07:16:25 +00:00
Richard Henderson
5c0c9d6177 configure.in (HAVE_GAS_HIDDEN): Detect sparc binutils 2.12 linker bug.
* configure.in (HAVE_GAS_HIDDEN): Detect sparc binutils 2.12
        linker bug.

From-SVN: r52752
2002-04-24 18:32:29 -07:00
Tom Tromey
3e340b61e5 For PR java/6425:
* parse.y (qualify_ambiguous_name) [case CALL_EXPR]: Always choose
	EXPR_WFL_QUALIFICATION of qual_wfl.

From-SVN: r52750
2002-04-25 01:08:29 +00:00
Mark Mitchell
09bef5885f mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing out an array type.
2002-04-24  Mark Mitchell  <mark@codesourcery.com>

	* mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing
	out an array type.
	(write_CV_qualifiers_for_type): Use TYPE_QUALS, not cp_type_quals,
	to determine qualifiers.

From-SVN: r52748
2002-04-25 01:04:56 +00:00
Jason Merrill
1d80c072da typeck.c (build_modify_expr): The pedwarn for array assignment is now unconditional.
* typeck.c (build_modify_expr): The pedwarn for array assignment is
        now unconditional.
        * tree.c (build_cplus_array_type_1): Still process simple array types
        normally in templates.

From-SVN: r52747
2002-04-24 20:14:26 -04:00
Tom Tromey
36950d08a3 natCore.cc (create): Use __builtin_alloca, and compute correct length of UTF-8 encoded name.
* gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
	correct length of UTF-8 encoded name.  Strip leading `/'.
	(_Jv_RegisterResource): Use _Jv_Malloc.

From-SVN: r52743
2002-04-24 23:02:56 +00:00
Mark Mitchell
6673aaf79b cvt.c (convert_to_void): Don't unconditionally make COND_EXPRs void.
* cvt.c (convert_to_void): Don't unconditionally make COND_EXPRs
	void.

From-SVN: r52741
2002-04-24 22:41:00 +00:00
Per Bothner
e02acb8af0 expr.c (PRE_JSR): Call NOTE_LABEL for return address.
* expr.c (PRE_JSR):  Call NOTE_LABEL for return address.
	* java-tree.h (BCODE_RETURN_TARGET):  Removed - never set.
	(BCODE_TARGET):  Remove BCODE_RETURN_TARGET.

From-SVN: r52736
2002-04-24 15:16:08 -07:00
Neil Booth
178ee15a78 * gcc.dg/cpp/ucs.c: Update as for 3.2.
From-SVN: r52729
2002-04-24 20:39:30 +00:00
Kaveh Ghazi
d1926ca5ed labels-3.x: New file, don't assemble the compiler output on mips*-*-irix*.
* gcc.c-torture/compile/labels-3.x: New file, don't assemble the
	compiler output on mips*-*-irix*.

From-SVN: r52728
2002-04-24 19:31:25 +00:00
No Author
2a2ea8a9ff This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52727
2002-04-24 19:31:25 +00:00
Jason Merrill
7e93ecdd67 dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
        * dwarf2out.c (dwarf_attr_name): Support it.
        (gen_array_type_die): Emit it.
        (lookup_type_die): No special handling for VECTOR_TYPE.
        (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.

From-SVN: r52725
2002-04-24 14:50:26 -04:00
Richard Henderson
c643b640a6 * config/mips/mips.md (movdi_usd): Renumber.
From-SVN: r52722
2002-04-24 10:40:50 -07:00
Robert Lipe
0c2f2cc04b * config/i386/sco5.h(i386.h, att.h): Eliminate double inclusion.
From-SVN: r52721
2002-04-24 17:18:04 +00:00
David S. Miller
4298dde5e5 re PR target/6420 (libstdc++ failures on sparc-linux-gnu)
2002-04-24  David S. Miller  <davem@redhat.com>

	PR target/6420
	* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
	32-bit Sparc and current_function_returns_struct is true.

From-SVN: r52719
2002-04-24 09:57:15 -07:00
David O'Brien
8e3a59d048 encoding.c (MAX, [...]): #undef before defining.
2002-04-24  David O'Brien  <obrien@FreeBSD.org>
	* encoding.c (MAX, MIN, ROUNDING): #undef before defining.

Approved by:  David S. Miller <davem@redhat.com>
              Message-Id: <20020419.184825.67430590.davem@redhat.com>

From-SVN: r52716
2002-04-24 15:05:19 +00:00
Aldy Hernandez
97b56bf405 altivec.h: Cleanup file.
2002-04-24  Aldy Hernandez  <aldyh@redhat.com>

	* config/rs6000/altivec.h: Cleanup file.  Add non individual
	variants.
	(vec_vaddubm): New.
	(vec_vadduhm): New.
	(vec_vadduwm): New.
	(vec_vaddfp): New.
	(vec_vaddcuw): New.
	(vec_vaddubs): New.
	(vec_vaddsbs): New.
	(vec_vadduhs): New.
	(vec_vadduws): New.
	(vec_vaddsws): New.
	(vec_vand): New.
	(vec_vandc): New.
	(vec_vavgub): New.
	(vec_vavgsb): New.
	(vec_vavguh): New.
	(vec_vavgsh): New.
	(vec_vavguw): New.
	(vec_vavgsw): New.
	(vec_vrfip): New.
	(vec_vcmpbfp): New.
	(vec_vcmpequb): New.
	(vec_vcmpequh): New.
	(vec_vcmpequw): New.
	(vec_vcmpeqfp): New.
	(vec_vcmpgefp): New.
	(vec_vcmpgtub): New.
	(vec_vcmpgtsb): New.
	(vec_vcmpgtuh): New.
	(vec_vcmpgtsh): New.
	(vec_vcmpgtuw): New.
	(vec_vcmpgtsw): New.
	(vec_vcmpgtfp): New.
	(vec_vcmpgefp): New.
	(vec_vcfux): New.
	(vec_vcfsx): New.
	(vec_vctsxs): New.
	(vec_vctuxs): New.
	(vec_vexptefp): New.
	(vec_vrfim): New.
	(vec_lvx): New.
	(vec_lvebx): New.
	(vec_lvehx): New.
	(vec_lde): Add vector float variant.
	(vec_lvewx): New.
	(vec_lvxl): New.
	(vec_vlogefp): New.
	(vec_vmaddfp): New.
	(vec_vmhaddshs): New.
	(vec_vmaxub): New.
	(vec_vmaxsb): New.
	(vec_vmaxuh): New.
	(vec_vmaxsh): New.
	(vec_vmaxuw): New.
	(vec_vmaxsw): New.
	(vec_vmaxsw): New.
	(vec_vmaxfp): New.
	(vec_vmrghb): New.
	(vec_vmrghh): New.
	(vec_vmrghw): New.
	(vec_vmrglb): New.
	(vec_vmrglh): New.
	(vec_vmrglw): New.
	(vec_vminub): New.
	(vec_vminsb): New.
	(vec_vminuh): New.
	(vec_vminsh): New.
	(vec_vminuw): New.
	(vec_vminsw): New.
	(vec_vminfp): New.
	(vec_vmladduhm): New.
	(vec_vmhraddshs): New.
	(vec_msumubm): New.
	(vec_vmsummbm): New.
	(vec_vmsumuhm): New.
	(vec_vmsumshm): New.
	(vec_vmsumuhs): New.
	(vec_vmsumshs): New.
	(vec_vmuleub): New.
	(vec_vmulesb): New.
	(vec_vmuleuh): New.
	(vec_vmulesh): New.
	(vec_vmuloub): New.
	(vec_mulosb): New.
	(vec_vmulouh): New.
	(vec_vmulosh): New.
	(vec_vnmsubfp): New.
	(vec_vnor): New.
	(vec_vor): New.
	(vec_vpkuhum): New.
	(vec_vpkuwum): New.
	(vec_vpkpx): New.
	(vec_vpkuhus): New.
	(vec_vpkshss): New.
	(vec_vpkuwus): New.
	(vec_vpkswss): New.
	(vec_vpkshus): New.
	(vec_vpkswus): New.
	(vec_vperm): New.
	(vec_vrefp): New.
	(vec_vrlb): New.
	(vec_vrlh): New.
	(vec_vrlw): New.
	(vec_vrfin): New.
	(vec_vrsqrtefp): New.
	(vec_vsel): New.
	(vec_vslb): New.
	(vec_vslh): New.
	(vec_vslw): New.
	(vec_vsldoi): New.
	(vec_vsl): New.
	(vec_vslo): New.
	(vec_vspltb): New.
	(vec_vsplth): New.
	(vec_vspltw): New.
	(vec_vspltisb): New.
	(vec_vspltish): New.
	(vec_vspltisw): New.
	(vec_vsrb): New.
	(vec_vsrh): New.
	(vec_vsrw): New.
	(vec_vsrab): New.
	(vec_vsrah): New.
	(vec_vsraw): New.
	(vec_vsr): New.
	(vec_vsro): New.
	(vec_stvx): New.
	(vec_stvebx): New.
	(vec_stvehx): New.
	(vec_stvewx): New.
	(vec_stvxl): New.
	(vec_vsububm): New.
	(vec_vsubuhm): New.
	(vec_vsubuwm): New.
	(vec_vsubfp): New.
	(vec_vsubcuw): New.
	(vec_vsububs): New.
	(vec_vsubsbs): New.
	(vec_vsubuhs): New.
	(vec_vsubshs): New.
	(vec_vsubuws): New.
	(vec_vsubsws): New.
	(vec_vsum4ubs): New.
	(vec_vsum4sbs): New.
	(vec_vsum4shs): New.
	(vec_vsum2sws): New.
	(vec_vsumsws): New.
	(vec_vrfiz): New.
	(vec_vupkhsb): New.
	(vec_vupkhpx): New.
	(vec_vupkhsh): New.
	(vec_vupklsb): New.
	(vec_vupklpx): New.
	(vec_vupklsh): New.
	(vec_vxor): New.

From-SVN: r52713
2002-04-24 10:59:40 +00:00
Jason Merrill
eaa1d3eb00 re PR c++/6331 (g++ 3.1 looses const qualifiers)
PR c++/6331
        * method.c (do_build_copy_constructor): Use cp_build_qualified_type.
        * typeck.c (build_modify_expr): Allow arrays to differ in cv-quals.

From-SVN: r52710
2002-04-24 06:49:56 -04:00
GCC Administrator
25a01b06b0 Daily bump.
From-SVN: r52705
2002-04-24 07:16:30 +00:00
Per Bothner
65f15556ee Fix typos for 2002-03-08 entry.
From-SVN: r52704
2002-04-23 22:12:11 -07:00
Loren J. Rittle
6c054bdee3 std_fstream.h (basic_filebuf::sync): Hoist unconditional flush on lower-layer handle to here...
* include/std/std_fstream.h (basic_filebuf::sync): Hoist
	unconditional flush on lower-layer handle to here...
	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
	...from here.  Optimize remaining _M_file.sync() call pattern.
	* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
	(test05): Likewise.

From-SVN: r52702
2002-04-24 03:20:14 +00:00
Adam Megacz
fa78090760 win32.cc, win32.cc (backtrace): Added this function because Win32 does not supply it.
2002-04-23  Adam Megacz <adam@xwt.org>

        * win32.cc, include/win32.cc (backtrace): Added this function
        because Win32 does not supply it.

From-SVN: r52700
2002-04-24 01:04:45 +00:00
Anthony Green
04cad41541 Fixe rmiregistry docs
From-SVN: r52698
2002-04-23 23:56:25 +00:00
Jason Merrill
a7e4666600 re PR c++/6395 (gcc-3_1-branch regression for g++.old-deja/g++.jason/synth5.C)
PR c++/6395
        * decl.c (make_rtl_for_nonlocal_decl): Don't mess with #pragma i/i
        stuff for comdats.

From-SVN: r52697
2002-04-23 19:52:07 -04:00
Zack Weinberg
ac40ac7c07 install.texi: Clarify which versions of alpha*-dec-osf* are obsoleted.
* doc/install.texi: Clarify which versions of alpha*-dec-osf*
	are obsoleted.

From-SVN: r52694
2002-04-23 23:30:07 +00:00
Eric Botcazou
06feae1f16 fold-const.c (split_tree): Add MINUS_LITP parameter; separate added literals from substracted literals.
* fold-const.c (split_tree): Add MINUS_LITP parameter; separate
        added literals from substracted literals.
        (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
        (fold) [associate]: Preserve MINUS_EXPR if needed.

	* gcc.c-torture/execute/20020423-1.c: New.

From-SVN: r52693
2002-04-23 16:20:05 -07:00
Tom Tromey
b835c2aaba For PR java/6314:
* jvspec.c (lang_specific_driver): Use --resource, not -R.  Also
	recognize `-fcompile-resource='.
	* gcj.texi (Invoking gcj): Use --resource, not -R.  Expanded text
	a bit.

From-SVN: r52688
2002-04-23 22:55:00 +00:00
Tom Tromey
ab0594f84b * gcc.c: Added --resource. For PR java/6314.
From-SVN: r52687
2002-04-23 22:53:29 +00:00
Jason Merrill
c4a136d7dd fstream.tcc (basic_filebuf::seekoff): Fix for output-only filebufs.
* include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
        output-only filebufs.
        * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
        Likewise.
        (basic_filebuf::_M_set_determinate): Likewise.

From-SVN: r52684
2002-04-23 17:55:24 -04:00
Jason Merrill
164fc0872f PR c++/5504 - but re-breaks c++/411
PR c++/5504 - but re-breaks c++/411
        * init.c (push_base_cleanups): Rename to perform_base_cleanups.
        Expand base cleanups now rather than pushing them.
        * decl.c (begin_destructor_body): Don't call push_base_cleanups.
        (finish_destructor_body): Call perform_base_cleanups.
        * cp-tree.h: Adjust prototype.

From-SVN: r52683
2002-04-23 17:51:26 -04:00
Jason Merrill
95b664398b tweak ChangeLog entry
From-SVN: r52681
2002-04-23 17:03:00 -04:00
Jason Merrill
7c34fea4a4 re PR libstdc++/6414 (g++ 3.1 tellg() regression within last week)
PR libstdc++/6414
        * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
        value properly in the trivial case.
        * testsuite/27_io/istream_seeks.cc (test04): Make sure that
        tellg() returns the right value after a read.

From-SVN: r52680
2002-04-23 17:02:41 -04:00
Jakub Jelinek
71bebdcc8d parse.y (check_class_key): Allow KEY to be union/enum/struct/class node with attributes.
* parse.y (check_class_key): Allow KEY to be union/enum/struct/class
	node with attributes.

	* g++.dg/parse/attr1.C: New test.

From-SVN: r52677
2002-04-23 22:39:46 +02:00
Hans-Peter Nilsson
a73affb1e9 cpu_limits.h: New file.
* config/cpu/mmix/bits/cpu_limits.h: New file.
	* configure.target (CPULIMITSH): Use it.

From-SVN: r52676
2002-04-23 20:32:10 +00:00
No Author
3caa58924a This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52675
2002-04-23 20:32:10 +00:00
David O'Brien
86dd2053cd freebsd.h (OBJECT_FORMAT_ELF): Define.
2002-04-23  David O'Brien  <obrien@FreeBSD.org>
	* config/freebsd.h(OBJECT_FORMAT_ELF): Define.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020423092406.D632@redhat.com>

From-SVN: r52673
2002-04-23 16:43:44 +00:00
David O'Brien
20d9838a82 g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
2002-04-23  David O'Brien  <obrien@FreeBSD.org>
	* cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
	* config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
	these libraries.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020423092356.C632@redhat.com>

From-SVN: r52670
2002-04-23 16:37:16 +00:00
Philipp Thomas
0488e84fac Regenerate gcc.pot
From-SVN: r52663
2002-04-23 11:05:42 +00:00
Mark Mitchell
596f6d22a9 re PR c++/6256 (Seg fault for template friends in namespaces, regression from 2.95)
PR c++/6256:
	* g++.dg/template/friend5.C: New test.

	PR c++/6331:
	* g++.dg/template/qual1.C: Likewise.

	PR c++/6256:
	* pt.c (tsubst_friend_class): Handle templates with explicit
	nested names.

	PR c++/6331:
	* typeck.c (merge_types): Remember the cv-qualification of pointer
	types when merging them.

From-SVN: r52660
2002-04-23 08:34:45 +00:00
Alan Modra
033db3c4ce re PR target/6413 (PROFILE_HOOK label_no)
PR target/6413
	* function.h: (struct function): Add profile_label_no field.
	(current_function_profile_label_no): Define.
	* function.c: (profile_label_no): New static var.
	(expand_function_start): Increment it, and copy to
	current_function_profile_label_no.
	* output.h (profile_label_no): Delete.
	* final.c (profile_label_no): Delete.
	(profile_function): Use current_function_profile_label_no.
	(final_end_function): Don't increment profile_label_no here.
	* config/i386/i386.c (ix86_osf_output_function_prologue): Replace
	profile_label_no with current_function_profile_label_no.
	* config/pa/pa.c (current_function_number): Delete.
	(pa_output_function_prologue): Don't output profile label here.
	(hppa_profile_hook): Use label_no param rather than
	current_function_number.
	(FUNC_BEGIN_PROLOG_LABEL): Move to ..
	* config/pa/pa.h: .. here.
	(FUNCTION_PROFILER): Output profile label here.

From-SVN: r52659
2002-04-23 17:41:25 +09:30
Aldy Hernandez
592de458f5 altivec.h (vec_step): Remove extraneous parentheses.
2002-04-23  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_step): Remove extraneous
        parentheses.
        (vec_ctu): Cast return.

From-SVN: r52658
2002-04-23 07:33:59 +00:00
GCC Administrator
11fc89fd6d Daily bump.
From-SVN: r52652
2002-04-23 07:16:23 +00:00
Jeff Sturm
f8883516fc Makefile.am (toolexeclib_LTLIBRARIES): Remove.
* Makefile.am (toolexeclib_LTLIBRARIES): Remove.
	(noinst_LTLIBRARIES): Add libgcjgc.la.

	* Makefile.in: Rebuild.

From-SVN: r52650
2002-04-23 03:20:04 +00:00
Aldy Hernandez
ac66f7fe25 rs6000.md ("*movv4si_internal"): Change 'm' constraint to 'o' for m=r and r=m alternatives.
2002-04-22  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
        constraint to 'o' for m=r and r=m alternatives.
        ("*movv8hi_internal1"): Same.
        ("*movv16qi_internal1"): Same.
        ("*movv4sf_internal1"): Same.

From-SVN: r52647
2002-04-23 00:20:25 +00:00
Zack Weinberg
1b727feadd re PR c/6300 (sparc-sun-solaris2.7 gcc-3.1 C testsuite failure in gcc.dg/cpp/charconst.c)
* c-lex.c (lex_charconst): Call convert to get constant in
	proper type; don't just smash the type field.
	Fixes PR c/6300.

	* config.gcc: Add list of obsolete configurations.  Disallow
	building these without --enable-obsolete.
	* doc/install.texi: Document --enable-obsolete and obsoletion
	policy.  Mention obsoletion of individual targets in
	appropriate places.

From-SVN: r52640
2002-04-22 22:26:06 +00:00
Alexandre Petit-Bianco
1a84abfade re PR java/2791 (Bogus "class `foo' already defined ..." error from jc1)
* jcf-parse.c: (yyparse): Don't prepend "./" to relative
	paths. Fixes PR java/2791.

---------------------------------------------------------------------

From-SVN: r52637
2002-04-22 20:36:47 +00:00
Jason Merrill
c0be689711 re PR libstdc++/4150 (catastrophic performance decrease in C++ code)
PR libstdc++/4150
        * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
        Move to filebuf.
        (basic_streambuf::_M_set_determinate): Likewise.
        (basic_streambuf::_M_is_indeterminate): Likewise.
        * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
        non-static data member.
        (basic_filebuf::_M_underflow_common): New non-static member function.
        (basic_filebuf::_M_underflow, _M_uflow): Call it.
        (basic_filebuf::sync): Avoid useless seeking.
        (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
        Set _M_filepos.
        (basic_filebuf::_M_set_determinate): Likewise.
        (basic_filebuf::_M_is_indeterminate): Likewise.
        * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
        back to _M_out_beg if necessary.
        (basic_filebuf::seekoff): Likewise.
        (basic_filebuf::_M_underflow_common): Generalization of old
        underflow().  Don't seek back to _M_in_beg.
        * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
        * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
        * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
        * config/os/mingw32/bits/os_defines.h: Likewise.
        * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
        ungetc test.

From-SVN: r52635
2002-04-22 16:28:37 -04:00
Richard Henderson
f38b229cc6 * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
From-SVN: r52632
2002-04-22 12:53:42 -07:00
Mark Mitchell
e18c12ac0c re PR fortran/6138 (Incorrect access of integer*1 variables on PA)
PR f/6138.
	* function.c (fixup_memory_subreg): Add promoted_mode parameter.
	(walk_fixup_memory_subreg): Likewise.
	(fixup_var_refs_insn): Adjust accordingly.
	(fixup_var_refs_1): Likewise.

From-SVN: r52630
2002-04-22 19:23:29 +00:00
Benjamin Kosnik
52c9168ba3 istream.tcc (istream::read): Fix.
2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/istream.tcc (istream::read): Fix.
	* testsuite/27_io/istream_unformatted.cc (main): Add.

From-SVN: r52629
2002-04-22 19:11:00 +00:00
Joel Sherrill
c4e8ea9571 gthr-rtems.h: Correct prototypes to remove warnings.
2002-04-22	Joel Sherrill <joel@OARcorp.com>

	* gthr-rtems.h: Correct prototypes to remove warnings.

From-SVN: r52625
2002-04-22 18:24:11 +00:00
Richard Henderson
6c185cda4c Mark pr.
From-SVN: r52623
2002-04-22 11:15:13 -07:00
Richard Henderson
6d6a90a42d alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
* alias.c (canon_true_dependence): Special case (mem:blk (scratch)).

        * gcse.c (free_insn_expr_list_list): New.
        (clear_modify_mem_tables): Use it.  Fix bit set usage.
        (canon_list_insert): Use EXPR_LISTs for expressions.
        (record_last_mem_set_info): Factor BLOCK_NUM (insn).

From-SVN: r52622
2002-04-22 11:14:28 -07:00
Zack Weinberg
c589790ef3 980707-1.c: Don't use isspace().
* gcc.c-torture/execute/980707-1.c: Don't use isspace().
	Include stdlib.h, not stdio.h or ctype.h.

From-SVN: r52620
2002-04-22 17:41:52 +00:00
Ulrich Weigand
8a0c9c4307 linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC, LIBPATH_ARCH64_SPEC): Define.
* config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
LIBPATH_ARCH64_SPEC): Define.
(EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
(STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
(LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
(LINK_ARCH64_SPEC): Add libpath_arch64 to search path.

From-SVN: r52617
2002-04-22 16:31:14 +00:00
Ulrich Weigand
85852399b7 * configure.in: Disable libgcj on s390-linux targets.
From-SVN: r52616
2002-04-22 16:28:47 +00:00
Mark Mitchell
485b5a1f51 * gcc_release: Merge from mainline.
From-SVN: r52615
2002-04-22 16:04:44 +00:00
Philipp Thomas
ef61f7afdb Update turkish catalog
From-SVN: r52611
2002-04-22 14:13:47 +00:00
Andrew Haley
684b1bdc5a jcf-write.c (push_long_const): lo, hi: New variables.
2002-04-19  Andrew Haley  <aph@redhat.com>

        * jcf-write.c (push_long_const): lo, hi: New variables.
        Use rshift_double to extract the high part of a 64-bit long.
        Use WORD_TO_INT to extract the low part.

        * jcf-parse.c (get_constant): CONSTANT_Integer: Use an unsigned
        HOST_WIDE_INT for num.  Use JPOOL_UINT to get it.
        CONSTANT_Double: Use JPOOL_UINT to get both halves of a double.

From-SVN: r52610
2002-04-22 12:53:21 +00:00
David S. Miller
a94f4e1110 dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction reading sequence.
2002-04-21  David S. Miller  <davem@redhat.com>

	* include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
	magic instruction reading sequence.

From-SVN: r52608
2002-04-22 01:12:50 -07:00
GCC Administrator
39fb5d3646 Daily bump.
From-SVN: r52604
2002-04-22 07:16:13 +00:00
Aldy Hernandez
ec99601c94 altivec.h (vec_xor): Add variant for both args being vector signed int.
2002-04-22  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_xor): Add variant for both args
        being vector signed int.
        (vec_andc): Same.
        (vec_xor): Add variant for both args being vector signed char.
        Remove redundant variant.
        (vec_andc): Same.

From-SVN: r52603
2002-04-22 06:40:11 +00:00
David S. Miller
8ceb5363ab [multiple changes]
2002-04-22  David S. Miller  <davem@redhat.com>

	* include/private/gcconfig.h: Hard-code STACKBOTTOM on
	64-bit SPARC Linux, the __libc_stack_end technique does
	not work in this case.

2002-04-22  Jeff Sturm  <jsturm@one-point.com>

	* gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.

From-SVN: r52600
2002-04-21 23:05:04 -07:00
Hans-Peter Nilsson
ed935460ec 20020415-1.c: Expect warning for unsupported -fpic on cris-*-elf* and mmix-*-*.
* gcc.dg/20020415-1.c: Expect warning for unsupported -fpic on
	cris-*-elf* and mmix-*-*.

From-SVN: r52599
2002-04-22 03:06:03 +00:00
Hans-Peter Nilsson
7d2c4ef353 f77-edit-i-in.f: xfail for cris-*-elf.
* g77.dg/f77-edit-i-in.f: xfail for cris-*-elf.
	* g77.f-torture/execute/io0.x, g77.f-torture/execute/io1.x,
	g77.f-torture/execute/20001201.x,
	g77.f-torture/execute/u77-test.x: Ditto.
	* gcc.dg/wint_t-1.c: Mark excess errors for cris-*-elf.
	* gcc.dg/wchar_t-1.c: Ditto.

From-SVN: r52598
2002-04-22 01:36:17 +00:00
David S. Miller
ea37d55f89 sparc.md (set then compare DI mode peephole2): Fix compare mode in output RTL.
2002-04-21  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.md (set then compare DI mode peephole2): Fix
	compare mode in output RTL.

From-SVN: r52596
2002-04-21 18:19:23 -07:00
David Edelsohn
4a9edab999 rs6000.c (rs6000_override_options): Correct style and formatting of previous patch.
2002-04-22  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (rs6000_override_options): Correct
        style and formatting of previous patch.

From-SVN: r52594
2002-04-21 21:04:49 -04:00
Alan Modra
8f4ff9960e rs6000.c (rs6000_override_options): Always clear flag_pic for ABI_AIX.
* config/rs6000/rs6000.c (rs6000_override_options): Always clear
	flag_pic for ABI_AIX.

From-SVN: r52592
2002-04-22 09:59:28 +09:30
Hans-Peter Nilsson
71189e76f1 cleanup1.C (C::C()): Initialize member c.
* g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
	Clarify comment.

From-SVN: r52589
2002-04-21 20:34:30 +00:00
Franz Sirl
e27febae09 20000906-1.x: Delete.
2002-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/execute/20000906-1.x: Delete.

From-SVN: r52585
2002-04-21 16:16:13 +00:00
Joseph Myers
0a26b81235 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
From-SVN: r52583
2002-04-21 14:59:45 +01:00
Florian Weimer
f55c80c1d9 * gnat_ug.texi: New file.
From-SVN: r52579
2002-04-21 14:53:33 +02:00
Mark Wielaard
aeeeb9c217 re PR java/6391 (Constant float to int conversions don't use ieee_real_to_integer when compiled to byte-code)
* mauve-libgcj: Don't run java.lang.ref tests since they are buggy.

        * libjava.mauve/xfail: Expect failures for PR java/6391 and
        libgcj/6389.

From-SVN: r52578
2002-04-21 12:35:22 +00:00
Neil Booth
43ea4b2cc6 cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.
* cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.
testsuite:
	* gcc.dg/cpp/endif.h, gcc.dg/cpp/endif.c: New tests.

From-SVN: r52576
2002-04-21 10:50:55 +00:00
David S. Miller
68e3ca3df8 dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer arg.
2002-04-19  David S. Miller  <davem@redhat.com>

	* include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
	arg.
	(MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
	(INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
	on Sparc too.
	* include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
	for 64-bit sparc.
	(MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
	* sysdeps/sparc/locks.h: New file.
	* configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
	on all sparc Solaris configurations.  Set to
	include/dwarf2-signal.h on sparc Linux.
	* configure: Regenerate
	* configure.host (can_unwind_signal): sparc*-linux* can do it now.

From-SVN: r52574
2002-04-21 02:36:06 -07:00
GCC Administrator
f3d228565c Daily bump.
From-SVN: r52570
2002-04-21 07:16:16 +00:00
Florian Weimer
71e9ad2401 gnat_rm.texi: Do not include texiplus.texi.
* gnat_rm.texi: Do not include texiplus.texi.  Include fdl.texi
        instead of gfdl.texi

        * xgnatug.adb, ug_words: New files.

        * Makefile.in (doc, dvi): New targets.  Build gnat_ug_*,
        gnat_rm and gnat-style manuals.

From-SVN: r52568
2002-04-21 09:05:11 +02:00
Florian Weimer
96e1fa9d15 adaint.c (__gnat_tmp_name): Remove buffer overflow bug on GNU/Linux.
* adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
	        GNU/Linux.

From-SVN: r52567
2002-04-21 08:59:36 +02:00
David Edelsohn
8d299c1070 rs6000.c (output_profile_hook): Do not increment labelno.
* config/rs6000/rs6000.c (output_profile_hook): Do not increment
        labelno.

From-SVN: r52566
2002-04-21 01:07:25 -04:00
Benjamin Kosnik
43367d3b1d re PR libstdc++/6360 (Wrong workaround in char_traits.h - ignore stops on \0xff)
2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6360
	* include/bits/istream.tcc (istream::ignore): Streamline, use
	delimiter as is.
	* include/bits/streambuf.tcc: Use this->gptr.
	* testsuite/27_io/istream_unformatted.cc (test08): Add test.

From-SVN: r52564
2002-04-21 04:18:41 +00:00
Joseph Myers
20c6d62eb2 invoke.texi: Remove Chill references.
* doc/invoke.texi: Remove Chill references.
	* doc/gcc.texi: Update last modified date.

From-SVN: r52562
2002-04-20 21:44:36 +01:00
Mark Mitchell
999538f477 Remove Chill
[[Split portion of a mixed commit.]]

From-SVN: r52560.1
2002-04-20 20:42:51 +00:00
Toon Moene
803bad99a0 root.texi: Remove variable version-g77.
2002-04-20  Toon Moene  <toon@moene.indiv.nluug.nl>

	* root.texi: Remove variable version-g77.
	* g77.texi: Remove the single use of that variable.

From-SVN: r52552
2002-04-20 11:07:45 +00:00
GCC Administrator
f826e6d05f Daily bump.
From-SVN: r52547
2002-04-20 07:16:12 +00:00
David S. Miller
d215e2c4df linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
2002-04-19  David S. Miller  <davem@redhat.com>

	* config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
	* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.

From-SVN: r52545
2002-04-19 21:43:48 -07:00
Jan Hubicka
8ef415c9d6 i386.md (movsi_1, movhi_1): Force reload to use more flexible alternative.
* i386.md (movsi_1, movhi_1): Force reload to use more flexible
	alternative.

From-SVN: r52543
2002-04-20 00:24:50 +00:00
Hans Boehm
fba43a5604 configure: Rebuilt.
2002-04-19  Hans Boehm <Hans_Boehm@hp.com>

	* configure: Rebuilt.
	* configure.in (backtrace): Function doesn't work on IA-64.

From-SVN: r52542
2002-04-20 00:21:00 +00:00
Jakub Jelinek
b10e9888cc re PR c/6358 (GCC 3.1 ICE on statement expressions)
PR c/6358
	* function.c: Reapply patch for c/6358.
	(expand_function_end): Copy decl_rtl's mode, not
	current_function_return_rtx mode.

From-SVN: r52537
2002-04-19 22:57:48 +02:00
Joel Sherrill
ee22f9373f rtems.h (STARTFILE_SPEC, [...]): Fix for non-ELF targets.
2002-04-19	Joel Sherrill <joel@OARcorp.com>

	* config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
	targets.

From-SVN: r52534
2002-04-19 18:40:33 +00:00
Tom Tromey
713a3a56c1 re PR libgcj/6158 (libgcj won't bootstrap on sparc-sun-solaris2.8 if already installed)
* doc/install.texi (Specific): Update status of Solaris 2.8.
	For PR libgcj/6158.

From-SVN: r52533
2002-04-19 18:29:16 +00:00
Kelley R. Cook
247a3e9213 * gcc_release: Set TZ to UTC0.
From-SVN: r52528
2002-04-19 17:23:00 +00:00
Dan Nicolaescu
d1a235118a install.texi (Specific, [...]): Mention that binutils 2.11.2 and higher generate smaller binaries than Sun's...
* doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
	binutils 2.11.2 and higher generate smaller binaries than Sun's
	native tools.

Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>

From-SVN: r52525
2002-04-19 16:43:53 +00:00
Mark Mitchell
c7ac8cb11e * MAINTAINERS: Add information about purpose of this file.
From-SVN: r52524
2002-04-19 16:42:14 +00:00
Mark Mitchell
6a37e4d534 re PR c++/6352 (GCC 3.1 inliner regression from March)
PR c++/6352
	* toplev.c (rest_of_compilation): Do not defer functions for which
	TREE_SYMBOL_REFERENCED has already been set.

	* PR6352
	* g++.dg/opt/inline2.C: New test.

From-SVN: r52520
2002-04-19 16:15:17 +00:00
Benjamin Kosnik
7431d198d2 localefwd.h (locale::id::_M_id): Do this correctly, as type safety is important, especially on solaris.
2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>

        * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
        as type safety is important, especially on solaris.
        * include/bits/istream.tcc (istream::read): Clean.
        (istream::readsome): Same.
        * locale.cc: Wrap lines.

        * testsuite/21_strings/inserters_extractors.cc: Tweaks.
        * testsuite/27_io/instantiations.cc (test): Add bool variable...
        * testsuite/21_strings/capacity.cc: Clean.

2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>

        * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.

2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>

        * config/linker-map.gnu (__malloc_alloc_template): Add.
        (__default_alloc_template): Same.
        * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
        template.
        (__default_alloc_template): Same.

2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>

        * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
        * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
        (__malloc_alloc_template): Conditionalize.

        * include/bits/istream.tcc: Remove sputbackc calls.

        * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.

From-SVN: r52518
2002-04-19 08:28:24 +00:00
Benjamin Kosnik
f3f6e15ac7 re PR libstdc++/4164 (33 Memory Leak when using iostream)
2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/4164
	Valgrind fixes.
	* config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
	Call close.
	(__basic_file::close): Call fflush. Correct return if fclose ok.
	(__basic_file::is_open): Make const.
	Change __c_file_type to __c_file.
	* config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
	(__basic_file::is_open): Make const.
	* config/io/c_io_stdio.h: Change __c_file_type to __c_file.
	* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
	(filebuf::_M_unbuf): Add.
	(filebuf::_M_file): Change to non-pointer.
	(filebuf::_M_allocate_pback_buffer): Remove.
	* include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
	(filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
	Change initialization list for _M_file change.
	(filebuf::_M_allocate_pback_buffer): Remove.
	Change _M_file usage to reflect non-pointer data member.

	* config/locale/generic/c_locale.cc
	(locale::facet::_S_create_c_locale): Add parameter.
	* config/locale/generic/collate_members.cc: Change
	_M_compare_helper to _M_compare.
	Change _M_transform_helper to _M_transform.
	* config/locale/generic/monetary_members.cc: Changeup data types.
	Add dtors.
	* config/locale/generic/numeric_members.cc: Add dtors.
	* config/locale/generic/time_members.cc: Add dtors.
	* config/locale/gnu/c_locale.cc: Add parameter.
	* config/locale/gnu/collate_members.cc:Change
	_M_compare_helper to _M_compare.
	Change _M_transform_helper to _M_transform.
	* config/locale/gnu/ctype_members.cc: Better error checking.
	* config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
	* config/locale/gnu/messages_members.cc: Tweak comment.
	* config/locale/gnu/monetary_members.cc: Change data types.
	Add dtors.
	* config/locale/gnu/numeric_members.cc: Add dtors, better error
	checking.
	* config/locale/gnu/time_members.cc: Same.
	* config/locale/ieee_1003.1-2001/c_locale.cc
	(locale::facet::_S_create_c_locale): Add parameter.
	* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
	bogus ctor.

	* include/bits/locale_facets.h (moneypunct): Use string literals.
	Don't define dtor.
	(numpunct): Same.
	(__timepunct): Same.
	(locale::_Impl::_M_facets): Change from vector to array.
	(locale::_Impl::_M_names): Change from array of strings to array
	of string literals.
	(locale::facet::_S_create_c_locale): Add parameter.
	(locale::locale::_S_num_facets): Move to...
	(locale::_Impl::_M_facets_size): Here.
	* include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
	changes.
	* include/bits/localefwd.h: (locale::id::_M_id): Add member function.
	(locale::_Impl::_Impl(facet**, size_t, bool)): Add.
	(locale::_Impl::_Impl(string, size_t)): Change to
	(locale::_Impl::_Impl(const char*, size_t)): This.

	* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
	* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
	(streambuf::_S_pback_size): This.

	* src/globals.cc: Add pre-allocations for "C" facets.
	* src/locale-inst.cc: Remove vector instantiations.
	* src/locale.cc: Remove vector include. Fixups for _M_names,
	_M_facets changes.
	* src/localename.cc: Same.

	* include/bits/stl_vector.h: Fix odd formatting.

	* include/bits/basic_string.tcc: Tweak comment.

	* libsupc++/new: Make sure parameters are uglified.
	* libsupc++/typeinfo: Same.

	* testsuite/22_locale/num_get_members_char.cc: Fixup.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
	* testsuite/27_io/filebuf_members.cc: Same.

From-SVN: r52517
2002-04-19 07:59:24 +00:00
GCC Administrator
7bb16e44db Daily bump.
From-SVN: r52513
2002-04-19 07:16:40 +00:00
Richard Henderson
0d58a38270 * function.c: Revert patch for c/6358.
From-SVN: r52510
2002-04-18 21:40:14 -07:00
Richard Henderson
1245e56dde ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN blocks.
* ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
        blocks.  Handle multiple references to the TRAP block.  Handle
        non-adjacent THEN and OTHER blocks.

        * gcc.dg/20000906-1.c: Enable for all targets.
        * gcc.c-torture/compile/iftrap-2.c: New.

From-SVN: r52506
2002-04-18 20:56:33 -07:00
Richard Henderson
c0163d3db9 ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode libcalls.
* config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
        crash with no type for by-mode libcalls.

From-SVN: r52505
2002-04-18 20:52:56 -07:00
Richard Henderson
d53e826c80 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
From-SVN: r52504
2002-04-18 20:50:34 -07:00
David S. Miller
938490a28c sparc.h (BRANCH_COST): Define.
2002-04-18  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.h (BRANCH_COST): Define.

	* fold-const.c (BRANCH_COST): Don't provide default here, expr.h
	does it.

From-SVN: r52499
2002-04-18 16:34:11 -07:00
Tom Tromey
5154135f4e re PR libgcj/6158 (libgcj won't bootstrap on sparc-sun-solaris2.8 if already installed)
* configure.in: Disallow configuring libgcj when it is already
	installed and we're using Solaris 2.8 linker.  Do enable libgcj on
	Solaris 2.8 by default.  For PR libgcj/6158.

From-SVN: r52496
2002-04-18 21:34:56 +00:00
Richard Henderson
f7d53c4587 ia64.c (ia64_function_arg_pass_by_reference): New.
* config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
        (ia64_va_arg): Expect variable sized types by reference.
        * config/ia64/ia64-protos.h: Update.
        * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
        ia64_function_arg_pass_by_reference.

From-SVN: r52495
2002-04-18 13:31:55 -07:00
Hans-Peter Nilsson
de10abbeaf flow.c (update_life_info): Ignore return value of cleanup_cfg.
* flow.c (update_life_info): Ignore return value of cleanup_cfg.
	Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
	propagate_block calls after relaxation loop using new variable
	stabilized_prop_flags.

From-SVN: r52493
2002-04-18 20:21:09 +00:00
Jakub Jelinek
acf1431c70 PR optimization/5887, PR optimization/6010
PR optimization/5887, PR optimization/6010
	* gcc.dg/20020418-1.c: New test.
	* gcc.dg/20020418-2.c: New test.

From-SVN: r52491
2002-04-18 22:08:45 +02:00
Richard Henderson
aa4279728a ifcvt.c: Include except.h.
* ifcvt.c: Include except.h.
        (block_has_only_trap): Break out from find_cond_trap.
        (find_cond_trap): Use it.  Always delete the trap block.
        (merge_if_block): Allow then block null.  Be less simplistic about
        what insns can end a block.
        * Makefile.in (ifcvt.o): Depend on except.h.

        * gcc.c-torture/compile/iftrap-1.c: New.
        * gcc.dg/iftrap-1.c: Adjust for ia64.
        * gcc.dg/iftrap-2.c: New.

From-SVN: r52488
2002-04-18 12:56:21 -07:00
Richard Henderson
2561d3871c * config/ia64/ia64.md (trap, conditional_trap): New.
From-SVN: r52486
2002-04-18 12:41:26 -07:00
Jakub Jelinek
c5c263146f re PR c/6358 (GCC 3.1 ICE on statement expressions)
PR c/6358
	* function.c (assign_parms): Assign hard current_function_return_rtx
	register here...
	(expand_function_end): ...not here.

	* gcc.c-torture/compile/20020418-1.c: New test.

From-SVN: r52484
2002-04-18 21:02:48 +02:00
Gerald Pfeifer
a8dc73a4c9 install.texi (Downloading the source): Do not mention Chill any longer, but mention Ada.
* doc/install.texi (Downloading the source): Do not mention Chill
	any longer, but mention Ada.
	(Configuration): Do not mention Chill any longer.

From-SVN: r52481
2002-04-18 17:59:49 +00:00
Hans-Peter Nilsson
caf92b426d * config/cris/cris.h (TARGET_VERSION): Remove local version number.
From-SVN: r52478
2002-04-18 17:04:14 +00:00
Jan Hubicka
a50b56bd30 i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
* i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
	* i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
	later.

From-SVN: r52476
2002-04-18 16:06:24 +00:00
Jason Merrill
04f55fef31 re PR c++/5658 (Regression on redefinition of a type in a derived class.)
PR c++/5658
        * search.c (setup_class_bindings): A class template qualifies as a
        type binding.

From-SVN: r52470
2002-04-18 09:59:00 -04:00
Jakub Jelinek
7f91018eb5 re PR middle-end/6205 (-O -fpmath=sse breaks visibility of register accumulated sum)
PR middle-end/6205
	* config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
	otherwise xorps.

From-SVN: r52463
2002-04-18 12:10:14 +02:00
David S. Miller
9148412ef3 20020418-1.c: New test.
2002-04-18  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020418-1.c: New test.

From-SVN: r52460
2002-04-18 01:03:55 -07:00
GCC Administrator
ba14d84378 Daily bump.
From-SVN: r52456
2002-04-18 07:16:29 +00:00
Loren J. Rittle
35baf7d6b4 Revert this change:
* doc/install.texi (Installing GCC: Configuration): Clarify
        the only supported ways to configure gcc.

From-SVN: r52455
2002-04-18 06:36:03 +00:00
Phil Edwards
e8a1723f4d doxygroups.cc: New group on binary searching.
2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/doxygroups.cc:  New group on binary searching.
	* include/bits/stl_algo.h:  Document binary searches and merges.
	* include/bits/stl_deque.h:  The 'map' member is not the 'map' class.

From-SVN: r52454
2002-04-18 02:58:15 +00:00
Phil Edwards
ee14a7e669 mainpage.html: Doxygen logo is now a PNG file.
2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
	* docs/doxygen/run_doxygen:  Bump required version.
	* docs/doxygen/user.cfg.in:  Revert accidental change.
	* docs/html/faq/index.html:  Reindent a block of links.
	(4.4):  New note on using dlsym.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r52452
2002-04-18 01:45:45 +00:00
Bryce McKinlay
97561ee281 class.c (make_class_data): Set DECL_ALIGN on static class data, for hash synchronization.
* class.c (make_class_data): Set DECL_ALIGN on static class data,
	for hash synchronization.
	* expr.c (java_expand_expr): Set DECL_ALIGN on static array objects.
	* decl.c (java_init_decl_processing): Don't set TYPE_ALIGN for
	class_type_node.

From-SVN: r52449
2002-04-18 00:20:43 +01:00
Adam King
ceba9d086a File.java (normalizePath): Add Win32 support for auto conversion of a '/' path separator to Win32's '\'...
* java/io/File.java (normalizePath): Add Win32 support for auto
	conversion of a '/' path separator to Win32's '\' separator.

From-SVN: r52446
2002-04-18 00:01:09 +01:00
Hans Boehm
e9368e842a gcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux.
* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
	SPARC Linux.

From-SVN: r52439
2002-04-17 19:51:32 +00:00
Dale Johannesen
731ebd7862 rs6000.c (rs6000_emit_cmove): Fail if modes of comparison operands do not match each other or if...
2002-04-17  Dale Johannesen <dalej@apple.com>

        * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
        comparison operands do not match each other or if modes of
        conditions do not match result.
        (rs6000_output_function_prologue): Compute instruction addresses.
        (rs6000_output_function_epilogue): Likewise.

From-SVN: r52438
2002-04-17 14:44:09 -04:00
Jakub Jelinek
563684e699 re PR c++/6316 (trap when compiling file)
PR c++/6316
	* decl2.c (finish_file): Clear DECL_EXTERNAL in a separate loop
	before expanding.

	* g++.dg/opt/inline1.C: New test.

From-SVN: r52433
2002-04-17 19:13:41 +02:00
Mark Wielaard
a99e4f4f2f negzero.java: New.
* libjava.lang/negzero.java: New.
	* libjava.lang/negzero.out: New.

From-SVN: r52431
2002-04-17 16:40:32 +00:00
No Author
6199b6a81a This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52430
2002-04-17 16:40:32 +00:00
Mark Wielaard
db33ff9bef jcf-write.c (generate_bytecode_insns): Only write const_0 if not negative zero.
* jcf-write.c (generate_bytecode_insns): Only write const_0 if not
	negative zero.

From-SVN: r52428
2002-04-17 16:38:24 +00:00
Ulrich Weigand
73a188b1e5 s390.c (legitimize_pic_address): Do not generate illegal address constant without CONST.
* config/s390/s390.c (legitimize_pic_address): Do not generate
illegal address constant without CONST.

From-SVN: r52424
2002-04-17 15:59:45 +00:00
Kaveh R. Ghazi
3729d34e4a linux64.h (CC1_SPEC): Error for -m32 and -m64.
* sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
	* sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.

From-SVN: r52422
2002-04-17 14:23:51 +00:00
No Author
bc073455c0 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52418
2002-04-17 13:51:30 +00:00
Ulrich Weigand
13d8b67ef2 re PR rtl-optimization/6305 (c++ gets ICE in reload_cse_simplify_operands)
PR optimization/6305
* config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
to make sure previous reloads are taken into account.  Generate
better code if one operand is an in-range immediate constant.

From-SVN: r52416
2002-04-17 12:19:40 +00:00
Andrew Haley
a39107f106 install.texi (Building): libgcj requires GNU make.
2002-04-16  Andrew Haley  <aph@cambridge.redhat.com>

	* doc/install.texi (Building): libgcj requires GNU make.

From-SVN: r52415
2002-04-17 09:42:05 +00:00
Bryce McKinlay
61fe567e3e re PR java/6294 (private inner interface is flagged illegal)
Fix for PR java/6294:
	* parse.h (INNER_INTERFACE_MODIFIERS): Allow ACC_PRIVATE for inner
	interfaces.

From-SVN: r52413
2002-04-17 09:24:44 +01:00
Jakub Jelinek
95cf9281d5 re PR bootstrap/6315 (sparc64 gcc -mhard-quad-float cannot compile libstdc++-v3)
PR bootstrap/6315
	* config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
	even if hard quad and register is not floating.
	(movtf reg<-mem split): Disallow splitting if hard quad and
	register is floating.
	(movtf mem<-reg split): Likewise.
	* config/sparc/sparc.c (fp_register_operand): New predicate.
	* config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.

	* gcc.dg/20020416-1.c: New test.

From-SVN: r52410
2002-04-17 10:16:55 +02:00
GCC Administrator
5dbb74b303 Daily bump.
From-SVN: r52406
2002-04-17 07:16:52 +00:00
Zack Weinberg
db85688a3c Makefile.in (PROTO_OBJS): Add cppdefault.o.
2002-04-17  Zack Weinberg  <zack@codesourcery.com>
	* Makefile.in (PROTO_OBJS): Add cppdefault.o.
	(protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
	(unprotoize.o): Ditto.  Build from protoize.c.  Define
	UNPROTOIZE on command line.
	* protoize.c: Include cppdefault.h.  Delete include_defaults.
	(in_system_include_dir): Use cpp_include_defaults (defined in
	cppdefault.o).
	* unprotoize.c: Delete file.

Approved by:  rth
              Message-ID: <20020415171022.A20025@redhat.com>

From-SVN: r52403
2002-04-17 03:20:57 +00:00
Aldy Hernandez
e969890658 altivec.h (vec_ld): Add array variants.
2002-04-17  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_ld): Add array variants.
        (vec_lde): Same.
        (vec_ldl): Same.

From-SVN: r52401
2002-04-17 02:35:19 +00:00
Alan Matsuoka
a6bd0e2dc7 altivec.h: Define __ALTIVEC__.
2002-04-17  Alan Matsuoka  <alanm@redhat.com>
            Aldy Hernandez <aldyh@redhat.com>

        * config/rs6000/altivec.h: Define __ALTIVEC__.
        (bool): New.
        (__pixel): New.
        (pixel): New.
        (vec_cfux): New.
        (vec_vmaddfp): New.
        (vec_vsldoi): New.
        Add parentheses to all macro arguments.

Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>

From-SVN: r52399
2002-04-17 02:05:47 +00:00
Richard Henderson
e0a724308a re PR c++/6320 (3.1 regression wrt 3.0: ICE in remove_eh_handler, at except.c:2696)
PR c++/6320
        * except.c (remove_eh_handler): Insert inner regions at beginning
        of sibling chain.  Refactor expressions.

	* g++.dg/eh/dead1.C: New.

From-SVN: r52396
2002-04-16 18:48:19 -07:00
Mark Mitchell
ea8e104407 c-common.h (STMT_EXPR_NO_SCOPE): New macro.
* c-common.h (STMT_EXPR_NO_SCOPE): New macro.
	* c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
	* tree.h (expand_start_stmt_expr): Update prototype.
	* stmt.c (expand_start_stmt_expr): Add has_scope parameter.
	* tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
	on the STMT_EXPR created for the inline function.

	* trans.c (tree_transform): Add has_scope argument to
	expand_start_stmt_expr.

	* com.c (ffecom_expr_power_integer): Add has_scope argument to
	call to expand_start_stmt_expr.

	* init.c (begin_init_stmts): Remove commented out code.
	(finish_init_stmts): Set STMT_EXPR_NO_SCOPE.
	* semantics.c (begin_gobal_stmt_expr): Adjust call to
	expand_start_stmt_expr.

From-SVN: r52394
2002-04-17 01:44:02 +00:00
Richard Henderson
6c0a04dac0 sol2-bi.h (AS_SPARC64_FLAG): New.
* config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
        * config/sparc/sol2-gas-bi.h: New file.
        * config.gcc (sparc*-solaris): Add it as needed.
        * configure.in (AS_SPARC64_FLAG): Remove check.
        * config.in, configure: Regenerate.

From-SVN: r52392
2002-04-16 18:36:05 -07:00
Richard Henderson
2142756405 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
From-SVN: r52390
2002-04-16 18:32:11 -07:00
Richard Henderson
97143ef837 mips.c (override_options): Don't override N32 for a 64-bit ISA.
* config/mips/mips.c (override_options): Don't override N32 for
        a 64-bit ISA.

From-SVN: r52388
2002-04-16 17:42:38 -07:00
Richard Henderson
220604655e re PR c/6202 (Failure of gcc.c-torture/execute/950607-2.c execution on irix6)
PR 6202
        * config/mips/mips.md (can_delay): Split out of existing define_delays.
        (HILO_delay): Set can_delay false.

From-SVN: r52384
2002-04-16 17:26:44 -07:00
David S. Miller
4b6219696e xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later.
2002-04-16  David S. Miller  <davem@redhat.com>

	* xregex2.h (__restrict_arr): Define to __restrict on GCC
	3.1 and later.  Do not redefine.

From-SVN: r52382
2002-04-16 17:11:58 -07:00
Kaveh R. Ghazi
2d4cf2c2c7 20010122-1.x: New file.
* gcc.c-torture/execute/20010122-1.x: New file.  XFAIL this test
	for mips*-sgi-irix6*.

From-SVN: r52381
2002-04-16 23:57:09 +00:00
Paolo Carlini
72cbfaa903 c-parse.in (poplevel, [...]): Add ending ';', in accordance with POSIX.
2002-04-16  Paolo Carlini  <pcarlini@unitus.it>

	* c-parse.in (poplevel, compstmt_start, compstmt_primary_start):
	Add ending ';', in accordance with POSIX.

From-SVN: r52380
2002-04-16 22:05:54 +00:00
DJ Delorie
37d8d5e66d configure.in: Allow building in $srcdir.
* configure.in: Allow building in $srcdir.
* configure: Regenerated.

From-SVN: r52377
2002-04-16 14:59:29 -04:00
Richard Henderson
20e24c4828 config.gcc (sparcv9-solaris): Configure for 64-bit default.
* config.gcc (sparcv9-solaris): Configure for 64-bit default.
        Adjust tm_file order to get TARGET_DEFAULT set properly.
        (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
        * doc/install.texi (sparc-solaris): Update.

From-SVN: r52372
2002-04-16 11:01:12 -07:00
Tom Tromey
8781bf7030 re PR libgcj/6081 (libjava make install fails: Arg list too long)
Fix for PR libgcj/6081:
	* Makefile.in: Rebuilt.
	* Makefile.am (install-data-local): Use GNU make trick to avoid
	shell limit.

From-SVN: r52371
2002-04-16 15:52:53 +00:00
Adam King
86ba22fb24 natFileWin32.cc (performList): Return the correct array type.
2002-04-16  Adam King <aking@dreammechanics.com>
	    Tom Tromey  <tromey@redhat.com>

	* java/io/natFileWin32.cc (performList): Return the correct array
	type.  Don't duplicate the creation of a File since it's already
	done earlier in the method and the existing code would cause a
	ArrayStoreException.  Don't use fixed-size array.
	(_access, _stat, attr, getCanonicalPath, performMkdir,
	performRenameTo): Don't use fixed-size array.
	(getCanonicalPath): Use throw, not _Jv_Throw.

Co-Authored-By: Tom Tromey <tromey@redhat.com>

From-SVN: r52368
2002-04-16 15:35:20 +00:00
Hartmut Penner
01d63f9213 re PR rtl-optimization/6305 (c++ gets ICE in reload_cse_simplify_operands)
PR target/6305
        * config/s390/s390.md (mulsidi3): Set both subregs of the
        multiword register.

From-SVN: r52365
2002-04-16 12:35:43 +00:00
GCC Administrator
461b872532 Daily bump.
From-SVN: r52361
2002-04-16 07:16:22 +00:00
Aldy Hernandez
0306b7106d altivec.h (vec_addc): Type check.
2002-04-16  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_addc): Type check.

From-SVN: r52359
2002-04-16 06:39:40 +00:00
Jakub Jelinek
bb9bb0af1b re PR target/6303 (output_operand: invalid expression as operand)
PR target/6303
	* dwarf2out.c (rtl_for_decl_location): Call ASM_SIMPLIFY_DWARF_ADDR
	before returning.
	* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT only
	when inside of MEM by eliminating the indirection too.
	* config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Define.
	* config/s390/s390.c (s390_simplify_dwarf_addr): New.
	* config/s390/s390-protos.h (s390_simplify_dwarf_addr): Add
	prototype.

	* gcc.dg/20020415-1.c: New test.

From-SVN: r52357
2002-04-16 08:15:58 +02:00
Jakub Jelinek
3cabba931b re PR middle-end/6279 (gcc-3.1 miscompiles qmake on IA-64)
PR middle-end/6279
	* expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.

	* expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.

From-SVN: r52355
2002-04-16 08:03:36 +02:00
Mark Mitchell
6286adb45c decl.c (register_dtor_fn): Pass the address of dso_handle, not dso_handle itself, to __cxa_atexit.
* decl.c (register_dtor_fn): Pass the address of dso_handle, not
	dso_handle itself, to __cxa_atexit.

From-SVN: r52353
2002-04-16 03:15:54 +00:00
Gabriel Dos Reis
5b25ca6833 [multiple changes]
2002-04-16  Paolo Carlini <pcarlini@unitus.it>
    * testsuite/24_iterators/rel_ops.cc: New test.

2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

    * include/bits/type_traits.h (__normal_iterator): Declare in
      __gnu_cxx.  Adjust use at global namespace.
    * include/bits/stl_iterator.h (__normal_iterator): Move definition
      into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
    * include/bits/basic_string.h (basic_string): Adjust use  of
      __normal_iterator.
    * include/bits/stl_vector.h (_Alloc>): Likewise.
    * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
    * src/locale-inst.cc (__gnu_cxx): Likewise.
    * src/string-inst.cc (operator==): Instantiate in  __gnu_cxx.

From-SVN: r52351
2002-04-16 02:53:23 +00:00
No Author
8017720c01 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52350
2002-04-16 02:53:23 +00:00
Richard Henderson
ed9673dccc abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set call_really_used_regs too.
* config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
        call_really_used_regs too.

From-SVN: r52349
2002-04-15 19:50:20 -07:00
Richard Henderson
4cde197bec * config.guess (sun4u:SunOS:5.*:*): Revert 04-12 change.
From-SVN: r52344
2002-04-15 17:15:59 -07:00
David S. Miller
546c6a6899 rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs as being CLOBBERed.
2002-04-15  David S. Miller  <davem@redhat.com>

	* rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
	as being CLOBBERed.

From-SVN: r52341
2002-04-15 16:11:27 -07:00
Jakub Jelinek
7643ba8fca re PR c/6290 (ICE compiling altivec code with 3.1)
PR c/6290
	* config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
	CONST_VECTOR is { 0, ... 0 }.

From-SVN: r52339
2002-04-16 00:28:30 +02:00
Loren J. Rittle
06cc8947d0 aclocal.m4 (gcc_version_trigger): Use robust path construction.
* aclocal.m4 (gcc_version_trigger): Use robust path construction.
        * configure: Rebuilt.

From-SVN: r52337
2002-04-15 21:57:52 +00:00
Loren J. Rittle
08c3e19c7b install.texi (Installing GCC: Configuration): Clarify the only supported ways to configure gcc.
* doc/install.texi (Installing GCC: Configuration): Clarify
        the only supported ways to configure gcc.

From-SVN: r52336
2002-04-15 21:56:33 +00:00
Mark Wielaard
53eca4de73 Integer.java (getInteger(String,Integer): Return def when nm is null or the empty String.
* java/lang/Integer.java (getInteger(String,Integer): Return def when
	nm is null or the empty String.

From-SVN: r52333
2002-04-15 21:06:59 +00:00
Steve Ellcey
dc60696d17 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
        does not define strtoll or strtoull, but does define strtol
        and strtoul which are the same since in 64 bit mode
        sizeof(long) == sizeof(long long).

From-SVN: r52330
2002-04-15 20:35:49 +00:00
Richard Henderson
50e60409d2 linux.h, [...] (CPP_PREDEFINES): Define __gnu_linux__, not gnu_linux.
* config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
        config/i386/linux-aout.h, config/i386/linux-oldld.h,
        config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
        config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
        config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
        config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
        config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
        Define __gnu_linux__, not gnu_linux.
        * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.

From-SVN: r52328
2002-04-15 13:27:46 -07:00
Mark Mitchell
1629730106 MAINTAINERS: Remove chill maintainers.
* MAINTAINERS: Remove chill maintainers.
	* Makefile.in (CHILLFLAGS): Remove.
	(CHILL_LIB): Remove.
	(TARGET_CONFIGDIRS): Remove libchill.
	(CHILL_FOR_TARGET): Remove.
	(BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or
	CHILL_LIB.
	(CONFIGURE_TARGET_MODULES): Remove configure-target-libchill.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(configure-target-libchill): Remove.
	(all-target-libchill): Remove.
	* configure.in (target_libs): Remove target-libchill.
	Do not compute CHILL_FOR_TARGET.
	* libchill: Remove directory.

	Remove Chill front end.
	* gcc.c (default_compilers): Remove Chill entries.
	* ch: Remove directory.
	* doc/frontends.texi: Remove information about Chill.
	* doc/sourcebuild.texi: Likewise.
	* doc/standards.texi: Likewise.

	* testsuite/lib/chill.exp: Remove.

	* g77.texi: Remove Chill reference.

	* gcc_release (build_tarfiles): Do not build Chill tarfiles.
	(CHILL_DIRS): Remove.

From-SVN: r52325
2002-04-15 19:00:10 +00:00
Douglas B Rupp
d5c66eccdf vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
* config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
	(LONGLONG_STANDALONE): Define.

From-SVN: r52322
2002-04-15 06:52:24 -04:00
David S. Miller
b71eb9f50d sparc.c (sparc_emit_float_lib_cmp): Call emit_library_call with LCT_NORMAL.
2002-04-15  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (sparc_emit_float_lib_cmp):
	Call emit_library_call with LCT_NORMAL.
	(sparc_initialize_trampoline): Use LCT_foo instead of
	magic constant in emit_library_call invocations.
	(sparc64_initialize_trampoline): Likewise.
	(sparc_profile_hook): Likewise.
	* config/sparc/sparc.md: Likewise.

	* config/sparc/sparc.c (sparc_extra_constraint_check):
	Fix type of argument 'c'.
	* config/sparc/sparc-protos.h (sparc_extra_constraint_check):
	Likewise.

From-SVN: r52320
2002-04-15 03:08:51 -07:00
Bryce McKinlay
faa381377e re PR java/6085 (gcj SEGVs on complicated inner class structures)
Fix for PR java/6085:
        * parse.y (patch_method_invocation): Always use build_access_to_thisn
        to get enclosing "this" argument for inner-class constructor
        invocation. Pass correct arguments to build_access_to_thisn.

From-SVN: r52319
2002-04-15 10:28:53 +01:00
GCC Administrator
d4b7721822 Daily bump.
From-SVN: r52314
2002-04-15 07:16:12 +00:00
Mark Wielaard
8a93a2ec22 natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
* java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
        * java/net/natSocketImpl.cc (close): Likewise.

From-SVN: r52313
2002-04-15 03:21:58 +00:00
Mark Wielaard
846b514743 Connection.java (usingProxy): return false.
2002-04-14  Mark Wielaard <mark@klomp.org>

        * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.

From-SVN: r52311
2002-04-15 03:16:02 +00:00
Adam King
42557a76f1 natDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers.
2002-04-13  Adam King <aking@dreammechanics.com>

        * java/lang/natDouble.cc (parseDouble): Allow a number to end with
        the f/F/d/D modifiers.

From-SVN: r52309
2002-04-15 03:12:06 +00:00
Mark Wielaard
8b309f8d3d re PR libgcj/6302 (http URLConnection does not support HTTP/1.1 (and chunked transfer encoding))
* libjava.mauve/xfails: Expect failures for PR libgcj/6302 and
        libgcj/6298.

From-SVN: r52306
2002-04-14 22:38:09 +00:00
Jakub Jelinek
70427c9b1a class.c (layout_virtual_bases): Do all dsize computation on trees.
* class.c (layout_virtual_bases): Do all dsize computation on trees.

	* g++.dg/other/big-struct.C: New test.

From-SVN: r52303
2002-04-14 22:53:59 +02:00
Hans-Peter Nilsson
350bd56e77 Make-lang.in (f/target.o): Depend on diagnostic.h.
* Make-lang.in (f/target.o): Depend on diagnostic.h.
	* target.c: Include diagnostic.h.
 	(ffetarget_memcpy_): Call sorry if host and target endians are
	not matching.

From-SVN: r52301
2002-04-14 16:21:51 +00:00
Andreas Schwab
a317140001 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
From-SVN: r52300
2002-04-14 16:01:15 +00:00
Mark Wielaard
41039d7118 re PR libgcj/6293 (PipedInputStream.close() does not notify writer (Mauve test))
* libjava.mauve/xfails: Expect failures for PR libgcj/6293,
	libgcj/6295, libgcj/6296 and libgcj/6297.

From-SVN: r52298
2002-04-14 15:06:32 +00:00
Jason Merrill
f41f16c533 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
From-SVN: r52295
2002-04-14 10:27:09 -04:00
David Billinghurst
9736a901a2 re PR c/6277 (Failure of test gcc.dg/i386-387-1.c on cygwin)
2002-04-13  David Billinghurst <David.Billinghurst@riotinto.com>

	PR c/6277
	* gcc.dg/i386-387-1.c:  Allow optional leading underscore
	in scan-assembler function name

From-SVN: r52291
2002-04-14 11:47:50 +00:00
GCC Administrator
26ad699696 Daily bump.
From-SVN: r52287
2002-04-14 07:16:19 +00:00
Mark Mitchell
33216c2df3 linux.h (CPP_PREDEFINES): Fix typo.
* config/alpha/linux.h (CPP_PREDEFINES): Fix typo.
	* config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
	not gnu_hurd.

From-SVN: r52285
2002-04-13 22:09:30 +00:00
Hans-Peter Nilsson
1810d3d857 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
From-SVN: r52284
2002-04-13 20:18:34 +00:00
Joel Sherrill
38a2082413 t-elf: Enable v8 multilibs.
2002-04-13	Joel Sherrill <joel@OARcorp.com>

	* config/sparc/t-elf: Enable v8 multilibs.  Impacts
	sparc-elf and sparc-rtems targets.

From-SVN: r52282
2002-04-13 19:54:36 +00:00
Mark Mitchell
36e7aea4ef linux.h: Define __gnu_linux__ wherever __linux__ is defined...
* alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
	defined, and __gnu_hurd__ wherever __GNU__ is defined.
	* arm/linux-elf.h: Likewise.
	* cris/aout.h: Likewise.
	* cris/linux.h: Likewise.
	* i370/linux.h: Likewise.
	* i386/gnu.h: Likewise.
	* i386/linux-aout.h: Likewise.
	* i386/linux-oldld.h: Likewise.
	* i386/linux.h: Likewise.
	* i386/linux64.h: Likewise.
	* ia64/linux.h: Likewise.
	* m68k/linux-aout.h: Likewise.
	* m68k/linux.h: Likewise.
	* mips/linux.h: Likewise.
	* pa/pa-linux.h: Likewise.
	* pj/linux.h: Likewise.
	* rs6000/sysv4.h: Likewise.
	* s390/linux.h: Likewise.
	* sh/linux.h: Likewise.
	* sparc/linux-aout.h: Likewise.
	* sparc/linux.h: Likewise.
	* sparc/linux64.h: Likewise.
	* xtensa/linux.h: Likewise.

From-SVN: r52278
2002-04-13 19:16:45 +00:00
David O'Brien
e78c850b5c Seems I did not add the entry before issue 'cvs ci'.
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
	* config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
	(DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
	(USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
	DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
	elfos.h and dbxelf.h values are fine now.
	* config/i386/freebsd.h, config/alpha/freebsd.h
	(DEFAULT_PCC_STRUCT_RETURN): Define to 0.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411175216.B11442@redhat.com>

From-SVN: r52277
2002-04-13 19:07:08 +00:00
Toon Moene
19b935cf93 news.texi: Deprecate frontend version number; update list of fixed bugs.
2002-04-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Deprecate frontend version number;
	update list of fixed bugs.

From-SVN: r52276
2002-04-13 16:44:44 +00:00
Hans-Peter Nilsson
ce476d48d5 980628-4.x, [...]: New, xfail cross-endian tests; powerpc-*-* and mmix hosted on i[34567]86-*-*.
* g77.f-torture/execute/980628-4.x,
	g77.f-torture/execute/980628-5.x,
	g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x,
	g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x,
	g77.f-torture/compile/alpha1.x: New, xfail cross-endian tests;
	powerpc-*-* and mmix hosted on i[34567]86-*-*.
	* g77.dg/f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
	* g77.f-torture/execute/io0.x, g77.f-torture/execute/io1.x,
	g77.f-torture/execute/20001201.x,
	g77.f-torture/execute/u77-test.x: New files.
	* gcc.dg/wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
	* gcc.dg/wchar_t-1.c: Ditto.

From-SVN: r52275
2002-04-13 12:27:48 +00:00
No Author
b16df601ba This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52274
2002-04-13 12:27:48 +00:00
David S. Miller
69a4793a4e 20020413-1.c: New test.
2002-04-13  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020413-1.c: New test.

From-SVN: r52271
2002-04-13 03:31:50 -07:00
GCC Administrator
dc2af98475 Daily bump.
From-SVN: r52265
2002-04-13 07:16:17 +00:00
Mark Mitchell
85e45f9136 re PR c++/5373 (Statement expressions broken in C++)
PR c++/5373.
	* semantics.c (finish_expr_stmt): Remember the type of the
	expression before any conversions are performed.

From-SVN: r52263
2002-04-13 07:08:03 +00:00
Andreas Schwab
67d9f46baf * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
From-SVN: r52261
2002-04-13 01:58:28 +00:00
Mark Mitchell
c1f45f89a1 re PR c++/5189 (g++ -c bug.cpp crashed on simple stupid file)
PR c++/5189.
	* g++.dg/template/copy1.C: New test.

From-SVN: r52259
2002-04-13 01:31:10 +00:00
Mark Mitchell
6d840fb794 Revert these changes:
2002-04-06  Mark Mitchell  <mark@codesourcery.com>

	PR c++/5571
	* stor-layout.c (layout_decl): Reset the RTL for the decl.

	2002-03-15  Mark Mitchell  <mark@codesourcery.com>

	* expr.c (expand_expr): Tidy.

	* decl.c (duplicate_decls): Do not copy the RTL for a variable
	declaration if the old variable had an incomplete type and the new
	variable does not.
	(complete_vars): Do not call layout_decl for completed variables.

From-SVN: r52257
2002-04-13 01:25:11 +00:00
Richard Henderson
36ea005204 * gcc.c-torture/execute/20020406-1.c (DUPFFnew): Use calloc.
From-SVN: r52254
2002-04-12 16:54:03 -07:00
Richard Henderson
01e93ba048 config.guess (sun4u:SunOS:5.*:*): Guess sparcv9 if 64-bit isa is supported.
* config.guess (sun4u:SunOS:5.*:*): Guess sparcv9 if 64-bit isa
        is supported.

From-SVN: r52252
2002-04-12 16:03:01 -07:00
Richard Henderson
c91ae42b2b config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
* config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
        (sparc*-*-solaris): Clean up header files.
        * configure.in (AS_SPARC64_FLAG): Error out if can't find it
        and plan on generating 64-bit code.
        * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
        * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
        * config/sparc/sol2-sld-64.h: Rename ...
        * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
        for AS_SPARC64_FLAG not defined.
        * config/sparc/sol2-gld-bi.h: New.
        * config/sparc/sol2-sld.h: Remove.
        * config/sparc/sol26-sld.h: New.
        * config/sparc/sol2.h: Tidy comments.
        * doc/install.texi: Document sparc-solaris configury changes.

From-SVN: r52249
2002-04-12 15:46:28 -07:00
Richard Henderson
8613921a3f recog.c (offsettable_address_p): Match the logic in adjust_address.
* recog.c (offsettable_address_p): Match the logic in adjust_address.

        * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
        in 64-bit mode only.  Use only for 32-bit or MEDLOW.

From-SVN: r52248
2002-04-12 15:36:01 -07:00
Rainer Orth
647ffb4ef7 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
From-SVN: r52245
2002-04-12 22:16:56 +00:00
Jeff Law
e2aafba527 pa.c (pa_can_combine_p): Call extract_insn before calling constrain_operands.
* pa.c (pa_can_combine_p): Call extract_insn before calling
	constrain_operands.

From-SVN: r52243
2002-04-12 15:52:07 -06:00
Douglas B Rupp
260d8a3889 * hwint.h (HAVE___INT64): Correct spelling.
From-SVN: r52240
2002-04-12 15:59:09 -04:00
Douglas B Rupp
967e577354 * config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.
From-SVN: r52238
2002-04-12 15:52:34 -04:00
Douglas B Rupp
a838068c1f i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
* config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
	(TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
	(DEFAULT_PCC_STRUCT_RETURN): Define as 0.
	* config/i386/t-interix (USER_H): Remove.

From-SVN: r52236
2002-04-12 15:44:42 -04:00
DJ Delorie
681843aa43 integrate.c (compare_blocks): Make comparisons safe for when sizeof(int) < sizeof(char *).
* integrate.c (compare_blocks): Make comparisons safe for when
sizeof(int) < sizeof(char *).
(find_block): Likewise.

From-SVN: r52235
2002-04-12 15:17:54 -04:00
Phil Edwards
cf8a1ae612 std_bitset.h: Doxygenate std::bitset<>.
2002-04-12  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
	trailing spaces, indentation, and macro names.  Make exception
	messages more informative.

From-SVN: r52234
2002-04-12 19:16:37 +00:00
Andreas Schwab
8cc5b1cf38 ia64.h (ASM_SPEC): Moved from here ...
* config/ia64/ia64.h (ASM_SPEC): Moved from here ...
	* config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
	overrides the definition in config/svr4.h.

From-SVN: r52229
2002-04-12 14:42:52 +00:00
Eric Norum
24b3749329 rtems.h, [...] (*-rtems*): Cleanup pass to move common definitions to config/rtems.h and make the targets...
2002-04-12	Eric Norum <eric.norum@usask.ca>

	* config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
	config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
	config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
	config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
	config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
	config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
	config/v850/rtems.h (*-rtems*): Cleanup pass to move common
	definitions to config/rtems.h and make the targets more similar.

From-SVN: r52224
2002-04-12 13:09:37 +00:00
Richard Kenner
5fdd953869 expr.c (expand_assigment): Remove duplicate conversions #ifdef POINTERS_EXTEND_UNSIGNED.
* expr.c (expand_assigment): Remove duplicate conversions #ifdef
	POINTERS_EXTEND_UNSIGNED.
	(store_constructor, expand_expr, case COMPONENT_REF): Likewise.
	(store_expr): Use TYPE_MODE (sizetype), not ptr_mode.

From-SVN: r52222
2002-04-12 08:29:31 -04:00
Richard Kenner
e2abdfc57a emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET not specified.
* emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
	not specified.

From-SVN: r52219
2002-04-12 08:13:26 -04:00
Hans-Peter Nilsson
e55c6325f4 function.c (fixup_var_refs_1): For paradoxical (subreg VAR), replace VAR, don't try the subreg.
* function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
	For paradoxical (subreg VAR), replace VAR, don't try the subreg.

From-SVN: r52218
2002-04-12 11:37:42 +00:00
Andrew Haley
6654a73d37 typeck.c (type_after_usual_arithmetic_conversions): If two types have the same variant, return immediately.
2002-04-11  Andrew Haley  <aph@redhat.com>

        * typeck.c (type_after_usual_arithmetic_conversions):
        If two types have the same variant, return immediately.
        When two floating-point operands are the same precision:
          convert to float if one of the operands is float;
          if neither operand is one of the standard types, return the type
          of the first operand.

From-SVN: r52216
2002-04-12 11:00:29 +00:00
Richard Sandiford
6ee48c3c3d * g++.dg/ext/attrib5.C,
* g++.dg/lookup/struct1.C: New tests.

From-SVN: r52212
2002-04-12 10:52:03 +00:00
Richard Sandiford
ccc5dbba43 decl.c (duplicate_decls): Don't try to unify an implicit typedef with an explicit one.
* decl.c (duplicate_decls): Don't try to unify an implicit typedef
	with an explicit one.
	(follow_tag_typedef): New.
	(lookup_tag): Use it to extract the tag of an explicit typedef.
	(xref_tag): Likewise.

From-SVN: r52211
2002-04-12 10:49:41 +00:00
Andreas Schwab
8ad223886d * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
From-SVN: r52208
2002-04-12 08:36:03 +00:00
Richard Henderson
3bd891df73 re PR bootstrap/4191 (GCC does not build for d30v-elf - needs tweaking for crtstuff.c changes)
PR bootstrap/4191
        * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.

        * flow.c (mark_used_reg): Manage reg_cond_dead properly for
        modes spanning multiple hard regs.

        * recog.c (peephole2_optimize): Rebuild jump labels as needed.

From-SVN: r52204
2002-04-12 00:49:14 -07:00
GCC Administrator
344ab910eb Daily bump.
From-SVN: r52200
2002-04-12 07:16:26 +00:00
Richard Henderson
96f5ce192e fstream.tcc (basic_filebuf<>::open): Fix & ordering.
* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
	* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
	(basic_ostream<>::operator<<(long long)): Same.

From-SVN: r52199
2002-04-11 22:45:52 -07:00
John David Anglin
27b63c9c68 pa.c (output_millicode_call): Check attribute type as well as length when length is 28.
* pa.c (output_millicode_call): Check attribute type as well as length
	when length is 28.

From-SVN: r52197
2002-04-12 03:12:24 +00:00
David O'Brien
72a2f7d420 freebsd.h (NO_IMPLICIT_EXTERN_C, [...]): Give value.
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
	* config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
	(DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
	(USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
	DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
	elfos.h and dbxelf.h values are fine now.
	* config/i386/freebsd.h, config/alpha/freebsd.h
	(DEFAULT_PCC_STRUCT_RETURN): Define to 0.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411175216.B11442@redhat.com>

From-SVN: r52195
2002-04-12 01:58:39 +00:00
David O'Brien
55edd5b449 aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__ or set Acpu or Amachine.
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
	* config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
	or set Acpu or Amachine.  Reformat.
	(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
	define.
	(LINK_SPEC): Do not need to undef.
	* config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
	* config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
	(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
	define.
	* config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
	(ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
	(LINK_SPEC): Do not need to undef.
	(DONT_USE_BUILTIN_SETJMP): Do not define.
	* config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
	(CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine.  Remove -Dia64.
	(DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
	Remove trailing spaces.
	* config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
	__ELF__, or set Acpu or Amachine.  Reformat.
	(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
	define.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411160138.A11250@redhat.com>

From-SVN: r52192
2002-04-12 01:11:43 +00:00
David O'Brien
df6f2b5948 config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match all other *-*-freebsd* targets.
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
	all other *-*-freebsd* targets.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411174756.A11442@redhat.com>

From-SVN: r52190
2002-04-12 00:56:52 +00:00
Richard Henderson
c09fe4f1d9 * config/linker-map.gnu: Add __gxx_personality_sj0.
From-SVN: r52185
2002-04-11 16:25:42 -07:00
Tom Tromey
422f02203b * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
From-SVN: r52184
2002-04-11 22:23:56 +00:00
Bryce McKinlay
aaeb0fcd93 configure.host: Set can_unwind_signal on hosts which support it.
* configure.host: Set can_unwind_signal on hosts which support it.
	Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
	* configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
	exceptions and can_unwind_signal isn't set.
	* configure: Rebuilt.

From-SVN: r52182
2002-04-11 23:20:48 +01:00
Richard Sandiford
e673b31060 extend.texi: Remove old claim that typedefs cannot have an alignment attribute.
* doc/extend.texi: Remove old claim that typedefs cannot have
	an alignment attribute.

From-SVN: r52181
2002-04-11 21:36:04 +00:00
Jakub Jelinek
feabd2ec22 re PR rtl-optimization/6177 (ia64 ICE with single-element complex array in LAPACK)
PR optimization/6177
	* expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
	bitpos is 0 and bitsize CONCAT size.

	* gcc.c-torture/execute/20020411-1.c: New test.

From-SVN: r52177
2002-04-11 23:00:54 +02:00
Anthony Green
e45e39031c Fix classpath with a hack.
From-SVN: r52175
2002-04-11 20:55:51 +00:00
Jakub Jelinek
5a0dfc2e06 re PR c/6223 (internal compiler error in Wine-20020310)
PR c/6223
	* combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.

	* gcc.dg/20020411-1.c: New test.

From-SVN: r52174
2002-04-11 22:51:38 +02:00
David O'Brien
6453191c99 freebsd.h: Minor reformatting.
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
	* config/alpha/freebsd.h: Minor reformatting.
	(CPP_SPEC): Define ELF and add cpp_subtarget.
	(ASM_SPEC): No longer needed.

Approved by:  David S. Miller <davem@redhat.com>
              Message-Id: <20020410.203814.109035383.davem@redhat.com>

From-SVN: r52171
2002-04-11 18:23:30 +00:00
Richard Sandiford
f0bf617e43 Properly revert it this time. Sorry.
From-SVN: r52169
2002-04-11 17:30:20 +00:00
Richard Henderson
1937688b36 sparc.md (movdi_insn_sp32): Add o/J alternative.
* config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
        (movdi_insn_sp32_v9): Likewise.  Only allow stx with aligned memory.
        (dimode mem/zero splitter): New.

From-SVN: r52167
2002-04-11 10:19:49 -07:00
Richard Sandiford
53e00ae82f Revert previous patch.
From-SVN: r52165
2002-04-11 16:38:14 +00:00
Adam King
7a3fced419 jvm.h (_Jv_ThrowBadArrayIndex, [...]): Mark as noreturn.
2002-04-11  Adam King <aking@dreammechanics.com>
	    Tom Tromey  <tromey@redhat.com>

	* include/jvm.h (_Jv_ThrowBadArrayIndex,
	_Jv_ThrowNullPointerException): Mark as noreturn.
	* win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
	and _Jv_free.  Correctly invoke GetTempPath().  Indentation
	fixes.

Co-Authored-By: Tom Tromey <tromey@redhat.com>

From-SVN: r52163
2002-04-11 15:56:34 +00:00
Hans-Peter Nilsson
6c1b90c492 cris.c (cris_override_options): Tweak error message for PIC not implemented.
* config/cris/cris.c (cris_override_options): Tweak error message
	for PIC not implemented.

	* config/cris/cris.h: Tweak comments related to parameter-passing.

	* config/cris/t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.

From-SVN: r52162
2002-04-11 15:16:18 +00:00
Richard Sandiford
b99f20ca20 * g++.dg/ext/attrib5.C: New test.
From-SVN: r52158
2002-04-11 14:09:27 +00:00
Richard Sandiford
e67af10f27 decl.c (duplicate_decls): Don't try to unify an implicit typedef with an explicit one.
* decl.c (duplicate_decls): Don't try to unify an implicit typedef
	with an explicit one.
	(lookup_tag): Extract the tag of an explicit typedef.

From-SVN: r52157
2002-04-11 14:07:36 +00:00
Hans-Peter Nilsson
ce6e264e00 cris.c (cris_target_asm_function_prologue): Cast uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
* config/cris/cris.c (cris_target_asm_function_prologue): Cast
	uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
	(cris_target_asm_function_epilogue): Ditto.
	(cris_initial_frame_pointer_offset): Ditto.
	(cris_simple_epilogue): Ditto.
	(cris_expand_builtin_va_arg): Variable-size types come in
	by-reference.

From-SVN: r52156
2002-04-11 13:59:05 +00:00
GCC Administrator
34f224db75 Daily bump.
From-SVN: r52150
2002-04-11 07:16:16 +00:00
Richard Henderson
335074c449 except.c (add_ehl_entry): Allow duplicates after landing pad creation.
* except.c (add_ehl_entry): Allow duplicates after landing pad
        creation.

From-SVN: r52148
2002-04-10 18:04:32 -07:00
Jakub Jelinek
627f6f85bb re PR middle-end/6247 (Konqueror miscompilation on IA-32)
PR middle-end/6247
	* g++.dg/opt/cleanup1.C: New test.

	* g++.dg/opt/const1.C: New test.

From-SVN: r52145
2002-04-10 23:47:47 +02:00
David Edelsohn
1d2ceaa72d * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
From-SVN: r52143
2002-04-10 16:31:47 -04:00
Ulrich Weigand
8c26768ffd reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM is only used as frame pointer when...
* reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
	is only used as frame pointer when frame_pointer_needed is true.

From-SVN: r52139
2002-04-10 17:54:40 +00:00
Lars Brinkhoff
c4ba110155 * gcc.c-torture/execute/20020406-1.c: Declare malloc.
From-SVN: r52137
2002-04-10 10:46:49 -07:00
Andreas Jaeger
52101467b6 * gcj.texi (Input Options): Fix extdirs patch.
From-SVN: r52135
2002-04-10 18:10:47 +02:00
Anthony Green
25a7d546e9 Fix build problem.
From-SVN: r52134
2002-04-10 15:23:05 +00:00
Richard Earnshaw
17856d217b re PR target/817 (ARM compiler generates out-of-range accesses to constant pool data)
PR target/817
* arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
for the fact that the pool entry uses two words.
(movdf_hard_insn): Similarly.  Also, ADR instruction can span
1k bytes.
(movdf_soft_insn): Similarly.
(movxf_hard_insn): Adjust neg_pool_range attribute to allow
for the fact that the pool entry uses three words.

From-SVN: r52133
2002-04-10 14:25:51 +00:00
Anthony Green
f59c0da6dc Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
2002-04-05  Anthony Green  <green@redhat.com>

	* Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
	(install-data-hook): Define.
	* Makefile.in: Rebuilt.

From-SVN: r52131
2002-04-10 13:10:16 +00:00
Anthony Green
2c4d1583b8 gcj.texi (Input Options): Add --extdirs documentation.
2002-04-09  Anthony Green  <green@redhat.com>

	* gcj.texi (Input Options): Add --extdirs documentation.
	* jcf-dump.c (OPT_extdirs): New macro.
	(options): Add extdirs option.
	(help): Describe --extdirs.
	(main): Handle OPT_extdirs.
	* gjavah.c (OPT_extdirs): New macro.
	(options): Add extdirs option.
	(help): Describe --extdirs.
	(main): Handle OPT_extdirs.
	* jcf-path.c (jcf_path_init): Add extdirs support.
	(jcf_path_extdirs_arg): New function.
	(extensions): New variable to hold extensions path entries.
	* jvspec.c: Remove -fextdirs= when compiling main().
	* lang.c (java_decode_option): Handle -fextdirs=.
	* jcf.h (jcf_path_extdirs_arg): Declare new function.
	* Make-lang.in: Compile jcf-path with version info for use in
	identifying the appropriate libgcj.jar.

From-SVN: r52130
2002-04-10 13:09:03 +00:00
Nathan Sidwell
670bfd2741 re PR c++/5507 (Overzealous implicit typename warning)
cp:
	PR c++/5507
	* decl.c (make_typename_type): Remove implicit typenameness.
testsuite:
	PR c++/5507
	* g++.dg/template/typename2.C: New test.

From-SVN: r52123
2002-04-10 09:38:55 +00:00
GCC Administrator
c09dfadf8a Daily bump.
From-SVN: r52119
2002-04-10 07:16:25 +00:00
Richard Henderson
c506336394 expr.c (expand_expr): Don't force into registers if EXPAND_INITIALIZER.
* expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
        if EXPAND_INITIALIZER.

From-SVN: r52117
2002-04-10 00:10:18 -07:00
Alan Modra
0dc8f2034b * gcc.c-torture/execute/loop-12.c: New.
From-SVN: r52116
2002-04-10 16:28:41 +09:30
No Author
5e4b4103bc This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52115
2002-04-10 06:58:41 +00:00
Alan Modra
f4333b6182 re PR rtl-optimization/6233 (simple loop miscompilation)
PR optimization/6233
	* rtlanal.c (pure_call_p): New function.
	* rtl.h (pure_call_p): Declare.
	* loop.c (prescan_loop): Use it to set has_nonconst_call.
	* gcse.c (store_killed_in_insn): Use pure_call_p here too.

From-SVN: r52114
2002-04-10 16:22:21 +09:30
Richard Henderson
3b2f3c8167 alpha.md (movdi_er_maybe_g): New.
* config/alpha/alpha.md (movdi_er_maybe_g): New.
        * config/alpha/alpha.c (alpha_expand_mov): Use it.

From-SVN: r52112
2002-04-09 22:14:55 -07:00
Loren J. Rittle
d3f2fdb6f7 * configure.in: Add *-*-freebsd* configurations.
From-SVN: r52108
2002-04-10 02:52:12 +00:00
Richard Henderson
172879b658 expr.c (expand_expr): Force overflows into registers.
* expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.

	* gcc.c-torture/compile/20020409-1.c: New.

From-SVN: r52106
2002-04-09 19:23:35 -07:00
No Author
2da3687b32 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52105
2002-04-10 02:23:35 +00:00
Loren J. Rittle
4831961528 gcconfig.h (DATAEND): Update comment example to match reality.
* include/private/gcconfig.h (DATAEND): Update comment example
	to match reality.  Clarify comment.
	Change all likely references to linker script synthesized
	symbols to use this idiom: extern int etext[]; etext
	* os_dep.c (GC_init_linux_data_start): Fix references to
	__data_start and _end.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r52103
2002-04-10 01:18:08 +00:00
Andrew MacLeod
87e4376701 * expr.c (expand_expr): A RESULT_DECL is part of a call.
From-SVN: r52102
2002-04-10 00:37:02 +00:00
Richard Henderson
95e726f37e cfg.c (expunge_block): Decrement num_elements here ...
* cfg.c (expunge_block): Decrement num_elements here ...
        (expunge_block_nocompact): ... not here.
        * cfgcleanup.c (delete_unreachable_blocks): Set num_elements.

From-SVN: r52101
2002-04-09 17:18:53 -07:00
Benjamin Kosnik
fd0df8a0ff localefwd.h (locale::_Impl::_M_facets): Change from pointer to vector.
2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>

        libstdc++/1072
        * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
        pointer to vector.
        Remove forward declaration of vector.
        Include vector.
        * include/bits/locale_facets.tcc: Remove vector include.
        (use_locale): Adjust.
        (has_locale): Adjust.
        * src/locale.cc: Adjust.
        * src/localename.cc: Same.

From-SVN: r52096
2002-04-09 21:20:25 +00:00
Richard Henderson
71644c160a basic-block.h (flow_delete_block_noexpunge): Declare.
* basic-block.h (flow_delete_block_noexpunge): Declare.
	(expunge_block_nocompact): Declare.
	* cfg.c (expunge_block_nocompact): Split out from ...
	(expunge_block): ... here.
	* cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
	(flow_delete_block_noexpunge): Split out from ...
	(flow_delete_block): ... here.
	* cfgcleanup.c (delete_unreachable_blocks): Compact while
	removing dead blocks.
	* except.c (exception_handler_labels): Remove.
	(exception_handler_label_map): New.
	(struct eh_region): Add aka member.
	(mark_ehl_map_entry, mark_ehl_map, free_region): New.
	(ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
	(for_each_eh_label, for_each_eh_label_1): New.
	(init_eh): Register exception_handler_label_map.
	(free_eh_status): Use free_region.
	(find_exception_handler_labels): Use the map, not the list.
	(remove_exception_handler_label): Likewise.
	(maybe_remove_eh_handler): Likewise.
	(remove_eh_handler): Use the region aka bitmap.
	* except.h (exception_handler_labels): Remove.
	(for_each_eh_label): Declare.
	* jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
	* loop.c (invalidate_loops_containing_label): New.
	(find_and_verify_loops): Use it.  Use for_each_eh_label.
	* sched-rgn.c (is_cfg_nonregular): Use
	current_function_has_exception_handlers.

From-SVN: r52093
2002-04-09 13:39:01 -07:00
Richard Henderson
c2ddba8ab6 hashtab.c (higher_prime_number): Use 7 as minimum.
* hashtab.c (higher_prime_number): Use 7 as minimum.
        (find_empty_slot_for_expand): Don't compute hash2 unless needed.
        (htab_find_slot_with_hash): Likewise.

From-SVN: r52092
2002-04-09 13:29:31 -07:00
Richard Henderson
da37c48385 * reorg.c (get_branch_condition): Use reversed_comparison_code.
From-SVN: r52089
2002-04-09 12:40:36 -07:00
Stephane Carrez
dcb704396b larith.asm (__map_data_section): Fix condition and optimize for size.
* config/m68hc11/larith.asm (__map_data_section): Fix condition
	and optimize for size.
	(__do_global_ctors): Fix pointer comparison.
	(__do_global_dtors): Likewise.

From-SVN: r52087
2002-04-09 20:56:42 +02:00
Tom Tromey
9bba76525a * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
From-SVN: r52085
2002-04-09 17:46:05 +00:00
Jason Merrill
cc4d25c18a re PR rtl-optimization/6189 (Regression from 3.0.x: g++ -O3 generates wrong code)
PR optimization/6189
        * semantics.c (genrtl_start_function): Don't free
        DECL_SAVED_FUNCTION_DATA for inline functions.

[[Split portion of a mixed commit.]]

From-SVN: r52083.1
2002-04-09 13:02:43 -04:00
David S. Miller
1028a4d91b sparc.c (sparc_extra_constraint_check): New function, implementing EXTRA_CONSTRAINTS.
2002-04-09  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (sparc_extra_constraint_check): New
	function, implementing EXTRA_CONSTRAINTS.  For memory constraints,
	allow reloading pseudos.
	* config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
	* config/sparc/sparc-protos.h: Declare it.

	* config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
	unsigned comparison warning.
	(output_restore_regs): Mark leaf_function as unused.

From-SVN: r52079
2002-04-09 07:50:52 -07:00
Richard Kenner
47a036ed46 expr.c (is_aligning_offset): New function.
* expr.c (is_aligning_offset): New function.
	(expand_expr, case COMPONENT_EXPR): Call it.

From-SVN: r52076
2002-04-09 09:40:36 -04:00
Benjamin Kosnik
a129752b4e sstream.tcc: Clean up bit ops.
2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
	    Richard Henderson  <rth@redhat.com>

	* include/bits/sstream.tcc: Clean up bit ops.
	* include/bits/fstream.tcc: Same.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r52071
2002-04-09 08:48:49 +00:00
Jakub Jelinek
72a8e872af locale_facets.h (__num_base::_S_scale_hex): Remove.
2002-04-09  Jakub Jelinek  <jakub@redhat.com>

	* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
	(__num_base::_S_scale_oct): Remove.
	* src/locale.cc (__num_base::_S_scale_hex): Remove.
	(__num_base::_S_scale_oct): Remove.

From-SVN: r52069
2002-04-09 08:00:36 +00:00
Benjamin Kosnik
d7b1f130cd bitset_members.cc: New test.
2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/6124
	* testsuite/23_containers/bitset_members.cc: New test.
	* include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
	(_S_bit_count): Here.
	(_First_one::_S_first_one): Move...
	(_S_first_one): Here.
	Format.
	* src/bitset.cc: Adjust.
	* config/linker-map.gnu: Export.

From-SVN: r52067
2002-04-09 07:40:10 +00:00
Benjamin Kosnik
d893c6a976 fstream.tcc (filebuf::seekpos): Fix.
2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/5180
	* include/bits/fstream.tcc (filebuf::seekpos): Fix.
	* include/std/std_fstream.h: Clean.
	* include/bits/ostream.tcc: Remove extraneous variables.
	* include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
	open modes and which modes.
	(stringbuf::seekpos): Same.
	* testsuite/27_io/stringbuf_virtuals.cc: New tests.

From-SVN: r52065
2002-04-09 07:27:32 +00:00
GCC Administrator
3ab15f4bb6 Daily bump.
From-SVN: r52061
2002-04-09 07:16:26 +00:00
Hans-Peter Nilsson
81e6765afa re PR objc/6107 (sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures w/-m64)
PR objc/6107
	* objc/objc-api.h (struct objc_protocol_list): Change type of
	member count from int to size_t.

From-SVN: r52060
2002-04-09 07:11:53 +00:00
Alan Modra
4574fcd6e1 configure.in (auto-build.h): Use target_alias and build_alias when running configure.
* configure.in (auto-build.h): Use target_alias and build_alias
	when running configure.
	(gcc_cv_as): Use $target_alias in directory searchs rather than
	$target.  Heed program_prefix and program_transform_name.  Search
	for gas in cross-compiler case too.  "test -x" rather than "test -f".
	(gcc_cv_ld): Likewise.
	(gcc_cv_nm): Set for cross compilers too.  Heed program_prefix and
	program_transform_name.
	(gcc_cv_objdump): Likewise.
	* configure: Regenerate.

From-SVN: r52052
2002-04-09 10:03:05 +09:30
Hans-Peter Nilsson
a7b1b08874 Fix ChangeLog date
From-SVN: r52051
2002-04-09 00:15:50 +00:00
Hans-Peter Nilsson
604bf9e0cd t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
* config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
	here.

	* config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
	semicolon.

	* config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
	types come in by-reference.  Fix typo in comment.

From-SVN: r52050
2002-04-09 00:12:51 +00:00
Hans Boehm
cc4d90e336 gc_priv.h (WARN macro): Add "GC warning:" prefix.
* include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
	(GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
	declare.
	* allchblk.c (GC_allchblk_nth): Change text and support reduced
	frequency for blacklist warning message.
	* misc.c (GC_large_alloc_warn_interval,
	GC_large_alloc_warn_suppressed): define.
	(GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
	GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
	* doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
	(GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.

	* dyn_load.c (_DYNAMIC): Move declaration to file scope.

From-SVN: r52049
2002-04-09 00:03:25 +00:00
Hans Boehm
6a8bf5e9d8 java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE correctly.
* src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
	correctly.
	* src/ia64/unix.S: Add unwind information. Fix comments.
	Save sp in a way that's compatible with unwind info.
	(ffi_call_unix): Correctly restore sp in all cases.
	* src/ia64/ffi.c: Add, fix comments.

From-SVN: r52044
2002-04-08 22:31:16 +00:00
Adam Megacz
7c9d77b6ba exception.cc (abort): added static modifier
2002-04-05  Adam Megacz <adam@xwt.org>

        * exception.cc (abort): added static modifier

From-SVN: r52042
2002-04-08 20:40:35 +00:00
Jakub Jelinek
2a7efa087b * src/sparc/v8.S: Make .eh_frame dependent on target word size.
From-SVN: r52040
2002-04-08 22:22:24 +02:00
Paolo Carlini
b653b3bb75 parse.y (namespace_qualifier, [...]): Add ending ';', in accordance with POSIX.
2002-04-08  Paolo Carlini  <pcarlini@unitus.it>

	* parse.y (namespace_qualifier, maybe_identifier,
	begin_explicit_instantiation, end_explicit_instantiation,
	apparent_template_type, .finish_template_type,
	do_id, maybe_init, defarg_again, component_decl_1):
	Add ending ';', in accordance with POSIX.

From-SVN: r52039
2002-04-08 20:17:47 +00:00
Tom Tromey
b5515bce78 re PR libgcj/6068 (libgcj build picks up libgcj.spec from install tree)
* configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
	Fixes PR libgcj/6068.

From-SVN: r52037
2002-04-08 18:55:32 +00:00
Alberto Biancardi
c003db19ed re PR libgcj/6187 (method distance of class java.awt.geom.Point2D causes infinite recursion)
2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>

	Fix for PR libgcj/6187:
	* java/awt/geom/Point2D.java (distance): Call distanceSq, not
	distance.

From-SVN: r52036
2002-04-08 18:48:55 +00:00
Tom Tromey
468196d3b4 For PR libgcj/5303:
* .cvsignore: Added rmic.1 and rmiregistry.1.
	* gcj.texi (Top): Link to new nodes.
	(Invoking rmic): New node.
	(Invoking rmiregistry): Likewise.
	* Make-lang.in (java.generated-manpages): Added rmic.1 and
	rmiregistry.1.
	(java.maintainer-clean): Likewise.
	($(srcdir)/java/rmic.1): New target.
	($(srcdir)/java/rmiregistry.1): Likewise.
	(java.install-man): Handle rmic.1 and rmiregistry.1.

From-SVN: r52034
2002-04-08 18:27:33 +00:00
Richard Henderson
9eb438c55c re PR rtl-optimization/6007 (cfg cleanup tremendous performance hog with -O1)
PR opt/6007
        * toplev.c (rest_of_compilation): Disable cross-jumping for
        highly connected graphs.

From-SVN: r52033
2002-04-08 11:15:43 -07:00
David S. Miller
6a4756a570 Missed this for 3.1 branch commit.
From-SVN: r52032
2002-04-08 10:34:17 -07:00
David S. Miller
9262a3d1f2 re PR target/6082 (memory model wrong for FreeBSD/sparc64)
2002-04-08  David S. Miller  <davem@redhat.com>

	PR target/6082
	* config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW

	Make init_priority work on Sparc when using GNU ld.
	* config/sparc/linux.h, config/sparc/linux64.h,
	config/sparc/netbsd-elf.h, config/sparc/freebsd.h
	(CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
	* config/sparc/sol2-gld.h: New file to do the same.
	* config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
	sparc/sol2-gld.h to tm_file.

	PR optimization/4328
	* config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
	* doc/md.texi: Document it.
	* config/sparc/sparc.md (movdi_insn_sp64_novis,
	movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
	movdf_insn_v9only_vis, movdf_insn_sp64_novis,
	movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
	* config/sparc/sparc.c (mem_min_alignment): Fix comment.

From-SVN: r52030
2002-04-08 10:17:18 -07:00
Gerald Pfeifer
b0f2a018da contrib.texi (Contributors): Add John David Anglin and Loren J. Rittle (the latter also to Testers).
* doc/contrib.texi (Contributors): Add John David Anglin and Loren
	J. Rittle (the latter also to Testers).  Update David O'Brien's entry.

From-SVN: r52025
2002-04-08 12:15:05 +00:00
Bryce McKinlay
7b7e8380c3 gcj.texi (Invocation): Update JvAttachCurrentThread documentation.
* gcj.texi (Invocation): Update JvAttachCurrentThread documentation.
	Add note about handling uncaught exceptions. Add an exception handler
	to example.

From-SVN: r52023
2002-04-08 13:07:29 +01:00
GCC Administrator
7f622153bf Daily bump.
From-SVN: r52016
2002-04-08 07:16:14 +00:00
Bryce McKinlay
349a4258b8 parse.y (resolve_qualified_expression_name): Clear "from_super" flag after using it to patch CALL_EXPR.
* parse.y (resolve_qualified_expression_name): Clear "from_super" flag
	after using it to patch CALL_EXPR.

From-SVN: r52014
2002-04-08 07:40:50 +01:00
Bryce McKinlay
775177eb92 * gcj.texi (Invocation): Document CNI invocation API.
From-SVN: r52013
2002-04-08 07:39:34 +01:00
David S. Miller
15da020b0a config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
2002-04-07  David S. Miller  <davem@redhat.com>

	* config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.

From-SVN: r52010
2002-04-07 17:29:23 -07:00
Mark Wielaard
158f133541 AbstractMap.java (putAll): Use entrySet size.
* java/util/AbstractMap.java (putAll): Use entrySet size.
	(toString): Explicitly use getKey() and getValue().

From-SVN: r52009
2002-04-08 00:24:46 +00:00
Mark Wielaard
cf6f4c4d1b xfails: Add CASE_INSENSITIVE_ORDER...
* libjava.mauve/xfails: Add CASE_INSENSITIVE_ORDER, result was
    unspecified and test should be updated to match latest spec.
    Add AcuniaPropertiesTest, known bug #6219. Add test_getClassLoader,
    what we do seems to be not really right or wrong.

From-SVN: r52007
2002-04-07 22:33:25 +00:00
John David Anglin
80c4bc14e5 re PR c++/5933 (HP-UX: broken MI of virtual classes)
PR 5933
	* pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
	generating 32-bit pic code.

From-SVN: r52005
2002-04-07 21:47:27 +00:00
Franz Sirl
84d80e2ae2 re PR rtl-optimization/6086 (Reload misoptimizes DImode PREINC on PPC)
2002-04-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR optimization/6086
	* g++.dg/opt/preinc1.C: New test.

From-SVN: r52003
2002-04-07 18:26:51 +00:00
No Author
d00670e928 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52002
2002-04-07 18:26:51 +00:00
Franz Sirl
da0c50d950 rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
2002-04-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
	(PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
	!flag_pic.
	(CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
	* config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
	of PIC_OFFSET_TABLE_REGNUM thruout.
	* config/rs6000/rs6000.md: Likewise.
	* config/rs6000/darwin.h: Likewise.

From-SVN: r52000
2002-04-07 18:17:45 +00:00
Mark Wielaard
0b9a32abdb Hashtable.java (contains): Remove NullPointer check.
* java/util/Hashtable.java (contains): Remove NullPointer check.
        (containsValue): Add NullPointer check.
        (remove): Always throw NullPointerException when key is null.

From-SVN: r51993
2002-04-07 12:15:36 +00:00
Adam King
fd9aa8924c natSystem.cc (init_properties): Call new function _Jv_platform_initProperties.
2002-04-07  Adam King <aking@dreammechanics.com>

	* java/lang/natSystem.cc (init_properties): Call new function
	_Jv_platform_initProperties.
	* win32.cc (_Jv_platform_initProperties): New function that adds Win32
	support for the System properties os.name, os.arch, os.version,
	user.name, user.home, and user.dir.
	* include/posix.h, include/win32.h, posix.cc: New function
	_Jv_platform_initProperties.

From-SVN: r51990
2002-04-07 12:30:09 +01:00
Mark Wielaard
07cc396fdc mauve.exp: Use libgcj.jar not libgcj.zip.
* libjava.mauve/mauve.exp: Use libgcj.jar not libgcj.zip.
	* libjava.mauve/xfails: add Character.classify12 (number 1),
	Character.getType (number 11), Character.getType (number 20) and
	Character.getType (number 22). We implement 1.4 Character.

From-SVN: r51988
2002-04-07 09:22:00 +00:00
GCC Administrator
9660e5628e Daily bump.
From-SVN: r51983
2002-04-07 08:16:13 +00:00
Mark Wielaard
fa461e07d1 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
From-SVN: r51981
2002-04-07 07:43:37 +00:00
Mark Wielaard
3e08ac0c2a ArrayList.java (addAll(int,Collection)): System.arraycopy all of the remaining elements.
* java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
        all of the remaining elements.
        * java/util/Vector.java (addAll(int,Collection)): Likewise.
        (removeRange): If toIndex == fromIndex do
        nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
        (removeAll): Always throw NullPointerException when collection is
        null.
        (retrainAll): Likewise.

From-SVN: r51980
2002-04-07 07:42:30 +00:00
Mark Mitchell
c515dffbcd re PR c++/5571 (crash in initialization of a static variable)
PR c++/5571
	* stor-layout.c (layout_decl): Reset the RTL for the decl.

	* class.c (layout_class_type): Remember incomplete static
	variables.
	(finish_struct_1): Call complete_vars, not
	hack_incomplete_structures.
	* cp-tree.h (hack_incomplete_structures): Rename to ...
	(complete_vars): ... this.
	(struct saved_scope): Remove incomplete.
	(namespace_scope_incomplete): Remove.
	* decl.c (struct binding_level): Remove incomplete.
	(incomplete_vars): New variable.
	(mark_binding_level): Don't mark incomplete.
	(print_binding_level): Don't print it.
	(mark_saved_scope): Don't mark incomplete.
	(pushdecl): Use maybe_register_incopmlete_var.
	(cxx_init_decl_processing): Register incomplete_vars for GC.
	(start_decl_1): Clarify error message.
	(hack_incomplete_vars): Remove.
	(maybe_register_incomplete_var): New function.
	(complete_vars): Likewise.

	* g++.dg/opt/static2.C: New test.

From-SVN: r51977
2002-04-07 06:02:47 +00:00
Jason Merrill
6f2317e2dc re PR c++/4934 (Seg fault on legal code)
PR c++/4934
        * error.c (dump_expr) [CONVERT_EXPR]: Make sure TREE_TYPE (t) is
        set before checking it.

From-SVN: r51973
2002-04-06 17:22:47 -05:00
John David Anglin
b89f158cef * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
From-SVN: r51970
2002-04-06 21:55:14 +00:00
Mark Mitchell
a7b13c871b Tweak ChangeLog entry
From-SVN: r51968
2002-04-06 19:39:33 +00:00
Mark Mitchell
6e59c903e0 sibcall.c (optimize_sibling_and_tail_recursive_call): Clear RTX_UNCHANGING_P for the functions arguments when a tail call is made.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
	RTX_UNCHANGING_P for the functions arguments when a tail call
	is made.

From-SVN: r51967
2002-04-06 19:37:39 +00:00
Jason Merrill
1c0400ac1c toplev.c (flag_no_inline, [...]): Default to 2.
* toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
        (parse_options_and_default_flags): Set them appropriately.
        * c-common.c (c_common_post_options): Don't set flag_really_no_inline.

From-SVN: r51960
2002-04-06 11:58:38 -05:00
Jan Hubicka
d777f21092 Sat Apr 6 18:26:32 CEST 2002 Jan Hubicka <jh@suse.cz>
* ifcvt.c (if_convert): Clear aux fields of blocks.

From-SVN: r51957
2002-04-06 16:27:25 +00:00
Jason Merrill
d3822259da re PR c++/6179 (EH regression test failure for STLport-4.5.3)
PR c++/6179
        * method.c (implicitly_declare_fn): Pass unqualified type to
        synthesize_exception_spec.

From-SVN: r51953
2002-04-06 10:58:48 -05:00
Mark Wielaard
4436d35624 ArrayList.jva (removeRange): If toIndex == fromIndex do nothing...
* java/util/ArrayList.jva (removeRange): If toIndex == fromIndex do
        nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.

From-SVN: r51948
2002-04-06 08:27:28 +00:00
GCC Administrator
2fead30bd7 Daily bump.
From-SVN: r51942
2002-04-06 08:16:32 +00:00
David S. Miller
ea62b618c2 freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
2002-04-05  David S. Miller  <davem@redhat.com>

	* config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
	* config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
	sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
	{sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.

From-SVN: r51939
2002-04-05 20:53:34 -08:00
John David Anglin
0176ed1a66 splay-tree.c (splay_tree_xmalloc_allocate): Use K & R syntax.
* splay-tree.c (splay_tree_xmalloc_allocate): Use K & R syntax.
	(splay_tree_xmalloc_deallocate): Likewise.

From-SVN: r51934
2002-04-05 22:46:55 +00:00
Jan Hubicka
b8009f90a7 optabs.c (emit_no_conflict_block, [...]): Avoid nesting of libcall regions.
* optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
	of libcall regions.

From-SVN: r51929
2002-04-05 19:13:00 +00:00
Jonathan Wakely
5b0a61bdd4 stl_algo.h (unique_copy, [...]): Doxygenate.
2002-04-05  Jonathan Wakely <jw@kayari.org>

	* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
	random_shuffle, partition, stable_partition, sort, stable_sort,
	partial_sort, partial_sort_copy, nth_element):  Doxygenate.

From-SVN: r51928
2002-04-05 17:59:57 +00:00
David S. Miller
2f734ea4c5 sparc.c (sparc_nonflat_function_epilogue): If we are not going to emit return instructions...
2002-04-05  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
	are not going to emit return instructions, emit at least a nop
	for the sake of sane backtraces.

From-SVN: r51922
2002-04-05 07:01:46 -08:00
David S. Miller
98089de755 2002-04-05 David S. Miller <davem@redhat.com>
* config/os/gnu-linux/bits/os_defines.h
	(__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.

From-SVN: r51920
2002-04-05 05:44:54 -08:00
Nic Ferrier
5db42cf328 gcj.texi: @code{gcj} becomes @command{gcj}.
* gcj.texi: @code{gcj} becomes @command{gcj}.
	@code{gcc} becomes @command{gcc}.
	GcjRaw changed to gnu.gcc.RawData.

From-SVN: r51919
2002-04-05 12:20:04 +00:00
Jakub Jelinek
a20ee20be3 mklibgcc.in: Use separate libgcc.map for each multilib.
* mklibgcc.in: Use separate libgcc.map for each multilib.
	* Makefile.in (distclean): Don't remove libgcc.map here.

From-SVN: r51913
2002-04-05 10:22:19 +02:00
Jakub Jelinek
0ffe10e923 Makefile.in (s-mlib): Handle --disable-multilib by separate genmultilib invocation.
* Makefile.in (s-mlib): Handle --disable-multilib by separate
	genmultilib invocation.

From-SVN: r51911
2002-04-05 10:18:14 +02:00
GCC Administrator
592ecf4f73 Daily bump.
From-SVN: r51907
2002-04-05 08:16:17 +00:00
David S. Miller
38e84e128c crtfastmath.c: New file.
2002-04-03  David S. Miller  <davem@redhat.com>

	* config/sparc/crtfastmath.c: New file.
	* config/sparc/t-crtfm: New file.
	* config/sparc/linux.h (ENDFILE_SPEC): Use crtfastmath.o
	* config/sparc/linux64.h (ENDFILE_SPEC): Likewise.
	* config/sparc/sol2.h (ENDFILE_SPEC): Likewise.
	* config/sparc/sp64-elf.h (ENDFILE_SPEC): Likewise.
	* config/sparc/elf.h (ENDFILE_SPEC): Likewise.
	* config.gcc (sparc*-*-{elf*,linux*,solaris2*}): Add
	sparc/t-crtfm to tmake_file.

From-SVN: r51905
2002-04-04 23:42:44 -08:00
No Author
5c63fb35ea This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51904
2002-04-05 07:42:44 +00:00
Alan Modra
4631b49629 t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o Add rules to make null object file.
* config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
	Add rules to make null object file.

From-SVN: r51902
2002-04-05 14:17:28 +09:30
Adam Megacz
16d652a3d1 win32.h (_Jv_platform_close_on_exec): added inline modifier.
2002-04-04  Adam Megacz <adam@xwt.org>

    * include/win32.h (_Jv_platform_close_on_exec): added inline
    modifier.

From-SVN: r51900
2002-04-05 04:22:53 +00:00
Loren J. Rittle
cad8f6e065 configure.host: Add case statement to support generic port properties.
* configure.host: Add case statement to support generic port
	properties.  Add *-*-freebsd* section.

From-SVN: r51898
2002-04-05 04:19:30 +00:00
Mark Wielaard
8580c531f3 mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode test.
* mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
        test.
        * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
        FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
        that depend on awt code and BufferedByteOutputStream.interrupt.

From-SVN: r51892
2002-04-05 00:46:19 +00:00
Jeff Sturm
3f2261f151 v8.S: Add unwind info.
* src/sparc/v8.S: Add unwind info.
	* src/sparc/v9.S: Likewise.

From-SVN: r51891
2002-04-05 00:40:11 +00:00
David S. Miller
a5026f6646 20020404-1.c: New test.
2002-04-04  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020404-1.c: New test.

From-SVN: r51888
2002-04-04 15:52:35 -08:00
David S. Miller
b0feacf4d3 calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
2002-04-04  David S. Miller  <davem@redhat.com>

	* calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.

From-SVN: r51885
2002-04-04 15:28:48 -08:00
Laurent Guerby
a6ddc0c5dc make.adb: Implement -margs, remove restriction about file name placement.
2002-04-04  Laurent Guerby  <guerby@acm.org>

	* make.adb: Implement -margs, remove restriction about file name placement.
	* makeusg.adb: Documentation update.

From-SVN: r51883
2002-04-04 23:02:09 +00:00
Richard Henderson
7ba09f6035 re PR rtl-optimization/6165 ([i686] stack frame freed too early)
PR opt/6165
        * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
        (write_dependence_p): Likewise.

From-SVN: r51881
2002-04-04 14:47:03 -08:00
Richard Henderson
2955af8676 predict.c (estimate_bb_frequencies): Do frequency calculation with a volatile temporary.
* predict.c (estimate_bb_frequencies): Do frequency calculation
        with a volatile temporary.

From-SVN: r51878
2002-04-04 13:37:47 -08:00
Benjamin Kosnik
162a50c82e via gawrilow@math.tu-berlin.de
2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/3457
	via gawrilow@math.tu-berlin.de
	* acinclude.m4 (version_specific_libs): Fix combo usage with
	--with-gxx-include-dir.
	* aclocal.m4: Regenerate.
	* configure: Same.

From-SVN: r51877
2002-04-04 21:35:48 +00:00
Ulrich Weigand
80923ac854 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
From-SVN: r51876
2002-04-04 21:34:55 +00:00
Jakub Jelinek
53c4c9b91f re PR c++/6119 (sparc-sun-solaris2.7 gcc-3.1 extra g++ testsuite failure w/-fpic|-fPIC)
PR c++/6119
	* final.c (final_start_function): Don't bump profile_label_no here...
	(final_end_function): ...but here.

From-SVN: r51871
2002-04-04 23:03:17 +02:00
Jakub Jelinek
ef8e745a4d sparc.md (pic): New attribute.
* config/sparc/sparc.md (pic): New attribute.
	(do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
	into stack slots.
	(split after do_builtin_setjmp_setup): New.

From-SVN: r51869
2002-04-04 22:54:02 +02:00
Loren J. Rittle
dc25bcbeb9 gcconfig.h: Add support for an unmapped memory hole between the end of the initialized data...
* include/private/gcconfig.h: Add support for an unmapped
	memory hole between the end of the initialized data segment
	and the start of the BSS on FreeBSD/i386.

From-SVN: r51868
2002-04-04 20:49:53 +00:00
Jakub Jelinek
12d4be42da re PR target/6123 (__pic__/__PIC__ not defined when -fpic/-fPIC is specified)
PR c/6123
	* gcc.dg/20020312-2.c: Do not declare global register variable
	if __PIC__ or __pic__ is defined.

From-SVN: r51858
2002-04-04 14:37:24 +02:00
Jakub Jelinek
9533ac1096 re PR fortran/6106 (sparc-sun-solaris2.7 gcc-3.1 extra g77 testsuite failures w/-m64)
PR fortran/6106
	* config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
	change.

From-SVN: r51856
2002-04-04 14:14:37 +02:00
Bryce McKinlay
d9d5895444 Arrays.java (qsort): Fix off-by-one errors and use of incorrect "hi" value when count > 40.
* java/util/Arrays.java (qsort): Fix off-by-one errors and use of
	incorrect "hi" value when count > 40.

From-SVN: r51855
2002-04-04 13:02:36 +01:00
Jakub Jelinek
df7066da56 sparc.c (sparc_va_arg): Adjust va_list by UNITS_PER_WORD for zero sized aggregates.
* config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
	UNITS_PER_WORD for zero sized aggregates.

From-SVN: r51852
2002-04-04 12:46:12 +02:00
Gerald Pfeifer
deaafaaa5b * doc/contrib.texi (Contributors): Add David O'Brien.
From-SVN: r51850
2002-04-04 08:50:51 +00:00
Mark Wielaard
e0d07e6486 Modifier.java (toString(int,StringBuffer)): Fix ordering.
* java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
	ordering.

From-SVN: r51849
2002-04-04 08:32:33 +00:00
GCC Administrator
68838c9ac2 Daily bump.
From-SVN: r51844
2002-04-04 08:16:26 +00:00
David S. Miller
3a37e2c681 gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new one-character spec for this, just use %(link_gcc_c_sequence).
2002-04-03  David S. Miller  <davem@redhat.com>

	* gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
	one-character spec for this, just use %(link_gcc_c_sequence).

From-SVN: r51841
2002-04-03 23:19:57 -08:00
Benjamin Kosnik
7a705f2bd0 As per DR 184, libstdc++/3139
2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>

        As per DR 184, libstdc++/3139
        * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
        (numeric_limits<bool>::is_iec559): False.
        (numeric_limits<bool>::is_modulo): False.

	* testsuite/27_io/ios_init.cc: Add instantiations.

From-SVN: r51839
2002-04-04 05:34:56 +00:00
Alan Modra
84ef1384f8 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
From-SVN: r51837
2002-04-04 12:18:50 +09:30
David S. Miller
90ecf17f7b gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c library sequence passed to the linker.
2002-04-03  David S. Miller  <davem@redhat.com>

	* gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
	library sequence passed to the linker.
	(LINK_COMMAND_SPEC): Use it.
	* doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
	a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
	* config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.

From-SVN: r51833
2002-04-03 17:13:52 -08:00
Jason Merrill
7c69a366d8 re PR c++/525 (Problem with Multiple Inheritance and -pedantic)
PR c++/525
        * init.c (build_member_call): Convert to intermediate base even
        with -pedantic.

From-SVN: r51831
2002-04-03 20:11:37 -05:00
Kaveh R. Ghazi
53b898a095 linkage.exp: Update last change to handle sparc*-, not just sparc-.
* gcc.misc-tests/linkage.exp: Update last change to handle
	sparc*-, not just sparc-.

From-SVN: r51829
2002-04-04 00:18:30 +00:00
Jason Merrill
661b5652b9 re PR c++/5636 (gcc-3.0.3, memory leakage: function that take a string as parameter will not call local variable destructors if exception is thrown.)
PR c++/5636
        * tree.h (CLEANUP_EH_ONLY): New macro.
        * stmt.c (expand_decl_cleanup_eh): New fn.
        (expand_cleanups): Check CLEANUP_EH_ONLY.
        * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
        Use expand_decl_cleanup_eh.
        (expand_stmt): Adjust.
        * c-common.h: Adjust prototype.
        * cp/semantics.c (nullify_returns_r): Just set CLEANUP_EH_ONLY on
        cleanup for nrv.

From-SVN: r51826
2002-04-03 18:55:55 -05:00
Jason Merrill
933d821b1f re PR c++/5104 (template using std::set_terminate fails due to throw() qualifier in <exception>)
PR c++/5104
        * typeck.c (comptypes) [FUNCTION_TYPE]: Don't compare exception
        specifiers.
        [METHOD_TYPE]: Use same code as FUNCTION_TYPE.

From-SVN: r51822
2002-04-03 18:46:06 -05:00
Jakub Jelinek
e84dce8878 configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() works properly with .hidden symbols.
* configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
	works properly with .hidden symbols.
	* configure: Rebuilt.
	* config.in: Rebuilt.
	* config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
	DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
	properly with .hidden symbols.

From-SVN: r51814
2002-04-03 23:57:03 +02:00
Jakub Jelinek
c1df97ac9e re PR middle-end/6102 (sparc-sun-solaris2.7 gcc-3.1 RTL checking failure on gcc.dg/20020201-4.c)
PR middle-end/6102
	* df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
	USE argument.

From-SVN: r51811
2002-04-03 23:26:51 +02:00
Roger Sayle
d02985ab72 re PR c++/5998 (regression, all builtins disabled)
PR c++/5998:
	* decl.c (duplicate_decls): Don't mess with assembler names when
	redeclaring builtin functions as static.

From-SVN: r51810
2002-04-03 21:26:36 +00:00
Zack Weinberg
a75fa1eaf0 * texi2pod.pl: Handle @end ftable and @end vtable.
From-SVN: r51807
2002-04-03 18:33:58 +00:00
Richard Henderson
b5f81a141a sched-rgn.c (sets_likely_spilled): New.
* sched-rgn.c (sets_likely_spilled): New.
        (sets_likely_spilled_1): New.
        (add_branch_dependences): Use it.

From-SVN: r51805
2002-04-03 09:49:49 -08:00
Mark Wielaard
cb7a4711c8 Long.java (getLong(String,Long)): Actually decode property value, not key.
* java/lang/Long.java (getLong(String,Long)): Actually decode property
	value, not key.

From-SVN: r51803
2002-04-03 08:23:48 +00:00
GCC Administrator
44141014cc Daily bump.
From-SVN: r51799
2002-04-03 08:16:26 +00:00
Richard Henderson
2f90c3f7e3 re PR rtl-optimization/4311 (unrolling loops creates non-ending loop)
PR opt/4311
        * loop.h (LOOP_FIRST_PASS): New.
        * loop.c (strength_reduce): Mind it when deciding to unroll.
        * toplev.c (rest_of_compilation): Set it.

From-SVN: r51797
2002-04-02 23:53:52 -08:00
David S. Miller
427f38e312 sparc.md (ldd peephole2s): Fix final arg to mems_ok_for_ldd_peep when the order of the loads being...
2002-04-02  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.md (ldd peephole2s): Fix final arg to
	mems_ok_for_ldd_peep when the order of the loads being examined
	is reversed.
	* config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
	existing comment to increase comprehension of this situation.

From-SVN: r51795
2002-04-02 22:28:06 -08:00
Richard Henderson
bb53921a61 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
From-SVN: r51793
2002-04-02 20:20:51 -08:00
Eric Botcazou
40a5eee0ae function.c (assign_temp): Accept either type or decl argument.
* function.c (assign_temp): Accept either type or decl argument.
        Detect variables whose size is too large to fit into an integer.
        * stmt.c (expand_decl): Pass the decl, not the type.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r51790
2002-04-02 19:43:37 -08:00
David O'Brien
468b10d1d1 protoize.c: Match include directory usage with cppdefault.c.
2002-04-02  David O'Brien  <obrien@FreeBSD.org>
	* protoize.c: Match include directory usage with cppdefault.c.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020329131400.C19829@redhat.com>

From-SVN: r51789
2002-04-03 03:42:56 +00:00
Jeff Law
7333b91027 combine.c (simplify_comparison): Avoid narrowing a comparison with a paradoxical subreg when...
* combine.c (simplify_comparison): Avoid narrowing a comparison
	with a paradoxical subreg when doing so would drop signficant bits.

Co-Authored-By: Hans-Peter Nilsson <hp@bitrange.com>

From-SVN: r51786
2002-04-03 03:32:17 +00:00
David Edelsohn
c0efb3ae1e [multiple changes]
2002-04-02  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.

2002-04-02  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
        associated splitter.  Remove MQ constraint.
        (ctrdi_internal4): Correct CCmode clobber.

From-SVN: r51784
2002-04-02 22:20:56 -05:00
Hans-Peter Nilsson
05849e00fa Doh! cvs ci -F /dev/stdin ChangeLog... not cvs ci -F ChangeLog...
From-SVN: r51783
2002-04-03 02:53:48 +00:00
Hans-Peter Nilsson
cdecd88e1a bprob.exp: Skip for mmix-*-* and cris-*-*.
* g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
* gcc.misc-tests/bprob.exp: Ditto.

From-SVN: r51782
2002-04-03 02:46:02 +00:00
David S. Miller
b1d3428f75 20020402-3.c: New test.
2002-04-02  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020402-3.c: New test.

From-SVN: r51780
2002-04-02 18:34:58 -08:00
Benjamin Kosnik
77ddde0ad7 ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/5268
	* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
	* testsuite/27_io/ios_init.cc (tests04): Add test.

	libstdc++/3983
	* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
	(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
	* include/bits/basic_ios.tcc: Same. Remove outdated comments.
	* include/bits/istream.tcc: Use _M_fctype, make consistent with
	ostream.
	* testsuite/27_io/ios_init.cc (tests03): Add test.

From-SVN: r51779
2002-04-03 02:33:13 +00:00
Hans-Peter Nilsson
9a7996ef89 mmix.md (define_constants): Remove misleading FIXME.
* config/mmix/mmix.md (define_constants): Remove misleading
	FIXME.  Add MMIX_fp_rO_OFFSET.
	("nonlocal_goto_receiver"): Don't have stack-frame address of
	saved rO as part of the pattern.  Remove FIXME.
	("*nonlocal_goto_receiver_expanded"): Similar.  Generate address
	here, at output-time.
	* config/mmix/crti.asm (_init): Register _fini with atexit.
	* config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
	* config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
	unwind information when frame_pointer_needed.
	(mmix_assemble_integer): Tweak wording in comment.

From-SVN: r51776
2002-04-03 02:23:07 +00:00
Richard Henderson
1a8129b342 local-alloc.c (contains_replace_regs): LO_SUM may contain replace regs.
* local-alloc.c (contains_replace_regs): LO_SUM may contain
        replace regs.

	* gcc.c-torture/execute/20020402-2.c: New.

From-SVN: r51775
2002-04-02 18:09:15 -08:00
No Author
f208074a9e This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51774
2002-04-03 02:09:15 +00:00
Richard Henderson
125049d517 * doc/standards.texi: Document required freestanding libc entry points.
From-SVN: r51769
2002-04-02 16:13:51 -08:00
Franz Sirl
e7d6d481e3 20020402-1.c: New test.
2002-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/execute/20020402-1.c: New test.

From-SVN: r51766
2002-04-02 22:26:25 +00:00
No Author
ed58c20146 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51765
2002-04-02 22:26:25 +00:00
Tom Tromey
c702347dc1 natClassLoader.cc (findClass): Compare against 3', not 0'.
* java/lang/natClassLoader.cc (findClass): Compare against `3',
	not `0'.

From-SVN: r51763
2002-04-02 22:19:55 +00:00
Alexandre Oliva
2fe0168ea1 mips.c (mips_va_arg): Apply big-endianness address offset before loading address of argument passed...
* config/mips/mips.c (mips_va_arg): Apply big-endianness address
offset before loading address of argument passed by transparent
reference.

From-SVN: r51761
2002-04-02 21:36:24 +00:00
Richard Henderson
6c4d4ed5da inclhack.def (AAB_solaris_sys_varargs_h): Move and rename solaris_sys_varargs_h.
* fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
        rename solaris_sys_varargs_h.

From-SVN: r51758
2002-04-02 10:23:17 -08:00
Mark Wielaard
e251d3e592 mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to list of testsuite crashers.
* mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
        list of testsuite crashers.

From-SVN: r51754
2002-04-02 14:22:59 +00:00
Bryce McKinlay
c8d9e398e3 IdentityHashMap.java (put): Set new threshold correctly when resizing table.
* java/util/IdentityHashMap.java (put): Set new threshold correctly
	when resizing table.

From-SVN: r51752
2002-04-02 14:56:44 +01:00
Phil Edwards
8d5b4d0bf5 Makefile.am (install-data-local): Use mkinstalldirs.
2002-04-02  Phil Edwards  <pme@gcc.gnu.org>

	* include/Makefile.am (install-data-local):  Use mkinstalldirs.
	* include/Makefile.in:  Regenerate.

From-SVN: r51748
2002-04-02 12:59:36 +00:00
Richard Kenner
91a2adb061 stor-layout.c (layout_type, [...]): Give one-element array the same mode as its component.
* stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
	the same mode as its component.

From-SVN: r51744
2002-04-02 06:55:23 -05:00
GCC Administrator
facb719682 Daily bump.
From-SVN: r51737
2002-04-02 08:16:26 +00:00
Richard Henderson
5ac462c355 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
From-SVN: r51735
2002-04-02 00:14:14 -08:00
Benjamin Kosnik
ad9dd8fadf acinclude: More extensive checks for msgfmt, --enable-nls.
2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/5542
	* acinclude: More extensive checks for msgfmt, --enable-nls.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r51734
2002-04-02 02:47:07 +00:00
Phil Edwards
f61318464a exception (__verbose_terminate_handler): Point to docs.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* libsupc++/exception (__verbose_terminate_handler):  Point to docs.
	* docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
	* docs/html/18_support/howto.html:  Document the demangler.
	* docs/html/17_intro/howto.html:  And link to it.

	* docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
	* docs/doxygen/run_doxygen:  Print user-vs-maintainer.

From-SVN: r51731
2002-04-02 02:07:51 +00:00
Richard Henderson
e34bfd812c Mark pr last change.
From-SVN: r51728
2002-04-01 17:43:49 -08:00
Richard Henderson
ba52c53437 inclhack.def (solaris_sys_varargs_h): New.
* fixinc/inclhack.def (solaris_sys_varargs_h): New.
        * fixinc/fixincl.x: Rebuild.

From-SVN: r51727
2002-04-01 17:39:05 -08:00
Richard Henderson
f57f174d1d * gcc.c-torture/compile/920625-1.x: Revert -O1 xfail.
From-SVN: r51724
2002-04-01 16:04:39 -08:00
Richard Henderson
ec5a7b07a9 unwind-ia64.c: Include ia64intrin.h.
* config/ia64/unwind-ia64.c: Include ia64intrin.h.
        (atomic_alloc, atomic_free): New.
        (SIZE, MASK_FOR, PTR_IN): New.
        (emergency_reg_state, emergency_reg_state_free): New.
        (emergency_labeled_state, emergency_labeled_state_free): New.
        (reg_state_alloced, labeled_state_alloced): New.
        (alloc_reg_state, free_reg_state): New.
        (alloc_label_state, free_label_state, free_label_states): New.
        (push, pop, dup_state_stack, free_state_stack): Use them.
        (desc_label_state): Likewise.
        (uw_frame_state_for): Free label states and state stack.
        (uw_update_reg_address): Eliminate warnings.

From-SVN: r51723
2002-04-01 15:29:46 -08:00
Loren J. Rittle
6f47873776 * doc/install.texi (*-*-freebsd*): Update.
From-SVN: r51721
2002-04-01 23:10:53 +00:00
Loren J. Rittle
147177f9e9 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
From-SVN: r51720
2002-04-01 23:08:40 +00:00
Loren J. Rittle
cb0eddabd0 gcconfig.h: Add unified test for FreeBSD.
* include/private/gcconfig.h: Add unified test for FreeBSD.
	Support FreeBSD/alpha.
	* os_dep.c: Do not include <machine/trap.h> unless available.
	(GC_freebsd_stack_base): Fix types.

From-SVN: r51719
2002-04-01 23:06:42 +00:00
Loren J. Rittle
2ad08a52d5 configure.in: Enable alpha*-*-freebsd*.
* configure.in: Enable alpha*-*-freebsd*.
	* configure: Rebuilt.

From-SVN: r51718
2002-04-01 23:04:35 +00:00
Phil Edwards
70dd6f4150 Version.c: Fix misplaced leading blanks on first line.
2002-04-01  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: r51717
2002-04-01 23:01:45 +00:00
Phil Edwards
1ab811557a version.c: Fix misplaced leading blanks on first line.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

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

From-SVN: r51716
2002-04-01 22:59:49 +00:00
Phil Edwards
e8e1d2489e c++config: Fix misplaced leading blanks on first line.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

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

From-SVN: r51715
2002-04-01 22:56:53 +00:00
Vladimir Makarov
21dbc4c261 pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON, [...]): Redefine them.
2002-04-01  Vladimir Makarov  <vmakarov@redhat.com>

	* config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
        ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.

From-SVN: r51714
2002-04-01 22:45:32 +00:00
Phil Edwards
70a9f3ec11 linker-map.gnu: Export __verbose_terminate_handler.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* config/linker-map.gnu:  Export __verbose_terminate_handler.
	* libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
	Make new LTCOMPILE variable, use it in new special build rules.
	* libsupc++/Makefile.in:  Rebuild.
	* src/vterminate.cc (__verbose_terminate_handler):  Enable use of
	runtime __cxa_demangle.

	* docs/html/install.html:  Update prereqs and instructions.
	* docs/html/19_diagnostics/howto.html:  Bring naming for
	verbose_terminate_handler into line with reality.

From-SVN: r51712
2002-04-01 22:10:44 +00:00
Phil Edwards
5f2e72fc4e cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* cp-demangle.c (__cxa_demangle):  Also protect with IN_GLIBCPP_V3.
	(is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor):  Conditionally
	not compile if IN_GLIBCPP_V3 defined.
	* dyn-string.c:  Also allow IN_GLIBCPP_V3 to change allocation scheme.

From-SVN: r51711
2002-04-01 22:09:10 +00:00
Phil Edwards
533e66e6f1 dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* dyn-string.h:  Also allow IN_GLIBCPP_V3 to redefine names.

From-SVN: r51710
2002-04-01 22:08:49 +00:00
Jim Blandy
46e1036fec cppmacro.c (cpp_macro_definition): Do not emit spaces after macro formal parameter names.
* cppmacro.c (cpp_macro_definition): Do not emit spaces after
macro formal parameter names.

From-SVN: r51706
2002-04-01 21:16:43 +00:00
Bob Wilson
23367e11b2 xtensa.c (xtensa_va_arg): Fix compiler warning in previous change.
* config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
        in previous change.

From-SVN: r51703
2002-04-01 20:05:45 +00:00
Mark Wielaard
9995e40e0e BitSet.java (BitSet(int)): if nbits < 0 throw NegativeArraySizeException
* java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
        NegativeArraySizeException
        (clear(int)): Use sign extended shift.
        (flip(int)): Likewise.
        (get(int)): Likewise.
        (nextClearBit(int)): Likewise.
        (nextSetBit(int)): Likewise.
        (set(int)): Likewise.

From-SVN: r51702
2002-04-01 20:00:31 +00:00
Bob Wilson
f062672eb3 xtensa.c (xtensa_va_arg): Fix to handle arguments for which MUST_PASS_IN_STACK is true (e.g....
* config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
        for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).

From-SVN: r51699
2002-04-01 19:49:39 +00:00
Mark Wielaard
2a60079ccc Integer.java (decode): Throw NullPointerException when argument is null.
* java/lang/Integer.java (decode): Throw NullPointerException when
        argument is null. A minus sign can precede other leading characters.

From-SVN: r51697
2002-04-01 19:11:16 +00:00
Benjamin Kosnik
a0875807c5 basic_ios.h (basic_ios::_M_exception): Move.
2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/3129
	* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
	(basic_ios::_M_streambuf_state): Move.
	* include/bits/ios_base (ios_base): To here.
	* include/bits/ios_base.h (ios_base::_S_local_words): To
	_S_local_word_size.
	(ios_base::_M_word_array): To _M_local_word.
	(ios_base::_M_words_limit): To _M_word_size.
	(ios_base::_M_words): To _M_word.
	Comment.
	* include/bits/basic_ios.tcc: Adjust.
	* src/ios.cc (ios_base::_M_grow_words): Tweak.
	* testsuite/27_io/ios_base_storage.cc: Add tests.

	libstdc++/5207
	Kenny Simpson <theonetruekenny@yahoo.com>
	* include/bits/ios_base.h: Fix.

	Richard Henderson  <rth@redhat.com>
	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
	last change.

	* include/bits/basic_string.h: Tweak formatting.

From-SVN: r51696
2002-04-01 18:56:29 +00:00
Mark Wielaard
3420d4e3cc mauve-libgcj: Add JDK1.3...
* mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
	that can be compiled now and add testsuite crashers to ignore list.

From-SVN: r51694
2002-04-01 18:09:29 +00:00
Kaveh R. Ghazi
209130b0ed * gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.
From-SVN: r51692
2002-04-01 16:35:10 +00:00
Roger Sayle
a9ad75a234 re PR c++/5998 (regression, all builtins disabled)
PR c++/5998:
	* decl.c (duplicate_decls):  Overwrite the RTL when (and only
	when) overwriting a built-in function.  Don't use COPY_DECL_RTL,
	but follow the SET_DECL_RTL idiom used elsewhere in the function.

From-SVN: r51689
2002-04-01 16:32:19 +00:00
Hans-Peter Nilsson
3b3f078beb instantiate1.C, [...]: Tweak match patterns.
* g++.dg/ext/instantiate1.C, g++.dg/ext/instantiate2.C,
	g++.dg/ext/instantiate3.C: Tweak match patterns.

	* g++.old-deja/g++.pt/static11.C: Skip on mmix-knuth-mmixware.

	* gcc.dg/weak-1.c: Fix typo in scan-assembler pattern.

	* g++.old-deja/g++.law/bit-fields2.C: Skip on mmix-knuth-mmixware.

From-SVN: r51688
2002-04-01 15:49:48 +00:00
Paolo Carlini
16d9fa4169 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
	(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
	By definition, sizeof(char) == 1.
	* include/bits/locale_facets.tcc (money_get::do_get,
	money_put::do_put): Ditto.
	* testsuite/21_strings/inserters_extractors.cc
	(test04): Ditto.

From-SVN: r51686
2002-04-01 09:04:02 +00:00
GCC Administrator
81b4a85184 Daily bump.
From-SVN: r51680
2002-04-01 08:16:17 +00:00
Richard Henderson
3b3768e069 unwind-ia64.c (alloc_spill_area): Fix offset.
* config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
	(desc_frgr_mem): Fix reference to f16-f31.

From-SVN: r51678
2002-03-31 22:48:21 -08:00
Richard Kenner
3b9edbd88c emit-rtl.c (adjust_address_1, [...]): Cast value to unsigned HOST_WIDE_INT, not unsigned int.
* emit-rtl.c (adjust_address_1, offset_address): Cast value to
	unsigned HOST_WIDE_INT, not unsigned int.

From-SVN: r51669
2002-03-31 14:48:03 -05:00
Jakub Jelinek
30b6e80b41 PR middle-end/6096, middle-end/6098, middle-end/6099
PR middle-end/6096, middle-end/6098, middle-end/6099
	* reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
	CODE_LABELs.
	(fill_slots_from_thread): Likewise.

From-SVN: r51666
2002-03-31 20:41:44 +02:00
Jakub Jelinek
7c6d12954b sparc.c (function_arg_record_value_1): Pass complex floating fields in float regs.
* config/sparc/sparc.c (function_arg_record_value_1): Pass complex
	floating fields in float regs.
	(function_arg_record_value_2): Likewise.

From-SVN: r51665
2002-03-31 20:39:18 +02:00
Jakub Jelinek
42217a8ca2 re PR middle-end/6100 (sparc-sun-solaris2.7 gcc-3.1 RTL checking failure w/-m64 on compile/20020320-1.c)
PR middle-end/6100
	* config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
	REG_BR_PRED.
	(output_v9branch): Likewise.

From-SVN: r51662
2002-03-31 20:36:08 +02:00
Alexandre Oliva
745687e084 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
From-SVN: r51661
2002-03-31 18:26:31 +00:00
Alexandre Oliva
eb8f582e7c gcc.c: Revert previous patch for now.
* gcc.c: Revert previous patch for now.
* config/i386/djgpp.h: Likewise.

From-SVN: r51660
2002-03-31 18:26:21 +00:00
Richard Henderson
d4f9a0cd36 elf.h (ASM_OUTPUT_DEF): Tidy.
* config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
        (ASM_OUTPUT_DEF_FROM_DECLS): New.

        * gcc.dg/special/alias-2.c: New.
        * gcc.dg/special/ecos.exp: Run it.

From-SVN: r51652
2002-03-31 03:52:09 -08:00
No Author
afcea599cb This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51651
2002-03-31 11:52:09 +00:00
Richard Henderson
9c6d6c464c * config/alpha/alpha.md (trap): New.
From-SVN: r51648
2002-03-31 03:09:01 -08:00
Richard Henderson
59c5c992a8 * libgcc2.c (__bb_exit_func): Make static.
From-SVN: r51646
2002-03-31 02:57:53 -08:00
Alexandre Oliva
fc3575f783 libgcj.spec.in: Override libgcc, not lib.
* libgcj.spec.in: Override libgcc, not lib.
* libgcj-test.spec.in: Likewise.

From-SVN: r51645
2002-03-31 10:29:15 +00:00
Alexandre Oliva
5400c780c7 gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
* gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
(LINK_COMMAND_SPEC): ... from here.
(init_gcc_specs): Duplicate it here too, omitting
shared_name in the second copy.
(init_spec): Test for duplicate
* config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.

From-SVN: r51644
2002-03-31 10:29:00 +00:00
Richard Henderson
3635d947d3 * gcc.dg/va-arg-1.c: Expect warnings, not errors.
From-SVN: r51642
2002-03-31 01:49:26 -08:00
Richard Henderson
35ddbf5091 builtins.c (expand_builtin_va_arg): Give warnings not errors for promoted argument types; build trap.
* builtins.c (expand_builtin_va_arg): Give warnings not errors for
        promoted argument types; build trap.
        (expand_builtin_trap): New.
        (expand_builtin): Use it.
        * stmt.c (expand_nl_goto_receivers): Likewise.
        * expr.h (expand_builtin_trap): Declare.
        * libfuncs.h (LTI_abort, abort_libfunc): New.
        * optabs.c (init_optabs): Init abort_libfunc.

        * gcc.dg/va-arg-1.c: Expect warnings, not errors.

From-SVN: r51641
2002-03-31 01:42:10 -08:00
GCC Administrator
fbb35f2255 Daily bump.
From-SVN: r51635
2002-03-31 08:16:14 +00:00
David S. Miller
86b46b201b linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
* config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
	* config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.

From-SVN: r51633
2002-03-31 00:00:55 -08:00
Richard Henderson
9a679bf8a0 Fix main return value.
From-SVN: r51631
2002-03-30 23:39:53 -08:00
Kazu Hirata
698d04c71d * gcc.dg/weak-1.c: Disable on h8300 port.
From-SVN: r51630
2002-03-31 06:47:42 +00:00
Roger Sayle
cd9b69f1f0 regmove.c (combine_stack_adjustments_for_block): Avoid emitting a stack adjustment of zero bytes.
* regmove.c (combine_stack_adjustments_for_block): Avoid
        emitting a stack adjustment of zero bytes.  Let delete_insn
        update bb->head.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r51627
2002-03-30 19:32:41 -08:00
Richard Henderson
78548a3621 sparc.c: Remove all references to TARGET_EPILOGUE.
* config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
        (sparc_emitting_epilogue): New.
        (leaf_label, output_return, sparc_return_peephole_ok): Remove.
        * config/sparc/sparc-protos.h: Update.
        * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
        (TARGET_SWITCHES): Update.
        * config/sparc/sparc.md (return): Remove.
        (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
        * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
        config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
        config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
        config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
        config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
        config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
        Remove MASK_EPILOGUE.
        * doc/invoke.texi: Update.

From-SVN: r51625
2002-03-30 19:10:19 -08:00
Richard Henderson
f2749a1c06 re PR c++/3719 (Unable to retrow exception in unexpected exception handler.)
PR c++/3719
        * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
        data out of the exception struct before calling unexpectedHandler.

	* g++.dg/eh/unexpected1.C: New.

From-SVN: r51622
2002-03-30 18:54:08 -08:00
Daniel Berlin
3242948b8f dwarf2out.c (dwarf2out_define): Remove start_source_file call, CPP will start the file for us.
2002-03-30  Daniel Berlin  <dan@dberlin.org>

	* dwarf2out.c (dwarf2out_define): Remove start_source_file call,
	CPP will start the file for us.

From-SVN: r51619
2002-03-31 00:32:12 +00:00
Krister Walfridsson
db2ba32a16 configure.in (i*86-*-netbsdelf*): Don't disable libgcj.
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

	* configure.in (i*86-*-netbsdelf*): Don't disable libgcj.

libffi:
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

	* configure.in: Enable i*86-*-netbsdelf*.
	* configure: Rebuilt.

From-SVN: r51618
2002-03-31 00:29:38 +00:00
Krister Walfridsson
8e664ea24f gcconfig.h: define DYNAMIC_LOADING for ELF NetBSD/i386.
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

	* include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
        NetBSD/i386.

From-SVN: r51617
2002-03-31 00:16:09 +00:00
Richard Henderson
b0a5b507b3 ia64.c (group_barrier_needed_p): Special case prologue_allocate_stack.
* config/ia64/ia64.c (group_barrier_needed_p): Special case
        prologue_allocate_stack.
        (ia64_single_set): Use insn codes for recognition of special
        cases, not rtl matching.
        * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.

	* gcc.c-torture/compile/20020330-1.c: New.

From-SVN: r51614
2002-03-30 16:12:34 -08:00
Richard Henderson
7585fd0428 sparc.h (OVERRIDE_OPTIONS): Don't override -fpic or -fomit-frame-pointer with profiling.
* config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
        or -fomit-frame-pointer with profiling.
        (SUBTARGET_OVERRIDE_OPTIONS): Remove.
        (FUNCTION_PROFILER): Do nothing.
        (PROFILE_HOOK): New.
        * config/sparc/sparc.c (sparc_override_options): Don't check
        code models for profiling.
        (sparc_function_profiler): Remove.
        (sparc_profile_hook): New.
        * config/sparc/sparc-protos.h: Update.

From-SVN: r51609
2002-03-30 12:59:19 -08:00
Richard Henderson
ce325321b4 Fix whitespace.
From-SVN: r51607
2002-03-30 12:46:03 -08:00
Jakub Jelinek
2e03b6a3aa re PR rtl-optimization/6086 (Reload misoptimizes DImode PREINC on PPC)
PR optimization/6086
	* combine.c (combine_simplify_rtx): If simplify_rtx failed because
	of SUBREG of volatile MEM or because the MEM was mode dependent,
	return CLOBBER instead of unmodified SUBREG.

From-SVN: r51605
2002-03-30 19:48:06 +01:00
David O'Brien
1ddc71b946 linux.h: Update copyright.
2002-03-30  David O'Brien  <obrien@FreeBSD.org>
	* config/i370/linux.h: Update copyright.

This file has had commits after 1997.

From-SVN: r51601
2002-03-30 10:29:58 +00:00
GCC Administrator
1d942baecc Daily bump.
From-SVN: r51597
2002-03-30 08:16:25 +00:00
Alexandre Oliva
70fc768e2a mips.c (function_arg_pass_by_reference): Force to 0 in o32 and o64 ABIs.
* config/mips/mips.c (function_arg_pass_by_reference): Force to 0
in o32 and o64 ABIs.
* config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
but getting fixed-size structs passed in registers regardless of
padding in o32 and o64 ABIs.

From-SVN: r51596
2002-03-30 08:08:12 +00:00
Bryce McKinlay
be7a0f7d3b cp-demangle.c (java_demangle_v3): Don't try to release "demangled" if it is NULL.
* cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
	if it is NULL.

From-SVN: r51595
2002-03-30 03:31:31 +00:00
Richard Henderson
552eafe8cf re PR target/5672 ([mn10200] Compiler segmentation fault in static initialiser.)
PR target/5672
        * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.

From-SVN: r51592
2002-03-29 18:15:46 -08:00
Franz Sirl
44d79ac6b4 rs6000.c (rs6000_va_arg): Correctly set register count for aggregate and TFmode types.
2002-03-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
	for aggregate and TFmode types.

From-SVN: r51590
2002-03-30 00:55:25 +00:00
Richard Henderson
0bdeb248a4 aix.h (CPP_PREDEFINES): Add -D_LP64.
* config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
        * config/ia64/hpux.h, config/ia64/linux.h: Likewise.

From-SVN: r51587
2002-03-29 15:44:51 -08:00
Loren J. Rittle
b8882dcea1 * doc/install.texi (*-*-freebsd*): Fix last commit.
From-SVN: r51585
2002-03-29 23:32:09 +00:00
Richard Henderson
80748e6e80 i386.c (x86_arch_always_fancy_math_387): New.
* config/i386/i386.c (x86_arch_always_fancy_math_387): New.
        (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
        * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
        * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
        conditional.
        * docs/invoke.texi: Update -mno-fancy-math-387 docs.

From-SVN: r51583
2002-03-29 15:21:41 -08:00
Hans Boehm
129a2dda0e linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
* linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
	(GC_local_gcj_malloc): Add assertion.
	(start_mark_threads): Fix abort message.
	* mark.c (GC_mark_from): Generalize assertion.
	* reclaim.c (GC_clear_fl_links): New function.
	(GC_start_reclaim): Must clear some freelist links.
	* include/private/specific.h, specific.c: Add assertions.
	Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
	Rearrange tse fields.

From-SVN: r51580
2002-03-29 22:33:35 +00:00
Martin Kahlert
353af37152 parse.y (do_resolve_class): Fix infinite recursion.
2002-03-29  Martin Kahlert  <martin.kahlert@infineon.com>

	* parse.y (do_resolve_class): Fix infinite recursion.

(http://gcc.gnu.org/ml/java/2002-03/msg00654.html)

From-SVN: r51579
2002-03-29 14:29:52 -08:00
Loren J. Rittle
c890269a65 config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
* config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
	* config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
	No functional change except ...
	* config/t-slibgcc-nolc-override (SHLIB_LC): Override it.  New file.
	* doc/install.texi (*-*-freebsd*): Document port configuration.

From-SVN: r51577
2002-03-29 22:04:32 +00:00
No Author
3a99d09dd0 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51576
2002-03-29 22:04:32 +00:00
Tom Tromey
09a58fbb51 parse.y (check_inner_circular_reference): Ignore incomplete types.
2002-03-29  Tom Tromey  <tromey@redhat.com>

	* parse.y (check_inner_circular_reference): Ignore incomplete
	types.

(http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01987.html)

From-SVN: r51575
2002-03-29 14:03:14 -08:00
No Author
0073520808 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51569
2002-03-29 20:43:09 +00:00
Roger Sayle
530c3394c7 re PR c++/5998 (regression, all builtins disabled)
PR c++/5998:
	* decl.c (cxx_init_decl_processing): Re-enable built-in functions
	in the g++ front-end.
	(duplicate_decl): Allow redefinition of anticipated built-ins.
	Fix inlining problem by over-writing the old DECL_RTL.
	(lookup_namespace_name): Fail to find an identifier in the
	specified namespace if its still anticipated.
	(builtin_function_1): New function split out from builtin_function
	to create a builtin in the current namespace with given context.
	(builtin_function): Call builtin_function_1 to define the
	appropriate builtins in both the std and global namespaces.
	(select_decl): Don't test for anticipated decls here.
	(unqualified_namespace_lookup): Instead ignore them whilst
	searching through scopes and namespaces.
	* decl2.c (do_nonmember_using_decl): If a using declaration
	specifies an anticipated built-in function, mark it as no longer
	anticipated in that scope.
	(ambiguous_decl):  Avoid resolving to an anticipated decl.
	* lex.c (do_scoped_id): Fail to find an identifier in the global
	namespace if its still anticipated.

	* include/c_std/std_cmath.h:  To prevent problems overloading
	g++ builtins, use the double variants from the global namespace
	before defining float and long double variants in std::.

	* g++.old-deja/g++.other/builtins5.C: New test.
	* g++.old-deja/g++.other/builtins6.C: New test.
	* g++.old-deja/g++.other/builtins7.C: New test.
	* g++.old-deja/g++.other/builtins8.C: New test.
	* g++.old-deja/g++.other/builtins9.C: New test.

From-SVN: r51567
2002-03-29 20:31:01 +00:00
Martin Kahlert
61dc0a1585 lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.
2002-03-29  Martin Kahlert  <martin.kahlert@infineon.com>

	* lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.

From-SVN: r51565
2002-03-29 19:31:09 +00:00
Tom Tromey
061768b07d natPlainDatagramSocketImpl.cc (close): New function.
* java/net/natPlainDatagramSocketImpl.cc (close): New function.
	* java/net/natPlainSocketImpl.cc (close): Indentation fix.

From-SVN: r51561
2002-03-29 17:05:56 +00:00
Jakub Jelinek
7ff525b09f re PR c++/5964 (g++ generates code that results in "word displacement will not fit in 16 bits" on sparcv9)
PR c++/5964
	* config/sparc/sparc.md (empty_delay_slot, branch_type): New
	attributes.
	(length): Compute variable length for branches/calls/jumps here.
	(branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
	normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
	define branch_type attribute.
	(divsi3_sp32): Maximum length is 6 not 7.
	(call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
	call_address_untyped_struct_value_sp32,
	call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
	* config/sparc/sparc.c (empty_delay_slot): New function.
	* config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
	* config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.

	* g++.dg/opt/longbranch1.C: New test.

From-SVN: r51556
2002-03-29 09:22:24 +01:00
GCC Administrator
609a5019ac Daily bump.
From-SVN: r51552
2002-03-29 08:16:16 +00:00
Jakub Jelinek
809c04c7fc combine.c (set_nonzero_bits_and_sign_copies): Don't call nonzero_bits if not needed.
* combine.c (set_nonzero_bits_and_sign_copies): Don't call
	nonzero_bits if not needed.
	(nonzero_bits) [XOR]: Likewise.
	(nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
	reg_last_set_mode and mode are both MODE_INT, but not equal.
	(record_value_for_reg): Compute reg_last_set_nonzero_bits
	in nonzero_bits_mode for MODE_INT modes.

From-SVN: r51550
2002-03-29 08:54:15 +01:00
Jakub Jelinek
ead65964e0 re PR c++/6073 ([Solaris] Internal compiler error in simplify_gen_subreg, at simplify-rtx.c:2711)
PR c++/6073
	* class.c (finish_struct_1): Update static field's DECL_MODE even
	if its type is a variant of t.

	* g++.dg/opt/static1.C: New test.

From-SVN: r51548
2002-03-29 08:43:10 +01:00
Richard Henderson
9e7bc1319b re PR target/5715 (alpha-OSF - sends incorrect options to as.)
PR target/5715
        * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
        to GAS.  Correct drift between alternatives.

From-SVN: r51546
2002-03-28 23:15:09 -08:00
Loren J. Rittle
ba2e0fd6ba * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
From-SVN: r51545
2002-03-29 06:34:45 +00:00
Richard Henderson
9d0320b140 re PR target/6087 (3.1 i86 FP stack pop bug)
PR target/6087
        * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.

From-SVN: r51542
2002-03-28 22:17:00 -08:00
Loren J. Rittle
46c7b09094 freebsd.h (LINK_SPEC): Don't pass default emulation to the linker.
* config/i386/freebsd.h (LINK_SPEC): Don't pass default
	emulation to the linker.
	* config/alpha/freebsd.h (LINK_SPEC): Likewise.
	* config/sparc/freebsd.h (LINK_SPEC): Likewise.

From-SVN: r51541
2002-03-29 05:22:32 +00:00
Tom Tromey
5e351be245 re PR java/5986 (SIGSEGV in __gcj_personality_v0)
* except.c (expand_end_java_handler): If the handler type is NULL,
	use java.lang.Throwable.  Fixes PR java/5986.

From-SVN: r51538
2002-03-29 00:41:17 +00:00
David Billinghurst
7fde267ede re PR other/2620 (Filenames differ only in case)
2002-03-29  David Billinghurst <David.Billinghurst@riotinto.com>

	PR other/2620
	* src/mips/n32.s: Delete
	* src/mips/o32.s: Delete

From-SVN: r51536
2002-03-29 00:35:52 +00:00
Alexandre Petit-Bianco
1df75b77ed re PR java/4715 (Tree check failure in check_inner_circular_reference)
2002-03-28  Alexandre Petit-Bianco  <apbianco@redhat.com>

	Fix for PR java/4715:
	* jcf-parse.c (parse_source_file_3): New function.
	(read_class): Call it.
	(java_parse_file): Likewise.

(http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01917.html)

From-SVN: r51535
2002-03-28 16:14:00 -08:00
John David Anglin
3830f7ab9a * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
From-SVN: r51533
2002-03-28 23:38:46 +00:00
Jeff Law
31a3dacbfe re PR rtl-optimization/3311 (GCC-SH: gcc loses result of AND operation due to force_to_mode bug)
* combine.c (simplify_and_const_int): Make sure to apply mask
        when force_to_mode returns a constant integer.  PR3311.

From-SVN: r51531
2002-03-28 16:31:23 -07:00
Paolo Carlini
773481c820 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
* testsuite/24_iterators/istream_iterator.cc
	(test02): New tests.

From-SVN: r51528
2002-03-28 20:27:49 +00:00
Gerald Pfeifer
0a3f4b50a8 invoke.texi (Warning Options): Refer to C++ Dialect Options and Objective-C Dialect Options.
* doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
	and Objective-C Dialect Options.

From-SVN: r51524
2002-03-28 19:45:25 +00:00
Ulrich Weigand
0ce724ca02 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Paolo Carlini  <pcarlini@unitus.it>

        * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
        (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
        fix i_lit_base e_lit_base arrays, making them independent
	from the endianness of the platform; tweak UCS4 to UCS-4BE.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>

From-SVN: r51522
2002-03-28 19:22:40 +00:00
Richard Henderson
66b43b5310 alpha.c (alpha_emit_conditional_branch): TFmode NE comparison should be done vs !=0 not >0 return code.
* config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
        comparison should be done vs !=0 not >0 return code.  Tidy cases.

From-SVN: r51520
2002-03-28 10:53:38 -08:00
Richard Henderson
dc004e43e0 c-decl.c (finish_function): New arg can_defer_p.
* c-decl.c (finish_function): New arg can_defer_p.  Pass it
        on to c_expand_body.
        * c-tree.h (finish_function): Update decl.
        * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.

From-SVN: r51517
2002-03-28 10:49:59 -08:00
Andrew Haley
93cbad8e3c Throw_2.java: New.
2002-03-28  Andrew Haley  <aph@redhat.com>

	* libjava.lang/Throw_2.java: New.
	* libjava.lang/Throw_2.out: New.

From-SVN: r51514
2002-03-28 16:21:56 +00:00
GCC Administrator
7d52105c45 Daily bump.
From-SVN: r51504
2002-03-28 08:16:14 +00:00
Bryce McKinlay
5c6146b8a7 parse.y (resolve_package): Initialize "decl".
* parse.y (resolve_package): Initialize "decl".
	(lookup_package_type): Remove unused function.

From-SVN: r51501
2002-03-28 07:42:50 +00:00
Bryce McKinlay
01a4ee76eb re PR java/5993 (crashes on Hello World)
Fix for PR java/5993:
	* parse.y (resolve_package): Return the decl if resolution was
	successful. Don't special case "java.lang" and "java.lang.reflect"
	packages. Set type_name to the merged identifier.
	(resolved_qualified_expression_name): Print error using "name" if
	resolve_package returns NULL_TREE.

From-SVN: r51498
2002-03-28 04:29:39 +00:00
Benjamin Kosnik
8f899e92f7 ostream.tcc (ostream::operator<<(_CharT)): Always allocate at least a byte.
2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
	allocate at least a byte.

	* testsuite/18_support/numeric_limits.cc (test_extrema): Make
	debugger-friendly.
	* testsuite/27_io/streambuf.cc (test07): Fix.
	(test06): Enable.

From-SVN: r51495
2002-03-28 03:15:29 +00:00
Jeff Sturm
64cd9fccd5 * java/net/PlainDatagramSocketImpl.java
(close): Use native implementation.
	(finalize): New method.

	* java/net/PlainSocketImpl.java (finalize): New method.

	* java/net/natPlainDatagramSocketImpl.cc
	(java/io/FileDescriptor.h): Don't include.
	(close): Implement method here.
	(create): Don't assign fd.

	* java/net/natPlainSocketImpl.cc
	(java/io/FileDescriptor.h): Don't include.
	(create): Don't assign fd.
	(accept): Likewise.
	(close): Synchronize.

From-SVN: r51493
2002-03-28 02:36:51 +00:00
Richard Henderson
d041d00d96 instantiate1.C: Use scan-assembler, not link errors.
* g++.dg/ext/instantiate1.C: Use scan-assembler, not link errors.
        * g++.dg/ext/instantiate2.C, g++.dg/ext/instantiate3.C: Likewise;
        move from g++.old-deja/g++.ext/.

From-SVN: r51490
2002-03-27 17:50:36 -08:00
Tom Tromey
d5290d1d63 expr.c (expand_invoke): Don't generate null pointer check if we're calling <init>.
* expr.c (expand_invoke): Don't generate null pointer check if
	we're calling <init>.

From-SVN: r51486
2002-03-27 23:11:11 +00:00
Andreas Schwab
decfa6a5e9 i386.c (classify_argument): Also check for QUAL_UNION_TYPE.
* config/i386/i386.c (classify_argument): Also check for
	QUAL_UNION_TYPE.

From-SVN: r51485
2002-03-27 23:06:37 +00:00
Rainer Orth
a13fa160d9 configure.in (alpha*-dec-osf*): Enable libgcj.
* configure.in (alpha*-dec-osf*): Enable libgcj.

	gcc:
	* doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
	any more.

From-SVN: r51482
2002-03-27 22:49:02 +00:00
Phil Edwards
ae76aa0ceb Bulk documentation merge (copy) from trunk.
2002-03-27  Phil Edwards  <pme@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/doxygroups.cc,
	docs/doxygen/mainpage.html, docs/doxygen/run_doxygen,
	docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
	docs/html/Makefile, docs/html/17_intro/howto.html,
	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html:
	Merge from trunk.

From-SVN: r51481
2002-03-27 22:38:39 +00:00
Phil Edwards
34f07ac7f0 stl_algo.h: Remove @maint and @endmaint.
2002-03-27  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/stl_algo.h:  Remove @maint and @endmaint.
	* include/bits/stl_alloc.h:  Likewise.
	* include/bits/stl_construct.h:  Likewise.
	* include/bits/stl_deque.h:  Likewise.
	* include/bits/stl_iterator_base_types.h:  Likewise.
	* include/bits/stl_list.h:  Likewise.
	* include/bits/stl_relops.h:  Likewise.
	* include/bits/stl_tempbuf.h:  Likewise.
	* include/bits/stl_vector.h:  Likewise.
	* include/std/std_memory.h:  Likewise.

	* include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
	* include/bits/stl_list.h:  Likewise.
	* include/bits/stl_vector.h:  Likewise.

From-SVN: r51474
2002-03-27 21:54:38 +00:00
Zdenek Dvorak
dd76916c0f cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of assigning to BLOCK_FOR_INSN directly.
* cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
	assigning to BLOCK_FOR_INSN directly.

From-SVN: r51473
2002-03-27 21:53:15 +00:00
Jan Hubicka
b9229c5dad * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
From-SVN: r51472
2002-03-27 21:50:33 +00:00
Mark Mitchell
c132ed9bc8 re PR c++/4884 (g++ 3.0.2 problem with -fvolatile)
PR c++/4884
	* call.c (build_op_delete_call): Allow for the fact the placement
	may be a COMPOUND_EXPR.

	* g++.dg/init/new2.C: New test.

From-SVN: r51465
2002-03-27 19:13:59 +00:00
Richard Henderson
38676fa4a9 toplev.c (rest_of_compilation): Don't compile if we've had errors.
* toplev.c (rest_of_compilation): Don't compile if we've had errors.

        * g++.old-deja/g++.brendan/crash52.C: Remove return warning marker.
        * g++.old-deja/g++.jason/report.C: Likewise.

From-SVN: r51464
2002-03-27 10:49:14 -08:00
Richard Henderson
6b62ba9246 * g++.dg/init/new1.C: Fix size_t.
From-SVN: r51463
2002-03-27 10:40:49 -08:00
Mark Mitchell
44592372ab * dyn-string.c: Add libgcc exception to copyright notice.
From-SVN: r51460
2002-03-27 18:25:32 +00:00
Andrew Haley
975e3fae17 dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>

        * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
        (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
        instead of syscall on IA-64.
        Add FIXME comment.

From-SVN: r51458
2002-03-27 17:06:17 +00:00
Tom Tromey
d705c69ab6 TextComponent.java (TextComponent): Editable by default.
2002-03-24  Tom Tromey  <tromey@redhat.com>

	* java/awt/TextComponent.java (TextComponent): Editable by
	default.

	* java/awt/MenuItem.java (eventMask): No longer private.

From-SVN: r51456
2002-03-27 16:40:30 +00:00
Anthony Green
89c2ac2d97 InvokeReturn.java: Modify test for targets which do not yet support reflection.
2002-03-27  Anthony Green  <green@redhat.com>

	* libjava.lang/InvokeReturn.java: Modify test for targets
	which do not yet support reflection.

From-SVN: r51454
2002-03-27 16:30:58 +00:00
Anthony Green
d636ddd45d jni.exp (gcj_jni_run): Fix cross build test.
2002-03-27  Anthony Green  <green@redhat.com>

	* libjava.jni/jni.exp (gcj_jni_run): Fix cross build test.

From-SVN: r51452
2002-03-27 16:28:23 +00:00
Anthony Green
09d6dc7a66 libjava.exp: Add the wrapper link options only when we're linking.
2002-03-27  Anthony Green  <green@redhat.com>

	* lib/libjava.exp: Add the wrapper link options only when we're
	linking.

From-SVN: r51450
2002-03-27 16:26:40 +00:00
Richard Henderson
703e57db1c freebsd.h, [...] (LOCAL_LABEL_PREFIX): Define.
* config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
        config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
        config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.

	* gcc.dg/debug/20020327-1.c: New.

From-SVN: r51442
2002-03-27 02:28:17 -08:00
Richard Henderson
0513cc86a2 re PR target/6054 (GCC 3.1 for ia64 fails to restore gp after indirect call in Linux kernel)
PR target/6054
        * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
        TARGET_CONST_GP.  Simplify conditions.

	* gcc.dg/20020326-1.c: New.

From-SVN: r51441
2002-03-27 02:04:22 -08:00
Bryce McKinlay
1003658a76 re PR java/5850 (resolving inherited member variables with same name works poorly)
Fix for PR java/5850:
	* parse.y (lookup_field_wrapper): Call itself recursively for enclosing
	context if nothing was found in the current context.
	* expr.c (lookup_field): Don't look in enclosing contexts.

From-SVN: r51439
2002-03-27 08:39:56 +00:00
GCC Administrator
d8b225d777 Daily bump.
From-SVN: r51434
2002-03-27 08:16:37 +00:00
Benjamin Kosnik
bec0bb6f1d c/: Guard with _CPP_.
2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>

        * include/c/: Guard with _CPP_.
        * include/c_std/: Same.
        * include/Makefile.am: Fixup install, link routines for null
        c_base_headers_extra scenarios.
        * include/Makefile.in: Regerate.

From-SVN: r51432
2002-03-27 04:49:33 +00:00
Vladimir Makarov
3169973662 pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
* pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.

	* pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
	or __rtems_ is defined.

From-SVN: r51429
2002-03-26 20:54:40 -07:00
Richard Henderson
c6374573fc alpha.c (alpha_emit_set_const): Add a REG_EQUAL note if a non-trivial load was emitted.
* config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
        if a non-trivial load was emitted.
        (alpha_emit_set_const_1): Remove obsolete extension.  Fix thinko
        in high+extra+low case.

From-SVN: r51427
2002-03-26 18:58:25 -08:00
Richard Henderson
f90ebaae0e * gcc.dg/pragma-re-2.c: Avoid empty source file warning.
From-SVN: r51425
2002-03-26 18:29:49 -08:00
Richard Henderson
4ba49b4c7b * config.gcc (sparc*-solaris): Use float_format=sparc.
From-SVN: r51423
2002-03-26 18:23:53 -08:00
Richard Henderson
16634471b5 20020312-2.c: Don't test epilogue vs global register on sparc.
* gcc.dg/20020312-2.c: Don't test epilogue vs global register
        on sparc.

From-SVN: r51421
2002-03-26 17:42:58 -08:00
Richard Henderson
846ed37839 20001101-1.c: Add -mcpu=ultrasparc.
* gcc.dg/20001101-1.c: Add -mcpu=ultrasparc.  Only run on
        sparcv9 systems.
        * gcc.dg/20001102-1.c: Likewise.

From-SVN: r51419
2002-03-26 17:22:23 -08:00
Richard Henderson
1bbd89d6fe sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
* config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
        * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
        * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
        * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
        (WINT_TYPE_SIZE): Fix at 32.

From-SVN: r51417
2002-03-26 17:10:19 -08:00
Richard Henderson
94f2cc46e7 toplev.c (rest_of_compilation): Delay emit_initial_value_sets until after eh landing pad generation.
* toplev.c (rest_of_compilation): Delay emit_initial_value_sets
        until after eh landing pad generation.
        * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
        * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.

From-SVN: r51414
2002-03-26 14:39:31 -08:00
Hans Boehm
3bf4783567 * include/dwarf2-signal.h: Temporarily back out last change.
From-SVN: r51413
2002-03-26 22:35:00 +00:00
Richard Henderson
47d180792a * expr.h (ADD_PARM_SIZE): One more convert for INC.
From-SVN: r51412
2002-03-26 14:21:59 -08:00
Tom Tromey
5a771fabe1 mauve.exp (test_mauve): Use correct stderr redirection code.
* libjava.mauve/mauve.exp (test_mauve): Use correct stderr
	redirection code.

From-SVN: r51404
2002-03-26 20:50:54 +00:00
David Edelsohn
e097161b38 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
From-SVN: r51403
2002-03-26 15:16:32 -05:00
Hans Boehm
74b5fab863 linux.h (MD_FALLBACK_FRAME_STATE_FOR): Restore more of the signal context.
* config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
	Restore more of the signal context.  Set no_reg_stack_frame.
	* config/ia64/unwind-ia64.c (unw_state_record):
	Add no_reg_stack_frame, comments.
	(uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
	(uw_update_context): Adjust bsp when unwinding from leaf,
	but not signal frame.

From-SVN: r51401
2002-03-26 19:37:13 +00:00
Bob Wilson
747556c85c * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
From-SVN: r51399
2002-03-26 19:25:07 +00:00
Tom Tromey
c673d06f2a re PR java/5942 (tree check failure when compiling Classpath with strictfp StrictMath class)
Fix for PR java/5942:
	* parse.y (init_src_parse): Added sanity check.
	* parse.h (struct parser_ctxt) [modifier_ctx]: Array has 12
	elements, not 11.

From-SVN: r51397
2002-03-26 18:52:34 +00:00
Nathan Sidwell
a2cbcfe560 re PR c++/5682 (ICE in build_secondary_vtable)
cp:
	PR c++/5682
	* cp-tree.h (BINFO_PRIMARY_P): Explain meaning better.
	(dfs_skip_nonprimary_vbases_unmarkedp): Remove.
	(dfs_skip_nonprimary_vbases_markedp): Remove.
	* search.c (get_shared_vbase_if_not_primary): Remove.
	(dfs_skip_nonprimary_vbases_unmarkedp): Remove.
	(dfs_skip_nonprimary_vbases_markedp): Remove.
	(dfs_unmarked_real_bases_queue_p): Just get the canonical binfo.
	(dfs_marked_real_bases_queue_p): Likewise.
testsuite:
	* g++.dg/abi/vbase9.C: New test.

From-SVN: r51395
2002-03-26 18:36:17 +00:00
No Author
61cca464b7 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51394
2002-03-26 18:36:17 +00:00
Mark Mitchell
6c9d56d4fc re PR c++/4884 (g++ 3.0.2 problem with -fvolatile)
PR c++/4884.
	* init.c (build_new_1): Allow for the fact the result of
	build_function_call may be a COMPOUND_EXPR.

	* g++.dg/init/new1.C: New test.

From-SVN: r51393
2002-03-26 18:29:22 +00:00
Richard Earnshaw
1e6fa295f1 re PR target/5621 (ARM compiler aborts with asm "m" constraint)
PR target/5621
* arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
"Add a pool_range attribute", which was lost during the ARM/Thumb
merge.

From-SVN: r51391
2002-03-26 18:02:34 +00:00
Bob Wilson
b400db6cd7 xtensa.c (xtensa_valid_move): Allow move from a register into the MAC16 accumulator.
* config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
        a register into the MAC16 accumulator.

From-SVN: r51387
2002-03-26 17:13:29 +00:00
Hartmut Penner
1a5e9b817d s390.c (s390_emit_epilogue): Change epilogue code to not restoring global registers.
* config/s390/s390.c (s390_emit_epilogue): Change epilogue
        code to not restoring global registers.

From-SVN: r51382
2002-03-26 09:24:50 +00:00
Richard Henderson
4c73fe6c28 expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
* expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
        (SUB_PARM_SIZE): Cast DEC to ssizetype.

        * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
        types from the normal argument frame.

From-SVN: r51381
2002-03-26 01:08:32 -08:00
Richard Henderson
77e10ee442 sparc.c (function_arg_pass_by_reference): Pass variable sized objects by reference.
* config/sparc/sparc.c (function_arg_pass_by_reference): Pass
        variable sized objects by reference.
        (sparc_va_arg): Receive them by reference too.

From-SVN: r51377
2002-03-26 00:59:12 -08:00
Richard Henderson
5c0abf3b8e 20020307-2.c (main): Pass a variable sized structure.
* gcc.c-torture/execute/20020307-2.c (main): Pass a variable sized
        structure.

From-SVN: r51375
2002-03-26 00:52:34 -08:00
GCC Administrator
6dc28d18e9 Daily bump.
From-SVN: r51370
2002-03-26 08:16:44 +00:00
Bruce Korb
8af2b14fbe run $(MAKE) check in the fixinc directory when autogen is present
From-SVN: r51368
2002-03-26 06:06:57 +00:00
Andrew Haley
3824da6fdd configure.in, configure: enable dwarf2-exception-style exception handling on IA-64.
* configure.in, configure: enable dwarf2-exception-style
	exception handling on IA-64.
	* include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
	(INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
	Add FIXME comment.

From-SVN: r51366
2002-03-26 03:28:00 +00:00
Tom Tromey
7c25767ebb Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
* Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
	(jv_convert_LDFLAGS): Likewise.
	(gij_LDFLAGS): Likewise.
	(rmic_LDFLAGS): Likewise.
	(rmiregistry_LDFLAGS): Likewise.
	* configure.in (THREADLDFLAGS): New subst; set correctly for
	*BSD.

From-SVN: r51361
2002-03-26 00:53:24 +00:00
Paolo Carlini
7ff3f3c04e 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
Richard Henderson  <rth@redhat.com>

	* testsuite/22_locale/codecvt_members_unicode_char.cc
	(test01, test02): make sure that the i_lit_base array
	is sufficiently aligned.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r51360
2002-03-26 00:39:06 +00:00
Richard Henderson
61fee22b62 recog.c (peephole2_optimize): Distribute EH_REGION -1 notes anywhere in the block.
* recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
        anywhere in the block.  Don't refer to insns that have been
        removed from the chain.  Iterate backward through the new insns.
        Don't refer to edges that have been removed.

From-SVN: r51358
2002-03-25 16:31:40 -08:00
David Billinghurst
d1db771802 g++.exp: Fix handling of LD_LIBRARY_PATH et al
* lib/g++.exp:  Fix handling of LD_LIBRARY_PATH et al
	* lib/g77.exp:  Likewise
	* lib/objc.exp: Likewise
	* gcc.dg/weak-1.c:  Early return from dg-final on platforms
	that do not support weak symbols

From-SVN: r51356
2002-03-25 23:49:06 +00:00
Benjamin Kosnik
009377b2c7 ctype_noninline.h (ctype::classic): Set to _ctype_.
2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>

        * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
        _ctype_.

From-SVN: r51355
2002-03-25 23:39:17 +00:00
Paolo Carlini
b639b72367 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/collate_byname.cc
	(test01): compare the result of collate::compare with
	that of collate::transform + string::compare, not with
	that of collate::transform + collate::compare; values
	returned by collate::compare are normalized, therefore
	test against +-1.

From-SVN: r51353
2002-03-25 23:32:11 +00:00
Alan Modra
75c56fe03d combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct test for overflow of constant.
* combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
	test for overflow of constant.

From-SVN: r51350
2002-03-26 09:41:30 +10:30
Richard Earnshaw
c8d003c104 re PR target/2623 ([ARM/2.95] Wrong code when accessing unsigned short in a structure.)
PR target/2623
* arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
(loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
these patterns on arm_archv4.

From-SVN: r51348
2002-03-25 22:36:39 +00:00
Richard Henderson
97e745b95a 20001013-1.c: Add -mcpu=ultrasparc.
* gcc.dg/20001013-1.c: Add -mcpu=ultrasparc.  Only run on
        sparcv9 systems.

From-SVN: r51346
2002-03-25 14:29:11 -08:00
Tom Tromey
cdc09e8f96 For PR libgcj/5303:
* gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
	and --version.
	(help): New method.
	(version): Likewise.
	* gnu/gcj/convert/Convert.java (version): Removed extraneous
	"GNU".
	* gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
	"GNU".

From-SVN: r51344
2002-03-25 22:15:21 +00:00
Paolo Carlini
f930fc9cc5 locale-inst.cc (__convert_from_v): Add an additional __size parameter in the declarations.
2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
	    Ulrich Drepper  <drepper@redhat.com>

	* src/locale-inst.cc (__convert_from_v): Add an additional
	__size parameter in the declarations.
	* include/bits/locale_facets.tcc
	(__convert_from_v): When available (that is,
	_GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
	(num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
	being defined or not, call and use __convert_from_v in the
	appropriate way.
	(num_put::_M_convert_int): Same here.
	(money_put::do_put(long double)): Same here.

Co-Authored-By: Ulrich Drepper <drepper@redhat.com>

From-SVN: r51341
2002-03-25 21:49:10 +00:00
Benjamin Kosnik
c585384d23 [multiple changes]
2002-03-19  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
	* docs/html/faq/index.txt:  Regenerate.

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

	* docs/html/faq/index.html: Add OS X workaround.
	* docs/html/17_intro/TODO: Update.

From-SVN: r51339
2002-03-25 21:07:19 +00:00
Benjamin Kosnik
0a0da12859 [multiple changes]
2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
	signbit and __signbit directly.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* libmath/Makefile.am: Simplify.
	* libmath/Makefile.in: Regenerate.
	* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.

	* include/Makefile.am: Clean up handling of extra "C" header files.
	Add hooks for "C" compatibility headers.
	* include/Makefile.in: Regenerate.

	* include/c/*: Formatting tweaks, cleanups.
	* include/c_std/*: Same.

2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
	(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
	* aclocal.m4: Regenerate.
	* configure: Likewise.

2002-03-19  Steve Ellcey  <sje@cup.hp.com>

	* acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
	GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
	--enable-libunwind-exceptions is set.
	* configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
	macro to check for libunwind.
	* configure: Regenerate.
	* src/Makefile.am (libstdc___la_LDFLAGS): Add
	LIBUNWIND_FLAG to libstdc link line.
	* src/Makefile.in: Regenerate.

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

	* acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
	* configure.in:  Add comments pointing the way for autoconf 2.5x.
	* aclocal.m4, config.h.in, configure:  Regenerate.

From-SVN: r51338
2002-03-25 21:02:27 +00:00
Richard Henderson
e7969749ce 20011119-1.c (xxx): New.
* gcc.c-torture/compile/20011119-1.c (xxx): New.
        * gcc.c-torture/compile/20011119-2.c (xxx): New.

From-SVN: r51335
2002-03-25 12:50:44 -08:00
Benjamin Kosnik
6b7aec015a ChangeLog: Correct typo.
2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>

	* ChangeLog: Correct typo.

From-SVN: r51334
2002-03-25 20:32:01 +00:00
Benjamin Kosnik
0adb396d7f [multiple changes]
2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>

	* config/locale/gnu/messages_members.h: Correct conditional.
	* config/locale/gnu/messages_members.cc: Same.
	* config/locale/gnu/time_members.cc: Same.

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

	* config/locale/gnu/messages_members.h: Add __uselocale bits.
	* config/locale/gnu/messages_members.cc: Same.
	* config/locale/gnu/time_members.cc: Same.

From-SVN: r51333
2002-03-25 20:29:16 +00:00
Benjamin Kosnik
3f8823a948 hash_map.h: hash, hashtable, hash_map and hash_multimap are in namespace __gnu_cxx.
2002-03-18  Philipp Thomas  <pthomas@suse.de>

	* include/backward/hash_map.h: hash, hashtable, hash_map and
	hash_multimap are in namespace __gnu_cxx.
	include/backward/hash_set.h: hash, hashtable, hash_set and
	hash_multiset are in namespace __gnu_cxx.
	include/backward/hashtable.h: hash and hashtable are in
	namespace __gnu_cxx.
	include/backward/rope.h: char_producer, sequence_buffer,
	rope, crope and wrope are in namespace __gnu_cxx.
	include/backward/slist.h: slist is in namespace __gnu_cxx.
	* testsuite/backward/header_hash_map_h.cc
	testsuite/backward/header_hash_set_h.cc
	testsuite/backward/header_hashtable_h.cc
	testsuite/backward/header_rope_h.cc
	testsuite/backward/header_slist_h.cc
	testsuite/backward/header_tempbuf_h.cc: New tests for
	checking that we're using the correct namespace.

From-SVN: r51331
2002-03-25 19:56:57 +00:00
Nick Clifton
5c67690ead Fixes for PR bootstrap/3591, target/5676:
* configure.in (mcore-pe): Disable the configuration of
  libstdc++-v3 since exceptions are not supported.

From-SVN: r51330
2002-03-25 19:37:10 +00:00
Mark Wielaard
e90decef0d re PR java/5368 (gcj-3.0.3 segfaults with 20 line program)
Fix for PR java/5368:
	* parse.y (resolve_qualified_expression_name): Use decl not field_decl
	when printing error message.

From-SVN: r51328
2002-03-25 19:24:02 +00:00
Jakub Jelinek
c443c91d9a re PR target/5676 (mcore-elf libstdc++-v3 does not build on trunk (to-be 3.1))
PR target/5676
	* acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): Pass -fexceptions
	explicitely.
	* aclocal.m4: Rebuilt.
	* configure: Rebuilt.
	* configure.target (mcore-*-pe*): Add -frtti -fno-exceptions
	by default to c++ flags.

	* config/mcore/mcore.h (CC1_SPEC): Define only if not already
	defined.  Do not disable exceptions or rtti.
	* config/mcore/mcore-pe.h (CC1_SPEC): Define before including
	mcore.h.  Disable exceptions and rtti, since they are not
	supported by EPOC.

From-SVN: r51325
2002-03-25 20:16:29 +01:00
Jeff Sturm
95ae1c5b35 * linux_threads.c (GC_get_nprocs): Close file descriptor.
From-SVN: r51323
2002-03-25 18:23:36 +00:00
Bob Wilson
2e0e3ef1eb thunk3.C: Add xtensa-*-* to list of targets using generic thunk support.
* g++.old-deja/g++.jason/thunk3.C: Add xtensa-*-* to list of
        targets using generic thunk support.

From-SVN: r51319
2002-03-25 17:55:36 +00:00
Ulrich Weigand
83bf437a4b 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/22_locale/codecvt_members_unicode_char.cc
	(test01, test02): Fix i_lit_base arrays, making them
	independent from the endianness of the platform.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>

From-SVN: r51315
2002-03-25 14:34:23 +00:00
Jakub Jelinek
88257731e3 regrename.c (build_def_use): Move recog_memoized before extract_insn.
* regrename.c (build_def_use): Move recog_memoized
	before extract_insn.

From-SVN: r51312
2002-03-25 13:48:25 +01:00
Jakub Jelinek
bcfa597e8a re PR target/6043 (IICE on ia64 for Blitz config test for C++ complex math)
PR target/6043
	* expr.c (emit_group_store): Handle storing into CONCAT.

	* g++.dg/opt/conj2.C: New test.

From-SVN: r51310
2002-03-25 12:15:59 +01:00
GCC Administrator
a16c292ca3 Daily bump.
From-SVN: r51306
2002-03-25 08:16:38 +00:00
Jakub Jelinek
54f7b9eee5 regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and corresponding MATCH_DUP.
* regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
	corresponding MATCH_DUP.

	* gcc.c-torture/compile/20020323-1.c: New test.

From-SVN: r51304
2002-03-25 08:36:34 +01:00
Jakub Jelinek
c2e525ebba re PR c++/6037 (ICE in enum after switch() (gcc 3.0.4))
PR c++/6037
	* decl.c (start_enum): Don't set TREE_ADDRESSABLE on TREE_LIST node.

	* g++.dg/other/enum1.C: New test.

From-SVN: r51303
2002-03-25 08:26:06 +01:00
No Author
56fec4f0e7 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51302
2002-03-25 07:26:06 +00:00
Richard Henderson
0451550d7c * unroll.c (unroll_loop): Zero label_map.
From-SVN: r51299
2002-03-24 18:46:43 -08:00
Richard Henderson
cdf3d9cb90 * gcc.c-torture/compile/920625-1.x: XFAIL -O1 too.
From-SVN: r51298
2002-03-24 18:44:52 -08:00
Bryce McKinlay
606796523a Based on patch from Intel's ORP team:
* java/io/PushbackInputStream.java (available): Calculate correct
	number of bytes in buffer.
	(read): Remove redundant bound check. Return bytes from both the
	buffer and the stream.

From-SVN: r51295
2002-03-25 02:28:02 +00:00
Richard Henderson
8598355aa5 gcse.c: Include except.h.
* gcse.c: Include except.h.
        * Makefile.in (gcse.o): Update.

From-SVN: r51294
2002-03-24 18:25:49 -08:00
Bryce McKinlay
8ab498c8b1 PushbackReader.java: Reformat.
* java/io/PushbackReader.java: Reformat.

	* java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
	calculate correct number of bytes skipped.

From-SVN: r51292
2002-03-25 01:59:54 +00:00
Richard Henderson
b5b0d53527 varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
* varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
        Do resolve_unique_section before shared data clause.

        * gcc.dg/weak-1.c: Use -fno-common.

From-SVN: r51290
2002-03-24 16:54:29 -08:00
Richard Henderson
3c6f5393f7 * objc/execute/formal_protocol-6.x: New XFAIL.
From-SVN: r51283
2002-03-24 16:16:25 -08:00
Richard Henderson
30be7279ff * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
From-SVN: r51282
2002-03-24 16:14:49 -08:00
Richard Henderson
9de943a2ec recog.c (peephole2_optimize): Split blocks when EH insns are generated in the middle of a block.
* recog.c (peephole2_optimize): Split blocks when EH insns are
        generated in the middle of a block.  Do global life update if
        zapped EH edges.

From-SVN: r51281
2002-03-24 16:05:05 -08:00
Richard Henderson
3e325b826b * mips.c (mips_function_value): Only promote_mode for non-libcalls.
From-SVN: r51275
2002-03-24 13:33:37 -08:00
Mark Wielaard
632dcb12dd [multiple changes]
2002-03-24  Eric Blake  <ebb9@email.byu.edu>

        * java/beans/IntrospectionException.java: Update to 1.4.
        * java/beans/PropertyVetoException.java: Ditto.

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

        * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
        Arrays.equals instead of ArrayHelper.equalsArray.

2002-03-24  C. Brian Jones <cbj@gnu.org>

        * java/beans/Introspector.java: added new static final fields
        introduced in 1.2, lots of other updates remain to be done

2002-03-24  C. Brian Jones <cbj@gnu.org>

        * java/beans/Introspector.java: reformatting

2002-03-24  C. Brian Jones <cbj@gnu.org>

        * java/beans/Introspector.java: default beanInfoSearchPath will
        not include sun.beans.infos given we provide no such package and
        the API doesn't really require it; gnu.java.beans.info is the
        default.

2002-03-24  Mark Wielaard  <mark@klomp.org>

        Thanks to Orp developers
        * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
        switch TRUE and FALSE return values.

From-SVN: r51274
2002-03-24 21:32:22 +00:00
Hans-Peter Nilsson
a63e6e010d 20020312-2.c [__MMIX__]: No pic register.
* gcc.dg/20020312-2.c [__MMIX__]: No pic register.
	* gcc.c-torture/compile/981006-1.x: Don't use -fpic on cris-*-elf*
	cris-*-aout* mmix-*-*.
	* g++.old-deja/g++.other/local-alloc1.C: Skip on cris-*-elf*
	cris-*-aout* mmix-*-*.
	* g++.dg/debug/debug3.C: Expect warning for unsupported -fpic on
	cris-*-elf* cris-*-aout* and mmix-*-*.
	* gcc.dg/20001009-1.c: Ditto.
	* gcc.dg/20010912-1.c: Ditto.
	* gcc.dg/20020122-4.c: Ditto.
	* gcc.dg/inline-2.c: Ditto.

From-SVN: r51271
2002-03-24 20:44:02 +00:00
Neil Booth
f2bffcbab8 * gcc.c (cpp_unique_options): Fix typo in committed patch.
From-SVN: r51269
2002-03-24 18:27:58 +00:00
Neil Booth
29d61f3a18 gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
preprocessor/3951
	* gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
	* cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
	(init_dependency_output): Don't make no_output decision here.

From-SVN: r51268
2002-03-24 17:37:31 +00:00
Stephane Carrez
a7c8872bc5 fix changelog 2002-03-24 Stephane Carrez
From-SVN: r51266
2002-03-24 17:20:44 +01:00
Stephane Carrez
a52a696295 m68hc11.c (m68hc11_autoinc_compatible_p): New function.
* config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
	(m68hc11_split_move): Call it to see if the source and destination
	operands use the same direction auto inc/dec mode, otherwise make the
	source an offsetable operand and generate an add.

From-SVN: r51265
2002-03-24 17:13:25 +01:00
Stephane Carrez
1b85c8d579 m68hc11.md ("*subsi3_zero_extendhi"): Allow address register for operand 2.
* config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
	register for operand 2.
	("*subsi3_zero_extendqi"): Likewise.
	("*iorhi3_gen"): Do the operation on the upper bits and then lower
	bits so that it is compatible with a pop.
	("*andhi3_gen"): Likewise.
	("xorhi3"): Likewise.

From-SVN: r51263
2002-03-24 17:05:41 +01:00
GCC Administrator
9b0e3cf8ea Daily bump.
From-SVN: r51252
2002-03-24 08:16:20 +00:00
Richard Henderson
3c813ce09b re PR rtl-optimization/5742 (bug with -freg-struct-return and functions returning 1 byte values)
PR optimization/5742
        * machmode.def: Add inner mode field to complex modes.
        * config/mips/mips.c (mips_function_value): Always define.  Add
        new argument to handle libcalls.
        * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
        (FUNCTION_VALUE): Likewise.
        * config/mips/abi64.h (FUNCTION_VALUE): Remove.
        * config/mips/mips-protos.h: Update.

From-SVN: r51251
2002-03-24 00:13:16 -08:00
Richard Henderson
5314ffd366 sparc.c (sparc_emit_floatunsdi): New.
* config/sparc/sparc.c (sparc_emit_floatunsdi): New.
        * config/sparc/sparc-protos.h: Update.
        * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.

From-SVN: r51247
2002-03-23 18:18:51 -08:00
Richard Henderson
2332a245d9 gmon-sol2.c (internal_mcount): Assume either _start or _init begins the text segment.
* config/sparc/gmon-sol2.c (internal_mcount): Assume either
        _start or _init begins the text segment.

From-SVN: r51246
2002-03-23 18:17:32 -08:00
Bruce Korb
732988b851 clean up make check
From-SVN: r51244
2002-03-23 21:33:49 +00:00
Jakub Jelinek
ed8c7d88b5 * gcc.dg/pragma-ep-3.c: Fix typo.
From-SVN: r51242
2002-03-23 20:28:30 +01:00
Toon Moene
b04a21340d com.c (ffecom_check_size_overflow_): Add a test so that arrays too large for 32-bit byte-offset addressing get caught.
2002-03-23  Toon Moene  <toon@moene.indiv.nluug.nl>

	* com.c (ffecom_check_size_overflow_): Add a test
	so that arrays too large for 32-bit byte-offset
	addressing get caught.
	* news.texi: Document the fixing of this problem.

From-SVN: r51239
2002-03-23 17:15:55 +00:00
Tom Tromey
3a4e662f7b removed extraneous entry
From-SVN: r51237
2002-03-23 16:18:19 +00:00
Tom Tromey
19ace427f7 name-finder.h (_Jv_name_finder::myclose): New method.
* include/name-finder.h (_Jv_name_finder::myclose): New method.
	* name-finder.cc (_Jv_name_finder): Initialize file descriptors.

From-SVN: r51236
2002-03-23 16:17:07 +00:00
Michael Smith
7fdaac3d3b re PR libgcj/6045 (GregorianCalendar: getMinimum() and getMaximum() incorrect for month)
2002-03-23  Michael Smith  <msmith@spinnakernet.com>

	* java/util/GregorianCalendar.java (minimums, maximums): Correct
	MONTH entry.  Fixes PR libgcj/6045.

From-SVN: r51233
2002-03-23 16:12:49 +00:00
Jeff Sturm
48e4beeca8 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
From-SVN: r51231
2002-03-23 15:05:30 +00:00
GCC Administrator
5f7ed64a15 Daily bump.
From-SVN: r51222
2002-03-23 08:16:22 +00:00
Alan Modra
bbce4c202e combine.c (simplify_comparison): When widening modes, ignore sign extension on CONST_INTs.
* combine.c (simplify_comparison): When widening modes, ignore
	sign extension on CONST_INTs.

From-SVN: r51218
2002-03-23 12:32:31 +10:30
Tom Tromey
c3ed1426e9 expr.c (build_field_ref): Don't build a check if the field is a member of `this'.
2002-03-22  Tom Tromey  <tromey@redhat.com>
            Andrew Haley  <aph@cambridge.redhat.com>

	* expr.c (build_field_ref): Don't build a check if the field is a
	member of `this'.

Co-Authored-By: Andrew Haley <aph@cambridge.redhat.com>

From-SVN: r51212
2002-03-23 01:17:52 +00:00
Bob Wilson
f10f409a91 xtensa.c (print_operand): Fix incorrect mode passed to adjust_address.
* config/xtensa/xtensa.c (print_operand): Fix incorrect mode
        passed to adjust_address.  Fix comment formatting.

From-SVN: r51211
2002-03-23 01:13:08 +00:00
Eric Blake
4bad8dcb15 For PR java/6026:
2002-03-22  Eric Blake  <ebb9@email.byu.edu>

	For PR java/6026:
	* libjava.compile/PR6026.java: New file.

From-SVN: r51208
2002-03-23 00:04:30 +00:00
Eric Blake
0e9f8d99c5 re PR java/6026 (float literals in expressions are not properly recognized)
2002-03-21  Eric Blake  <ebb9@email.byu.edu>

	Fix for PR java/6026:
	* lex.c (java_lex): Fix parsing of consecutive floats.

From-SVN: r51206
2002-03-22 23:59:20 +00:00
Alexandre Oliva
a9a04dc095 * g++.old-deja/g++.abi/ptrmem.C: Mips puts vbit in delta too.
From-SVN: r51205
2002-03-22 23:18:35 +00:00
Jeff Knaggs
22d4bff0a3 typeck.c (expand_ptrmemfunc_cst): Scale idx down to an index into the vtable_entry array regardless of...
* typeck.c (expand_ptrmemfunc_cst): Scale idx down to an index
into the vtable_entry array regardless of
TARGET_PTRMEMFUNC_VBIT_LOCATION.

From-SVN: r51204
2002-03-22 23:17:59 +00:00
Alexandre Oliva
f60c9bac0a mips.h (MASK_RETURN_ADDR): Define.
* config/mips/mips.h (MASK_RETURN_ADDR): Define.
(TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.

From-SVN: r51203
2002-03-22 23:17:09 +00:00
Richard Henderson
ab68df1d79 c-pragma.c (maybe_apply_renaming_pragma): New.
* c-pragma.c (maybe_apply_renaming_pragma): New.
        (handle_pragma_redefine_extname, pending_redefine_extname): New.
        (handle_pragma_extern_prefix, pragma_extern_prefix): New.
        (init_pragma): Register them.
        * c-pragma.h (maybe_apply_renaming_pragma): Declare.
        * c-decl.c (finish_decl): Call it.
        * cp/decl.c (cp_finish_decl): Likewise.
        * doc/extend.texi: Document the new pragmas.

        * config/alpha/osf.h (CPP_SUBTARGET_SPEC): Add __EXTERN_PREFIX.
        (HANDLE_PRAGMA_EXTERN_PREFIX): New.

        * config/i386/sol2.h (CPP_PREDEFINES): Add __PRAGMA_REDEFINE_EXTNAME.
        (HANDLE_PRAGMA_REDEFINE_EXTNAME): New.
        * config/sparc/sol2.h: Likewise.

        * g++.dg/other/pragma-re-1.C: New.
        * g++.dg/other/pragma-ep-1.C: New.
        * gcc.dg/pragma-re-1.c, gcc.dg/pragma-re-2.c: New.
        * gcc.dg/pragma-ep-1.c, gcc.dg/pragma-ep-2.c: New.
        * gcc.dg/pragma-ep-3.c: New.

From-SVN: r51199
2002-03-22 14:49:51 -08:00
Bob Wilson
71cc6aeaf0 xtensa-protos.h (non_acc_reg_operand): Remove.
* config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
	(xtensa_valid_move, xtensa_preferred_reload_class): Define.
	* config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
	(xtensa_valid_move, xtensa_preferred_reload_class): Define to
	prevent use of sp as a reload register.
	(xtensa_emit_move_sequence): Use xtensa_valid_move instead of
	non_acc_reg_operand.
	* config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
	(PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
	* config/xtensa/xtensa.md (movsi_internal, movhi_internal,
	movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.

From-SVN: r51198
2002-03-22 22:46:46 +00:00
Jakub Jelinek
0d519550c8 dwarf2-1.C: Move...
* g++.old-deja/g++.other/dwarf2-1.C: Move...
	* g++.dg/debug/debug5.C: ...here.  Convert for dg framework.

From-SVN: r51196
2002-03-22 23:43:24 +01:00
Jakub Jelinek
296d218d15 re PR rtl-optimization/5854 (initialize_uninitialized_subregs() breaks HC11/HC12 port)
PR optimization/5854
	* config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
	Shut up warnings.
	(CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
	(EXTRA_CONSTRAINT): Use S for non-push memory operand.
	* config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
	const0 if scratch register was not allocated.
	(m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
	m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
	with GEN_INT (...).
	(m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
	* config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
	with GEN_INT (...) everywhere.  Remove constraints in define_split
	patterns.
	(movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
	require scratch register for setting 0 into regs/non-pushable memory.

From-SVN: r51189
2002-03-22 22:54:44 +01:00
Benjamin Kosnik
1418b681fb vterminate.cc: Format, -fno-exceptions cleanup.
2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>

	* src/vterminate.cc: Format, -fno-exceptions cleanup.

From-SVN: r51187
2002-03-22 20:31:23 +00:00
Alexandre Oliva
f8c1c44308 flow.c (calculate_global_regs_live): Clear aux fields of ENTRY and EXIT.
* flow.c (calculate_global_regs_live): Clear aux fields of
ENTRY and EXIT.

From-SVN: r51184
2002-03-22 19:56:57 +00:00
Jakub Jelinek
76e26ef0cf v850.c (v850_reorg): Only call alter_subreg on REG or MEM subregs, pass rtx * instead of rtx to it.
* config/v850/v850.c (v850_reorg): Only call alter_subreg on
	REG or MEM subregs, pass rtx * instead of rtx to it.
	* config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
	rtx * instead of rtx to alter_subreg.
	* config/m32r/m32r.c (gen_split_move_double): Likewise.
	* config/pj/pj.c (pj_output_rval): Likewise.

From-SVN: r51181
2002-03-22 20:25:55 +01:00
Richard Henderson
c70f7617a4 re PR target/3177 (Invalid sibcall optimisation on ia64)
PR target/3177
        * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
        (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
        * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
        (ia64_expand_prologue): Look at int_regs, not words, for number
        of incomming int regs.

	* gcc.c-torture/execute/20020321-1.c: New.

From-SVN: r51179
2002-03-22 11:10:21 -08:00
Jan Hubicka
df8638793a cfgcleanup.c (outgoing_edges_math): Fix condition; relax frequencies match; avoid match on different loop depths.
* cfgcleanup.c (outgoing_edges_math): Fix condition; relax
	frequencies match; avoid match on different loop depths.
	(try_crossjump_to_bb): Kill tests that no longer brings time
	savings.
	* cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
	updating code.
	(split_edge): Likewise.

From-SVN: r51174
2002-03-22 15:17:35 +00:00
Andrew Haley
6eac0433c9 Thread_Interrupt.java (Looper.calibrate): New.
2002-03-21  Andrew Haley  <aph@redhat.com>

	* libjava.lang/Thread_Interrupt.java (Looper.calibrate): New.
	(yields): New.

From-SVN: r51171
2002-03-22 11:19:49 +00:00
GCC Administrator
2d071f7c59 Daily bump.
From-SVN: r51162
2002-03-22 08:16:21 +00:00
Richard Henderson
5d2205e424 re PR target/5996 (libstdc++ (FILE related) sparc-sun-solaris2.8 bootstrap failure)
PR target/5996
        * fixinc/inclhack.def (solaris_stdio_tag): New.
        * fixinc/fixincl.x: Regenerate.

From-SVN: r51157
2002-03-21 18:20:49 -08:00
Eric Botcazou
9020c59a43 re PR c/5597 ([regression from 2.95.3] Initialization of flexible char array member segfaults)
PR c/5597
        * c-typeck.c (process_init_element): Flag non-static
        initialization of a flexible array member as illegal.

From-SVN: r51155
2002-03-21 17:53:41 -08:00
Alan Modra
8b02caa12d mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
* mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
	* mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
	* Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.

From-SVN: r51154
2002-03-22 11:27:15 +10:30
Alan Modra
1d0f830650 t-linux64: New.
* config/rs6000/t-linux64: New.
	* config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
	t-ppccomm.  Use t-rs6000 and t-linux64.
	(powerpc64-*-gnu* <tmake_file>): Likewise.

From-SVN: r51152
2002-03-22 10:52:02 +10:30
No Author
5aa40b00ae This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51151
2002-03-22 00:22:02 +00:00
Aldy Hernandez
3a51e31490 tree.c (cp_cannot_inline_tree_fn): Same.
2002-03-21  Aldy Hernandez  <aldyh@redhat.com>

        * tree.c (cp_cannot_inline_tree_fn): Same.

From-SVN: r51148
2002-03-21 23:17:10 +00:00
Aldy Hernandez
5eaa9eaa81 langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check flag_really_no_inline instead of optimize == 0.
2002-03-21  Aldy Hernandez  <aldyh@redhat.com>

        * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
        flag_really_no_inline instead of optimize == 0.

        * c-objc-common.c (c_cannot_inline_tree_fn): Same.

        * cp/tree.c (cp_cannot_inline_tree_fn): Same.

        * flags.h (flag_really_no_inline): New.

        * c-common.c (c_common_post_options): Initialzie
        flag_really_no_inline.

        * toplev.c (flag_really_no_inline): New.

From-SVN: r51145
2002-03-21 23:12:40 +00:00
Jakub Jelinek
a388f89b64 avr.md (length): Fix length computation for conditional branches.
* config/avr/avr.md (length): Fix length computation for
	conditional branches.

From-SVN: r51142
2002-03-21 23:14:07 +01:00
Anthony Green
72e5248311 Enable libgcj for xscale-elf
From-SVN: r51140
2002-03-21 20:56:02 +00:00
Tom Tromey
22270c9f59 parse.y (build_access_to_thisn): Stop when FROM is not an inner class.
* parse.y (build_access_to_thisn): Stop when FROM is not an inner
	class.

From-SVN: r51137
2002-03-21 18:56:58 +00:00
Richard Henderson
98d08a5057 rs6000.c (rs6000_select_rtx_section): Put symbolic constants in .data when -fpic.
* config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
        constants in .data when -fpic.

From-SVN: r51135
2002-03-21 10:32:07 -08:00
Tom Tromey
f74fb62f76 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
From-SVN: r51133
2002-03-21 18:25:08 +00:00
Gerald Pfeifer
845e83c420 contrib.texi (Contributors): Use GNU/Linux instead of Linux where appropriate.
* doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
	where appropriate.

From-SVN: r51131
2002-03-21 17:22:48 +00:00
Richard Kenner
3307585aba Fix typo
From-SVN: r51126
2002-03-21 10:06:28 -05:00
Richard Kenner
e05d0cfa54 * config/ia64/ia64.c (hfa_element_call, case ARRAY_TYPE): Recurse.
From-SVN: r51124
2002-03-21 10:02:24 -05:00
Richard Kenner
b42be8e06e * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
From-SVN: r51122
2002-03-21 09:55:49 -05:00
Eric Botcazou
31bedd31b2 re PR c/5354 (function call with two statement expressions yields incorrect result)
PR c/5354
        * c-common.c (c_expand_expr): Preserve result of a statement
        expression if needed.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r51120
2002-03-21 01:37:29 -08:00
GCC Administrator
22b2b4e9b7 Daily bump.
From-SVN: r51116
2002-03-21 08:16:21 +00:00
Jakub Jelinek
96e2aa2dcd re PR bootstrap/4195 (mn10200-elf fails building libgcc __ffssi2)
PR bootstrap/4195
	* genrecog.c (maybe_both_true_mode): Remove.
	(maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
	* machmode.def (Pmode): Likewise.

From-SVN: r51114
2002-03-21 08:12:00 +01:00
Bruce Korb
9745fb8ec8 update for new test
From-SVN: r51111
2002-03-21 03:59:06 +00:00
Rainer Orth
bc9850d1bd acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
	(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
	* aclocal.m4: Regenerate.
	* configure: Likewise.

From-SVN: r51109
2002-03-21 01:26:44 +00:00
Rainer Orth
a7cc4b5caf ia64-1.C: Use [ijkl]_[0-9] as variable names.
* g++.old-deja/g++.eh/ia64-1.C: Use [ijkl]_[0-9] as variable names.
	(A, E): Handle this.

From-SVN: r51107
2002-03-21 01:14:33 +00:00
Rainer Orth
7ede69303a inclhack.def (alpha_assert): Fix assert macro in Tru64 UNIX assert.h.
* fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
	UNIX assert.h.
	* fixinc/fixincl.x: Regenerate.

From-SVN: r51105
2002-03-21 01:07:55 +00:00
Bryce McKinlay
7b134ebfb0 posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not release_set.
* posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
	not release_set.
	* sysdep/powerpc/locks.h (write_barrier): New function.
	* sysdep/i386/locks.h (write_barrier): New function.

From-SVN: r51104
2002-03-21 00:34:57 +00:00
Jason Merrill
c46dc65da3 prune.exp (prune_gcc_output): Ignore Cygwin warning about ignoring -fpic.
* lib/prune.exp (prune_gcc_output): Ignore Cygwin warning about
        ignoring -fpic.
        * lib/old-dejagnu.exp (old-dejagnu): Also pass compiler output
        through prune_gcc_output.

From-SVN: r51103
2002-03-20 19:30:43 -05:00
Jason Merrill
3309b8405c * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
From-SVN: r51100
2002-03-20 19:24:03 -05:00
Bob Wilson
1880312021 xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a ".literal_position" directive before the constant pool.
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
        ".literal_position" directive before the constant pool.

From-SVN: r51094
2002-03-20 22:38:39 +00:00
Gerald Pfeifer
7e18214e33 contrib.texi (Contributors): Update Geoffrey Keating.
* doc/contrib.texi (Contributors): Update Geoffrey Keating.
	Add Craig Rodrigues.
	Add Brad Lucier to testers.

From-SVN: r51093
2002-03-20 22:36:48 +00:00
Jakub Jelinek
0f5ef259af /Comment out/Remove/
From-SVN: r51091
2002-03-20 23:02:46 +01:00
Jakub Jelinek
ce76baf33d re PR target/4792 (Internal compiler error building libgcc2 for arc-elf target)
PR target/4792
	* config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
	to if_then_else.
	(movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
	* config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
	instead of insn_extract.

From-SVN: r51089
2002-03-20 23:00:38 +01:00
Jakub Jelinek
55a5b39ffe re PR bootstrap/4192 (fr30-elf does not build - memory exhausted building crtbegin.o)
PR bootstrap/4192
	* config/fr30/fr30.md (jump): Comment out clobber of fixed register.

	* genemit.c (output_added_clobbers_hard_reg_p): Only output return
	stmt if some case has been output.

	* gcc.c-torture/compile/20020320-1.c: New test.

From-SVN: r51087
2002-03-20 22:54:53 +01:00
Jakub Jelinek
356c34a00b re PR c/5972 (produces wrong assembly code when -march=pentiumpro and optimization (e.g. -O2)is on)
PR c/5972
	* config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
	movsfcc_1, movdfcc_1): Add %O2.
	* config/i386/i386.c (print_operand): Handle %ON.
	Print . before float condition codes in Sun as cmov syntax.
	* config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
	* config.gcc (i[34567]86-*-solaris2*): Remove comment which is
	no longer true.

From-SVN: r51085
2002-03-20 22:34:44 +01:00
Paolo Carlini
2b4f40390f locale_facets.tcc (money_put::do_put(long double)): Fix dimensioning of temporary buffers to avoid risk of overruns.
2002-03-20  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/locale_facets.tcc
	(money_put::do_put(long double)): Fix dimensioning of
	temporary buffers to avoid risk of overruns.
	(money_put::do_put(string)): Same for the buffer used to
	add the grouping chars.
	* testsuite/22_locale/money_put_members_char.cc: Add test06.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.

	* include/bits/locale_facets.tcc
	(collate::do_transform): Simplify.

From-SVN: r51081
2002-03-20 20:07:54 +00:00
Jason Merrill
2ae0e7fa35 re PR c++/2136 (g++ seems to disregard '::' in '::delete')
PR c++/2136
        * init.c (build_delete): Check access for a member op delete here.
        * decl2.c (delete_sanity): Not here.

From-SVN: r51080
2002-03-20 15:02:26 -05:00
Jakub Jelinek
db00e3e4fa mangle11.C was duplicate of mangle3.C
From-SVN: r51076
2002-03-20 19:00:35 +01:00
Jason Merrill
1ff31a726e re PR c++/5118 (c4x-g++ Fails on Templates)
PR c++/5118
        * class.c (get_vfield_name): Use the constructor_name.

From-SVN: r51074
2002-03-20 11:52:07 -05:00
Philip Blundell
d2ba9cdaf9 arm.c (arm_output_epilogue): Don't generate separate return instruction if PC was popped.
2002-03-20  Philip Blundell  <pb@nexus.co.uk>

        * config/arm/arm.c (arm_output_epilogue): Don't generate separate
        return instruction if PC was popped.

From-SVN: r51073
2002-03-20 15:06:03 +00:00
Hans-Peter Nilsson
e710751a84 mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
* config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
	(unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
	("truncdfsf2"): Correct operator is float_truncate, not fix.
	("*truncdfsf2_real"): Ditto.
	("*nonlocal_goto_receiver_expanded"): Fix output template formatting.

	* config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.

From-SVN: r51072
2002-03-20 13:54:57 +00:00
GCC Administrator
571304793c Daily bump.
From-SVN: r51067
2002-03-20 08:16:33 +00:00
Jim Blandy
28125028d6 c-lex.c (cb_file_change): Pass the #inclusion's line number to the start_source_file debug hook...
* c-lex.c (cb_file_change): Pass the #inclusion's line number to
the start_source_file debug hook, not the current line number.

From-SVN: r51065
2002-03-20 05:14:27 +00:00
Jim Blandy
ae01ff6aa2 cppmacro.c (cpp_macro_definition): Emit a space after the macro name...
* cppmacro.c (cpp_macro_definition): Emit a space after the macro
name, even if the replacement list contains no tokens, as required
by Dwarf.

From-SVN: r51063
2002-03-20 05:01:20 +00:00
David Edelsohn
759cb3c4d2 rs6000.c (rs6000_override_options): Only warn about -fpic/-fPIC if extra_warnings set.
* config/rs6000/rs6000.c (rs6000_override_options): Only warn
        about -fpic/-fPIC if extra_warnings set.

From-SVN: r51062
2002-03-19 21:40:47 -05:00
Richard Henderson
bfc23077d9 flow.c (EH_USES): Provide default.
* flow.c (EH_USES): Provide default.
        (calculate_global_regs_live): Use it for EH edges and noreturn calls.
        * doc/tm.texi (EH_USES): New.

        * config/ia64/ia64.c (ia64_eh_uses): New.
        * config/ia64/ia64-protos.h: Update.
        * config/ia64/ia64.h (EH_USES): New.

From-SVN: r51058
2002-03-19 18:08:14 -08:00
Alan Modra
d82fb1fa54 defaults.h (SUPPORTS_WEAK): Set if ASM_WEAKEN_DECL.
* defaults.h (SUPPORTS_WEAK): Set if ASM_WEAKEN_DECL.
	* varasm.c (assemble_alias): Use ASM_WEAKEN_DECL.
	* doc/tm.texi (ASM_WEAKEN_DECL): Document.
	(ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
	(SUPPORTS_WEAK): Likewise.

From-SVN: r51057
2002-03-20 12:07:25 +10:30
Richard Henderson
fba75aa07c re PR java/5879 (throwing exceptions causes SEGV in GCJ-compiled code (Mingw target, SJLJ EH))
PR 5879
        * except.c (current_function_has_exception_handlers): New.
        * except.h: Declare it.
        * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
        Combine tests that disable all sibcalls for the function.

From-SVN: r51055
2002-03-19 17:04:39 -08:00
Richard Henderson
4b0bc48d2e PR 5977, 5991
PR 5977, 5991
        * config/ia64/ia64.c: Revert 2002-03-01 patch.
        * config/ia64/ia64.h (INIT_EXPANDERS): New.

From-SVN: r51053
2002-03-19 15:05:30 -08:00
Olivier Hainque
90158e35b8 varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO for INTEGER_CST.
* varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
	for INTEGER_CST.

From-SVN: r51051
2002-03-19 17:48:03 -05:00
Martin Kahlert
251c13f163 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
* include/jni.h Use correct C comments

From-SVN: r51047
2002-03-19 21:47:03 +00:00
Jason Merrill
77f9437e81 varasm.c (globalize_decl): Get the name from the RTL, not DECL_ASSEMBLER_NAME.
* varasm.c (globalize_decl): Get the name from the RTL, not
        DECL_ASSEMBLER_NAME.

From-SVN: r51044
2002-03-19 16:39:25 -05:00
Jason Merrill
8a5e53c3d8 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
From-SVN: r51042
2002-03-19 16:25:20 -05:00
Dale Johannesen
689f6d25b9 PR optimization/5999, middle-end/5731
PR optimization/5999, middle-end/5731
	* expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
	multiplications by reciprocals.

	* gcc.c-torture/compile/20020319-1.c: New test.

From-SVN: r51040
2002-03-19 22:17:44 +01:00
Bob Wilson
865436117c xtensa.md (adddi3, [...]): Define.
* config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
        subdi_carry): Define.

From-SVN: r51037
2002-03-19 20:13:22 +00:00
Richard Kenner
7c2b24d2d9 sparc.h (CAN_ELMINIATE): Can only eliminate FP in favor of SP if FRAME_POINTER_REQUIRED is false.
* config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
	in favor of SP if FRAME_POINTER_REQUIRED is false.

From-SVN: r51031
2002-03-19 14:24:12 -05:00
GCC Administrator
ed482c2aed Daily bump.
From-SVN: r51021
2002-03-19 08:16:29 +00:00
Jakub Jelinek
1747ee342f * gcc.dg/struct-by-value-1.c: New test.
From-SVN: r51020
2002-03-19 09:06:41 +01:00
Jakub Jelinek
db8440005b re PR c/5656 (ICE in emit_move_insn, at expr.c:2748, regression from gcc 3.0)
PR c/5656
	* langhooks.h (struct lang_hooks_for_tree_inlining): Add
	convert_parm_for_inlining.
	* c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
	Define.
	* langhooks-def.h: Likewise.
	* objc/objc-lang.c: Likewise.
	* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
	function.
	* tree-inline.c (initialize_inlined_parameters):
	Call convert_parm_for_inlining lang hook if needed.
	* c-typeck.c (c_convert_parm_for_inlining): New function.
	* c-tree.h (c_convert_parm_for_inlining): Add prototype.

	* gcc.c-torture/compile/20020318-1.c: New test.

From-SVN: r51019
2002-03-19 08:56:39 +01:00
Kaveh R. Ghazi
14236a3351 * gcse.c (insert_insn_end_bb): Fix typo in last change.
From-SVN: r51018
2002-03-19 03:58:08 +00:00
Jason Merrill
063b1bc734 add mangling note
From-SVN: r51016
2002-03-18 19:21:55 -05:00
Mark Mitchell
ac452485ac calls.c (precompute_arguments): Do not assume that temporaries can be destroyed after expanding the argument.
* calls.c (precompute_arguments): Do not assume that temporaries
	can be destroyed after expanding the argument.
	(expand_call): Likewise.

From-SVN: r51010
2002-03-18 22:21:31 +00:00
Tom Tromey
bdc8be60c5 jni.h (JNIIMPORT): New macro.
* include/jni.h (JNIIMPORT): New macro.
	(JNIEXPORT): Likewise.
	(JNICALL): Likewise.

From-SVN: r51008
2002-03-18 21:53:46 +00:00
Tom Tromey
373f953020 jni.exp (gcj_jni_test_one): Find libstdc++ in build tree.
* libjava.jni/jni.exp (gcj_jni_test_one): Find libstdc++ in build
	tree.
	(gcj_invoke): Added ld_library_additions argument.

From-SVN: r51005
2002-03-18 21:38:47 +00:00
Neil Booth
cfcf582118 * gcc.dg/cpp/wchar-1.c: Fix testcase.
From-SVN: r51003
2002-03-18 20:51:59 +00:00
Eric Botcazou
5f9b6cab30 re PR c++/3882 (gcc 3.0 error referencing a variable in its initializer expression in template code)
PR c++/3882
        * pt.c (tsubst_decl): Move __PRETTY_FUNCTION__ handling...
        (tsubst_expr) [DECL_STMT]: ...here. And substitute the initializer
        only after recording the declaration.

From-SVN: r50998
2002-03-18 15:18:43 -05:00
Ashif Harji
222d65c733 gcc.c (struct compiler default_compilers): Add -no-integrated-cpp flag to invoke an external cpp.
* gcc.c (struct compiler default_compilers): Add
	-no-integrated-cpp flag to invoke an external cpp.
	(struct option_map option_map[]): Likewise.
	* cp/lang-specs.h (compiler default_compilers): Add
	-no-integrated-cpp flag to invoke an external cpp.
	* objc/lang-specs.h (struct compiler default_compilers): Add
	-no-integrated-cpp flag to invoke an external cpp.
	* doc/invoke.texi: Document -no-integrated-cpp flag.

From-SVN: r50997
2002-03-18 20:10:21 +00:00
Stuart Griffith
9519aa8a9e strtod.c (strtod): Increment 8 chars, not 7, when `infinity' seen.
2002-03-18  Stuart Griffith  <Stuart_Griffith@credence.com>

	* strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
	seen.

From-SVN: r50993
2002-03-18 19:50:31 +00:00
Jason Merrill
9f9fe19bcc re PR c++/2039 (bad code generated for access to unnamed union in base class)
PR c++/2039
        * init.c (resolve_offset_ref): Hand off to build_component_ref.

From-SVN: r50992
2002-03-18 14:45:27 -05:00
Alexandre Petit-Bianco
65941e3080 re PR java/5876 (jc1 crashes when targeting mingw32)
2002-03-18  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* builtins.c (define_builtin): Do nothing if `type' is null.
	Fixes PR java/5876.

From-SVN: r50989
2002-03-18 19:33:49 +00:00
Alan Modra
2aac7e342a c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
* c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
        * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
        .weak for code sym.  Do emit .size for descriptor sym.
        (ASM_DECLARE_FUNCTION_SIZE): Define.
        * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
        (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here.  Don't output
        .lglobl unless TARGET_XCOFF.  Formatting fixes.
        (PREDICATE_CODES): Add any_operand and zero_constant.
        (HANDLE_PRAGMA_PACK): Delete.
        * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
        .weak for code sym.
        (HANDLE_PRAGMA_WEAK): Remove.
        (ASM_WEAKEN_LABEL): Remove.
        (COLLECT_EXPORT_LIST): Delete.
        * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
        * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.

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

From-SVN: r50987
2002-03-18 14:16:18 -05:00
Bob Wilson
970b15bd62 xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat constant-pool addresses as "mode-dependent".
* config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
        constant-pool addresses as "mode-dependent".

From-SVN: r50983
2002-03-18 18:10:16 +00:00
Jan Hubicka
d861b64075 i386.c (override_options): Disallow preferred_stack_boundary to be less than 16 bytes
* i386.c (override_options): Disallow preferred_stack_boundary to be
	less than 16 bytes
	(construct_container): Fix end of array check.
	(ix86_va_start): Force alignemnt to be 16 bytes.

	* linux64.h (MULTILIB_DEFAULTS): Set to "m64".
	(t-linux64): Add multilibing

	* i386.h (PROMOTE_PROTOTYPES): Set to 0 for x86_64.

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

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

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

	* reload1.c (reload_cse_delete_noop_set): Purge dead edges.

	* recog.c (peephole2_optimize): Re-distribute EH edges.

From-SVN: r50982
2002-03-18 17:47:23 +00:00
Andrew Haley
ff7bcceee5 i386-signal.h (old_i386_kernel_sigaction): New.
2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>

        * include/i386-signal.h (old_i386_kernel_sigaction): New.
        INIT_SEGV: Use old_i386_kernel_sigaction.
        INIT_FP: Likewise.

From-SVN: r50981
2002-03-18 17:26:11 +00:00
Jason Merrill
97f441412f re PR c++/5995 (double call of copy constructor)
PR c++/5995
        * call.c (build_over_call): Fix empty class logic.

From-SVN: r50977
2002-03-18 11:44:10 -05:00
Jason Merrill
ea7776b617 re PR c++/4377 (more errors with multiple non-type template parameters)
PR c++/4377
        * mangle.c (write_expression): Strip NOP_EXPRs sooner.  Also strip
        NON_LVALUE_EXPRs.

From-SVN: r50976
2002-03-18 10:37:35 -05:00
Jason Merrill
c6507787eb * configure.in: Disable checking by default on release branch.
From-SVN: r50974
2002-03-18 10:06:56 -05:00
Jakub Jelinek
53a14c85a5 re PR target/5740 (sparcv9 ICE on complex_value.cc in libstdc++ test suite)
PR target/5740
	* expr.c (emit_group_load): Use extract_bit_field if
	needed for CONCAT arguments.

	* g++.dg/opt/conj1.C: New test.

From-SVN: r50973
2002-03-18 16:00:52 +01:00
Jason Merrill
488382167d re PR c++/3870 (gcc 3.0 bogus error specializing a template function)
PR c++/3870
        * cp-tree.h (struct saved_scope): Add last_parms field.
        * decl.c (maybe_push_to_top_level): Save last_function_parms.
        (pop_from_top_level): Restore it.

From-SVN: r50971
2002-03-18 09:39:00 -05:00
Richard Earnshaw
4a031dbfa3 re PR target/4863 (arm/thumb: code for switch statements: branch out of range)
PR target/4863
* arm.md (tablejump): Make this a define_expand.  For PIC add the
offset to the base of the table.
(thumb_tablejump): Matcher for Thumb tablejump insn.
* config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
as the difference of two labels.
* config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
* config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
tables in the code.
* config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
* arm.c (get_jump_table_size): If the table is not in the text
section, return zero.

From-SVN: r50968
2002-03-18 13:45:33 +00:00
Jason Merrill
a975f55099 re PR c++/4003 (ICE on template instantiation including friendship declaration.)
PR c++/4003
        * pt.c (tsubst_friend_function): Use decl_namespace_context.

From-SVN: r50965
2002-03-18 08:24:13 -05:00
Jason Merrill
b8e7f3d338 PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch.
* class.c (finish_struct_bits): Also set TREE_ADDRESSABLE for a
        type with a nontrivial destructor.

From-SVN: r50963
2002-03-18 06:33:34 -05:00
Jason Merrill
c9e13d157d PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch.
* class.c (finish_struct_bits): Also set TREE_ADDRESSABLE for a
        type with a nontrivial destructor.

From-SVN: r50961
2002-03-18 06:26:33 -05:00
Bryce McKinlay
ad3bf85ab7 jartool.c (expand_options): Handle tar-style argument list with a leading "-".
* jartool.c (expand_options): Handle tar-style argument list with a
	leading "-".

From-SVN: r50958
2002-03-18 11:08:59 +00:00
Bryce McKinlay
67431c64e5 parse.y (parser_check_super_interface): Fix error message grammar/order.
* parse.y (parser_check_super_interface): Fix error message
	grammar/order.

From-SVN: r50954
2002-03-18 10:39:08 +00:00
GCC Administrator
2effc1a3fb Daily bump.
From-SVN: r50947
2002-03-18 08:16:39 +00:00
Bryce McKinlay
4e3a413813 natSystem.cc (init_properties): Update VM version properties.
* java/lang/natSystem.cc (init_properties): Update VM version
	properties.
	* configure.in: Set GCJVERSION.
	* acconfig.h: Add GCJVERSION.
	* configure: Rebuilt.
	* include/config.h.in: Rebuilt.

From-SVN: r50945
2002-03-18 06:30:26 +00:00
Richard Henderson
78eed69a15 alpha.c (alpha_emit_set_const_1): Build add insns explicitly.
* config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
        explicitly.

From-SVN: r50941
2002-03-17 19:03:51 -08:00
Kaveh R. Ghazi
a8b17ad4d3 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
From-SVN: r50939
2002-03-18 00:18:41 +00:00
Jason Merrill
ce5c652ba3 re PR c++/4381 (Exceptions virtually inherited from a class cause segmentation fault at run time)
PR c++/4381
        * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
        (check_exception_spec): Call it.  Take the thrown pointer.
        (__cxa_call_unexpected): Pass it.
        (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.

From-SVN: r50937
2002-03-17 19:10:25 -05:00
Kaveh R. Ghazi
72201e54c6 * jcf-parse.c (get_constant): Delete unused variables.
From-SVN: r50934
2002-03-18 00:02:46 +00:00
Jason Merrill
cd4ae621ae re PR c++/4460 (g++ 3.0.1 seg faults instead of throwing in a complicated inheritance hierarchy)
PR c++/4460
        * class.c (build_base_path): Virtual base layout is fixed in
        in-charge [cd]tors.

From-SVN: r50932
2002-03-17 19:00:58 -05:00
David Edelsohn
1003e0fbad expr.c (expand_expr): Sign-extend CONST_INT generated from TREE_STRING_POINTER.
* expr.c (expand_expr): Sign-extend CONST_INT generated from
        TREE_STRING_POINTER.

From-SVN: r50928
2002-03-17 18:19:51 -05:00
Richard Henderson
4aa47929d5 ia64.c (ia64_attribute_table): Move before targetm definition.
* config/ia64/ia64.c (ia64_attribute_table): Move before
        targetm definition.  Make static.

From-SVN: r50925
2002-03-17 12:39:29 -08:00
Tom Tromey
38413993d7 re PR other/5874 (gcc-3.1 20020304 (prerelease) FAILs in libjava testsuite with RUNTESTFLAGS="--target_board 'unix{-fPIC,-fpic,}'")
* libjava.jni/jni.exp (gcj_jni_build_header): Use local_exec, not
	target_compile.  Fixes PR other/5874.

From-SVN: r50924
2002-03-17 20:35:41 +00:00
Anthony Green
3243420704 Add arm thumb support
From-SVN: r50919
2002-03-17 16:16:58 +00:00
Jason Merrill
ebf9096c0b re PR c++/5757 (Throwing exception in constructor, causes segfault during unwind)
PR c++/5757
        * init.c (build_new_1): Pass the right pointer to op delete.

From-SVN: r50918
2002-03-17 08:57:13 -05:00
Jason Merrill
3628840c35 fix comment
From-SVN: r50915
2002-03-17 08:53:14 -05:00
Richard Earnshaw
d16bc33e24 * gcc.dg/weak-1.c: Fix scan tests.
From-SVN: r50911
2002-03-17 12:48:34 +00:00
GCC Administrator
e59e59e1b4 Daily bump.
From-SVN: r50907
2002-03-17 08:16:16 +00:00
Anthony Green
c2e03e9dc4 Makefile.am: Escape quotes in echo.
* Makefile.am: Escape quotes in echo.
	* Makefile.in: Rebuilt.

From-SVN: r50906
2002-03-17 01:07:58 +00:00
Bryce McKinlay
d2eb4b463f Makefile.am: Define ffitest_OBJECTS.
* Makefile.am: Define ffitest_OBJECTS.
	* Makefile.in: Rebuilt.

From-SVN: r50903
2002-03-17 01:04:48 +00:00
Bryce McKinlay
3e2972b3a4 Makefile.am: Make target library a convenience library.
zlib:

	* Makefile.am: Make target library a convenience library.
	* Makefile.in: Rebuilt.

libffi:

	* Makefile.am: libfficonvenience -> libffi_convenience.
	* Makefile.in: Rebuilt.

boehm-gc:

	* Makefile.am: Make a convenience library.
	* Makefile.in: Rebuilt.

libjava:

	Build a single libgcj.so, without separate gc and zlib libraries.
	* configure.in: Use convenience libraries for boehm-gc and zlib. Set
	SYS_ZLIBS if system zlib is used.
	* configure: Rebuilt.
	* Makefile.am: Use boehm-gc and zlib convenience libraries.
	* Makefile.in: Rebuilt.
	* libtool-version: Increment .so version number.

From-SVN: r50901
2002-03-17 00:46:00 +00:00
Paolo Carlini
998747d03b 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/collate_members_char.cc
	(test01): compare the result of collate::compare with
	that of collate::transform + string::compare, not with
	that of collate::transform + collate::compare.
	(test01): values returned by collate::compare are
	normalized, therefore test against +-1.
	* testsuite/22_locale/collate_members_wchar_t.cc: Ditto.

From-SVN: r50895
2002-03-16 23:00:03 +00:00
Bryce McKinlay
84132f363f Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
	* Makefile.in: Rebuilt.

From-SVN: r50894
2002-03-16 21:05:39 +00:00
Bryce McKinlay
186e68ab76 re PR java/5935 (problem with anonymous inner classes)
* parse.y (craft_constructor): Return the constructor decl.
	(java_expand_classes): Update comments.
	(lookup_method_invoke): Call fix_constructors immediately for
	anonymous class. Fixes PR java/5935.

From-SVN: r50890
2002-03-16 20:55:55 +00:00
Alexandre Oliva
9305ff3d74 * ltmain.sh (relink_command): Fix typo in previous change.
From-SVN: r50888
2002-03-16 14:42:43 +00:00
Neil Booth
2544508c9b Forgotten commit.
From-SVN: r50886
2002-03-16 14:32:40 +00:00
Neil Booth
a434f64415 cppinit.c (print_help): Display -MD and -MMD.
* cppinit.c (print_help): Display -MD and -MMD.
	Don't display usage string.  Update assertion syntax and
	typo.

From-SVN: r50885
2002-03-16 14:31:14 +00:00
Stephane Carrez
5ea4c0de48 m68hc11.c (m68hc11_override_options): Don't use soft registers by default for 68HC12.
* config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
	soft registers by default for 68HC12.
	(m68hc11_conditional_register_usage): Don't use Z register for 68HC12
	when compiling with -fomit-frame-pointer.
	(expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
	(expand_epilogue): Likewise.
	(m68hc11_gen_rotate): Use exg when rotating by 8.

From-SVN: r50883
2002-03-16 14:07:52 +01:00
Stephane Carrez
e4f68af8fb m68hc11-protos.h (ix_reg): Declare.
* config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
	* config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
	(splits): Remove unused add splits.
	("*addhi3_68hc12"): Tune constraints.
	("addhi_sp"): Try to use X instead of Y in all cases and if the
	constant fits in 8-bits and D is dead use abx/aby instructions.
	("*addhi3"): Remove extern declaration of ix_reg.
	("*subsi3"): Optimize and provide new split.
	("subhi3"): Cleanup.
	("*subhi3_sp"): Avoid saving X if we know it is dead.
	(arith splits): For 68hc12 save the address register on the stack
	and do the arithmetic operation with a pop.

From-SVN: r50881
2002-03-16 13:59:21 +01:00
Stephane Carrez
44cc3cf63b m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid allocating QImode in address registers.
* config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
	allocating QImode in address registers.
	("*movqi_m68hc11"): Likewise.

From-SVN: r50879
2002-03-16 13:46:17 +01:00
GCC Administrator
b231364bfa Daily bump.
From-SVN: r50870
2002-03-16 08:17:18 +00:00
Richard Henderson
41175e529b * init.c (build_new_1): Use size_binop instead of cp_build_binary_op.
From-SVN: r50866
2002-03-15 17:25:07 -08:00
Richard Henderson
4735e2e8cb decl.c (finish_function): Reapply accidentally reverted 2002-02-28 patch.
* decl.c (finish_function): Reapply accidentally reverted
        2002-02-28 patch.

From-SVN: r50865
2002-03-15 17:14:27 -08:00
Mark Mitchell
8d4be20877 c-common.c (statement_code_p): Handle CLEANUP_STMT.
* c-common.c (statement_code_p): Handle CLEANUP_STMT.
	* c-common.def (CLEANUP_STMT): New tree node.
	* c-common.h (CLEANUP_DECL): New macro.
	(CLEANUP_EXPR): Likewise.
	* c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
	* tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
	* tree-inline.c (initialize_inlined_parameters): Clean up
	new local variables.

	* cp-tree.h (CLEANUP_DECL): Remove.
	(CLEANUP_EXPR): Likewise.
	* decl.c (destroy_local_var): Simplify.
	(maybe_build_cleanup): Tidy.
	* dump.c (cp_dump_tree): Remove handling of CLEANUP_STMT.
	* semantics.c (cp_expand_stmt): Likewise.
	* cp/tree.c (cp_statement_code_p): Likewise.

	* g++.dg/opt/dtor1.C: New test.

From-SVN: r50864
2002-03-16 01:08:07 +00:00
Richard Henderson
e1543dbe92 c-decl.c: Include c-pragma.h.
* c-decl.c: Include c-pragma.h.
        (start_decl, start_function): Invoke maybe_apply_pragma_weak.
        (finish_function): Tidy.
        * c-pragma.c: Include c-common.h.
        (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
        (handle_pragma_weak): Use them.
        (init_pragma): Register pending_weaks.
        * c-pragma.h (maybe_apply_pragma_weak): Declare.
        * print-tree.c (print_node): Print DECL_WEAK.
        * varasm.c (mark_weak_decls): Remove.
        (remove_from_pending_weak_list): Remove.
        (add_weak): Remove.
        (asm_emit_uninitialised): Call globalize_decl for weak commons.
        (weak_decls): Make a tree_list.
        (declare_weak): Cons weak_decls directly.
        (globalize_decl): Remove weak_decls elements directly.
        (weak_finish): Simplify weak_decls walk.  Don't weaken unused
        symbols.  Don't pretend to handle aliases.
        (init_varasm_once): Update weak_decls registry.
        * Makefile.in: Update dependencies.

        * cp/decl.c: Include c-pragma.h.
        (start_decl, start_function): Invoke maybe_apply_pragma_weak.
        * cp/Make-lang.in: Update dependencies.

From-SVN: r50862
2002-03-15 16:59:09 -08:00
No Author
494a1e9594 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50861
2002-03-16 00:59:09 +00:00
Anthony Green
9b98c5cfba Add embedded patch approved Feb 17
From-SVN: r50859
2002-03-16 00:35:42 +00:00
Richard Henderson
9e6e3ccf38 alpha.c (alpha_va_arg): Manipulate the type size as a tree.
* config/alpha/alpha.c (alpha_va_arg): Manipulate the type
        size as a tree.

From-SVN: r50858
2002-03-15 15:14:58 -08:00
Alexandre Oliva
61731a1167 ltmain.sh (taglist): Initialized.
* ltmain.sh (taglist): Initialized.  Don't let `CC' tag out of it.
(relink_command): Added --tag flags.
(mode=install): If relinking fails; error out.

From-SVN: r50856
2002-03-15 23:04:33 +00:00
Alexandre Oliva
638cc77aa0 Makefile.am (jv_convert_LDADD): Don't list libraries that are already implicitly brought in from libgcj.la.
* Makefile.am (jv_convert_LDADD): Don't list libraries that are
already implicitly brought in from libgcj.la.
(gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
* Makefile.in: Rebuilt.

From-SVN: r50854
2002-03-15 22:48:13 +00:00
Stephane Carrez
882b3952e2 m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
* config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
	("tstqi" split): Avoid using memory for tstqi on address register.
	(splits): Remove constraints.
	("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
	("cmpdf", "cmpsf"): Remove since not used.
	("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
	(peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.

From-SVN: r50852
2002-03-15 23:37:17 +01:00
Eric Blake
985c764e4e THANKS: Fix punctuation, alphabetization.
2002-03-15  Eric Blake  <ebb9@email.byu.edu>

	* THANKS: Fix punctuation, alphabetization.

From-SVN: r50850
2002-03-15 22:34:40 +00:00
Stephane Carrez
4fd7674ae0 m68hc11.md ("negsi2"): Optimize inline case.
* config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
	("neghi2"): Tighten constraints.
	("one_cmplsi2"): Optimize and simplify split.
	* config/m68hc11/larith.asm (__negsi2): Likewise for library.

From-SVN: r50848
2002-03-15 23:27:27 +01:00
Stephane Carrez
786036e94a m68hc11.md ("logicalsi3_zexthi"): Fix constraints and split of AND operation to clear the upper bits.
* config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
	and split of AND operation to clear the upper bits.
	("*logicalsi3_zextqi"): Likewise.
	("*logicallhi3_zexthi_ashift8"): Likewise.
	("*logicalsi3_silshr16"): Likewise.
	("logicalsi3_silshl16"): Likewise.
	("anddi3", "iordi3", "xordi3" splits): Remove constraints.

From-SVN: r50846
2002-03-15 23:19:05 +01:00
Stephane Carrez
5117962d81 m68hc11.c (m68hc11_symbolic_p): New function.
* config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
	(m68hc11_indirect_p): New function.
	(m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
	(m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
	TARGET_M6812.
	(asm_print_register): Likewise.
	* config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
	(m68hc11_indirect_p): Declare.
	* config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
	(TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
	(TARGET_SWITCHES): New option -mrelax.
	* config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
	destination.
	("iorsi3", "xorsi3"): Likewise.
	("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
	("*andhi3_mem"): New to handle destination in memory with bclr
	and a scratch register.
	("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
	("*andhi3_const"): New when operand2 is constant.
	("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
	("*andhi3_gen"): Cleanup of the old "andhi3".
	("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
	("xorqi3"): Update constraints.

From-SVN: r50844
2002-03-15 23:08:48 +01:00
Stephane Carrez
b44e051d9c m68hc11.c (m68hc11_small_indexed_indirect_p): Look for reg_equiv_memory_loc when the operand is a register that does not get...
* config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
	for reg_equiv_memory_loc when the operand is a register that does
	not get a hard register (stack location).
	(tst_operand): After reload, accept all memory operand.
	(symbolic_memory_operand): Fix detection of symbolic references.
	* config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
	accept symbols and any constant.

From-SVN: r50841
2002-03-15 22:58:41 +01:00
Tom Tromey
59ca571e42 re PR libgcj/5944 (Use of uint32_t breaks libgcj bootstrap on Solaris 2.5.1)
2002-03-15  Tom Tromey  <tromey@redhat.com>
	    Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

	Fix for PR libgcj/5944.
	* gnu/gcj/io/shs.h: Define uint8_t and uint32_t.

Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

From-SVN: r50840
2002-03-15 21:56:03 +00:00
Stephane Carrez
03ca3cab9a m68hc11.c (emit_move_after_reload): Add a REG_INC note on the insn that sets the soft frame register.
* config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
	note on the insn that sets the soft frame register.
	(must_parenthesize): ix and iy are also reserved names.
	(print_operand_address): One more place where parenthesis are required
	to avoid confusion with register names.
	(m68hc11_gen_movhi): Allow push of stack pointer.
	(m68hc11_check_z_replacement): Fix handling of parallel with a
	clobber.
	(m68hc11_z_replacement): Must update the REG_INC notes to tell what
	the replacement register is.
	* config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
	and D8_REGS classes.
	(MODES_TIEABLE_P): All modes are tieable except QImode.

From-SVN: r50838
2002-03-15 22:49:25 +01:00
Stephane Carrez
c87e0c15c8 larith.asm (___adddi3): Optimize saving of result.
* config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
	(___subdi3): Likewise.
	(__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
	(__map_data_section): Optimize 68hc11 case.

From-SVN: r50836
2002-03-15 22:38:27 +01:00
Stephane Carrez
fc9920be85 m68hc11.c (m6812_cost): Make cost of add higher than a shift to avoid adding a register with itself.
* config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
	than a shift to avoid adding a register with itself.
	(m68hc11_memory_move_cost): Take into account NO_REGS.
	(m68hc11_register_move_cost): Update and use memory move cost
	for soft registers.
	(m68hc11_address_cost): Make cost of valid offset not 0 so that
	it gives more opportunities to cse to optimize.
	* config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
	* config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.

From-SVN: r50834
2002-03-15 22:32:00 +01:00
Tom Tromey
c8564b1ba1 Updated THANKS
From-SVN: r50831
2002-03-15 20:51:42 +00:00
Eric Blake
fdee5906b8 For PR java/5902:
2002-03-15  Eric Blake  <ebb9@email.byu.edu>

	For PR java/5902:
	* libjava.compile/PR5902.java: Does not need to execute.
	For PR java/5913:
	* libjava.compile/PR5913.java: Ditto.

From-SVN: r50828
2002-03-15 19:16:02 +00:00
Jason Merrill
a815983565 varasm.c (globalize_decl): New fn.
* varasm.c (globalize_decl): New fn.
        (assemble_start_function): Use it.
        (asm_emit_uninitialized): Use it.
        (assemble_alias): Use it.
        (assemble_variable): Use it.

From-SVN: r50827
2002-03-15 11:06:12 -08:00
Jason Merrill
4db91e23a4 varasm.c (assemble_variable): Use zeros for a decl with DECL_INITIAL of error_mark_node.
* varasm.c (assemble_variable): Use zeros for a decl with DECL_INITIAL
        of error_mark_node.

From-SVN: r50825
2002-03-15 13:44:50 -05:00
Jakub Jelinek
693af08184 re PR bootstrap/4128 (Bootstrap on solaris2.7 fails compiling libf2c/libF77/l_gt.c)
PR bootstrap/4128
	* config/sparc/sparc.c (gen_v9_scc): Move early clobber test
	before movrXX only, use reg_overlap_mentioned_p.
	Only special case NE if just one insn can be generated.

	* gcc.c-torture/compile/20020315-1.c: New test.

From-SVN: r50823
2002-03-15 19:40:40 +01:00
Jason Merrill
a8376d0c05 re PR c++/5857 (C++ duplicate_decls shouldn't use common_type)
PR c++/5857
        * decl.c (duplicate_decls): Use merge_types instead of common_type.
        * typeck.c (common_type): Just hand off to
        type_after_usual_arithmetic_conversions and
        composite_pointer_type.
        (merge_types): New fn.
        (commonparms): Use it instead of common_type.
        (type_after_usual_arithmetic_conversions): Also handle COMPLEX_TYPE.
        (composite_pointer_type): Also handle attributes.
        * cp-tree.h: Declare merge_types.

From-SVN: r50822
2002-03-15 13:33:15 -05:00
Anthony Green
70bf089ac8 Remove useless mingw32 configury
From-SVN: r50818
2002-03-15 18:15:07 +00:00
Anthony Green
cfe48017dd configure.in (tool_include_dir): Define.
* configure.in (tool_include_dir): Define.
	* configure: Rebuilt.
	* gcj/Makefile.am: Install libgcj-config.h relative to
	tool_include_dir.
	* gcj/Makefile: Rebuilt.
	* gcj/libgcj-config.h: Add warning comment.

From-SVN: r50813
2002-03-15 16:56:07 +00:00
Anthony Green
78c6eb8d93 misc.c (GC_init_inner): Initialize GC_write_cs before use.
* misc.c (GC_init_inner): Initialize GC_write_cs before use.
	* configure.in: Disable use of getenv for win32 targets (some of
	which have broken implementations).
	* configure: Rebuilt.

From-SVN: r50812
2002-03-15 16:54:58 +00:00
Anthony Green
28e25a0548 jcf-parse.c (yyparse): Don't emit class registration constructor when compiling resource files.
* jcf-parse.c (yyparse): Don't emit class registration
	constructor when compiling resource files.

From-SVN: r50811
2002-03-15 16:54:22 +00:00
Richard Earnshaw
3a81d005f0 re PR target/5712 ([ARM] bad ADR generated)
PR target/5712
* arm.md (movaddr, movaddr_insn): Delete.

From-SVN: r50810
2002-03-15 16:34:16 +00:00
Jason Merrill
838bf7b7cd toplev.c (wrapup_global_declarations): Clarify variable handling.
* toplev.c (wrapup_global_declarations): Clarify variable handling.
        -fkeep-static-consts doesn't apply to comdats.

cp/
        * decl.c (make_rtl_for_nonlocal_decl): Also defer COMDAT
        variables.
        * decl2.c (maybe_make_one_only): Also mark the decl as needed.

From-SVN: r50803
2002-03-15 04:59:19 -05:00
GCC Administrator
98ad95c4fd Daily bump.
From-SVN: r50798
2002-03-15 08:16:15 +00:00
Richard Henderson
3d5b6d4301 re PR target/5312 ([IA64] ICE in itanium_reorder at config/ia64/ia64.c:5917)
PR target/5312
        * config/ia64/ia64.c: Include tm_p.h last.
        (gen_nop_type): Remove duplicate definition.
        (cycle_end_fill_slots): Set sched_data for second L slot.
        (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
        (nop_cycles_until): Fix typos.

	* gcc.dg/20020313-1.c: New.

From-SVN: r50795
2002-03-14 22:43:18 -08:00
Jakub Jelinek
92e592c3d6 re PR c++/5908 (Warning regression wrt. gcc 3.0)
PR c++/5908

From-SVN: r50792
2002-03-15 04:15:35 +01:00
Jakub Jelinek
84a5632aa8 re PR rtl-optimization/5891 (ICE compiling SPEC fp test with -funroll-loops on ia64)
PR optimization/5891
	* unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.

	* g77.dg/pr5891.f: New test.

From-SVN: r50790
2002-03-15 04:04:54 +01:00
David Mosberger
6dfe97c536 unwind-ia64.c: Handle copy_state and label_state descriptors correctly.
* config/ia64/unwind-ia64.c: Handle copy_state and label_state
	  descriptors correctly.

From-SVN: r50788
2002-03-15 01:50:54 +00:00
Zack Weinberg
87d7f3e521 cpphash.h (struct lexer_state): Remove line_extension member.
* cpphash.h (struct lexer_state): Remove line_extension member.
	* cpplib.c (dequote_string, do_linemarker): New functions.
	(linemarker_dir): New data object.
	(DIRECTIVE_TABLE): No longer need to interpret #line in
	preprocessed source.  Delete obsolete comment about return
	values of handlers.
	(end_directive, directive_diagnostics, _cpp_handle_directive):
	Don't muck with line_extension.
	(directive_diagnostics): No need to issue warnings for
	linemarkers here.
	(_cpp_handle_directive): Issue warnings for linemarkers here,
	when appropriate.  Dispatch linemarkers to do_linemarker, not
	do_line.
	(do_line): Code to handle linemarkers split out to do_linemarker.
	Convert escape sequences in filename argument, both places.

	* cppmacro.c (quote_string): Rename cpp_quote_string and
	export.  All callers changed.
	* cpplib.h (cpp_quote_string): Prototype.
	* cppmain.c (print_line): Call cpp_quote_string on to_file
	before printing it.

	* doc/cpp.texi: Document that escapes are now interpreted in
	#line and in linemarkers, and that non-printing characters are
	converted to octal escapes when linemarkers are generated.

From-SVN: r50781
2002-03-14 19:24:59 +00:00
Philipp Thomas
472f8f8f2c fr.po: Update to latest revision.
2002-03-14  Philipp Thomas  <pthomas@suse.de>

        * fr.po: Update to latest revision.

From-SVN: r50776
2002-03-14 16:34:41 +00:00
Richard Earnshaw
3521628ef3 * gcc.c-torture/execute/20020314-1.c: New test.
From-SVN: r50775
2002-03-14 15:51:59 +00:00
No Author
02cd118b8b This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50774
2002-03-14 15:51:59 +00:00
Richard Earnshaw
f3dcbc72cd re PR target/5828 (gcc-3.0.4 on arm : floating point registers incorrectly reloaded)
PR target/5828
* arm.c (arm_output_epilogue): Fix floating-point register save
adjustment when using a frame pointer.

Co-Authored-By: Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>

From-SVN: r50773
2002-03-14 15:49:15 +00:00
Jakub Jelinek
092ceb06f5 call.c (build_over_call): Set TREE_NO_UNUSED_WARNING too.
* call.c (build_over_call): Set TREE_NO_UNUSED_WARNING too.
	* cvt.c (convert_to_void): Preserve TREE_NO_UNUSED_WARNING.

	* g++.dg/warn/Wunused-1.C: New test.

From-SVN: r50769
2002-03-14 15:19:54 +01:00
Hans-Peter Nilsson
3094a7264a mmix.c: Improve comments.
* config/mmix/mmix.c: Improve comments.
	(mmix_target_asm_function_prologue): Drop variable
	empty_stack_frame.  Don't allocate unused slot above fp.
	(mmix_target_asm_function_epilogue): Mirror prologue changes.
	(mmix_expand_builtin_va_arg): Do all computations on trees.
	* config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
	brace in first column.
	(enum reg_class): Ditto.
	(FIRST_PARM_OFFSET): Now 0.
	(USER_LABEL_PREFIX): Remove #if 0:d definition.
	(LINK_SPEC): Don't defsym __.MMIX.start..text if linking
	relocatably.  Always produce ELF, not mmo if linking relocatably.

From-SVN: r50767
2002-03-14 10:49:36 +00:00
GCC Administrator
71791f5981 Daily bump.
From-SVN: r50758
2002-03-14 08:16:34 +00:00
David Edelsohn
072083caaf rs6000.h (PAD_VARARGS_DOWN): Define.
* config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
        * config/rs6000/rs6000.c (rs6000_va_arg): Use
        std_expand_builtin_va_arg if not ABI_V4.

From-SVN: r50757
2002-03-13 23:47:03 -05:00
Jakub Jelinek
126ccea26e re PR target/5626 (gcc-3.1 on sparcv9 does not generate code for long jumps)
PR target/5626
	* config/sparc/sparc.md (normal_branch, inverted_branch,
	normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
	inverted_fp_branch): Adjust calls to output_cbranch.
	Set length attribute.
	(normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
	output_v9branch.  Set length attribute.
	* config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
	predicates.
	(noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
	(output_cbranch): Likewise.  Handle far branches.
	(output_v9branch): Handle far branches.
	* config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
	Adjust prototypes.
	* config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
	noov_compare64_op predicates.

From-SVN: r50752
2002-03-13 20:45:59 +01:00
Richard Sandiford
f846990f0c Fix last commit.
From-SVN: r50748
2002-03-13 17:43:11 +00:00
Richard Sandiford
c5b77b5dd3 * g++.dg/abi/mangle6.C: New test.
From-SVN: r50747
2002-03-13 17:23:25 +00:00
No Author
7fc82cc0b3 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50746
2002-03-13 17:23:25 +00:00
Richard Sandiford
36240e8d45 mangle.c (write_builtin_type): Handle 128-bit integers even if they are not a standard integer type.
* mangle.c (write_builtin_type): Handle 128-bit integers even if
	they are not a standard integer type.

From-SVN: r50745
2002-03-13 17:21:40 +00:00
Jason Merrill
a5650f2eaa gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr into the function and constify it.
* gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
        into the function and constify it.
        * gthr-dce.h, gthr-solaris.h: Likewise.

From-SVN: r50742
2002-03-13 12:17:05 -05:00
Hans-Peter Nilsson
eacbba2665 cris.c (cris_print_operand): Avoid traditional-warning for 0xffffffff.
* config/cris/cris.c (cris_print_operand): Avoid
	traditional-warning for 0xffffffff.
	(cris_expand_builtin_va_arg): Do all computations on trees.

From-SVN: r50737
2002-03-13 14:48:58 +00:00
Ulrich Weigand
e035b9fecb expr.c (expand_expr, [...]): Do not call copy_to_reg with VOIDmode operand.
* expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
	VOIDmode operand.  Add compile-time optimization for constant results.

From-SVN: r50733
2002-03-13 12:58:15 +00:00
Hartmut Penner
a31cdd3a05 s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code before prologue, to avoid scheduling problems.
* config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
        before prologue, to avoid scheduling problems.

From-SVN: r50732
2002-03-13 11:04:17 +00:00
GCC Administrator
6e83569730 Daily bump.
From-SVN: r50726
2002-03-13 08:16:36 +00:00
Jakub Jelinek
e429b25951 sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
* config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
	(ELIMINABLE_REGS): Add sfp->sp.
	(INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.

From-SVN: r50724
2002-03-13 08:53:59 +01:00
Jakub Jelinek
0d7a164505 re PR rtl-optimization/5892 (ICE in gen_nop_type during 2.4.17 ia64 kernel build)
PR optimization/5892
	* config/ia64/ia64.c (rotate_one_bundle): Update current packet.

	* gcc.c-torture/compile/20020312-1.c: New test.

From-SVN: r50722
2002-03-13 08:48:03 +01:00
Jakub Jelinek
1622c07909 loop.c (basic_induction_var): Don't call convert_modes if mode classes are different.
* loop.c (basic_induction_var): Don't call convert_modes if mode
	classes are different.

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

From-SVN: r50720
2002-03-13 08:34:57 +01:00
Benjamin Kosnik
bb3e839802 ctype_noninline.h: Cast to unsigned char.
2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
            Per Liboriussen  <liborius@stofanet.dk>

	* config/os/gnu-linux/bits/ctype_noninline.h: Cast to
	unsigned char.
	* config/os/gnu-linux/bits/ctype_inline.h: Same.

	* config/os/irix/irix6.5/bits/ctype_inline.h: Same.

	* config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.

	* config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.

	* config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.

	* testsuite/22_locale/ctype_members_char.cc (main): Add tests.

Co-Authored-By: Per Liboriussen <liborius@stofanet.dk>

From-SVN: r50719
2002-03-13 06:45:31 +00:00
Benjamin Kosnik
f4133cd79f basic_string.tcc (string::_S_construct(_InIter, _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/basic_string.tcc (string::_S_construct(_InIter,
	_InIter, const _Alloc&, forward_iterator_tag): Check for null.
	(string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
	* testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
	that memory limits are in place.
	(test03): Add tests.

From-SVN: r50718
2002-03-13 06:28:21 +00:00
Benjamin Kosnik
3fc5a6b005 [multiple changes]
2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* include/c_std/std_cwctype.h: Guard.

2002-03-11  Chris Demetriou  <cgd@broadcom.com>

	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
	whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r50717
2002-03-13 06:25:50 +00:00
Benjamin Kosnik
6ec9a3310c [multiple changes]
2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_bvector.h: Fix warning.

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

	* include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.

From-SVN: r50716
2002-03-13 06:14:47 +00:00
Richard Henderson
ebfd8fa912 re PR target/5901 ([IA64] misplaced .body)
PR optimization/5901
        * function.c (reposition_prologue_and_epilogue_notes): Position
        the markers after/before the last/first insn not deleted.

From-SVN: r50714
2002-03-12 22:05:02 -08:00
Richard Henderson
894acf85d0 re PR rtl-optimization/5878 (gcc 3.1 breaks on C code generated by the Mercury compiler)
PR 5878
        * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
        config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
        (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.

        * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
        config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
        PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.

        * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
        * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
        (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
        also.  Don't set it if not flag_pic.
        * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
        to be INVALID_REGNUM when not used.

	* gcc.dg/20020312-2.c: New.

From-SVN: r50712
2002-03-12 21:36:04 -08:00
Loren J. Rittle
d05e65df7b reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
	* testsuite/thread/pthread4.cc: Lower nominal iteration counter.

From-SVN: r50710
2002-03-13 02:55:56 +00:00
Aldy Hernandez
5d26a648e1 expmed.c (store_bit_field): Reset alias set for memory.
2002-03-13  Aldy Hernandez  <aldyh@redhat.com>

        * expmed.c (store_bit_field): Reset alias set for memory.
        (extract_bit_field): Same.

From-SVN: r50707
2002-03-13 02:05:27 +00:00
Chris Meyer
acefaf0582 genflags.c (gen_insn): Use IS_VSPACE.
* genflags.c (gen_insn): Use IS_VSPACE.
        * genoutput.c (output_insn_data): Likewise.
        (process_template): Likewise.

From-SVN: r50703
2002-03-12 17:25:07 -08:00
Richard Henderson
bb28f28201 Makefile.in (NOTPARALLEL): New.
* Makefile.in (NOTPARALLEL): New.  Use it instead of explicit
        .NOTPARALLEL tag.
        (do-check): Rename from check.
        (check): Allow parallel check.

From-SVN: r50702
2002-03-12 17:18:31 -08:00
Richard Henderson
520c4def86 Fix typo in comment.
From-SVN: r50701
2002-03-12 17:17:55 -08:00
Nathan Sidwell
8bc302bdd0 re PR c++/5659 (default access for class/struct bug)
cp:
	PR c++/5659
	* decl.c (xref_tag): Don't set CLASSTYPE_DECLARED_CLASS here.
	* decl2.c (handle_class_head): Set CLASSTYPE_DECLARED_CLASS for
	definitions.
testsuite:
	* g++.dg/other/access1.C: New test.

From-SVN: r50698
2002-03-12 23:38:44 +00:00
No Author
e37c338f98 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50697
2002-03-12 23:38:44 +00:00
Tom Tromey
aa23353c62 re PR java/5923 (gcj -C generates incorrect bytecode)
* jcf-parse.c (get_constant) [CONSTANT_String]: String values are
	UTF-8, not UCS-2.  Fixes PR java/5923.

From-SVN: r50696
2002-03-12 23:38:31 +00:00
Bob Wilson
de59e8e0fb xtensa.c (xtensa_expand_block_move): Use validize_mem() instead of change_address to avoid clobbering memory attributes.
* config/xtensa/xtensa.c (xtensa_expand_block_move): Use
        validize_mem() instead of change_address to avoid clobbering
        memory attributes.

From-SVN: r50694
2002-03-12 23:34:58 +00:00
Andreas Tobler
87ac37ca85 configure.host (powerpc*-darwin*): Enable interpreter.
2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>

	* configure.host (powerpc*-darwin*): Enable interpreter.

From-SVN: r50690
2002-03-12 22:39:54 +00:00
Andreas Tobler
0ad3939241 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: r50688
2002-03-12 22:35:56 +00:00
Jakub Jelinek
55cd1c9fee c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
* c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
	(lex_string): Use unsigned char pointers.

	* gcc.c-torture/execute/wchar_t-1.c: New test.

From-SVN: r50687
2002-03-12 23:33:43 +01:00
David Edelsohn
9cd7daff23 20020103-1.c: Add rs6000 target and macro.
* gcc.dg/20020103-1.c: Add rs6000 target and macro.
	* gcc.dg/20020103-1.c: Add other -D ppc variants.

From-SVN: r50685
2002-03-12 17:22:56 -05:00
Ulrich Weigand
3c22a22d8c reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent is not a valid memory_operand.
* reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
	is not a valid memory_operand.

From-SVN: r50682
2002-03-12 21:04:12 +00:00
Mark Mitchell
a5e5b67382 cp-demangle.c: Add libgcc exception to cp-demangle.c copyright notice.
* cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
	notice.

From-SVN: r50680
2002-03-12 20:42:36 +00:00
Bob Wilson
fa8bcfde1a xtensa-config.h: Define XCHAL_HAVE_LOOPS.
* config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
        * config/xtensa/lib1funcs.asm: Fix copyright to include
        special case for libgcc files.
        (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
        (__divsi3): Likewise.
        (__umodsi3): Likewise.
        (__modsi3): Likewise.
        * config/xtensa/lib2funcs.S: Fix copyright to include
        special case for libgcc files.

From-SVN: r50678
2002-03-12 20:06:55 +00:00
Tom Tromey
dd8b35c272 Test for PR java/5848:
* libjava.compile/PR5848.xfail: New file.
	* libjava.compile/PR5848.java: New file.

From-SVN: r50676
2002-03-12 19:53:35 +00:00
No Author
efdcc527fb This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50675
2002-03-12 19:53:35 +00:00
Michael Matz
74ba91a147 rs6000.md (ne0+4): Add extra CLOBBER.
* config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
        (ne0+5): Use new clobber to generate proper shift pattern.

From-SVN: r50673
2002-03-12 19:29:57 +00:00
Bob Wilson
50294d402a * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
From-SVN: r50668
2002-03-12 18:44:25 +00:00
Bob Wilson
8aff1bfa3f xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch to function_section before writing out the constant pool.
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
        to function_section before writing out the constant pool.

From-SVN: r50667
2002-03-12 18:42:56 +00:00
Bob Wilson
7349ea9b87 MAINTAINERS: Add myself as maintainer for xtensa port.
* MAINTAINERS: Add myself as maintainer for xtensa port.
        Fix alphabetical order in CPU port maintainer list.
        Remove myself from Write After Approval list.

From-SVN: r50666
2002-03-12 18:41:00 +00:00
Adam Megacz
689a239501 dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
2002-03-12  Adam Megacz  <adam@xwt.org>

        * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
        * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
        * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
        statically initialized it to TRUE if compiling with GCC.
        * win32_threads.c (thread_start): We no longer use SEH if
        compiling with GCC.
        * mark.c (GC_mark_some): We no longer use SEH if
        compiling with GCC.

From-SVN: r50664
2002-03-12 18:31:12 +00:00
Tom Tromey
c0ad388d8f re PR java/5848 (gcj "crashes" on syntax with complex cast)
* parse.y (qualify_ambiguous_name): Handle case where QUAL_WFL is
	a call_expr wrapped in a convert.  Fixes PR java/5848.

From-SVN: r50661
2002-03-12 18:07:32 +00:00
Zack Weinberg
5f67af735f texi2pod.pl: Handle @include, @ftable, @vtable.
* contrib/texi2pod.pl: Handle @include, @ftable, @vtable.
	Reformat some code for clarity.
	* gcc/Makefile.in: Give texi2pod its input file as a command
	line argument, not on stdin.

From-SVN: r50660
2002-03-12 18:03:08 +00:00
Kazu Hirata
1f8dcf539b * gcc.c-torture/execute/20020307-1.c: Use long.
From-SVN: r50657
2002-03-12 16:02:08 +00:00
Andrew MacLeod
4745594baf sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in address calculation.
2002-03-12  Andrew MacLeod  <amacleod@redhat.com>

        * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
        address calculation.

From-SVN: r50655
2002-03-12 15:21:26 +00:00
Ulrich Weigand
c45ba5b2a9 s390.md (reload_insi, [...]): Change mode of scratch register to DImode / TImode.
* config/s390/s390.md (reload_insi, reload_indi): Change mode of
	scratch register to DImode / TImode.
	config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
	register used does not overlap the target.

From-SVN: r50653
2002-03-12 14:35:39 +00:00
Bryce McKinlay
ae13785a63 * jcf-write.c (write_classfile): Improve error strings.
From-SVN: r50651
2002-03-12 10:33:57 +00:00
GCC Administrator
9da049c77d Daily bump.
From-SVN: r50645
2002-03-12 08:17:08 +00:00
Roger Sayle
12198365a4 * gcc.dg/20020312-1.c: New test case.
From-SVN: r50643
2002-03-12 08:55:05 +01:00
Roger Sayle
652364e9ff This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50642
2002-03-12 07:55:05 +00:00
Eric Blake
a52c159e9c re PR java/5913 (Core dump for String constant instanceof)
2002-03-12  Eric Blake  <ebb9@email.byu.edu>

	* libjava.compile/PR5913.java: Expand test.

From-SVN: r50639
2002-03-12 07:42:34 +00:00
Eric Blake
3096a32e0f re PR java/5902 (Gcj fails to parse float)
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	* libjava.compile/PR5902.java: New file.
	* libjava.compile/PR5913.java: New file.
	* libjava.compile/PR5913.xfail: New file.

From-SVN: r50636
2002-03-12 07:20:43 +00:00
Eric Blake
51812f2a24 lex.c: Adjust comments to GNU standards.
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	* lex.c: Adjust comments to GNU standards.

From-SVN: r50632
2002-03-12 03:50:39 +00:00
Eric Blake
51b641edea re PR java/5902 (Gcj fails to parse float)
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	Fix for PR java/5902:
	* lex.c (java_lex): Fix parsing of literals.

From-SVN: r50631
2002-03-12 03:48:53 +00:00
Richard Henderson
4994ccd855 * Makefile.in (.NOTPARALLEL): Add fake tag.
From-SVN: r50620
2002-03-11 16:47:09 -08:00
Paolo Carlini
c540620ceb locale_facets.tcc (collate::do_transform): Rewrite to fix problems with long transformed strings.
2002-03-11  Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/locale_facets.tcc (collate::do_transform):
        Rewrite to fix problems with long transformed strings.

        * include/bits/locale_facets.tcc (time_put::do_put):
	Consider sizeof(char_type) in allocating the buffer.

From-SVN: r50617
2002-03-11 22:55:24 +00:00
Tom Tromey
1875228965 backport: ChangeLog.gcj: Imported 1.1.4, while preserving local changes.
Merged from trunk:
	* ChangeLog.gcj: Imported 1.1.4, while preserving local changes.

From-SVN: r50614
2002-03-11 22:18:23 +00:00
No Author
8756e2772b This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50613
2002-03-11 22:18:23 +00:00
Richard Henderson
4bbf9bb653 Mark change for PR 5693.
From-SVN: r50611
2002-03-11 14:10:26 -08:00
Benjamin Kosnik
fc1b1a6638 c_locale_generic.cc: Move to...
2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>

	* c_locale_generic.cc: Move to...
	* generic/c_locale.cc
	* c_locale_generic.h: Move to...
	* generic/c_locale.h
	* codecvt_specializations_generic.h: Move to...
	* generic/codecvt_specializations.h
	* collate_members_generic.cc: Move to...
	* generic/collate_members.cc
	* ctype_members_generic.cc: Move to...
	* generic/ctype_members.cc
	* messages_members_generic.cc: Move to...
	* generic/messages_members.cc
	* messages_members_generic.h: Move to...
	* generic/messages_members.h
	* moneypunct_members_generic.cc: Move to...
	* generic/monetary_members.cc
	* numpunct_members_generic.cc: Move to...
	* generic/numeric_members.cc
	* time_members_generic.cc: Move to...
	* generic/time_members.cc
	* c_locale_gnu.cc: Move to...
	* gnu/c_locale.cc
	* c_locale_gnu.h: Move to...
	* gnu/c_locale.h
	* collate_members_gnu.cc: Move to...
	* gnu/collate_members.cc
	* ctype_members_gnu.cc: Move to...
	* gnu/ctype_members.cc
	* messages_members_gnu.cc: Move to...
	* gnu/messages_members.cc
	* messages_members_gnu.h: Move to...
	* gnu/messages_members.h
	* moneypunct_members_gnu.cc: Move to...
	* gnu/monetary_members.cc
	* numpunct_members_gnu.cc: Move to...
	* gnu/numeric_members.cc
	* time_members_gnu.cc: Move to...
	* gnu/time_members.cc
	* c_locale_ieee_1003.1-200x.cc: Move to...
	* ieee_1003.1-2001/c_locale.cc
	* c_locale_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/c_locale.h
	* codecvt_specializations_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/codecvt_specializations.h
	* messages_members_ieee_1003.1-200x.cc: Move to...
	* ieee_1003.1-2001/messages_members.cc
	* messages_members_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/messages_members.h

	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/Makefile.am (sources): Change to monetary and numeric.
	* src/Makefile.in: Regenerate.
	* docs/html/configopts.html: Update to ieee_1003.1-2001.

From-SVN: r50603
2002-03-11 21:42:30 +00:00
Neil Booth
b7cd18196b * Makefile.in (cpp.1, gcc.1): Add new dependencies.
From-SVN: r50601
2002-03-11 21:22:26 +00:00
Benjamin Kosnik
7e7f0b1bb4 c_locale_generic.cc: Move to...
2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>

	* c_locale_generic.cc: Move to...
	* generic/c_locale.cc
	* c_locale_generic.h: Move to...
	* generic/c_locale.h
	* codecvt_specializations_generic.h: Move to...
	* generic/codecvt_specializations.h
	* collate_members_generic.cc: Move to...
	* generic/collate_members.cc
	* ctype_members_generic.cc: Move to...
	* generic/ctype_members.cc
	* messages_members_generic.cc: Move to...
	* generic/messages_members.cc
	* messages_members_generic.h: Move to...
	* generic/messages_members.h
	* moneypunct_members_generic.cc: Move to...
	* generic/monetary_members.cc
	* numpunct_members_generic.cc: Move to...
	* generic/numeric_members.cc
	* time_members_generic.cc: Move to...
	* generic/time_members.cc
	* c_locale_gnu.cc: Move to...
	* gnu/c_locale.cc
	* c_locale_gnu.h: Move to...
	* gnu/c_locale.h
	* collate_members_gnu.cc: Move to...
	* gnu/collate_members.cc
	* ctype_members_gnu.cc: Move to...
	* gnu/ctype_members.cc
	* messages_members_gnu.cc: Move to...
	* gnu/messages_members.cc
	* messages_members_gnu.h: Move to...
	* gnu/messages_members.h
	* moneypunct_members_gnu.cc: Move to...
	* gnu/monetary_members.cc
	* numpunct_members_gnu.cc: Move to...
	* gnu/numeric_members.cc
	* time_members_gnu.cc: Move to...
	* gnu/time_members.cc
	* c_locale_ieee_1003.1-200x.cc: Move to...
	* ieee_1003.1-2001/c_locale.cc
	* c_locale_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/c_locale.h
	* codecvt_specializations_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/codecvt_specializations.h
	* messages_members_ieee_1003.1-200x.cc: Move to...
	* ieee_1003.1-2001/messages_members.cc
	* messages_members_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/messages_members.h

	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/Makefile.am (sources): Change to monetary and numeric.
	* src/Makefile.in: Regenerate.
	* docs/html/configopts.html: Update to ieee_1003.1-2001.

From-SVN: r50600
2002-03-11 21:13:02 +00:00
Nathan Sidwell
d5790b6d87 Revert 2001-03-26 Nathan Sidwell <nathan@codesourcery.com>, DR209 is now not a defect.
cp:
	Revert 2001-03-26  Nathan Sidwell  <nathan@codesourcery.com>,
	DR209 is now not a defect.
	* cp-tree.h (skip_type_access_control): Remove.
	* decl.c (grokdeclarator): Do type access control for friend
	declarations.
	* semantics.c (decl_type_access_control): Don't reset
	current_type_lookups.
	(save_type_access_control): Always save the lookups.
	(skip_type_access_control): Remove.
	(finish_class_definition): Don't change type_lookups.
testsuite:
	* testsuite/g++.old-deja/g++.other/friend9.C: Revert DR 209 changes.
	* testsuite/g++.old-deja/g++.robertl/eb56.C: Likewise.

From-SVN: r50596
2002-03-11 20:55:00 +00:00
Nathan Sidwell
cc03963664 Revert 2000-12-01 Nathan Sidwell <nathan@codesourcery.com>, It is incorrect.
cp:
	Revert 2000-12-01  Nathan Sidwell  <nathan@codesourcery.com>,
	It is incorrect.
	* typeck.c (build_static_cast): Compare non-qualified types
	with pointer to member conversions.
testsuite:
	* testsuite/g++.dg/overload/pmf1.C: New test.

From-SVN: r50594
2002-03-11 20:44:29 +00:00
No Author
f680e7ebf1 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50593
2002-03-11 20:44:29 +00:00
Scott Snyder
c5c07ef813 locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision.
2002-03-08  scott snyder  <snyder@fnal.gov>

	libstdc++/5875
	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
	Allow one more digit of precision.
	* testsuite/27_io/ostream_inserter_arith.cc: Test that we can
	write a double and read back in the same value.

From-SVN: r50590
2002-03-11 20:08:38 +00:00
Neil Booth
c73661a3dc Makefile.in: Update.
* Makefile.in: Update.
doc:
	* cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
	Update documentation.
	* gcc.texi: Include cppopts.texi and cppenv.texi.
	* cpp.texi: Include cppopts.texi and cppenv.texi.

From-SVN: r50589
2002-03-11 19:59:58 +00:00
Ulrich Weigand
a8bf23569b * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
From-SVN: r50585
2002-03-11 13:59:06 +00:00
Douglas B Rupp
9bf5e7cc23 * toplev.c (vms_fopen): Remove, not needed.
From-SVN: r50583
2002-03-11 08:26:36 -05:00
Douglas B Rupp
79ba64d767 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
From-SVN: r50581
2002-03-11 08:19:14 -05:00
Douglas B Rupp
d58a5bc941 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
From-SVN: r50579
2002-03-11 08:13:25 -05:00
Douglas B Rupp
966ac58971 alpha.c (alpha_sa_size, VMS): Don't reserve space for FP, already done later.
* config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
	for FP, already done later.

From-SVN: r50576
2002-03-11 08:08:25 -05:00
Douglas B Rupp
285e080755 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
From-SVN: r50574
2002-03-11 07:46:54 -05:00
Douglas B Rupp
9a24e49a5a toplev.c (debug_args): Add entry for VMS_DEBUG.
* toplev.c (debug_args): Add entry for VMS_DEBUG.
	* vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.

From-SVN: r50572
2002-03-11 07:41:02 -05:00
Bryce McKinlay
ab082c3364 parse.y (patch_assignment): Wrap the right-hand-side with a save_expr to prevent it getting evaluated twice...
* parse.y (patch_assignment): Wrap the right-hand-side with a save_expr
	to prevent it getting evaluated twice in the store checking case.
	* expr.c (build_java_arraystore_check): Unwrap SAVE_EXPR's when
	examining OBJECT.

From-SVN: r50571
2002-03-11 11:25:49 +00:00
Jakub Jelinek
29fd41c87e re PR rtl-optimization/5844 (Bad code generated for -O2 -mcpu=i586)
PR optimization/5844
	* gcc.dg/20020310-1.c: New test.

From-SVN: r50565
2002-03-11 11:02:51 +01:00
GCC Administrator
93496db7a8 Daily bump.
From-SVN: r50561
2002-03-11 08:16:19 +00:00
Bryce McKinlay
f07b54ceb5 * include/posix.h: Add multiple include header protection.
From-SVN: r50560
2002-03-11 04:22:41 +00:00
Adam Megacz
c025d051a3 natPlainSocketImpl.cc: Removed #include "posix.h".
2002-03-10  Adam Megacz <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: Removed #include "posix.h".

From-SVN: r50558
2002-03-11 03:43:56 +00:00
Hans-Peter Nilsson
784bef3dd9 * gcc.c-torture/execute/20020227-1.c: New test.
From-SVN: r50557
2002-03-11 02:07:50 +00:00
Adam Megacz
413a6730fc natPlainSocketImpl.cc: Added #include <platform.h>.
2002-03-10  Adam Megacz <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.

From-SVN: r50555
2002-03-11 01:30:45 +00:00
Richard Henderson
e88c529ee4 reload.c (copy_replacements_1): New.
* reload.c (copy_replacements_1): New.
        (copy_replacements): Use it to recurse through the rtx.

From-SVN: r50554
2002-03-10 15:52:00 -08:00
Richard Henderson
1ef4956d35 sched-rgn.c (add_branch_dependences): Don't allow insns that throw to move away from the end of the block.
* sched-rgn.c (add_branch_dependences): Don't allow insns that throw
        to move away from the end of the block.

From-SVN: r50549
2002-03-10 15:40:44 -08:00
Neil Booth
4a58ee54e7 re PR preprocessor/5899 (-M disables -dM)
PR preprocessor/5899
	* cppinit.c (init_dependency_output): Don't ignore -dM etc.

From-SVN: r50546
2002-03-10 21:33:42 +00:00
Anthony Green
05c7a16498 Fix mingw cross builds
From-SVN: r50540
2002-03-10 19:25:08 +00:00
Tom Tromey
48ddaff99e Win32Process.java: Added comment.
* java/lang/Win32Process.java: Added comment.
	* include/posix.h (_Jv_platform_close_on_exec): New function.
	Include fcntl.h.
	* include/win32.h (_Jv_platform_close_on_exec): New function.
	* java/net/natPlainSocketImpl.cc (create): Set close-on-exec
	flag.
	(accept): Likewise.
	* java/net/natPlainDatagramSocketImpl.cc (create): Set
	close-on-exec flag.
	* java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
	flag.

From-SVN: r50537
2002-03-10 18:00:06 +00:00
Kaveh R. Ghazi
aa7fc667da * combine.c (make_extraction): Fix error in last change.
From-SVN: r50534
2002-03-10 17:16:50 +00:00
GCC Administrator
5d41893367 Daily bump.
From-SVN: r50528
2002-03-10 08:16:13 +00:00
Tom Tromey
ab2826ae50 verify.cc (state::NO_STACK): New constant.
* verify.cc (state::NO_STACK): New constant.
	(state::is_unmerged_ret_state): Handle case where stacktop is
	NO_STACK.
	(state::merge): Handle NO_STACK merges.
	(handle_jsr_insn): Invalidate PC, and use special NO_STACK state
	for instruction following jsr.
	(stacktop, stackdepth): Removed unused variables.
	(pop_jump): Ignore case where all remaining states are skipped.

From-SVN: r50527
2002-03-10 04:50:55 +00:00
Bryce McKinlay
9475af48ce ImageMediaEntry: Removed.
* java/awt/ImageMediaEntry: Removed.
	* java/awt/MediaEntry: Removed.

From-SVN: r50525
2002-03-10 03:58:01 +00:00
No Author
05abc96444 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50521
2002-03-10 03:44:41 +00:00
Adam Megacz
5b4d22efbc natFileDescriptorWin32.cc (read): Return -1 if zero bytes read and no failure code returned.
2002-03-09  Adam Megacz  <adam@xwt.org>

        * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
        bytes read and no failure code returned.

From-SVN: r50520
2002-03-10 03:34:59 +00:00
Bryce McKinlay
811f17ca56 configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self.
libjava:
	* configure.in: Define SLOW_PTHREAD_SELF if configure.host set
	slow_pthread_self. Set up symlink for sysdeps directory.
	* configure.host: Document more shell variables. Set sysdeps_dir
	for most platforms. Set slow_pthread_self for i686. Set
	enable_hash_synchronization_default and slow_pthread_self for PowerPC.
	* posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
	that memory barrier is emitted where required.
	* include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
	read_barrier() to enforce ordering of reads.
	* sysdep/powerpc/locks.h: New file. Implementation of synchronization
	primitives for PowerPC.
	* sysdep/i386/locks.h: New file. Synchronization primitives for i386
	moved from natObject.cc.
	* sysdep/alpha/locks.h: Likewise.
	* sysdep/ia64/locks.h: Likewise.
	* sysdep/generic/locks.h: Likewise.
	* java/lang/natObject.cc: Move thread synchronization primitives to
	system-dependent headers.

gcc/java:
	* decl.c (java_init_decl_processing): Make sure class_type_node
	alignment is not less than 64 bits if hash synchronization is enabled.

boehm-gc:
	* include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
	support is enabled, for hash synchronization.

[[Split portion of a mixed commit.]]

From-SVN: r50518.1
2002-03-10 03:31:08 +00:00
Adam Megacz
e763bf45ea 2002-03-09 Adam Megacz <adam@xwt.org>
* win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
        definitions to simulate -mthreads.

From-SVN: r50513
2002-03-09 22:33:15 +00:00
Adam Megacz
f9dc85767a 2002-03-09 Adam Megacz <adam@xwt.org>
* win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
        avoid precision loss.

From-SVN: r50512
2002-03-09 22:08:41 +00:00
Jakub Jelinek
655d92fff7 PR optimization/5172, optimization/5200
PR optimization/5172, optimization/5200
	* gcse.c (gcse_main): Disable store_motion.

From-SVN: r50508
2002-03-09 21:53:14 +01:00
Andreas Schwab
d143010d3b * gcc.c (validate_all_switches): Also handle `%W{...}'.
From-SVN: r50506
2002-03-09 19:56:15 +00:00
Per Bothner
3ff750c9d9 parse.y (java_complete_lhs): Check if patch_assignment returned an error-mark.
* parse.y (java_complete_lhs):  Check if patch_assignment
	returned an error-mark.

	* parse.y (try_builtin_assignconv):  Don't special-case zero.

From-SVN: r50502
2002-03-09 09:23:14 -08:00
Per Bothner
4925accb22 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
* gnu/gcj/xlib/XImage.java:  Likewise.
	* gnu/gcj/xlib/XColor.java:  Likewise.

From-SVN: r50501
2002-03-09 09:20:49 -08:00
Jakub Jelinek
e6553a9a06 * gcc.c-torture/execute/va-arg-22.c: New test.
From-SVN: r50496
2002-03-09 14:26:05 +01:00
Jakub Jelinek
f4bc10c709 re PR middle-end/5877 (negative offset to array index leads to inefficient code)
PR middle-end/5877
	* expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
	even for non-representable constants.

From-SVN: r50494
2002-03-09 14:20:50 +01:00
Richard Kenner
3a44173bea emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
* emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
	* function.c (fixup_var_refs): Add MAY_SHARE parameter.
	(fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
	(fixup_var_refs_insn, fixup_var_refs_1): Likewise.
	(pop_function_context): Compute MAY_SHARE parameter for
	fixup_var_refs.
	(fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
	(gen_mem_addressof): Call fixup_var_refs with new parm.

From-SVN: r50492
2002-03-09 07:49:52 -05:00
Richard Kenner
a0a283d05d * combine.c (make_extraction): Don't make extension of CONST_INT.
From-SVN: r50490
2002-03-09 07:25:15 -05:00
Adam Megacz
6d4433fe19 Win32Process.java (ConcreteProcess): Now throws an IOException so that Throwable.printStackTrace fails correctly.
2002-03-09  Adam Megacz  <adam@xwt.org>

        * java/lang/Win32Process.java (ConcreteProcess): Now throws an
        IOException so that Throwable.printStackTrace fails correctly.

From-SVN: r50487
2002-03-09 08:46:55 +00:00
GCC Administrator
7993a0bcc2 Daily bump.
From-SVN: r50483
2002-03-09 08:16:41 +00:00
Adam Megacz
f2ad476b51 natPlainSocketImpl.cc (read, [...]): Formatting fixed.
2002-03-08  Adam Megacz  <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
        fixed.

From-SVN: r50482
2002-03-09 07:57:14 +00:00
Bryce McKinlay
938f86278e posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get truncated to int.
* posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
        truncated to int.

From-SVN: r50477
2002-03-09 05:44:26 +00:00
Craig Rodrigues
2787f9eaee cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of conditional return void.
2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of
        conditional return void.

From-SVN: r50474
2002-03-09 02:24:29 +00:00
Kaveh R. Ghazi
cd1f688539 * sparc.c (arith_4096_operand): Fix error in last change.
From-SVN: r50469
2002-03-09 01:41:34 +00:00
Aldy Hernandez
5294248f44 rs6000.c (rs6000_va_arg): Fix alignment for vectors.
2002-03-08  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
        vectors.

From-SVN: r50464
2002-03-08 22:40:41 +00:00
Aldy Hernandez
7a5541c2cc sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
2002-03-08  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.

From-SVN: r50461
2002-03-08 22:28:21 +00:00
Benjamin Kosnik
5a6ecc810b [multiple changes]
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.

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/loqcale_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.

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: r50459
2002-03-08 22:25:45 +00:00
Tom Tromey
2c0953e62a * include/jni.h: Include stdio.h.
From-SVN: r50458
2002-03-08 21:38:44 +00:00
Per Bothner
25118cd30a re PR java/5812 (GCJ 3.0.2 segfaults on class file from Sun JDK 1.3 compiler)
Fix for PR java/5812.
	* expr.c (build_java_jsr):  Take pc arguments, and do lookup_label
	gere instead of in JSR macro.  Likewise with load_type_state call.
	Do the latter on if the return_pc has been verified (the jsr returns).
	(JSR):  No just call build_java_jsr.

From-SVN: r50456
2002-03-08 13:02:50 -08:00
Phil Edwards
d4c35c6895 basic_string.h (basic_string::_S_construct): Fix names in declaration.
2002-03-08  Phil Edwards  <pme@gcc.gnu.org>

	* 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: r50450
2002-03-08 19:28:32 +00:00
Phil Edwards
20ad6c172b re PR libstdc++/5734 (2 extensions (empty push_back() and is_sorted()) are not documented)
2002-03-08  Phil Edwards  <pme@gcc.gnu.org>

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

From-SVN: r50448
2002-03-08 18:54:19 +00:00
Tom Tromey
a785a805fc posix.cc (internal_gettimeofday): New function.
* posix.cc (internal_gettimeofday): New function.
	(_Jv_select): Use it.

From-SVN: r50443
2002-03-08 16:35:10 +00:00
Craig Rodrigues
785a663c63 install.texi (--with-libiconv-prefix): Document.
2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>

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

From-SVN: r50441
2002-03-08 15:29:19 +00:00
Michael Y. Brukman
7071d233a6 * doc/sourcebuild.texi: Fix typo.
From-SVN: r50440
2002-03-08 14:43:54 +00:00
Jakub Jelinek
ca9039ce2b * gcc.c-torture/execute/20020307-2.c: New test.
From-SVN: r50437
2002-03-08 14:43:56 +01:00
Jakub Jelinek
05367b1c97 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: r50436
2002-03-08 14:39:52 +01:00
Richard Kenner
c9220e5a0d 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: r50434
2002-03-08 07:26:45 -05:00
Richard Earnshaw
61e751e3dc 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: r50433
2002-03-08 10:55:56 +00:00
Richard Earnshaw
f78737c9e0 * gcc.c-torture/execute/20020307-1.c: New test.
From-SVN: r50432
2002-03-08 10:54:44 +00:00
No Author
de84dc92ac This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50431
2002-03-08 10:54:44 +00:00
GCC Administrator
c97a028a6b Daily bump.
From-SVN: r50427
2002-03-08 08:16:30 +00:00
Adam Megacz
b8e6ea4f18 Somehow these didn't make it in with my last commit.
Somehow these didn't make it in with my last commit. ChangeLog already
filled out.

From-SVN: r50421
2002-03-08 02:36:30 +00:00
Adam Megacz
c362baed87 natSystem.cc (currentTimeMillis): Now uses updated _Jv_platform_gettimeofday signature.
2002-03-07  Adam Megacz  <adam@xwt.org>

        * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
       _Jv_platform_gettimeofday signature.

From-SVN: r50420
2002-03-08 02:31:13 +00:00
Adam Megacz
d9f503ddb3 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: r50419
2002-03-08 01:50:35 +00:00
Adam Megacz
4a9f4b09f0 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: r50417
2002-03-08 01:45:59 +00:00
Adam Megacz
85975a39c0 FileDescriptor.java: Initialize in/out/err in init().
2002-03-07  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: r50415
2002-03-08 00:43:29 +00:00
Ulrich Weigand
6ea7db551d 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: r50413
2002-03-07 22:05:38 +00:00
H.J. Lu
578ec9bf2f 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: r50409
2002-03-07 11:30:54 -08:00
GCC Administrator
d4cd1f9e3f Daily bump.
From-SVN: r50395
2002-03-07 08:16:14 +00:00
Aldy Hernandez
cdeaf41455 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: r50394
2002-03-07 06:59:09 +00:00
Bryce McKinlay
dd4b4ec621 Correct Date
From-SVN: r50390
2002-03-07 01:52:26 +00:00
Bryce McKinlay
cafb78f86b natPlainSocketImpl.cc (_Jv_recv): Removed.
* java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
	(read): Call recv() directly, not _Jv_recv().

From-SVN: r50389
2002-03-07 01:51:45 +00:00
Jeff Law
e524a5d733 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: r50388
2002-03-06 17:18:13 -08:00
Richard Henderson
9781e87e49 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: r50385
2002-03-06 17:15:03 -08:00
Tom Tromey
e95684b6d3 config.h.in: Rebuilt.
* include/config.h.in: Rebuilt.
	* configure: Rebuilt.
	* Makefile.in: Rebuilt.

From-SVN: r50382
2002-03-06 23:15:16 +00:00
Ulrich Weigand
704f5da4a4 simplify-rtx.c (simplify_plus_minus): Do not abort, but simply fail if the expression is too complex to simplify.
* 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: r50379
2002-03-06 22:43:21 +00:00
Ulrich Weigand
d75c4602bc * reload1.c (reload): Unshare all rtl after reload is done.
From-SVN: r50377
2002-03-06 22:32:39 +00:00
Eric Blake
74b1875a09 unicode-decomp.pl: Move from chartables.pl...
2002-03-06  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: r50370
2002-03-06 19:13:01 +00:00
No Author
90681dec69 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50369
2002-03-06 19:13:01 +00:00
Jakub Jelinek
cdca51271c 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: r50360
2002-03-06 17:58:53 +01:00
GCC Administrator
19bbff934b Daily bump.
From-SVN: r50350
2002-03-06 08:16:33 +00:00
Bryce McKinlay
c8ce58256f MediaTracker.java: Implemented.
* java/awt/MediaTracker.java: Implemented.
        * Makefile.am: Add MediaTracker.
        * Makefile.in: Rebuilt.

From-SVN: r50348
2002-03-06 08:08:19 +00:00
Zack Weinberg
3b6e81a947 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: r50347
2002-03-06 07:51:06 +00:00
John David Anglin
d3244547be 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: r50344
2002-03-06 05:20:29 +00:00
Tom Tromey
2fadde235c natPosixProcess.cc (fail): Removed.
* java/lang/natPosixProcess.cc (fail): Removed.
	(startProcess): Simplified error-handling.  Preserve
	LD_LIBRARY_PATH across exec.

From-SVN: r50343
2002-03-06 05:14:38 +00:00
Richard Henderson
ab02e8446b * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
From-SVN: r50340
2002-03-05 16:07:20 -08:00
Tom Tromey
6eaf690b74 jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError.
* jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
	AbstractMethodError.

From-SVN: r50338
2002-03-05 22:40:01 +00:00
Benjamin Kosnik
b47931bac9 RELEASE-NOTES: Fix usage.
2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>

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

From-SVN: r50334
2002-03-05 21:22:15 +00:00
Jakub Jelinek
088d21eec2 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: r50333
2002-03-05 22:18:12 +01:00
Benjamin Kosnik
6eeba12c64 RELEASE-NOTES: Update.
2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>

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

From-SVN: r50329
2002-03-05 20:26:02 +00:00
Ira Ruben
1a3da9df0c This is the documentation for -### that I forgot to add when -### was
originally added.

From-SVN: r50327
2002-03-05 20:17:28 +00:00
Paolo Carlini
2ebc2e050e 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: r50325
2002-03-05 19:05:07 +00:00
Jakub Jelinek
46b0d60ec1 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: r50322
2002-03-05 19:19:23 +01:00
Jakub Jelinek
49217ec458 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: r50316
2002-03-05 12:22:35 +01:00
No Author
c00c5bffda This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50315
2002-03-05 11:22:35 +00:00
Jakub Jelinek
150c467b71 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: r50313
2002-03-05 12:04:38 +01:00
No Author
4f8af10714 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50312
2002-03-05 11:04:38 +00:00
GCC Administrator
04a6a43234 Daily bump.
From-SVN: r50307
2002-03-05 08:16:45 +00:00
David Billinghurst
ed34395505 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: r50303
2002-03-05 05:09:31 +00:00
Richard Henderson
5b259de63f 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: r50302
2002-03-05 04:34:13 +00:00
Krister Walfridsson
16e83e824a * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
From-SVN: r50300
2002-03-04 19:13:25 -08:00
Joseph Myers
a7d9317b0a configure.in: Increase required makeinfo version to 4.1.
* configure.in: Increase required makeinfo version to 4.1.
	* configure: Regenerate.

From-SVN: r50295
2002-03-05 00:41:05 +00:00
Craig Rodrigues
3ff9a43be6 porting-howto.xml: Refer to http://www.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: r50292
2002-03-04 23:03:20 +00:00
Adam Megacz
b1286bac46 natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'.
2002-03-04  Adam Megacz <adam@xwt.org>

	* java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
	'#undef STRICT'.

From-SVN: r50286
2002-03-04 20:02:19 +00:00
Joseph Myers
94a6e30a14 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: r50285
2002-03-04 19:07:58 +00:00
Zack Weinberg
a40248df5c New test case (from PR c/5830).
From-SVN: r50281
2002-03-04 17:20:28 +00:00
No Author
6995aaa8f4 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50280
2002-03-04 17:20:28 +00:00
GCC Administrator
7d70292b0a Daily bump.
From-SVN: r50272
2002-03-04 08:16:35 +00:00
Bryce McKinlay
b3b4e64b00 Makefile.am: Use -bootclasspath, not -CLASSPATH.
* Makefile.am: Use -bootclasspath, not -CLASSPATH.
	* Makefile.in: Rebuilt.

From-SVN: r50269
2002-03-04 00:59:10 +00:00
Mark Wielaard
677b388b0f * java/util/Timer (TaskQueue.stop): set elements to zero.
From-SVN: r50267
2002-03-03 23:21:35 +00:00
Phil Edwards
51db7a3c6f Add missing PR tag for previous commit.
From-SVN: r50261
2002-03-03 17:52:52 +00:00
Phil Edwards
ae8aef9e59 std_sstream.h: Remove trailing spaces.
2002-03-03  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_sstream.h:  Remove trailing spaces.
	(basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
	* testsuite/27_io/stringbuf.cc (test05, test06):  New tests.

From-SVN: r50259
2002-03-03 17:50:56 +00:00
Paolo Carlini
262ffc7d04 num_get_members_char.cc (test04): Use a named locale expecting grouping (de_DE).
2002-03-03  Paolo Carlini  <pcarlini@unitus.it>

        * testsuite/22_locale/num_get_members_char.cc (test04):
	Use a named locale expecting grouping (de_DE).
        * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
	Ditto.
        * testsuite/27_io/ios_manip_basefield.cc (test01):
	Extend coverage, uniform treatment of hexs and octs.

From-SVN: r50251
2002-03-03 09:07:16 +00:00
Per Bothner
fab76a82ba Make --CLASSPATH by a synonym for --classpath and -classpath.
Implement --bootclasspath.

From-SVN: r50249
2002-03-03 00:38:37 -08:00
Per Bothner
0f36c42ea2 gcc.c (option_map): Suport new --bootclasspath option.
* gcc.c (option_map):  Suport new --bootclasspath option.
	--CLASSPATH is now just an alias for --classpath.

From-SVN: r50248
2002-03-03 00:36:48 -08:00
GCC Administrator
5e9bb794ba Daily bump.
From-SVN: r50242
2002-03-03 08:16:21 +00:00
Nathan Sidwell
30bda92357 cp:server: command not found.
PR c++/775
        * decl.c (lookup_tag): Only reject enum/class mismatch, not
        class/union mismatch.
        * parse.y (check_class_key): New function.
        (structsp): Call it.
testsuite:
        * g++.dg/other/classkey1.C: New test.

From-SVN: r50232
2002-03-02 19:54:36 +00:00
No Author
d027397a34 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50231
2002-03-02 19:54:36 +00:00
Alexandre Petit-Bianco
bd58dbc1c4 Fix for PR java/5758, java/5632:
2002-02-28  Alexandre Petit-Bianco  <apbianco@redhat.com>

	Fix for PR java/5758, java/5632:
	* jcf-parse.c (load_class): Renamed local variable, consider `.' an
	inner-class separator too.
	* parse.y (do_resolve_class): New local `decl_result.'
	Progressively build a name for what can have been loaded.

From-SVN: r50229
2002-03-02 09:58:55 -08:00
Richard Kenner
526921692d sparc.c (sparc_initialize_trampoline): Use trunc_int_for_mode.
* config/sparc/sparc.c (sparc_initialize_trampoline): Use
	trunc_int_for_mode.

From-SVN: r50225
2002-03-02 08:49:05 -05:00
Richard Kenner
80ead968ef * emit-rtl.c (offset_address): Call update_temp_slot_address.
From-SVN: r50224
2002-03-02 06:38:49 -05:00
GCC Administrator
5f5b7fa35e Daily bump.
From-SVN: r50219
2002-03-02 08:16:21 +00:00
Richard Henderson
5921f65cfa ia64.c (ia64_initial_elimination_offset): Do not adjust argument_pointer by pretend_args_size.
* config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
        adjust argument_pointer by pretend_args_size.
        (ia64_va_start): Adjust va_start address by -pretend_args_size.

From-SVN: r50210
2002-03-01 15:54:50 -08:00
Zack Weinberg
8e4c9961bd cpp.texi: Clarify documentation of relationship between #line and #include.
* doc/cpp.texi: Clarify documentation of relationship between
	#line and #include.

From-SVN: r50209
2002-03-01 22:20:31 +00:00
Benjamin Kosnik
b057b2130d basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
	Adjust comment.
	* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
	(basic_ios::_M_fill_init): New.
	(basic_ios::fill()): Delay dealing with _M_fill.
	Adjust comment.
	* ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
	(ios_base::_M_call_callbacks): Adjust.
	* testsuite/27_io/ios_init.cc (test02): Adjust testcase.

From-SVN: r50206
2002-03-01 20:47:46 +00:00
Paolo Carlini
3adfd94b4f locale_facets.tcc (num_get::_M_extract_int): Admit grouping for octals and hexadecimals too.
2002-03-01  Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/locale_facets.tcc (num_get::_M_extract_int):
        Admit grouping for octals and hexadecimals too.
        * testsuite/22_locale/num_get_members_char.cc: Add test04.
        (test01): Tweak "." -> "," in void* test.
        * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.

        * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
        * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.

	* testsuite/27_io/ios_manip_basefield.cc (test01):
	Fix for 64 bit machines.

From-SVN: r50203
2002-03-01 19:03:21 +00:00
Richard Henderson
0c78db226f 981223-1.x: New.
* gcc.c-torture/compile/981223-1.x: New.
        * gcc.c-torture/compile/920625-1.x: New.

From-SVN: r50201
2002-03-01 10:38:22 -08:00
Michael Matz
69ef166432 typeck.c (cp_pointer_int_sum): Complete inner type which is used later by size_in_bytes().
2002-03-01  Michael Matz  <matz@suse.de>

        * typeck.c (cp_pointer_int_sum): Complete inner type which is
        used later by size_in_bytes().

From-SVN: r50198
2002-03-01 13:52:31 +00:00
Anthony Green
21956ee220 FFI_TYPE_POINTER fix
From-SVN: r50195
2002-03-01 13:41:16 +00:00
Phil Edwards
82a2ab4dfa cp-tree.h (build_init): Remove prototype.
2002-03-01  Phil Edwards  <pme@gcc.gnu.org>

	* cp-tree.h (build_init):  Remove prototype.

From-SVN: r50194
2002-03-01 10:56:15 +00:00
GCC Administrator
c787608688 Daily bump.
From-SVN: r50187
2002-03-01 08:18:24 +00:00
Richard Henderson
c71eea43d7 expmed.c (store_bit_field): Prevent generation of CONCATs...
* expmed.c (store_bit_field): Prevent generation of CONCATs;
        pun complex values as integers; use gen_lowpart instead of
        gen_rtx_SUBREG.
        (extract_bit_field): Likewise.

From-SVN: r50186
2002-03-01 00:14:52 -08:00
Phil Edwards
84d72c9a7a cp-tree.h: Require __GNUC__ to be #defined.
2002-03-01  Phil Edwards  <pme@gcc.gnu.org>

	* cp-tree.h:  Require __GNUC__ to be #defined.
	(build_init):  Add missing prototype.

From-SVN: r50184
2002-03-01 07:20:46 +00:00
David O'Brien
b7f06f59fa backport: config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification of "ultrasparc".
Merge from mainline.
	2002-02-28  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
	of "ultrasparc".
	* config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS.  It appears
	to be broken.

From-SVN: r50182
2002-03-01 06:56:45 +00:00
Richard Henderson
2318c32a47 * g++.dg/opt/vtgc1.C: Adjust patterns for ia64.
From-SVN: r50178
2002-02-28 18:38:51 -08:00
Richard Henderson
55e54e7bc6 linker-map.gnu: Export operator new with unsigned long, and with std::nothrow_t.
* config/linker-map.gnu: Export operator new with unsigned long,
        and with std::nothrow_t.  Likewise operator delete.

From-SVN: r50175
2002-02-28 17:27:14 -08:00
Alexandre Oliva
8dd913eab1 gcc.c (init_gcc_specs): Get -static and -static-libgcc to override -shared and -shared-libgcc.
* gcc.c (init_gcc_specs): Get -static and -static-libgcc to
override -shared and -shared-libgcc.

From-SVN: r50173
2002-03-01 00:54:42 +00:00
Andrew MacLeod
1f0df6a2d3 dwarf2out.c (stack_adjust_offset): Add support for POST_INC, POST_DEC, and POST_MODIFY.
2002-02-27  Andrew MacLeod  <amacleod@redhat.com>

        * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
        POST_DEC, and POST_MODIFY.

From-SVN: r50172
2002-03-01 00:51:27 +00:00
Alexandre Oliva
e6b8542065 configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava.
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Explain why -shared-libgcc here.

From-SVN: r50170
2002-03-01 00:50:13 +00:00
Bryce McKinlay
830b8651c1 * expr.c (build_java_arraystore_check): Fix formatting.
From-SVN: r50168
2002-02-28 23:27:31 +00:00
Joseph Myers
75d93731a9 invoke.texi, [...]: Link to gcc-3.1/c99status.html.
* doc/invoke.texi, doc/standards.texi: Link to
	gcc-3.1/c99status.html.

From-SVN: r50166
2002-02-28 23:12:48 +00:00
Richard Henderson
a9f4d7029d ia64.c (ia64_adjust_cost): All non-MM consumers have 4 cycle latency from MM producers.
* config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
        4 cycle latency from MM producers.
        (ia64_internal_sched_reorder): Likewise with pipeline flush.

From-SVN: r50159
2002-02-28 11:44:48 -08:00
Jakub Jelinek
68f8370389 * mklibgcc.in: Don't use GNU make extension.
From-SVN: r50157
2002-02-28 19:59:52 +01:00
Richard Henderson
926a74f1a2 haifa-sched.c (sched_emit_insn): New.
* haifa-sched.c (sched_emit_insn): New.
        (schedule_block): Use last_scheduled_insn to track last insn.
        * sched-int.h (sched_emit_insn): Prototype.
        * config/ia64/ia64.c (last_issued): Remove.
        (ia64_variable_issue): Don't set it.
        (nop_cycles_until): Use sched_emit_insn.

From-SVN: r50151
2002-02-28 10:29:09 -08:00
Benjamin Kosnik
d6e9401da8 basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>

        * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
        Adjust comment.
        * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
        (basic_ios::_M_fill_init): New.
        (basic_ios::fill()): Delay dealing with _M_fill.
        Adjust comment.
        * testsuite/27_io/ios_init.cc (test02): Adjust testcase.

From-SVN: r50149
2002-02-28 16:50:19 +00:00
Bo Thorsen
4cc7340619 linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
2002-02-28  Bo Thorsen  <bo@suse.de>

	* config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
	(STARTFILE_SPEC): Add 64 bit files.
	(ENDFILE_SPEC): Likewise.

From-SVN: r50145
2002-02-28 17:06:20 +01:00
Jan Hubicka
054efa73d9 cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
* cfgrtl.c (purge_dead_edges): Fix handling of EH edges.

	* i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
	PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM

	* x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Always define.

From-SVN: r50142
2002-02-28 15:45:54 +00:00
Jason Merrill
8fdc55170e search.c (lookup_base_r): Don't clear is_non_public just because we found a friendly scope.
* search.c (lookup_base_r): Don't clear is_non_public just because
        we found a friendly scope.

From-SVN: r50141
2002-02-28 10:34:27 -05:00
Jason Merrill
e43cae6719 fix broken checkin
From-SVN: r50139
2002-02-28 10:29:10 -05:00
David Edelsohn
d9f019f30b [multiple changes]
2002-02-28  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
        * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.

2002-02-28  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.

From-SVN: r50136
2002-02-28 09:44:15 -05:00
Loren J. Rittle
fdf1be04ad From mainline
2002-02-28  Loren Rittle  <ljrittle@acm.org>

        * include/Makefile.am (thread_target_headers): Unconditionally
        stage and install gthr-posix.h.
        (${target_builddir}/gthr-posix.h): New rule cloned off
        ${target_builddir}/gthr-default.h.
        (${target_builddir}/gthr-default.h): Support chained inclusion
        of gthr support headers.
        * include/Makefile.in: Rebuilt.

From-SVN: r50135
2002-02-28 09:29:40 -05:00
Jason Merrill
3b5f2209d2 c-decl.c (finish_function): Only warn about missing return statement with -Wreturn-type.
* c-decl.c (finish_function): Only warn about missing return
        statement with -Wreturn-type.
        * cp/decl.c (finish_function): Only warn about missing return
        statement with -Wreturn-type.

From-SVN: r50134
2002-02-28 08:57:39 -05:00
Bryce McKinlay
beca58816c expr.c (java_array_data_offset): Removed function.
* expr.c (java_array_data_offset): Removed function.
	(JAVA_ARRAY_LENGTH_OFFSET): Removed macro.
	(build_java_array_length_access): Obtain "length" value using a
	COMPONENT_REF, instead of INDIRECT_REF and arithmetic.
	(build_java_arrayaccess): Correct comment. Access "data" using a
	COMPONENT_REF, and return an ARRAY_REF instead of an INDIRECT_REF.
	(build_java_arraystore_check): New function.
	(expand_java_arraystore): Use build_java_arraystore_check.
	* parse.y (patch_assignment): Simplify code to insert a store check
	when lvalue is an ARRAY_REF. Use build_java_arraystore_check.
	* check-init.c (check_init): Update to reflect that an array length
	access is now a COMPONENT_REF.
	* gcj.texi (Code Generation): Improve documentation of
	-fno-bounds-check. Add documentation for -fno-store-check.
	* java-tree.h (flag_store_check): Declare.
	(build_java_arraystore_check): Declare.
	* lang.c (flag_store_check): Initialize to 1.
	(lang_f_options): Add store-check option.
	* jvspec.c: Don't pass store-check option to jvgenmain.
	* lang-options.h: Add help string for -fno-store-check.

From-SVN: r50131
2002-02-28 11:42:10 +00:00
GCC Administrator
83ec9a87ee Daily bump.
From-SVN: r50123
2002-02-28 08:16:18 +00:00
Zack Weinberg
aadf212769 * mklibgcc.in: Don't use \n in a line subject to interpretation by echo.
From-SVN: r50119
2002-02-28 00:58:07 +00:00
Ulrich Weigand
5a0a12066a s390.c (s390_chunkify_pool): Do not confuse insn UIDs with insn addresses.
* config/s390/s390.c (s390_chunkify_pool): Do not confuse
	insn UIDs with insn addresses.

From-SVN: r50113
2002-02-27 20:23:24 +00:00
Graham Stott
67468025a2 rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): Constify NAME.
* config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
        Constify NAME.

From-SVN: r50107
2002-02-27 15:24:04 +00:00
Graham Stott
de0ba1f391 * final.c (output_operand_lossage): Constify PFX_STR.
From-SVN: r50106
2002-02-27 15:23:18 +00:00
Graham Stott
f16e627ee6 unroll.c (loop_iterations): Return 0 if the add_val for a BIV is REG.
* unroll.c (loop_iterations): Return 0 if the add_val for
        a BIV is REG.

From-SVN: r50105
2002-02-27 15:22:42 +00:00
Graham Stott
a88044bc65 * loop.c (prescan_loop): Handle PARALLEL.
From-SVN: r50104
2002-02-27 15:21:58 +00:00
Graham Stott
57f2f8e463 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
From-SVN: r50103
2002-02-27 15:20:42 +00:00
GCC Administrator
837b8c6203 Daily bump.
From-SVN: r50092
2002-02-27 08:17:47 +00:00
Tom Tromey
9d0142a0d1 natSystem.cc (init_properties): Use __VERSION__.
* java/lang/natSystem.cc (init_properties): Use __VERSION__.
	* gij.cc (version): Use __VERSION__.
	* include/config.h.in: Rebuilt.
	* acconfig.h (GCJVERSION): Removed.
	* configure: Rebuilt.
	* configure.in (GCJVERSION): Removed.

From-SVN: r50089
2002-02-27 05:37:47 +00:00
Andreas Schwab
9bb973613b acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of glibcpp_CXX, since libjava uses even another CXX.
2002-02-26  Andreas Schwab  <schwab@suse.de>

	* acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
	glibcpp_CXX, since libjava uses even another CXX.
	* aclocal.m4, configure: Regenerated.

From-SVN: r50086
2002-02-27 02:22:33 +00:00
Richard Henderson
a22d380b4d * config/alpha/alpha.md (ashldi_se): Re-enable.
From-SVN: r50085
2002-02-26 18:20:00 -08:00
Tom Tromey
d5694d9aad natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'.
* java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
	`1'.

From-SVN: r50080
2002-02-27 01:38:57 +00:00
Richard Henderson
bb6ff7a3a4 i386.c (print_operand): Don't append ATT-style length suffixs to x87 opcodes when in Intel mode.
* config/i386/i386.c (print_operand): Don't append ATT-style
        length suffixs to x87 opcodes when in Intel mode.

From-SVN: r50074
2002-02-26 16:28:20 -08:00
Richard Henderson
38dc6ee8c4 emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
* emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
        (init_emit_once): Update calls.
        * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
        (init_syntax_once): Prototype.

From-SVN: r50073
2002-02-26 16:23:56 -08:00
John David Anglin
27a0c9a1fc pa-linux.h (LIB_SPEC): Update definition.
* pa-linux.h (LIB_SPEC): Update definition.
	* pa32-linux.h (LINK_COMMAND_SPEC): Delete.

From-SVN: r50070
2002-02-26 23:29:24 +00:00
Alexandre Oliva
b92b401fd7 dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, generate a die for the lexical block.
* dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
generate a die for the lexical block.

From-SVN: r50068
2002-02-26 22:57:24 +00:00
Richard Henderson
973f5b47b7 expr.c (expand_expr): Do not apply distributive law in EXPAND_SUM case.
* expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
        in EXPAND_SUM case.  Use host_integerp/tree_low_cst.

From-SVN: r50067
2002-02-26 14:44:48 -08:00
Richard Henderson
d42f22cefb ia64.c (nop_cycles_until): Do init_insn_group_barriers if we emitted a stop bit.
* config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
        if we emitted a stop bit.

From-SVN: r50066
2002-02-26 14:43:08 -08:00
Jakub Jelinek
d25b1d0a67 configure.in (libgcc_visibility): Substitute.
* configure.in (libgcc_visibility): Substitute.
	* configure: Rebuilt.
	* mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
	defined symbols .hidden.

From-SVN: r50064
2002-02-26 22:45:27 +01:00
Paolo Carlini
aa0b14a205 locale_facets.tcc (num_put::_M_widen_int): Group all the integral types, not only decs.
2002-02-26  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
	Group all the integral types, not only decs.
	* testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
	tests, add a few more.

From-SVN: r50062
2002-02-26 21:24:58 +00:00
Jakub Jelinek
15a51ad760 re PR debug/5770 (undefined reference to `.LC0')
PR debug/5770
	* dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
	STRING_CST initializer spanning the whole variable without
	embedded zeros.
	If expand_expr returned MEM, don't use it.

	* g++.dg/debug/debug4.C: New test.

From-SVN: r50060
2002-02-26 22:13:19 +01:00
No Author
443be906bf This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50059
2002-02-26 21:13:19 +00:00
GCC Administrator
557bfaaf39 Daily bump.
From-SVN: r50050
2002-02-26 08:16:37 +00:00
Mark Mitchell
8a1e858d60 Daily bump.
From-SVN: r50041
2002-02-26 06:11:21 +00:00
Mark Mitchell
1b2ee9ad11 Daily bump.
From-SVN: r50038
2002-02-26 06:05:41 +00:00
Mark Mitchell
4da613dc7f Clear DEVELOPMENT
From-SVN: r50037
2002-02-26 05:51:57 +00:00
Mark Mitchell
cf5e29e951 Set version numbers for branch
From-SVN: r50035
2002-02-26 05:47:32 +00:00
No Author
a9a0b6aac6 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50034
2002-02-26 05:47:32 +00:00
2361 changed files with 124661 additions and 211820 deletions

132
ChangeLog
View File

@@ -1,3 +1,135 @@
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-04 Alexandre Oliva <aoliva@redhat.com>
* configure.in (noconfigdirs): Don't disable libgcj on
sparc64-*-solaris* and sparcv9-*-solaris*.
2002-05-03 Alexandre Oliva <aoliva@redhat.com>
* configure.in: Revert 2002-04-18's patch; fixed in libjava.
2002-04-29 Roger Sayle <roger@eyesopen.com>
* MAINTAINERS: Synchronize with mainline.
2002-04-26 Joel Sherrill <joel@OARcorp.com>
* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
(sparc-*-elf*, sparc64-*-elf*): Disable libgcj.
2002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
* configure.in: Disable libgcj on s390-linux targets.
2002-04-19 Mark Mitchell <mark@codesourcery.com>
* MAINTAINERS: Add information about purpose of this file.
2002-04-18 Tom Tromey <tromey@redhat.com>
* configure.in: Disallow configuring libgcj when it is already
installed and we're using Solaris 2.8 linker. Do enable libgcj on
Solaris 2.8 by default. For PR libgcj/6158.
2002-04-15 Richard Henderson <rth@redhat.com>
* config.guess (sun4u:SunOS:5.*:*): Revert 04-12 change.
2002-04-15 Mark Mitchell <mark@codesourcery.com>
* MAINTAINERS: Remove chill maintainers.
* Makefile.in (CHILLFLAGS): Remove.
(CHILL_LIB): Remove.
(TARGET_CONFIGDIRS): Remove libchill.
(CHILL_FOR_TARGET): Remove.
(BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or
CHILL_LIB.
(CONFIGURE_TARGET_MODULES): Remove configure-target-libchill.
(CHECK_TARGET_MODULES): Likewise.
(INSTALL_TARGET_MODULES): Likewise.
(CLEAN_TARGET_MODULES): Likewise.
(configure-target-libchill): Remove.
(all-target-libchill): Remove.
* configure.in (target_libs): Remove target-libchill.
Do not compute CHILL_FOR_TARGET.
* libchill: Remove directory.
2002-04-12 Richard Henderson <rth@redhat.com>
* config.guess (sun4u:SunOS:5.*:*): Guess sparcv9 if 64-bit isa
is supported.
2002-04-09 Loren J. Rittle <ljrittle@acm.org>
* configure.in: Add *-*-freebsd* configurations.
2002-04-08 Tom Tromey <tromey@redhat.com>
* configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
Fixes PR libgcj/6068.
2002-03-30 Krister Walfridsson <cato@df.lth.se>
* configure.in (i*86-*-netbsdelf*): Don't disable libgcj.
2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (alpha*-dec-osf*): Enable libgcj.
2002-03-24 Nick Clifton <nickc@cambridge.redhat.com>
Fix for: PR bootstrap/3591, target/5676
* configure.in (mcore-pe): Disable the configuration of
libstdc++-v3 since exceptions are not supported.
2002-03-20 Anthony Green <green@redhat.com>
* configure.in: Enable libgcj for xscale-elf target.
2002-03-16 Alexandre Oliva <aoliva@redhat.com>
* ltmain.sh (relink_command): Fix typo in previous change.
2002-03-15 Alexandre Oliva <aoliva@redhat.com>
* ltmain.sh (taglist): Initialized. Don't let `CC' tag out of it.
(relink_command): Added --tag flags.
(mode=install): If relinking fails; error out.
2002-03-12 Richard Henderson <rth@redhat.com>
* Makefile.in (NOTPARALLEL): New. Use it instead of explicit
.NOTPARALLEL tag.
(do-check): Rename from check.
(check): Allow parallel check.
2002-03-12 Bob Wilson <bob.wilson@acm.org>
* MAINTAINERS: Add myself as maintainer for xtensa port.
Fix alphabetical order in CPU port maintainer list.
Remove myself from Write After Approval list.
2002-03-11 Richard Henderson <rth@redhat.com>
* Makefile.in (.NOTPARALLEL): Add fake tag.
2002-03-07 H.J. Lu (hjl@gnu.org)
* configure.in: Enable gprof for mips*-*-linux*.
2002-02-28 Alexandre Oliva <aoliva@redhat.com>
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Explain why -shared-libgcc here.
2002-02-23 Alexandre Oliva <aoliva@redhat.com>
* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just

View File

@@ -1,3 +1,23 @@
Note
====
This file contains information about people who are permitted to make
changes to various parts of the compiler and associated libraries.
Please do not contact the people in this file directly to report
problems in GCC.
For general information about GCC, please visit:
http://gcc.gnu.org
To report problems in GCC, please visit:
http://gcc.gnu.org/bugs.html
Maintainers
===========
Blanket Write Privs.
John Carr jfc@mit.edu
@@ -16,7 +36,6 @@ Jim Wilson wilson@redhat.com
CPU Port Maintainers (CPU alphabetical order)
a29k port Jim Wilson wilson@redhat.com
alpha port Richard Henderson rth@redhat.com
arc port Richard Kenner kenner@nyu.edu
arm port Nick Clifton nickc@redhat.com
@@ -49,16 +68,17 @@ rs6000 port Geoff Keating geoffk@redhat.com
rs6000 port David Edelsohn dje@watson.ibm.com
s390 port Hartmut Penner hpenner@de.ibm.com
s390 port Ulrich Weigand uweigand@de.ibm.com
sh port Joern Rennecke amylaar@onetel.net.uk
sh port Joern Rennecke joern.rennecke@superh.com
sh port Alexandre Oliva aoliva@redhat.com
sparc port Richard Henderson rth@redhat.com
sparc port David S. Miller davem@redhat.com
sparc port Jakub Jelinek jakub@redhat.com
x86-64 port Jan Hubicka jh@suse.cz
xstormy16 port Geoffrey Keating geoffk@redhat.com
v850 port Nick Clifton nickc@redhat.com
v850 port Michael Meissner meissner@redhat.com
vax port Dave Anglin dave.anglin@nrc.ca
x86-64 port Jan Hubicka jh@suse.cz
xstormy16 port Geoffrey Keating geoffk@redhat.com
xtensa port Bob Wilson bob.wilson@acm.org
OS Port Maintainers (OS alphabetical order)
@@ -76,8 +96,6 @@ fortran Richard Henderson rth@redhat.com
fortran Toon Moene toon@moene.indiv.nluug.nl
c++ Jason Merrill jason@redhat.com
c++ Mark Mitchell mark@codesourcery.com
chill Dave Brolley brolley@redhat.com
chill Per Bothner per@bothner.com
cpplib Dave Brolley brolley@redhat.com
cpplib Per Bothner per@bothner.com
cpplib Zack Weinberg zack@codesourcery.com
@@ -131,18 +149,23 @@ in changes outside of the parts of the compiler they maintain.
Write After Approval (last name alphabetical order)
Scott Bambrough scottb@netwinder.org
Daniel Berlin dan@dberlin.org
David Billinghurst David.Billinghurst@riotinto.com
Laurynas Biveinis lauras@softhome.net
Jim Blandy jimb@redhat.com
Phil Blundell pb@futuretv.com
Hans Boehm hboehm@gcc.gnu.org
Andrew Cagney cagney@redhat.com
Paolo Carlini pcarlini@unitus.it
Chandra Chavva cchavva@redhat.com
William Cohen wcohen@redhat.com
Chris Demetriou cgd@broadcom.com
*Paul Eggert eggert@twinsun.com
Ben Elliston bje@redhat.com
Marc Espie espie@cvs.openbsd.org
Doug Evans devans@transmeta.com
Kaveh Ghazi ghazi@caip.rutgers.edu
Matthew Gingell gingell@gnat.com
Anthony Green green@redhat.com
Stu Grossman grossman@redhat.com
Laurent Guerby guerby@acm.org
@@ -171,8 +194,10 @@ Martin v. L
*HJ Lu hjl@lucon.org
Andrew Macleod amacleod@redhat.com
Vladimir Makarov vmakarov@redhat.com
Michael Matz matz@suse.de
Greg McGary gkm@gnu.org
Bryce McKinlay bryce@gcc.gnu.org
Adam Megacz adam@xwt.org
Alan Modra amodra@bigpond.net.au
Toon Moene toon@moene.indiv.nluug.nl
Catherine Moore clm@redhat.com
@@ -188,17 +213,22 @@ Ken Raeburn raeburn@redhat.com
Rolf Rasmussen rolfwr@gcc.gnu.org
Gabriel Dos Reis dosreis@cmla.ens-cachan.fr
Loren J. Rittle ljrittle@acm.org
Tom Rix trix@redhat.com
Craig Rodrigues rodrigc@gcc.gnu.org
Gavin Romig-Koch gavin@redhat.com
Ira Ruben ira@apple.com
Alex Samuel samuel@codesourcery.com
Richard Sandiford rsandifo@redhat.com
Roger Sayle roger@eyesopen.com
Bernd Schmidt bernds@redhat.com
Andreas Schwab schwab@suse.de
Stan Shebs shebs@apple.com
Nathan Sidwell nathan@acm.org
Franz Sirl franz.sirl-kernel@lauterbach.com
Danny Smith dannysmith@users.sourceforge.net
Michael Sokolov msokolov@ivan.Harhan.ORG
Richard Stallman rms@gnu.org
Graham Stott grahams@redhat.com
Mike Stump mrs@windriver.com
Ian Taylor ian@zembu.com
Michael Tiemann tiemann@redhat.com
@@ -206,20 +236,8 @@ Philipp Thomas pthomas@suse.de
Kresten Krab Thorup krab@gcc.gnu.org
Tom Tromey tromey@redhat.com
John Wehle john@feith.com
Mark Wielaard mark@gcc.gnu.org
Graham Stott grahams@redhat.com
Daniel Berlin dan@cgsoftware.com
Jim Blandy jimb@redhat.com
Chandra Chavva cchavva@redhat.com
Chris Demetriou cgd@sibyte.com
Doug Evans devans@transmeta.com
Michael Matz
Tom Rix trix@redhat.com
Richard Stallman rms@gnu.org
Graham Stott grahams@redhat.com
Florian Weimer fw@deneb.enyo.de
Bob Wilson bob.wilson@acm.org
Adam Megacz adam@xwt.org
Mark Wielaard mark@gcc.gnu.org
GNATS only accounts
Peter Bienstman(?)

View File

@@ -18,6 +18,12 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Tell GNU make 3.79 not to run the top level in parallel. This
# prevents contention for $builddir/$target/config.cache, as well
# as minimizing scatter in file system caches.
NOTPARALLEL = .NOTPARALLEL
$(NOTPARALLEL):
srcdir = .
prefix = /usr/local
@@ -94,8 +100,6 @@ LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
PICFLAG =
PICFLAG_FOR_TARGET =
CHILLFLAGS = $(CFLAGS)
CHILL_LIB = -lchill
CXX = c++
# Use -O2 to stress test the compiler.
@@ -172,7 +176,7 @@ OTHERS =
# This is set by the configure script to the list of directories which
# should be built using the target tools.
TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib librx winsup opcodes bsp libstub cygmon libf2c libchill libobjc
TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib librx winsup opcodes bsp libstub cygmon libf2c libobjc
# Target libraries are put under this directory:
# Changed by configure to $(target_alias) if cross.
@@ -229,7 +233,6 @@ INSTALL_TARGET_CROSS = installdirs \
# Should be substed by configure.in
FLAGS_FOR_TARGET =
CC_FOR_TARGET =
CHILL_FOR_TARGET =
CXX_FOR_TARGET =
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE =
GCJ_FOR_TARGET =
@@ -353,9 +356,6 @@ BASE_FLAGS_TO_PASS = \
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
"CFLAGS=$(CFLAGS)" \
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
"CHILLFLAGS=$(CHILLFLAGS)" \
"CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
"CHILL_LIB=$(CHILL_LIB)" \
"GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
"CXXFLAGS=$(CXXFLAGS)" \
@@ -783,7 +783,6 @@ ALL_TARGET_MODULES = \
all-target-librx \
all-target-newlib \
all-target-libf2c \
all-target-libchill \
all-target-libobjc \
all-target-libtermcap \
all-target-winsup \
@@ -807,7 +806,6 @@ CONFIGURE_TARGET_MODULES = \
configure-target-librx \
configure-target-newlib \
configure-target-libf2c \
configure-target-libchill \
configure-target-libobjc \
configure-target-libtermcap \
configure-target-winsup \
@@ -830,7 +828,6 @@ CHECK_TARGET_MODULES = \
check-target-libstdc++-v3 \
check-target-newlib \
check-target-libf2c \
check-target-libchill \
check-target-libobjc \
check-target-winsup \
check-target-libiberty \
@@ -847,7 +844,6 @@ INSTALL_TARGET_MODULES = \
install-target-libstdc++-v3 \
install-target-newlib \
install-target-libf2c \
install-target-libchill \
install-target-libobjc \
install-target-libtermcap \
install-target-winsup \
@@ -936,7 +932,6 @@ CLEAN_TARGET_MODULES = \
clean-target-librx \
clean-target-newlib \
clean-target-libf2c \
clean-target-libchill \
clean-target-libobjc \
clean-target-winsup \
clean-target-libgloss \
@@ -1116,8 +1111,11 @@ clean-target-libgcc:
# Check target.
.PHONY: check
check: $(CHECK_MODULES) \
.PHONY: check do-check
check:
$(MAKE) do-check NOTPARALLEL=parallel-ok
do-check: $(CHECK_MODULES) \
$(CHECK_TARGET_MODULES) \
$(CHECK_X11_MODULES) \
check-gcc
@@ -1778,8 +1776,6 @@ all-target-libstub: configure-target-libstub
all-libtool:
configure-target-libf2c: $(ALL_GCC_C)
all-target-libf2c: configure-target-libf2c all-target-libiberty
configure-target-libchill: $(ALL_GCC_C)
all-target-libchill: configure-target-libchill all-target-libiberty
configure-target-libobjc: $(ALL_GCC_C)
all-target-libobjc: configure-target-libobjc all-target-libiberty
all-m4: all-libiberty all-texinfo

View File

@@ -1,3 +1,127 @@
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
2002-04-22 Jeff Sturm <jsturm@one-point.com>
* Makefile.am (toolexeclib_LTLIBRARIES): Remove.
(noinst_LTLIBRARIES): Add libgcjgc.la.
* Makefile.in: Rebuild.
2002-04-22 David S. Miller <davem@redhat.com>
* include/private/gcconfig.h: Hard-code STACKBOTTOM on
64-bit SPARC Linux, the __libc_stack_end technique does
not work in this case.
2002-04-22 Jeff Sturm <jsturm@one-point.com>
* gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
2002-04-17 Hans Boehm <Hans_Boehm@hp.com>
* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
SPARC Linux.
2002-04-09 Loren J. Rittle <ljrittle@acm.org>
Richard Henderson <rth@redhat.com>
* include/private/gcconfig.h (DATAEND): Update comment example
to match reality. Clarify comment.
Change all likely references to linker script synthesized
symbols to use this idiom: extern int etext[]; etext
* os_dep.c (GC_init_linux_data_start): Fix references to
__data_start and _end.
2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
* include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
(GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
declare.
* allchblk.c (GC_allchblk_nth): Change text and support reduced
frequency for blacklist warning message.
* misc.c (GC_large_alloc_warn_interval,
GC_large_alloc_warn_suppressed): define.
(GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
* doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
(GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
* dyn_load.c (_DYNAMIC): Move declaration to file scope.
2002-04-04 Loren J. Rittle <ljrittle@acm.org>
* include/private/gcconfig.h: Add support for an unmapped
memory hole between the end of the initialized data segment
and the start of the BSS on FreeBSD/i386.
2002-04-01 Loren J. Rittle <ljrittle@acm.org>
* include/private/gcconfig.h: Add unified test for FreeBSD.
Support FreeBSD/alpha.
* os_dep.c: Do not include <machine/trap.h> unless available.
(GC_freebsd_stack_base): Fix types.
2002-03-30 Krister Walfridsson <cato@df.lth.se>
* include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
NetBSD/i386.
2002-03-29 Hans Boehm <Hans_Boehm@hp.com>
* linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
(GC_local_gcj_malloc): Add assertion.
(start_mark_threads): Fix abort message.
* mark.c (GC_mark_from): Generalize assertion.
* reclaim.c (GC_clear_fl_links): New function.
(GC_start_reclaim): Must clear some freelist links.
* include/private/specific.h, specific.c: Add assertions.
Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
Rearrange tse fields.
2002-03-24 Jeff Sturm <jsturm@one-point.com>
* linux_threads.c (GC_get_nprocs): Close file descriptor.
2002-03-15 Anthony Green <green@redhat.com>
* misc.c (GC_init_inner): Initialize GC_write_cs before use.
* configure.in: Disable use of getenv for win32 targets (some of
which have broken implementations).
* configure: Rebuilt.
2002-03-12 Adam Megacz <adam@xwt.org>
* dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
* misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
* os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
statically initialized it to TRUE if compiling with GCC.
* win32_threads.c (thread_start): We no longer use SEH if
compiling with GCC.
* mark.c (GC_mark_some): We no longer use SEH if
compiling with GCC.
2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
support is enabled, for hash synchronization.
2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* Makefile.am: Make a convenience library.
* Makefile.in: Rebuilt.
2002-02-24 Adam Megacz <adam@xwt.org>
* Makefile.am: Added win32_threads.c to sources list.

View File

@@ -25,25 +25,33 @@ toolexecdir = $(exec_prefix)/$(target_alias)
toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
endif
toolexeclib_LTLIBRARIES = $(target_all)
EXTRA_LTLIBRARIES = libgcjgc.la
libgcjgc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \
noinst_LTLIBRARIES = libgcjgc.la libgcjgc_convenience.la
GC_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \
dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c irix_threads.c \
linux_threads.c malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \
obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \
solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c \
backgraph.c win32_threads.c
EXTRA_GC_SOURCES = alpha_mach_dep.s \
mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s \
rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
libgcjgc_la_SOURCES = $(GC_SOURCES)
libgcjgc_convenience_la_SOURCES = $(GC_SOURCES)
EXTRA_libgcjgc_la_SOURCES = $(EXTRA_GC_SOURCES)
EXTRA_libgcjgc_convenience_la_SOURCES = $(EXTRA_GC_SOURCES)
# Include THREADLIBS here to ensure that the correct versions of
# linuxthread semaphore functions get linked:
libgcjgc_la_LIBADD = @addobjs@ $(THREADLIBS)
libgcjgc_la_DEPENDENCIES = @addobjs@
libgcjgc_la_LDFLAGS = -version-info 1:1:0 -rpath $(toolexeclibdir)
EXTRA_libgcjgc_la_SOURCES = alpha_mach_dep.s \
mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s \
rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
libgcjgc_convenience_la_LIBADD = @addobjs@
libgcjgc_convenience_la_DEPENDENCIES = @addobjs@
AM_CXXFLAGS = @GC_CFLAGS@
AM_CFLAGS = @GC_CFLAGS@

View File

@@ -1,6 +1,6 @@
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -105,14 +105,30 @@ MULTIDIRS =
MULTISUBDIR =
MULTIDO = true
MULTICLEAN = true
@USE_LIBDIR_TRUE@toolexeclibdir = $(libdir)$(MULTISUBDIR)
@USE_LIBDIR_FALSE@toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
@USE_LIBDIR_FALSE@toolexecdir = $(exec_prefix)/$(target_alias)
@USE_LIBDIR_TRUE@toolexeclibdir = @USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR)
@USE_LIBDIR_FALSE@toolexeclibdir = @USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR)
@USE_LIBDIR_FALSE@toolexecdir = @USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias)
toolexeclib_LTLIBRARIES = $(target_all)
EXTRA_LTLIBRARIES = libgcjgc.la
libgcjgc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c irix_threads.c linux_threads.c malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c backgraph.c win32_threads.c
noinst_LTLIBRARIES = libgcjgc.la libgcjgc_convenience.la
GC_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \
dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c irix_threads.c \
linux_threads.c malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \
obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \
solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c \
backgraph.c win32_threads.c
EXTRA_GC_SOURCES = alpha_mach_dep.s \
mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s \
rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
libgcjgc_la_SOURCES = $(GC_SOURCES)
libgcjgc_convenience_la_SOURCES = $(GC_SOURCES)
EXTRA_libgcjgc_la_SOURCES = $(EXTRA_GC_SOURCES)
EXTRA_libgcjgc_convenience_la_SOURCES = $(EXTRA_GC_SOURCES)
# Include THREADLIBS here to ensure that the correct versions of
# linuxthread semaphore functions get linked:
@@ -120,8 +136,8 @@ libgcjgc_la_LIBADD = @addobjs@ $(THREADLIBS)
libgcjgc_la_DEPENDENCIES = @addobjs@
libgcjgc_la_LDFLAGS = -version-info 1:1:0 -rpath $(toolexeclibdir)
EXTRA_libgcjgc_la_SOURCES = alpha_mach_dep.s mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
libgcjgc_convenience_la_LIBADD = @addobjs@
libgcjgc_convenience_la_DEPENDENCIES = @addobjs@
AM_CXXFLAGS = @GC_CFLAGS@
@@ -138,14 +154,52 @@ TESTS = gctest
all_objs = @addobjs@ $(libgcjgc_la_OBJECTS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS)
LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@
# Work around what appears to be a GNU make bug handling MAKEFLAGS
# values defined in terms of make variables, as is the case for CC and
# friends when we are called from the top level Makefile.
AM_MAKEFLAGS = "AR_FLAGS=$(AR_FLAGS)" "CC_FOR_BUILD=$(CC_FOR_BUILD)" "CFLAGS=$(CFLAGS)" "CXXFLAGS=$(CXXFLAGS)" "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" "INSTALL=$(INSTALL)" "INSTALL_DATA=$(INSTALL_DATA)" "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" "LDFLAGS=$(LDFLAGS)" "LIBCFLAGS=$(LIBCFLAGS)" "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" "MAKE=$(MAKE)" "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" "PICFLAG=$(PICFLAG)" "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" "SHELL=$(SHELL)" "EXPECT=$(EXPECT)" "RUNTEST=$(RUNTEST)" "RUNTESTFLAGS=$(RUNTESTFLAGS)" "exec_prefix=$(exec_prefix)" "infodir=$(infodir)" "libdir=$(libdir)" "prefix=$(prefix)" "tooldir=$(tooldir)" "AR=$(AR)" "AS=$(AS)" "CC=$(CC)" "CXX=$(CXX)" "LD=$(LD)" "LIBCFLAGS=$(LIBCFLAGS)" "NM=$(NM)" "PICFLAG=$(PICFLAG)" "RANLIB=$(RANLIB)" "DESTDIR=$(DESTDIR)"
AM_MAKEFLAGS = \
"AR_FLAGS=$(AR_FLAGS)" \
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
"CFLAGS=$(CFLAGS)" \
"CXXFLAGS=$(CXXFLAGS)" \
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
"INSTALL=$(INSTALL)" \
"INSTALL_DATA=$(INSTALL_DATA)" \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
"INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
"LDFLAGS=$(LDFLAGS)" \
"LIBCFLAGS=$(LIBCFLAGS)" \
"LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
"MAKE=$(MAKE)" \
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
"PICFLAG=$(PICFLAG)" \
"PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
"SHELL=$(SHELL)" \
"EXPECT=$(EXPECT)" \
"RUNTEST=$(RUNTEST)" \
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
"exec_prefix=$(exec_prefix)" \
"infodir=$(infodir)" \
"libdir=$(libdir)" \
"prefix=$(prefix)" \
"tooldir=$(tooldir)" \
"AR=$(AR)" \
"AS=$(AS)" \
"CC=$(CC)" \
"CXX=$(CXX)" \
"LD=$(LD)" \
"LIBCFLAGS=$(LIBCFLAGS)" \
"NM=$(NM)" \
"PICFLAG=$(PICFLAG)" \
"RANLIB=$(RANLIB)" \
"DESTDIR=$(DESTDIR)"
CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
@@ -153,7 +207,7 @@ CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
MAKEOVERRIDES =
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
CONFIG_CLEAN_FILES =
LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
LTLIBRARIES = $(noinst_LTLIBRARIES)
DEFS = @DEFS@ -I. -I$(srcdir)
@@ -167,6 +221,14 @@ mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo \
ptr_chck.lo real_malloc.lo reclaim.lo solaris_pthreads.lo \
solaris_threads.lo specific.lo stubborn.lo typd_mlc.lo backgraph.lo \
win32_threads.lo
libgcjgc_convenience_la_LDFLAGS =
libgcjgc_convenience_la_OBJECTS = allchblk.lo alloc.lo blacklst.lo \
checksums.lo dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo \
headers.lo irix_threads.lo linux_threads.lo malloc.lo mallocx.lo \
mark.lo mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo \
pcr_interface.lo ptr_chck.lo real_malloc.lo reclaim.lo \
solaris_pthreads.lo solaris_threads.lo specific.lo stubborn.lo \
typd_mlc.lo backgraph.lo win32_threads.lo
check_PROGRAMS = gctest$(EXEEXT)
gctest_DEPENDENCIES = ./libgcjgc.la
CFLAGS = @CFLAGS@
@@ -179,10 +241,10 @@ ltmain.sh mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
TAR = gtar
GZIP_ENV = --best
SOURCES = $(libgcjgc_la_SOURCES) $(EXTRA_libgcjgc_la_SOURCES)
OBJECTS = $(libgcjgc_la_OBJECTS)
SOURCES = $(libgcjgc_la_SOURCES) $(EXTRA_libgcjgc_la_SOURCES) $(libgcjgc_convenience_la_SOURCES) $(EXTRA_libgcjgc_convenience_la_SOURCES)
OBJECTS = $(libgcjgc_la_OBJECTS) $(libgcjgc_convenience_la_OBJECTS)
all: all-redirect
.SUFFIXES:
@@ -197,35 +259,19 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
cd $(srcdir) && $(ACLOCAL)
config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
mostlyclean-toolexeclibLTLIBRARIES:
mostlyclean-noinstLTLIBRARIES:
clean-toolexeclibLTLIBRARIES:
-test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
clean-noinstLTLIBRARIES:
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
distclean-toolexeclibLTLIBRARIES:
distclean-noinstLTLIBRARIES:
maintainer-clean-toolexeclibLTLIBRARIES:
install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
if test -f $$p; then \
echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
else :; fi; \
done
uninstall-toolexeclibLTLIBRARIES:
@$(NORMAL_UNINSTALL)
list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
done
maintainer-clean-noinstLTLIBRARIES:
.c.o:
$(COMPILE) -c $<
@@ -271,6 +317,9 @@ maintainer-clean-libtool:
libgcjgc.la: $(libgcjgc_la_OBJECTS) $(libgcjgc_la_DEPENDENCIES)
$(LINK) $(libgcjgc_la_LDFLAGS) $(libgcjgc_la_OBJECTS) $(libgcjgc_la_LIBADD) $(LIBS)
libgcjgc_convenience.la: $(libgcjgc_convenience_la_OBJECTS) $(libgcjgc_convenience_la_DEPENDENCIES)
$(LINK) $(libgcjgc_convenience_la_LDFLAGS) $(libgcjgc_convenience_la_OBJECTS) $(libgcjgc_convenience_la_LIBADD) $(LIBS)
mostlyclean-checkPROGRAMS:
clean-checkPROGRAMS:
@@ -320,7 +369,7 @@ maintainer-clean-recursive:
dot_seen=no; \
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
test "$$subdir" = "." && dot_seen=yes; \
test "$$subdir" != "." || dot_seen=yes; \
done; \
test "$$dot_seen" = "no" && rev=". $$rev"; \
target=`echo $@ | sed s/-recursive//`; \
@@ -467,7 +516,7 @@ installcheck-am:
installcheck: installcheck-recursive
install-info-am:
install-info: install-info-recursive
install-exec-am: install-toolexeclibLTLIBRARIES
install-exec-am:
install-exec: install-exec-recursive
install-data-am:
@@ -476,7 +525,7 @@ install-data: install-data-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-recursive
uninstall-am: uninstall-toolexeclibLTLIBRARIES
uninstall-am:
uninstall: uninstall-recursive
all-am: Makefile $(LTLIBRARIES)
all-redirect: all-recursive
@@ -484,7 +533,6 @@ install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
mostlyclean-generic:
@@ -496,19 +544,19 @@ distclean-generic:
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
mostlyclean-am: mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
mostlyclean-libtool mostlyclean-checkPROGRAMS \
mostlyclean-tags mostlyclean-generic
mostlyclean: mostlyclean-recursive
clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
clean-am: clean-noinstLTLIBRARIES clean-compile clean-libtool \
clean-checkPROGRAMS clean-tags clean-generic \
mostlyclean-am
clean: clean-recursive
distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
distclean-am: distclean-noinstLTLIBRARIES distclean-compile \
distclean-libtool distclean-checkPROGRAMS \
distclean-tags distclean-generic clean-am
-rm -f libtool
@@ -516,7 +564,7 @@ distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
distclean: distclean-recursive
-rm -f config.status
maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \
maintainer-clean-compile maintainer-clean-libtool \
maintainer-clean-checkPROGRAMS maintainer-clean-tags \
maintainer-clean-generic distclean-am
@@ -526,10 +574,8 @@ maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
maintainer-clean: maintainer-clean-recursive
-rm -f config.status
.PHONY: mostlyclean-toolexeclibLTLIBRARIES \
distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
maintainer-clean-toolexeclibLTLIBRARIES \
uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
.PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
clean-libtool maintainer-clean-libtool mostlyclean-checkPROGRAMS \

View File

@@ -654,9 +654,13 @@ int n;
&& orig_avail - size_needed
> (signed_word)BL_LIMIT) {
/* Punt, since anything else risks unreasonable heap growth. */
if (0 == GETENV("GC_NO_BLACKLIST_WARNING")) {
WARN("Needed to allocate blacklisted block at 0x%lx\n",
(word)hbp);
if (++GC_large_alloc_warn_suppressed
>= GC_large_alloc_warn_interval) {
WARN("Repeated allocation of very large block "
"(appr. size %ld):\n"
"\tMay lead to memory leak and poor performance.\n",
size_needed);
GC_large_alloc_warn_suppressed = 0;
}
size_avail = orig_avail;
} else if (size_avail == 0 && size_needed == HBLKSIZE

168
boehm-gc/configure vendored
View File

@@ -61,6 +61,7 @@ program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
sitefile=
srcdir=
target=NONE
verbose=
@@ -175,6 +176,7 @@ Configuration:
--help print this message
--no-create do not create output files
--quiet, --silent do not print \`checking...' messages
--site-file=FILE use FILE as the site file
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
@@ -345,6 +347,11 @@ EOF
-site=* | --site=* | --sit=*)
site="$ac_optarg" ;;
-site-file | --site-file | --site-fil | --site-fi | --site-f)
ac_prev=sitefile ;;
-site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
sitefile="$ac_optarg" ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
@@ -510,12 +517,16 @@ fi
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
if test "x$prefix" != xNONE; then
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
else
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
if test -z "$sitefile"; then
if test -z "$CONFIG_SITE"; then
if test "x$prefix" != xNONE; then
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
else
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
fi
fi
else
CONFIG_SITE="$sitefile"
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
@@ -555,6 +566,12 @@ fi
# This works around the fact that libtool configuration may change LD
# for this particular configuration, but some shells, instead of
# keeping the changes in LD private, export them just because LD is
# exported.
ORIGINAL_LD_FOR_MULTILIBS=$LD
ac_aux_dir=
for ac_dir in . $srcdir/.; do
if test -f $ac_dir/install-sh; then
@@ -587,7 +604,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:591: checking for a BSD compatible install" >&5
echo "configure:608: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -640,7 +657,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
echo "configure:644: checking whether build environment is sane" >&5
echo "configure:661: checking whether build environment is sane" >&5
# Just in case
sleep 1
echo timestamp > conftestfile
@@ -697,7 +714,7 @@ test "$program_suffix" != NONE &&
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:701: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:718: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -730,12 +747,12 @@ else
fi
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
echo "configure:734: checking for Cygwin environment" >&5
echo "configure:751: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 739 "configure"
#line 756 "configure"
#include "confdefs.h"
int main() {
@@ -746,7 +763,7 @@ int main() {
return __CYGWIN__;
; return 0; }
EOF
if { (eval echo configure:750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cygwin=yes
else
@@ -763,19 +780,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
echo "configure:767: checking for mingw32 environment" >&5
echo "configure:784: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 772 "configure"
#line 789 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
EOF
if { (eval echo configure:779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_mingw32=yes
else
@@ -886,7 +903,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:890: checking host system type" >&5
echo "configure:907: checking host system type" >&5
host_alias=$host
case "$host_alias" in
@@ -907,7 +924,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6
echo $ac_n "checking target system type""... $ac_c" 1>&6
echo "configure:911: checking target system type" >&5
echo "configure:928: checking target system type" >&5
target_alias=$target
case "$target_alias" in
@@ -925,7 +942,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$target" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:929: checking build system type" >&5
echo "configure:946: checking build system type" >&5
build_alias=$build
case "$build_alias" in
@@ -965,7 +982,7 @@ fi
missing_dir=`cd $ac_aux_dir && pwd`
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
echo "configure:969: checking for working aclocal" >&5
echo "configure:986: checking for working aclocal" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@@ -978,7 +995,7 @@ else
fi
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
echo "configure:982: checking for working autoconf" >&5
echo "configure:999: checking for working autoconf" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@@ -991,7 +1008,7 @@ else
fi
echo $ac_n "checking for working automake""... $ac_c" 1>&6
echo "configure:995: checking for working automake" >&5
echo "configure:1012: checking for working automake" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@@ -1004,7 +1021,7 @@ else
fi
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
echo "configure:1008: checking for working autoheader" >&5
echo "configure:1025: checking for working autoheader" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@@ -1017,7 +1034,7 @@ else
fi
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
echo "configure:1021: checking for working makeinfo" >&5
echo "configure:1038: checking for working makeinfo" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@@ -1043,7 +1060,7 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1047: checking for $ac_word" >&5
echo "configure:1064: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1073,7 +1090,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1077: checking for $ac_word" >&5
echo "configure:1094: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1122,7 +1139,7 @@ fi
fi
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:1126: checking whether we are using GNU C" >&5
echo "configure:1143: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1131,7 +1148,7 @@ else
yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
@@ -1146,7 +1163,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1150: checking whether ${CC-cc} accepts -g" >&5
echo "configure:1167: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1183,7 +1200,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1187: checking for $ac_word" >&5
echo "configure:1204: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1216,7 +1233,7 @@ test -n "$CXX" || CXX="gcc"
test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
echo "configure:1220: checking whether we are using GNU C++" >&5
echo "configure:1237: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1225,7 +1242,7 @@ else
yes;
#endif
EOF
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gxx=yes
else
ac_cv_prog_gxx=no
@@ -1240,7 +1257,7 @@ if test $ac_cv_prog_gxx = yes; then
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
echo "configure:1244: checking whether ${CXX-g++} accepts -g" >&5
echo "configure:1261: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1273,7 +1290,7 @@ fi
# NEWLIB_CONFIGURE, which doesn't work because that means that it will
# be run before AC_CANONICAL_HOST.
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:1277: checking build system type" >&5
echo "configure:1294: checking build system type" >&5
build_alias=$build
case "$build_alias" in
@@ -1294,7 +1311,7 @@ echo "$ac_t""$build" 1>&6
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
set dummy ${ac_tool_prefix}as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1298: checking for $ac_word" >&5
echo "configure:1315: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1326,7 +1343,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1330: checking for $ac_word" >&5
echo "configure:1347: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1358,7 +1375,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1362: checking for $ac_word" >&5
echo "configure:1379: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1390,7 +1407,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1394: checking for $ac_word" >&5
echo "configure:1411: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1435,7 +1452,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1439: checking for a BSD compatible install" >&5
echo "configure:1456: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -1489,7 +1506,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:1493: checking whether to enable maintainer-specific portions of Makefiles" >&5
echo "configure:1510: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode"
@@ -1527,7 +1544,7 @@ if false; then
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
echo "configure:1531: checking for executable suffix" >&5
echo "configure:1548: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1537,10 +1554,10 @@ else
rm -f conftest*
echo 'int main () { return 0; }' > conftest.$ac_ext
ac_cv_exeext=
if { (eval echo configure:1541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
case $file in
*.c | *.o | *.obj) ;;
*.c | *.o | *.obj | *.ilk | *.pdb) ;;
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
esac
done
@@ -1659,7 +1676,7 @@ ac_prog=ld
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
echo "configure:1663: checking for ld used by GCC" >&5
echo "configure:1680: checking for ld used by GCC" >&5
case $host in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
@@ -1689,10 +1706,10 @@ echo "configure:1663: checking for ld used by GCC" >&5
esac
elif test "$with_gnu_ld" = yes; then
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
echo "configure:1693: checking for GNU ld" >&5
echo "configure:1710: checking for GNU ld" >&5
else
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
echo "configure:1696: checking for non-GNU ld" >&5
echo "configure:1713: checking for non-GNU ld" >&5
fi
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -1727,7 +1744,7 @@ else
fi
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
echo "configure:1731: checking if the linker ($LD) is GNU ld" >&5
echo "configure:1748: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1744,7 +1761,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
echo "configure:1748: checking for $LD option to reload object files" >&5
echo "configure:1765: checking for $LD option to reload object files" >&5
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1756,7 +1773,7 @@ reload_flag=$lt_cv_ld_reload_flag
test -n "$reload_flag" && reload_flag=" $reload_flag"
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
echo "configure:1760: checking for BSD-compatible nm" >&5
echo "configure:1777: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1794,7 +1811,7 @@ NM="$lt_cv_path_NM"
echo "$ac_t""$NM" 1>&6
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
echo "configure:1798: checking whether ln -s works" >&5
echo "configure:1815: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1815,7 +1832,7 @@ else
fi
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
echo "configure:1819: checking how to recognise dependant libraries" >&5
echo "configure:1836: checking how to recognise dependant libraries" >&5
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1979,13 +1996,13 @@ file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
echo "configure:1983: checking for object suffix" >&5
echo "configure:2000: checking for object suffix" >&5
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftest*
echo 'int i = 1;' > conftest.$ac_ext
if { (eval echo configure:1989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
for ac_file in conftest.*; do
case $ac_file in
*.c) ;;
@@ -2009,7 +2026,7 @@ case $deplibs_check_method in
file_magic*)
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
echo "configure:2013: checking for ${ac_tool_prefix}file" >&5
echo "configure:2030: checking for ${ac_tool_prefix}file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2071,7 +2088,7 @@ fi
if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then
echo $ac_n "checking for file""... $ac_c" 1>&6
echo "configure:2075: checking for file" >&5
echo "configure:2092: checking for file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2142,7 +2159,7 @@ esac
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2146: checking for $ac_word" >&5
echo "configure:2163: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2174,7 +2191,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2178: checking for $ac_word" >&5
echo "configure:2195: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2209,7 +2226,7 @@ fi
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2213: checking for $ac_word" >&5
echo "configure:2230: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2241,7 +2258,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2245: checking for $ac_word" >&5
echo "configure:2262: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2308,8 +2325,8 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
case $host in
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 2312 "configure"' > conftest.$ac_ext
if { (eval echo configure:2313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
echo '#line 2329 "configure"' > conftest.$ac_ext
if { (eval echo configure:2330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
LD="${LD-ld} -32"
@@ -2330,7 +2347,7 @@ case $host in
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
echo "configure:2334: checking whether the C compiler needs -belf" >&5
echo "configure:2351: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2343,14 +2360,14 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF
#line 2347 "configure"
#line 2364 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if { (eval echo configure:2354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
lt_cv_cc_needs_belf=yes
else
@@ -2380,7 +2397,7 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
esac
echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
echo "configure:2384: checking how to run the C++ preprocessor" >&5
echo "configure:2401: checking how to run the C++ preprocessor" >&5
if test -z "$CXXCPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2393,12 +2410,12 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
cross_compiling=$ac_cv_prog_cxx_cross
CXXCPP="${CXX-g++} -E"
cat > conftest.$ac_ext <<EOF
#line 2397 "configure"
#line 2414 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@@ -2545,7 +2562,7 @@ fi
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:2549: checking whether to enable maintainer-specific portions of Makefiles" >&5
echo "configure:2566: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode"
@@ -2578,7 +2595,7 @@ if false; then
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
echo "configure:2582: checking for executable suffix" >&5
echo "configure:2599: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2588,10 +2605,10 @@ else
rm -f conftest*
echo 'int main () { return 0; }' > conftest.$ac_ext
ac_cv_exeext=
if { (eval echo configure:2592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:2609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
case $file in
*.c | *.o | *.obj) ;;
*.c | *.o | *.obj | *.ilk | *.pdb) ;;
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
esac
done
@@ -2611,7 +2628,7 @@ ac_exeext=$EXEEXT
fi
echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
echo "configure:2615: checking for thread model used by GCC" >&5
echo "configure:2632: checking for thread model used by GCC" >&5
THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
if test -z "$THREADS"; then
THREADS=no
@@ -2725,6 +2742,10 @@ EOF
win32)
cat >> confdefs.h <<\EOF
#define GC_WIN32_THREADS 1
EOF
cat >> confdefs.h <<\EOF
#define NO_GETENV 1
EOF
;;
@@ -2738,7 +2759,7 @@ esac
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
echo "configure:2742: checking for dlopen in -ldl" >&5
echo "configure:2763: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2746,7 +2767,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2750 "configure"
#line 2771 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -2757,7 +2778,7 @@ int main() {
dlopen()
; return 0; }
EOF
if { (eval echo configure:2761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -3321,6 +3342,7 @@ cat >> $CONFIG_STATUS <<\EOF
echo "$DEFS" > boehm-cflags
if test -n "$CONFIG_FILES"; then
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
ac_file=Makefile . ${gc_basedir}/../config-ml.in
fi
exit 0

View File

@@ -1,4 +1,4 @@
# Copyright (c) 1999-2001 by Red Hat, Inc. All rights reserved.
# Copyright (c) 1999, 2000, 2001, 2002 by Red Hat, Inc. All rights reserved.
#
# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
# OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
@@ -15,6 +15,12 @@ dnl Process this file with autoconf to produce configure.
AC_INIT(gcj_mlc.c)
# This works around the fact that libtool configuration may change LD
# for this particular configuration, but some shells, instead of
# keeping the changes in LD private, export them just because LD is
# exported.
ORIGINAL_LD_FOR_MULTILIBS=$LD
dnl Can't be done in GC_CONFIGURE because that confuses automake.
AC_CONFIG_AUX_DIR(.)
@@ -109,6 +115,7 @@ case "$THREADS" in
;;
win32)
AC_DEFINE(GC_WIN32_THREADS)
AC_DEFINE(NO_GETENV)
;;
decosf1 | irix | mach | os2 | solaris | dce | vxworks)
AC_MSG_ERROR(thread package $THREADS not yet supported)
@@ -271,6 +278,7 @@ dnl Put all the -D options in a file.
echo "$DEFS" > boehm-cflags
if test -n "$CONFIG_FILES"; then
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
ac_file=Makefile . ${gc_basedir}/../config-ml.in
fi],
srcdir=${srcdir}

View File

@@ -30,7 +30,16 @@ GC_NPROCS=<n> - Linux w/threads only. Explicitly sets the number of processors
correctness, but may lead to really horrible performance.
GC_NO_BLACKLIST_WARNING - Prevents the collector from issuing
"Needed to allocate blacklisted block at ..." warnings.
warnings about allocations of very large blocks.
Deprecated. Use GC_LARGE_ALLOC_WARN_INTERVAL instead.
GC_LARGE_ALLOC_WARN_INTERVAL=<n> - Print every nth warning about very large
block allocations, starting with the nth one. Small values
of n are generally benign, in that a bounded number of
such warnings generally indicate at most a bounded leak.
For best results it should be set at 1 during testing.
Default is 5. Very large numbers effectively disable the
warning.
GC_IGNORE_GCJ_INFO - Ignore the type descriptors implicitly supplied by
GC_gcj_malloc and friends. This is useful for debugging

View File

@@ -529,13 +529,14 @@ GC_bool GC_register_dynamic_libraries_dl_iterate_phdr()
# endif
#ifdef __GNUC__
# pragma weak _DYNAMIC
#endif
extern ElfW(Dyn) _DYNAMIC[];
static struct link_map *
GC_FirstDLOpenedLinkMap()
{
# ifdef __GNUC__
# pragma weak _DYNAMIC
# endif
extern ElfW(Dyn) _DYNAMIC[];
ElfW(Dyn) *dp;
struct r_debug *r;
static struct link_map *cachedResult = 0;
@@ -775,7 +776,7 @@ void GC_register_dynamic_libraries()
# endif
# ifndef MSWINCE
extern GC_bool GC_win32s;
extern GC_bool GC_no_win32_dlls;
# endif
void GC_register_dynamic_libraries()
@@ -788,7 +789,7 @@ void GC_register_dynamic_libraries()
char * limit, * new_limit;
# ifdef MSWIN32
if (GC_win32s) return;
if (GC_no_win32_dlls) return;
# endif
base = limit = p = GC_sysinfo.lpMinimumApplicationAddress;
# if defined(MSWINCE) && !defined(_WIN32_WCE_EMULATION)

View File

@@ -205,6 +205,12 @@ typedef char * ptr_t; /* A generic pointer to which we can add */
/* odd numbered words to have mark bits. */
#endif
#if defined(GC_GCJ_SUPPORT) && ALIGNMENT < 8 && !defined(ALIGN_DOUBLE)
/* GCJ's Hashtable synchronization code requires 64-bit alignment. */
# define ALIGN_DOUBLE
#endif
/* ALIGN_DOUBLE requires MERGE_SIZES at present. */
# if defined(ALIGN_DOUBLE) && !defined(MERGE_SIZES)
# define MERGE_SIZES
@@ -493,7 +499,7 @@ struct hblk; /* See below. */
# endif
/* Print warning message, e.g. almost out of memory. */
# define WARN(msg,arg) (*GC_current_warn_proc)(msg, (GC_word)(arg))
# define WARN(msg,arg) (*GC_current_warn_proc)("GC Warning: " msg, (GC_word)(arg))
extern GC_warn_proc GC_current_warn_proc;
/* Get environment entry */
@@ -1217,7 +1223,12 @@ extern word GC_root_size; /* Total size of registered root sections */
extern GC_bool GC_debugging_started; /* GC_debug_malloc has been called. */
extern long GC_large_alloc_warn_interval;
/* Interval between unsuppressed warnings. */
extern long GC_large_alloc_warn_suppressed;
/* Number of warnings suppressed so far. */
/* Operations */
# ifndef abs
# define abs(x) ((x) < 0? (-(x)) : (x))

View File

@@ -38,6 +38,11 @@
# define OPENBSD
# endif
/* And one for FreeBSD: */
# if defined(__FreeBSD__)
# define FREEBSD
# endif
/* Determine the machine type: */
# if defined(__XSCALE__)
# define ARM32
@@ -214,7 +219,7 @@
# endif
# if defined(__alpha) || defined(__alpha__)
# define ALPHA
# if !defined(LINUX) && !defined(NETBSD) && !defined(OPENBSD)
# if !defined(LINUX) && !defined(NETBSD) && !defined(OPENBSD) && !defined(FREEBSD)
# define OSF1 /* a.k.a Digital Unix */
# endif
# define mach_type_known
@@ -262,9 +267,8 @@
# define OPENBSD
# define mach_type_known
# endif
# if defined(__FreeBSD__) && (defined(i386) || defined(__i386__))
# if defined(FREEBSD) && (defined(i386) || defined(__i386__))
# define I386
# define FREEBSD
# define mach_type_known
# endif
# if defined(__NetBSD__) && (defined(i386) || defined(__i386__))
@@ -446,7 +450,12 @@
* On UNIX systems, the collector will scan the area between DATASTART
* and DATAEND for root pointers.
*
* DATAEND, if not &end.
* DATAEND, if not `end' where `end' is defined as ``extern int end[];''.
* RTH suggests gaining access to linker script synth'd values with
* this idiom instead of `&end' where `end' is defined as ``extern int end;'' .
* Otherwise, ``GCC will assume these are in .sdata/.sbss'' and it will, e.g.,
* cause failures on alpha*-*-* with ``-msmall-data or -fpic'' or mips-*-*
* without any special options.
*
* ALIGN_DOUBLE of GC_malloc should return blocks aligned to twice
* the pointer size.
@@ -542,14 +551,14 @@
# ifdef OPENBSD
# define OS_TYPE "OPENBSD"
# define HEURISTIC2
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# ifdef NETBSD
# define OS_TYPE "NETBSD"
# define HEURISTIC2
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# ifdef LINUX
# define OS_TYPE "LINUX"
@@ -572,24 +581,24 @@
/* contain large read-only data tables */
/* that we'd rather not scan. */
# endif /* !GLIBC2 */
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# else
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# endif
# endif
# ifdef SUNOS4
# define OS_TYPE "SUNOS4"
extern char etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0x1ffff) & ~0x1ffff))
extern char etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0x1ffff) & ~0x1ffff))
# define HEURISTIC1 /* differs */
# define DYNAMIC_LOADING
# endif
# ifdef HP
# define OS_TYPE "HP"
extern char etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern char etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# define STACKBOTTOM ((ptr_t) 0xffeffffc)
/* empirically determined. seems to work. */
# include <unistd.h>
@@ -597,13 +606,13 @@
# endif
# ifdef SYSV
# define OS_TYPE "SYSV"
extern etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0x3fffff) \
extern etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0x3fffff) \
& ~0x3fffff) \
+((word)&etext & 0x1fff))
+((word)etext & 0x1fff))
/* This only works for shared-text binaries with magic number 0413.
The other sorts of SysV binaries put the data at the end of the text,
in which case the default of &etext would work. Unfortunately,
in which case the default of etext would work. Unfortunately,
handling both would require having the magic-number available.
-- Parag
*/
@@ -663,8 +672,8 @@
# define STACK_GRAN 0x10000000
/* Stack usually starts at 0x80000000 */
# define LINUX_DATA_START
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# endif
# ifdef MACOSX
/* There are reasons to suspect this may not be reliable. */
@@ -681,16 +690,16 @@
# define ALIGNMENT 4
# define OS_TYPE "NETBSD"
# define HEURISTIC2
extern char etext;
extern char etext[];
# define DATASTART GC_data_start
# define DYNAMIC_LOADING
# endif
# ifdef NOSYS
# define ALIGNMENT 4
# define OS_TYPE "NOSYS"
extern void __end, __dso_handle;
# define DATASTART (&__dso_handle) /* OK, that's ugly. */
# define DATAEND (&__end)
extern void __end[], __dso_handle[];
# define DATASTART (__dso_handle) /* OK, that's ugly. */
# define DATAEND (__end)
/* Stack starts at 0xE0000000 for the simulator. */
# undef STACK_GRAN
# define STACK_GRAN 0x10000000
@@ -701,8 +710,8 @@
# ifdef VAX
# define MACH_TYPE "VAX"
# define ALIGNMENT 4 /* Pointers are longword aligned by 4.2 C compiler */
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# ifdef BSD
# define OS_TYPE "BSD"
# define HEURISTIC1
@@ -734,11 +743,11 @@
# define ALIGN_DOUBLE
# ifdef SUNOS5
# define OS_TYPE "SUNOS5"
extern int _etext;
extern int _end;
extern int _etext[];
extern int _end[];
extern char * GC_SysVGetDataStart();
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, &_etext)
# define DATAEND (&_end)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, _etext)
# define DATAEND (_end)
# if !defined(USE_MMAP) && defined(REDIRECT_MALLOC)
# define USE_MMAP
/* Otherwise we now use calloc. Mmap may result in the */
@@ -768,17 +777,15 @@
# define GETPAGESIZE() sysconf(_SC_PAGESIZE)
/* getpagesize() appeared to be missing from at least one */
/* Solaris 5.4 installation. Weird. */
# if CPP_WORDSZ == 32
# define DYNAMIC_LOADING
# endif
# define DYNAMIC_LOADING
# endif
# ifdef SUNOS4
# define OS_TYPE "SUNOS4"
/* [If you have a weak stomach, don't read this.] */
/* We would like to use: */
/* # define DATASTART ((ptr_t)((((word) (&etext)) + 0x1fff) & ~0x1fff)) */
/* # define DATASTART ((ptr_t)((((word) (etext)) + 0x1fff) & ~0x1fff)) */
/* This fails occasionally, due to an ancient, but very */
/* persistent ld bug. &etext is set 32 bytes too high. */
/* persistent ld bug. etext is set 32 bytes too high. */
/* We instead read the text segment size from the a.out */
/* header, which happens to be mapped into our address space */
/* at the start of the text segment. The detective work here */
@@ -794,8 +801,8 @@
# ifdef DRSNX
# define OS_TYPE "DRSNX"
extern char * GC_SysVGetDataStart();
extern int etext;
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, &etext)
extern int etext[];
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, etext)
# define MPROTECT_VDB
# define STACKBOTTOM ((ptr_t) 0xdfff0000)
# define DYNAMIC_LOADING
@@ -807,23 +814,24 @@
# else
Linux Sparc/a.out not supported
# endif
extern int _end;
extern int _etext;
# define DATAEND (&_end)
extern int _end[];
extern int _etext[];
# define DATAEND (_end)
# define SVR4
# ifdef __arch64__
# define STACKBOTTOM ((ptr_t) 0x80000000000ULL)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x100000, &_etext)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x100000, _etext)
/* libc_stack_end is not set reliably for sparc64 */
# define STACKBOTTOM ((ptr_t) 0x80000000000)
# else
# define STACKBOTTOM ((ptr_t) 0xf0000000)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, &_etext)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, _etext)
# define LINUX_STACKBOTTOM
# endif
# endif
# ifdef OPENBSD
# define OS_TYPE "OPENBSD"
# define STACKBOTTOM ((ptr_t) 0xf8000000)
extern int etext;
# define DATASTART ((ptr_t)(&etext))
extern int etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# ifdef NETBSD
# define OS_TYPE "NETBSD"
@@ -832,8 +840,8 @@
# define DATASTART GC_data_start
# define DYNAMIC_LOADING
# else
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# endif
# endif
@@ -853,24 +861,24 @@
# endif
# ifdef SEQUENT
# define OS_TYPE "SEQUENT"
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# define STACKBOTTOM ((ptr_t) 0x3ffff000)
# endif
# ifdef BEOS
# define OS_TYPE "BEOS"
# include <OS.h>
# define GETPAGESIZE() B_PAGE_SIZE
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# endif
# ifdef SUNOS5
# define OS_TYPE "SUNOS5"
extern int _etext, _end;
extern int _etext[], _end[];
extern char * GC_SysVGetDataStart();
# define DATASTART GC_SysVGetDataStart(0x1000, &_etext)
# define DATAEND (&_end)
/* # define STACKBOTTOM ((ptr_t)(&_start)) worked through 2.7, */
# define DATASTART GC_SysVGetDataStart(0x1000, _etext)
# define DATAEND (_end)
/* # define STACKBOTTOM ((ptr_t)(_start)) worked through 2.7, */
/* but reportedly breaks under 2.8. It appears that the stack */
/* base is a property of the executable, so this should not break */
/* old executables. */
@@ -898,16 +906,16 @@
# endif
# ifdef SCO
# define OS_TYPE "SCO"
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0x3fffff) \
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0x3fffff) \
& ~0x3fffff) \
+((word)&etext & 0xfff))
+((word)etext & 0xfff))
# define STACKBOTTOM ((ptr_t) 0x7ffffffc)
# endif
# ifdef SCO_ELF
# define OS_TYPE "SCO_ELF"
extern int etext;
# define DATASTART ((ptr_t)(&etext))
extern int etext[];
# define DATASTART ((ptr_t)(etext))
# define STACKBOTTOM ((ptr_t) 0x08048000)
# define DYNAMIC_LOADING
# define ELF_CLASS ELFCLASS32
@@ -938,8 +946,8 @@
# ifdef __ELF__
# define DYNAMIC_LOADING
# ifdef UNDEFINED /* includes ro data */
extern int _etext;
# define DATASTART ((ptr_t)((((word) (&_etext)) + 0xfff) & ~0xfff))
extern int _etext[];
# define DATASTART ((ptr_t)((((word) (_etext)) + 0xfff) & ~0xfff))
# endif
# include <features.h>
# if defined(__GLIBC__) && __GLIBC__ >= 2
@@ -956,11 +964,11 @@
/* contain large read-only data tables */
/* that we'd rather not scan. */
# endif
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# else
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# endif
# ifdef USE_I686_PREFETCH
# define PREFETCH(x) \
@@ -985,10 +993,10 @@
# endif
# ifdef CYGWIN32
# define OS_TYPE "CYGWIN32"
extern int _data_start__;
extern int _data_end__;
extern int _bss_start__;
extern int _bss_end__;
extern int _data_start__[];
extern int _data_end__[];
extern int _bss_start__[];
extern int _bss_end__[];
/* For binutils 2.9.1, we have */
/* DATASTART = _data_start__ */
/* DATAEND = _bss_end__ */
@@ -999,8 +1007,8 @@
/* minumum/maximum of the two. */
# define MAX(x,y) ((x) > (y) ? (x) : (y))
# define MIN(x,y) ((x) < (y) ? (x) : (y))
# define DATASTART ((ptr_t) MIN(&_data_start__, &_bss_start__))
# define DATAEND ((ptr_t) MAX(&_data_end__, &_bss_end__))
# define DATASTART ((ptr_t) MIN(_data_start__, _bss_start__))
# define DATAEND ((ptr_t) MAX(_data_end__, _bss_end__))
# undef STACK_GRAN
# define STACK_GRAN 0x10000
# define HEURISTIC1
@@ -1029,10 +1037,10 @@
# ifdef DJGPP
# define OS_TYPE "DJGPP"
# include "stubinfo.h"
extern int etext;
extern int etext[];
extern int _stklen;
extern int __djgpp_stack_limit;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0x1ff) & ~0x1ff))
# define DATASTART ((ptr_t)((((word) (etext)) + 0x1ff) & ~0x1ff))
/* # define STACKBOTTOM ((ptr_t)((word) _stubinfo + _stubinfo->size \
+ _stklen)) */
# define STACKBOTTOM ((ptr_t)((word) __djgpp_stack_limit + _stklen))
@@ -1052,11 +1060,22 @@
# ifdef __ELF__
# define DYNAMIC_LOADING
# endif
extern char etext;
# define DATASTART ((ptr_t)(&etext))
/* Handle unmapped hole i386*-*-freebsd[45]* may put between etext and edata. */
extern char etext[];
extern char edata[];
extern char end[];
# define NEED_FIND_LIMIT
# define DATASTART ((ptr_t)(etext))
# define MIN(x,y) ((x) < (y) ? (x) : (y))
# define DATAEND (MIN (GC_find_limit (DATASTART, TRUE), DATASTART2))
# define DATASTART2 ((ptr_t)(edata))
# define DATAEND2 ((ptr_t)(end))
# endif
# ifdef NETBSD
# define OS_TYPE "NETBSD"
# ifdef __ELF__
# define DYNAMIC_LOADING
# endif
# endif
# ifdef THREE86BSD
# define OS_TYPE "THREE86BSD"
@@ -1067,8 +1086,8 @@
# if defined(OPENBSD) || defined(NETBSD) \
|| defined(THREE86BSD) || defined(BSDI)
# define HEURISTIC2
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# ifdef NEXT
# define OS_TYPE "NEXT"
@@ -1095,10 +1114,10 @@
# define OS_TYPE "HURD"
# define STACK_GROWS_DOWN
# define HEURISTIC2
extern int __data_start;
# define DATASTART ( (ptr_t) (&__data_start))
extern int _end;
# define DATAEND ( (ptr_t) (&_end))
extern int __data_start[];
# define DATASTART ( (ptr_t) (__data_start))
extern int _end[];
# define DATAEND ( (ptr_t) (_end))
/* # define MPROTECT_VDB Not quite working yet? */
# define DYNAMIC_LOADING
# endif
@@ -1122,8 +1141,8 @@
/* This was developed for a linuxce style platform. Probably */
/* needs to be tweaked for workstation class machines. */
# define OS_TYPE "LINUX"
extern int __data_start;
# define DATASTART ((ptr_t)(&__data_start))
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
# define ALIGNMENT 4
# define USE_GENERIC_PUSH_REGS
# define STACKBOTTOM ((ptr_t)0x7fff8000)
@@ -1141,15 +1160,15 @@
# define CPP_WORDSZ _MIPS_SZPTR
# define ALIGNMENT (_MIPS_SZPTR/8)
# else
extern int etext, edata, end;
extern int _DYNAMIC_LINKING, _gp;
# define DATASTART ((ptr_t)((((word)&etext + 0x3ffff) & ~0x3ffff) \
+ ((word)&etext & 0xffff)))
# define DATAEND (&edata)
# define DATASTART2 (&_DYNAMIC_LINKING \
? (ptr_t)(((word)&_gp + 0x8000 + 0x3ffff) & ~0x3ffff) \
: (ptr_t)&edata)
# define DATAEND2 (&end)
extern int etext[], edata[], end[];
extern int _DYNAMIC_LINKING[], _gp[];
# define DATASTART ((ptr_t)((((word)etext + 0x3ffff) & ~0x3ffff) \
+ ((word)etext & 0xffff)))
# define DATAEND (edata)
# define DATASTART2 (_DYNAMIC_LINKING \
? (ptr_t)(((word)_gp + 0x8000 + 0x3ffff) & ~0x3ffff) \
: (ptr_t)edata)
# define DATAEND2 (end)
# define ALIGNMENT 4
# endif
# define OS_TYPE "EWS4800"
@@ -1171,8 +1190,8 @@
# endif
# ifdef IRIX5
# define HEURISTIC2
extern int _fdata;
# define DATASTART ((ptr_t)(&_fdata))
extern int _fdata[];
# define DATASTART ((ptr_t)(_fdata))
# ifdef USE_MMAP
# define HEAP_START (ptr_t)0x30000000
# else
@@ -1210,7 +1229,7 @@
# define HEURISTIC2
# define USE_GENERIC_PUSH_REGS
# ifdef __ELF__
extern int etext;
extern int etext[];
# define DATASTART GC_data_start
# define NEED_FIND_LIMIT
# define DYNAMIC_LOADING
@@ -1230,9 +1249,9 @@
# define ALIGNMENT 4
# define CPP_WORDSZ 32
# endif
extern int _data, _end;
# define DATASTART ((ptr_t)((ulong)&_data))
# define DATAEND ((ptr_t)((ulong)&_end))
extern int _data[], _end[];
# define DATASTART ((ptr_t)((ulong)_data))
# define DATAEND ((ptr_t)((ulong)_end))
extern int errno;
# define STACKBOTTOM ((ptr_t)((ulong)&errno))
# define USE_GENERIC_PUSH_REGS
@@ -1266,8 +1285,8 @@
# define STACK_GROWS_UP
# ifdef HPUX
# define OS_TYPE "HPUX"
extern int __data_start;
# define DATASTART ((ptr_t)(&__data_start))
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
# if 0
/* The following appears to work for 7xx systems running HP/UX */
/* 9.xx Furthermore, it might result in much faster */
@@ -1299,8 +1318,8 @@
# define LINUX_STACKBOTTOM
# define DYNAMIC_LOADING
# define LINUX_DATA_START
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# endif /* LINUX */
# endif /* HP_PA */
@@ -1330,11 +1349,31 @@
# define DATASTART ((ptr_t) 0x140000000)
# endif
# endif
# ifdef FREEBSD
# define OS_TYPE "FREEBSD"
/* MPROTECT_VDB is not yet supported at all on FreeBSD/alpha. */
# define SIG_SUSPEND SIGUSR1
# define SIG_THR_RESTART SIGUSR2
# define FREEBSD_STACKBOTTOM
# ifdef __ELF__
# define DYNAMIC_LOADING
# endif
/* Handle unmapped hole alpha*-*-freebsd[45]* puts between etext and edata. */
extern char etext[];
extern char edata[];
extern char end[];
# define NEED_FIND_LIMIT
# define DATASTART ((ptr_t)(etext))
# define DATAEND (GC_find_limit (DATASTART, TRUE))
# define DATASTART2 ((ptr_t)(edata))
# define DATAEND2 ((ptr_t)(end))
# define CPP_WORDSZ 64
# endif
# ifdef OSF1
# define OS_TYPE "OSF1"
# define DATASTART ((ptr_t) 0x140000000)
extern int _end;
# define DATAEND ((ptr_t) &_end)
extern int _end[];
# define DATAEND ((ptr_t) _end)
extern char ** environ;
/* round up from the value of environ to the nearest page boundary */
/* Probably breaks if putenv is called before collector */
@@ -1345,8 +1384,8 @@
/* the text segment immediately follows the stack. */
/* Hence we give an upper pound. */
/* This is currently unused, since we disabled HEURISTIC2 */
extern int __start;
# define HEURISTIC2_LIMIT ((ptr_t)((word)(&__start) & ~(getpagesize()-1)))
extern int __start[];
# define HEURISTIC2_LIMIT ((ptr_t)((word)(__start) & ~(getpagesize()-1)))
# define CPP_WORDSZ 64
# define MPROTECT_VDB
# define DYNAMIC_LOADING
@@ -1362,8 +1401,8 @@
# else
# define DATASTART ((ptr_t) 0x140000000)
# endif
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# define MPROTECT_VDB
/* Has only been superficially tested. May not */
/* work on all versions. */
@@ -1396,8 +1435,8 @@
# define ALIGNMENT 8
# endif
# define OS_TYPE "HPUX"
extern int __data_start;
# define DATASTART ((ptr_t)(&__data_start))
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
/* Gustavo Rodriguez-Rivera suggested changing HEURISTIC2 */
/* to this. Note that the GC must be initialized before the */
/* first putenv call. */
@@ -1445,8 +1484,8 @@
# endif
# define MPROTECT_VDB
/* Requires Linux 2.3.47 or later. */
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# ifdef __GNUC__
# define PREFETCH(x) \
__asm__ (" lfetch [%0]": : "r"((void *)(x)))
@@ -1462,15 +1501,15 @@
# define MACH_TYPE "M88K"
# define ALIGNMENT 4
# define ALIGN_DOUBLE
extern int etext;
extern int etext[];
# ifdef CX_UX
# define OS_TYPE "CX_UX"
# define DATASTART ((((word)&etext + 0x3fffff) & ~0x3fffff) + 0x10000)
# define DATASTART ((((word)etext + 0x3fffff) & ~0x3fffff) + 0x10000)
# endif
# ifdef DGUX
# define OS_TYPE "DGUX"
extern char * GC_SysVGetDataStart();
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, &etext)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, etext)
# endif
# define STACKBOTTOM ((char*)0xf0000000) /* determined empirically */
# endif
@@ -1481,27 +1520,27 @@
# define USE_GENERIC_PUSH_REGS
# ifdef UTS4
# define OS_TYPE "UTS4"
extern int etext;
extern int _etext;
extern int _end;
extern int etext[];
extern int _etext[];
extern int _end[];
extern char * GC_SysVGetDataStart();
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, &_etext)
# define DATAEND (&_end)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, _etext)
# define DATAEND (_end)
# define HEURISTIC2
# endif
# ifdef LINUX
# define OS_TYPE "LINUX"
# define HEURISTIC1
# define DYNAMIC_LOADING
extern int __data_start;
# define DATASTART ((ptr_t)(&__data_start))
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
# endif
# endif
# if defined(PJ)
# define ALIGNMENT 4
extern int _etext;
# define DATASTART ((ptr_t)(&_etext))
extern int _etext[];
# define DATASTART ((ptr_t)(_etext))
# define HEURISTIC1
# endif
@@ -1512,8 +1551,8 @@
# ifdef NETBSD
# define OS_TYPE "NETBSD"
# define HEURISTIC2
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# define USE_GENERIC_PUSH_REGS
# endif
# ifdef LINUX
@@ -1539,11 +1578,11 @@
/* contain large read-only data tables */
/* that we'd rather not scan. */
# endif
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# else
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# endif
# endif
# ifdef MSWINCE
@@ -1552,8 +1591,8 @@
# endif
# ifdef NOSYS
/* __data_start is usually defined in the target linker script. */
extern int __data_start;
# define DATASTART (ptr_t)(&__data_start)
extern int __data_start[];
# define DATASTART (ptr_t)(__data_start)
# define USE_GENERIC_PUSH_REGS
/* __stack_base__ is set in newlib/libc/sys/arm/crt0.S */
extern void *__stack_base__;
@@ -1574,8 +1613,8 @@
# define USE_GENERIC_PUSH_REGS
# define DYNAMIC_LOADING
# define LINUX_DATA_START
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# endif
# endif
@@ -1593,10 +1632,10 @@
/* case we lose. Nonetheless, we try both, prefering __data_start. */
/* We assume gcc. */
# pragma weak __data_start
extern int __data_start;
extern int __data_start[];
# pragma weak data_start
extern int data_start;
# define DATASTART ((ptr_t)(&__data_start != 0? &__data_start : &data_start))
extern int data_start[];
# define DATASTART ((ptr_t)(__data_start != 0? __data_start : data_start))
#endif
#if defined(LINUX) && defined(REDIRECT_MALLOC)
@@ -1620,8 +1659,8 @@
# endif
# ifndef DATAEND
extern int end;
# define DATAEND (&end)
extern int end[];
# define DATAEND (end)
# endif
# if defined(SVR4) && !defined(GETPAGESIZE)

View File

@@ -27,16 +27,22 @@
#define TS_HASH_SIZE 1024
#define HASH(n) (((((long)n) >> 8) ^ (long)n) & (TS_HASH_SIZE - 1))
/* An entry describing a thread-specific value for a given thread. */
/* All such accessible structures preserve the invariant that if either */
/* thread is a valid pthread id or qtid is a valid "quick tread id" */
/* for a thread, then value holds the corresponding thread specific */
/* value. This invariant must be preserved at ALL times, since */
/* asynchronous reads are allowed. */
typedef struct thread_specific_entry {
unsigned long qtid; /* quick thread id, only for cache */
void * value;
pthread_t thread;
struct thread_specific_entry *next;
pthread_t thread;
} tse;
/* We represent each thread-specific datum as two tables. The first is */
/* a cache, index by a "quick thread identifier". The "quick" thread */
/* a cache, indexed by a "quick thread identifier". The "quick" thread */
/* identifier is an easy to compute value, which is guaranteed to */
/* determine the thread, though a thread may correspond to more than */
/* one value. We typically use the address of a page in the stack. */
@@ -45,12 +51,15 @@ typedef struct thread_specific_entry {
/* Return the "quick thread id". Default version. Assumes page size, */
/* or at least thread stack separation, is at least 4K. */
static __inline__ long quick_thread_id() {
/* Must be defined so that it never returns 0. (Page 0 can't really */
/* be part of any stack, since that would make 0 a valid stack pointer.)*/
static __inline__ unsigned long quick_thread_id() {
int dummy;
return (long)(&dummy) >> 12;
return (unsigned long)(&dummy) >> 12;
}
#define INVALID_QTID ((unsigned long)(-1))
#define INVALID_QTID ((unsigned long)0)
#define INVALID_THREADID ((pthread_t)0)
typedef struct thread_specific_data {
tse * volatile cache[TS_CACHE_SIZE];
@@ -76,7 +85,10 @@ static __inline__ void * PREFIXED(getspecific) (tsd * key) {
unsigned hash_val = CACHE_HASH(qtid);
tse * volatile * entry_ptr = key -> cache + hash_val;
tse * entry = *entry_ptr; /* Must be loaded only once. */
if (entry -> qtid == qtid) return entry -> value;
if (entry -> qtid == qtid) {
GC_ASSERT(entry -> thread == pthread_self());
return entry -> value;
}
return PREFIXED(slow_getspecific) (key, qtid, entry_ptr);
}

View File

@@ -231,15 +231,16 @@ static void return_freelists(ptr_t *fl, ptr_t *gfl)
nwords = i * (GRANULARITY/sizeof(word));
qptr = fl + i;
q = *qptr;
if ((word)q < HBLKSIZE) continue;
if (gfl[nwords] == 0) {
if ((word)q >= HBLKSIZE) {
if (gfl[nwords] == 0) {
gfl[nwords] = q;
} else {
} else {
/* Concatenate: */
for (; (word)q >= HBLKSIZE; qptr = &(obj_link(q)), q = *qptr);
GC_ASSERT(0 == q);
*qptr = gfl[nwords];
gfl[nwords] = fl[i];
}
}
/* Clear fl[i], since the thread structure may hang around. */
/* Do it in a way that is likely to trap if we access it. */
@@ -412,6 +413,7 @@ GC_PTR GC_local_gcj_malloc(size_t bytes,
/* A memory barrier is probably never needed, since the */
/* action of stopping this thread will cause prior writes */
/* to complete. */
GC_ASSERT(((void * volatile *)result)[1] == 0);
*(void * volatile *)result = ptr_to_struct_containing_descr;
return result;
} else if ((word)my_entry - 1 < DIRECT_GRANULES) {
@@ -544,7 +546,7 @@ static void start_mark_threads()
ABORT("pthread_attr_getstacksize failed\n");
if (old_size < MIN_STACK_SIZE) {
if (pthread_attr_setstacksize(&attr, MIN_STACK_SIZE) != 0)
ABORT("pthread_attr_getstacksize failed\n");
ABORT("pthread_attr_setstacksize failed\n");
}
}
# endif /* HPUX */
@@ -1015,6 +1017,7 @@ int GC_get_nprocs()
WARN("Couldn't read /proc/stat\n", 0);
return -1;
}
close(f);
for (i = 0; i < len - 100; ++i) {
if (stat_buf[i] == '\n' && stat_buf[i+1] == 'c'
&& stat_buf[i+2] == 'p' && stat_buf[i+3] == 'u') {

View File

@@ -264,7 +264,7 @@ static void alloc_mark_stack();
GC_bool GC_mark_some(cold_gc_frame)
ptr_t cold_gc_frame;
{
#ifdef MSWIN32
#if defined(MSWIN32) && !defined(__GNUC__)
/* Windows 98 appears to asynchronously create and remove writable */
/* memory mappings, for reasons we haven't yet understood. Since */
/* we look for writable regions to determine the root set, we may */
@@ -274,7 +274,7 @@ ptr_t cold_gc_frame;
/* Note that this code should never generate an incremental GC write */
/* fault. */
__try {
#endif
#endif /* defined(MSWIN32) && !defined(__GNUC__) */
switch(GC_mark_state) {
case MS_NONE:
return(FALSE);
@@ -395,7 +395,7 @@ ptr_t cold_gc_frame;
ABORT("GC_mark_some: bad state");
return(FALSE);
}
#ifdef MSWIN32
#if defined(MSWIN32) && !defined(__GNUC__)
} __except (GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION ?
EXCEPTION_EXECUTE_HANDLER : EXCEPTION_CONTINUE_SEARCH) {
# ifdef CONDPRINT
@@ -410,7 +410,7 @@ ptr_t cold_gc_frame;
scan_ptr = 0;
return FALSE;
}
#endif /* MSWIN32 */
#endif /* defined(MSWIN32) && !defined(__GNUC__) */
}
@@ -546,13 +546,13 @@ mse * mark_stack_limit;
/* Large length. */
/* Process part of the range to avoid pushing too much on the */
/* stack. */
GC_ASSERT(descr < GC_greatest_plausible_heap_addr
- GC_least_plausible_heap_addr);
# ifdef PARALLEL_MARK
# define SHARE_BYTES 2048
if (descr > SHARE_BYTES && GC_parallel
&& mark_stack_top < mark_stack_limit - 1) {
int new_size = (descr/2) & ~(sizeof(word)-1);
GC_ASSERT(descr < GC_greatest_plausible_heap_addr
- GC_least_plausible_heap_addr);
mark_stack_top -> mse_start = current_p;
mark_stack_top -> mse_descr = new_size + sizeof(word);
/* makes sure we handle */

View File

@@ -16,6 +16,7 @@
#include <stdio.h>
#include <limits.h>
#ifndef _WIN32_WCE
#include <signal.h>
#endif
@@ -112,6 +113,12 @@ GC_bool GC_print_back_height = 0;
int GC_all_interior_pointers = 0;
#endif
long GC_large_alloc_warn_interval = 5;
/* Interval between unsuppressed warnings. */
long GC_large_alloc_warn_suppressed = 0;
/* Number of warnings suppressed so far. */
/*ARGSUSED*/
GC_PTR GC_default_oom_fn GC_PROTO((size_t bytes_requested))
{
@@ -483,9 +490,9 @@ int sig;
#endif
#ifdef MSWIN32
extern GC_bool GC_is_win32s();
extern GC_bool GC_no_win32_dlls;
#else
# define GC_is_win32s() FALSE
# define GC_no_win32_dlls FALSE
#endif
void GC_init_inner()
@@ -499,6 +506,10 @@ void GC_init_inner()
# ifdef PRINTSTATS
GC_print_stats = 1;
# endif
# if defined(MSWIN32) || defined(MSWINCE)
InitializeCriticalSection(&GC_write_cs);
# endif
if (0 != GETENV("GC_PRINT_STATS")) {
GC_print_stats = 1;
}
@@ -514,11 +525,13 @@ void GC_init_inner()
if (0 != GETENV("GC_PRINT_BACK_HEIGHT")) {
GC_print_back_height = 1;
}
if (0 != GETENV("GC_NO_BLACKLIST_WARNING")) {
GC_large_alloc_warn_interval = LONG_MAX;
}
{
char * time_limit_string = GETENV("GC_PAUSE_TIME_TARGET");
if (0 != time_limit_string) {
long time_limit;
if (time_limit_string != 0) time_limit = atol(time_limit_string);
long time_limit = atol(time_limit_string);
if (time_limit < 5) {
WARN("GC_PAUSE_TIME_TARGET environment variable value too small "
"or bad syntax: Ignoring\n", 0);
@@ -527,6 +540,18 @@ void GC_init_inner()
}
}
}
{
char * interval_string = GETENV("GC_LARGE_ALLOC_WARN_INTERVAL");
if (0 != interval_string) {
long interval = atol(interval_string);
if (interval <= 0) {
WARN("GC_LARGE_ALLOC_WARN_INTERVAL environment variable has "
"bad value: Ignoring\n", 0);
} else {
GC_large_alloc_warn_interval = interval;
}
}
}
# ifdef UNIX_LIKE
if (0 != GETENV("GC_LOOP_ON_ABORT")) {
GC_set_and_save_fault_handler(looping_handler);
@@ -536,9 +561,6 @@ void GC_init_inner()
if (ALIGNMENT > GC_DS_TAGS && EXTRA_BYTES != 0) {
GC_obj_kinds[NORMAL].ok_descriptor = ((word)(-ALIGNMENT) | GC_DS_LENGTH);
}
# if defined(MSWIN32) || defined(MSWINCE)
InitializeCriticalSection(&GC_write_cs);
# endif
GC_setpagesize();
GC_exclude_static_roots(beginGC_arrays, endGC_arrays);
GC_exclude_static_roots(beginGC_obj_kinds, endGC_obj_kinds);
@@ -637,7 +659,7 @@ void GC_init_inner()
GC_pcr_install();
# endif
# if !defined(SMALL_CONFIG)
if (!GC_is_win32s() && 0 != GETENV("GC_ENABLE_INCREMENTAL")) {
if (!GC_no_win32_dlls && 0 != GETENV("GC_ENABLE_INCREMENTAL")) {
GC_ASSERT(!GC_incremental);
GC_setpagesize();
# ifndef GC_SOLARIS_THREADS
@@ -681,7 +703,7 @@ void GC_enable_incremental GC_PROTO(())
LOCK();
if (GC_incremental) goto out;
GC_setpagesize();
if (GC_is_win32s()) goto out;
if (GC_no_win32_dlls) goto out;
# ifndef GC_SOLARIS_THREADS
GC_dirty_init();
# endif

View File

@@ -84,7 +84,7 @@
# include <setjmp.h>
#endif
#ifdef FREEBSD
#if defined(FREEBSD) && defined(I386)
# include <machine/trap.h>
#endif
@@ -155,11 +155,11 @@
# ifdef LINUX
# pragma weak __data_start
extern int __data_start;
extern int __data_start[];
# pragma weak data_start
extern int data_start;
extern int data_start[];
# endif /* LINUX */
extern int _end;
extern int _end[];
ptr_t GC_data_start;
@@ -169,16 +169,16 @@
# ifdef LINUX
/* Try the easy approaches first: */
if (&__data_start != 0) {
GC_data_start = (ptr_t)(&__data_start);
if (__data_start != 0) {
GC_data_start = (ptr_t)__data_start;
return;
}
if (&data_start != 0) {
GC_data_start = (ptr_t)(&data_start);
if (data_start != 0) {
GC_data_start = (ptr_t)data_start;
return;
}
# endif /* LINUX */
GC_data_start = GC_find_limit((ptr_t)(&_end), FALSE);
GC_data_start = GC_find_limit((ptr_t)_end, FALSE);
}
#endif
@@ -747,14 +747,14 @@ ptr_t GC_get_stack_base()
ptr_t GC_freebsd_stack_base(void)
{
int nm[2] = { CTL_KERN, KERN_USRSTACK}, base, len, r;
len = sizeof(int);
r = sysctl(nm, 2, &base, &len, NULL, 0);
int nm[2] = {CTL_KERN, KERN_USRSTACK};
ptr_t base;
size_t len = sizeof(ptr_t);
int r = sysctl(nm, 2, &base, &len, NULL, 0);
if (r) ABORT("Error getting stack base");
return (ptr_t)base;
return base;
}
#endif /* FREEBSD_STACKBOTTOM */
@@ -928,19 +928,17 @@ void GC_register_data_segments()
/* all real work is done by GC_register_dynamic_libraries. Under */
/* win32s, we cannot find the data segments associated with dll's. */
/* We rgister the main data segment here. */
GC_bool GC_win32s = FALSE; /* We're running under win32s. */
GC_bool GC_is_win32s()
{
DWORD v = GetVersion();
/* Check that this is not NT, and Windows major version <= 3 */
return ((v & 0x80000000) && (v & 0xff) <= 3);
}
# ifdef __GCC__
GC_bool GC_no_win32_dlls = TRUE; /* GCC can't do SEH, so we can't use VirtualQuery */
# else
GC_bool GC_no_win32_dlls = FALSE;
# endif
void GC_init_win32()
{
GC_win32s = GC_is_win32s();
/* if we're running under win32s, assume that no DLLs will be loaded */
DWORD v = GetVersion();
GC_no_win32_dlls |= ((v & 0x80000000) && (v & 0xff) <= 3);
}
/* Return the smallest address a such that VirtualQuery */
@@ -1008,7 +1006,7 @@ void GC_register_data_segments()
char * base;
char * limit, * new_limit;
if (!GC_win32s) return;
if (!GC_no_win32_dlls) return;
p = base = limit = GC_least_described_address(static_root);
while (p < GC_sysinfo.lpMaximumApplicationAddress) {
result = VirtualQuery(p, &buf, sizeof(buf));
@@ -1307,7 +1305,7 @@ SYSTEM_INFO GC_sysinfo;
# ifdef USE_GLOBAL_ALLOC
# define GLOBAL_ALLOC_TEST 1
# else
# define GLOBAL_ALLOC_TEST GC_win32s
# define GLOBAL_ALLOC_TEST GC_no_win32_dlls
# endif
word GC_n_heap_bases = 0;
@@ -1338,7 +1336,7 @@ word bytes;
void GC_win32_free_heap ()
{
if (GC_win32s) {
if (GC_no_win32_dlls) {
while (GC_n_heap_bases > 0) {
GlobalFree (GC_heap_bases[--GC_n_heap_bases]);
GC_heap_bases[GC_n_heap_bases] = 0;

View File

@@ -861,6 +861,25 @@ void GC_print_block_list()
#endif /* NO_DEBUGGING */
/*
* Clear all obj_link pointers in the list of free objects *flp.
* Clear *flp.
* This must be done before dropping a list of free gcj-style objects,
* since may otherwise end up with dangling "descriptor" pointers.
* It may help for other pointer-containg objects.
*/
void GC_clear_fl_links(flp)
ptr_t *flp;
{
ptr_t next = *flp;
while (0 != next) {
*flp = 0;
flp = &(obj_link(next));
next = *flp;
}
}
/*
* Perform GC_reclaim_block on the entire heap, after first clearing
* small object free lists (if we are not just looking for leaks).
@@ -875,17 +894,24 @@ int report_if_found; /* Abort if a GC_reclaimable object is found */
# endif
/* Clear reclaim- and free-lists */
for (kind = 0; kind < GC_n_kinds; kind++) {
register ptr_t *fop;
register ptr_t *lim;
register struct hblk ** rlp;
register struct hblk ** rlim;
register struct hblk ** rlist = GC_obj_kinds[kind].ok_reclaim_list;
ptr_t *fop;
ptr_t *lim;
struct hblk ** rlp;
struct hblk ** rlim;
struct hblk ** rlist = GC_obj_kinds[kind].ok_reclaim_list;
GC_bool should_clobber = (GC_obj_kinds[kind].ok_descriptor != 0);
if (rlist == 0) continue; /* This kind not used. */
if (!report_if_found) {
lim = &(GC_obj_kinds[kind].ok_freelist[MAXOBJSZ+1]);
for( fop = GC_obj_kinds[kind].ok_freelist; fop < lim; fop++ ) {
*fop = 0;
if (*fop != 0) {
if (should_clobber) {
GC_clear_fl_links(fop);
} else {
*fop = 0;
}
}
}
} /* otherwise free list objects are marked, */
/* and its safe to leave them */

View File

@@ -16,17 +16,27 @@
#include "private/gc_priv.h" /* For GC_compare_and_exchange, GC_memory_barrier */
#include "private/specific.h"
static tse invalid_tse; /* 0 qtid is guaranteed to be invalid */
static tse invalid_tse = {INVALID_QTID, 0, 0, INVALID_THREADID};
/* A thread-specific data entry which will never */
/* appear valid to a reader. Used to fill in empty */
/* cache entries to avoid a check for 0. */
int PREFIXED(key_create) (tsd ** key_ptr, void (* destructor)(void *)) {
int i;
tsd * result = (tsd *)MALLOC_CLEAR(sizeof (tsd));
/* A quick alignment check, since we need atomic stores */
GC_ASSERT((unsigned long)(&invalid_tse.next) % sizeof(tse *) == 0);
if (0 == result) return ENOMEM;
pthread_mutex_init(&(result -> lock), NULL);
for (i = 0; i < TS_CACHE_SIZE; ++i) {
result -> cache[i] = &invalid_tse;
}
# ifdef GC_ASSERTIONS
for (i = 0; i < TS_HASH_SIZE; ++i) {
GC_ASSERT(result -> hash[i] == 0);
}
# endif
*key_ptr = result;
return 0;
}
@@ -36,12 +46,14 @@ int PREFIXED(setspecific) (tsd * key, void * value) {
int hash_val = HASH(self);
volatile tse * entry = (volatile tse *)MALLOC_CLEAR(sizeof (tse));
GC_ASSERT(self != INVALID_THREADID);
if (0 == entry) return ENOMEM;
pthread_mutex_lock(&(key -> lock));
/* Could easily check for an existing entry here. */
entry -> next = key -> hash[hash_val];
entry -> thread = self;
entry -> value = value;
GC_ASSERT(entry -> qtid == INVALID_QTID);
/* There can only be one writer at a time, but this needs to be */
/* atomic with respect to concurrent readers. */
*(volatile tse **)(key -> hash + hash_val) = entry;
@@ -70,6 +82,10 @@ void PREFIXED(remove_specific) (tsd * key) {
*link = entry -> next;
/* Atomic! concurrent accesses still work. */
/* They must, since readers don't lock. */
/* We shouldn't need a volatile access here, */
/* since both this and the preceding write */
/* should become visible no later than */
/* the pthread_mutex_unlock() call. */
}
/* If we wanted to deallocate the entry, we'd first have to clear */
/* any cache entries pointing to it. That probably requires */
@@ -91,6 +107,7 @@ void * PREFIXED(slow_getspecific) (tsd * key, unsigned long qtid,
unsigned hash_val = HASH(self);
tse *entry = key -> hash[hash_val];
GC_ASSERT(qtid != INVALID_QTID);
while (entry != NULL && entry -> thread != self) {
entry = entry -> next;
}
@@ -99,6 +116,8 @@ void * PREFIXED(slow_getspecific) (tsd * key, unsigned long qtid,
entry -> qtid = qtid;
/* It's safe to do this asynchronously. Either value */
/* is safe, though may produce spurious misses. */
/* We're replacing one qtid with another one for the */
/* same thread. */
*cache_ptr = entry;
/* Again this is safe since pointer assignments are */
/* presumed atomic, and either pointer is valid. */

View File

@@ -447,16 +447,22 @@ static DWORD WINAPI thread_start(LPVOID arg)
/* Clear the thread entry even if we exit with an exception. */
/* This is probably pointless, since an uncaught exception is */
/* supposed to result in the process being killed. */
#ifndef __GNUC__
__try {
#endif /* __GNUC__ */
ret = args.start (args.param);
#ifndef __GNUC__
} __finally {
#endif /* __GNUC__ */
LOCK();
args.entry->stack = 0;
args.entry->in_use = FALSE;
/* cast away volatile qualifier */
BZERO((void *) &args.entry->context, sizeof(CONTEXT));
UNLOCK();
#ifndef __GNUC__
}
#endif /* __GNUC__ */
return ret;
}

View File

@@ -1,3 +1,11 @@
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
* acinclude.m4: Fix spelling error of "separate" as "seperate".

View File

@@ -1,3 +1,11 @@
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
Tue Nov 26 12:34:12 1996 Stan Shebs <shebs@andros.cygnus.com>
* g-mpw-make.sed: Fix some comments.

View File

@@ -15,7 +15,7 @@
## for 'Autoconf' (autoconf.texi) and 'Configure' (configure.texi).
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
# 1999, 2000 Free Software Foundation, Inc.
# 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -50,7 +50,7 @@ fi
libstdcxx_version="target-libstdc++-v3"
# Don't use libstdc++-v3's flags to configure/build itself.
libstdcxx_flags='`case $$dir in libstdc++-v3) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
libstdcxx_flags='`case $$dir in libstdc++-v3 | libjava) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
# these tools are built for the host environment
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
@@ -73,7 +73,6 @@ target_libs="target-libiberty \
target-librx \
${libstdcxx_version} \
target-libf2c \
target-libchill \
${libgcj}
target-libobjc"
@@ -617,12 +616,16 @@ case "${target}" in
*-*-chorusos)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
;;
*-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
;;
*-*-netbsd*)
# Skip some stuff on all NetBSD configurations.
skipdirs="$skipdirs target-newlib target-libiberty target-libgloss"
# Skip some stuff that's unsupported on some NetBSD configurations.
case "${target}" in
i*86-*-netbsdelf*) ;;
*)
noconfigdirs="$noconfigdirs ${libgcj}"
;;
@@ -633,6 +636,12 @@ case "${target}" in
;;
*-*-rtems*)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
case ${target} in
h8300*-*-* | h8500-*-*)
noconfigdirs="$noconfigdirs target-libf2c"
;;
*) ;;
esac
;;
*-*-vxworks*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
@@ -641,7 +650,7 @@ case "${target}" in
# ld works, but does not support shared libraries. emacs doesn't
# work. newlib is not 64 bit ready. I'm not sure about fileutils.
# gas doesn't generate exception information.
noconfigdirs="$noconfigdirs gas ld emacs fileutils target-newlib target-libgloss ${libgcj}"
noconfigdirs="$noconfigdirs gas ld emacs fileutils target-newlib target-libgloss"
;;
alpha*-*-*vms*)
noconfigdirs="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
@@ -652,6 +661,9 @@ case "${target}" in
# linux has rx in libc
skipdirs="$skipdirs target-librx"
;;
alpha*-*-freebsd*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
alpha*-*-*)
# newlib is not 64 bit ready
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
@@ -725,7 +737,7 @@ case "${target}" in
fi
;;
xscale-*-elf)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
noconfigdirs="$noconfigdirs target-libgloss target-libffi target-qthreads"
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-bsp target-cygmon"
fi
@@ -796,6 +808,15 @@ case "${target}" in
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
;;
i[34567]86-*-freebsd*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
s390*-*-linux*)
# The libffi port is not yet in the GCC tree
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
# linux has rx in libc
skipdirs="$skipdirs target-librx"
;;
*-*-linux*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
# linux has rx in libc
@@ -866,6 +887,11 @@ case "${target}" in
target_configdirs="${target_configdirs} target-bsp target-cygmon"
fi
;;
mcore-*-pe*)
# The EPOC C++ environment does not support exceptions or rtti,
# and so building libstdc++-v3 tends not to always work.
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
mmix-*-*)
noconfigdirs="$noconfigdirs ${libgcj}"
;;
@@ -951,6 +977,9 @@ case "${target}" in
noconfigdirs="$noconfigdirs gprof ${libgcj}" # same as generic mips
target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
;;
mips*-*-linux*)
noconfigdirs="$noconfigdirs target-libffi"
;;
mips*-*-*)
noconfigdirs="$noconfigdirs gprof ${libgcj}"
;;
@@ -973,11 +1002,13 @@ case "${target}" in
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
noconfigdirs="$noconfigdirs ${libgcj}"
;;
sparc64-*-elf*)
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
noconfigdirs="$noconfigdirs ${libgcj}"
;;
sparclite-*-*)
if [ x${is_cross_compiler} != xno ] ; then
@@ -993,16 +1024,7 @@ case "${target}" in
use_gnu_ld=no
fi
;;
sparc-*-solaris*)
case "${host}" in
sparc-*-solaris2.8)
# According to Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>, libjava
# won't build correctly on Solaris 8 if there's a
# previously-installed version of GCC in the configured prefix.
# This problem does not show up on earlier versions of Solaris.
noconfigdirs="$noconfigdirs ${libgcj}"
;;
esac
sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
;;
v810-*-*)
noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld ${libstdcxx_version} opcodes target-libgloss ${libgcj}"
@@ -1521,20 +1543,6 @@ case $CC_FOR_TARGET in
*) CC_FOR_TARGET=$CC_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
esac
if test "x${CHILL_FOR_TARGET+set}" = xset; then
:
elif test -d ${topsrcdir}/gcc; then
CHILL_FOR_TARGET='$$r/gcc/xgcc -B$$r/gcc/ -L$$r/gcc/ch/runtime/'
elif test "$host" = "$target"; then
CHILL_FOR_TARGET='$(CC)'
else
CHILL_FOR_TARGET=`echo gcc | sed -e 's/x/x/' ${program_transform_name}`
fi
case $CHILL_FOR_TARGET in
*' $(FLAGS_FOR_TARGET)') ;;
*) CHILL_FOR_TARGET=$CHILL_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
esac
if test "x${GCJ_FOR_TARGET+set}" = xset; then
:
elif test -d ${topsrcdir}/gcc; then
@@ -1544,10 +1552,17 @@ elif test "$host" = "$target"; then
else
GCJ_FOR_TARGET=`echo gcj | sed -e 's/x/x/' ${program_transform_name}`
fi
case $GCJ_FOR_TARGET in
*' $(FLAGS_FOR_TARGET)') ;;
*) GCJ_FOR_TARGET=$GCJ_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
esac
if test "x${CXX_FOR_TARGET+set}" = xset; then
:
elif test -d ${topsrcdir}/gcc; then
# We add -shared-libgcc to CXX_FOR_TARGET whenever we use xgcc instead
# of g++ for linking C++ or Java, because g++ has -shared-libgcc by
# default whereas gcc does not.
CXX_FOR_TARGET='$$r/gcc/`case $$dir in libstdc++-v3 | libjava) echo xgcc -shared-libgcc ;; *) echo g++ ;; esac` -B$$r/gcc/ -nostdinc++ '$libstdcxx_flags
elif test "$host" = "$target"; then
CXX_FOR_TARGET='$(CXX)'
@@ -1574,7 +1589,6 @@ s:^TARGET_CONFIGDIRS[ ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:
s%^TARGET_CONFIGARGS[ ]*=.*$%TARGET_CONFIGARGS = ${targargs}%
s%^FLAGS_FOR_TARGET[ ]*=.*$%FLAGS_FOR_TARGET = ${FLAGS_FOR_TARGET}%
s%^CC_FOR_TARGET[ ]*=.*$%CC_FOR_TARGET = ${CC_FOR_TARGET}%
s%^CHILL_FOR_TARGET[ ]*=.*$%CHILL_FOR_TARGET = ${CHILL_FOR_TARGET}%
s%^GCJ_FOR_TARGET[ ]*=.*$%GCJ_FOR_TARGET = ${GCJ_FOR_TARGET}%
s%^CXX_FOR_TARGET[ ]*=.*$%CXX_FOR_TARGET = ${qCXX_FOR_TARGET}%
s%^CXX_FOR_TARGET_FOR_RECURSIVE_MAKE[ ]*=.*$%CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = ${qqCXX_FOR_TARGET}%

View File

@@ -1,3 +1,20 @@
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-04-03 Zack Weinberg <zack@codesourcery.com>
* texi2pod.pl: Handle @end ftable and @end vtable.
2002-03-12 Zack Weinberg <zack@codesourcery.com>
* texi2pod.pl: Handle @include, @ftable, @vtable.
Reformat some code for clarity.
2002-02-24 Christian Jönsson <c.christian.joensson@telia.com>
* test_summary: Additional to XPASS and FAIL, add UNRESOLVED,

View File

@@ -1,3 +1,11 @@
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-01-31 Geoffrey Keating <geoffk@redhat.com>
* btest-gcc.sh: New file.

View File

@@ -30,9 +30,12 @@ $section = "";
@icstack = ();
@endwstack = ();
@skstack = ();
@instack = ();
$shift = "";
%defs = ();
$fnno = 1;
$inf = "";
$ibase = "";
while ($_ = shift) {
if (/^-D(.*)$/) {
@@ -58,14 +61,19 @@ while ($_ = shift) {
}
if (defined $in) {
open(STDIN, $in) or die "opening \"$in\": $!\n";
$inf = gensym();
open($inf, "<$in") or die "opening \"$in\": $!\n";
$ibase = $1 if $in =~ m|^(.+)/[^/]+$|;
} else {
$inf = \*STDIN;
}
if (defined $out) {
open(STDOUT, ">$out") or die "opening \"$out\": $!\n";
}
while(<STDIN>)
{
while(defined $inf) {
while(<$inf>) {
# Certain commands are discarded without further processing.
/^\@(?:
[a-z]+index # @*index: useful only in complete manual
@@ -109,8 +117,14 @@ while(<STDIN>)
};
# handle variables
/^\@set\s+([a-zA-Z0-9_-]+)\s*(.*)$/ and $defs{$1} = $2, next;
/^\@clear\s+([a-zA-Z0-9_-]+)/ and delete $defs{$1}, next;
/^\@set\s+([a-zA-Z0-9_-]+)\s*(.*)$/ and do {
$defs{$1} = $2;
next;
};
/^\@clear\s+([a-zA-Z0-9_-]+)/ and do {
delete $defs{$1};
next;
};
next unless $output;
@@ -137,7 +151,7 @@ while(<STDIN>)
} elsif ($ended =~ /^(?:example|smallexample|display)$/) {
$shift = "";
$_ = ""; # need a paragraph break
} elsif ($ended =~ /^(?:itemize|enumerate|table)$/) {
} elsif ($ended =~ /^(?:itemize|enumerate|[fv]?table)$/) {
$_ = "\n=back\n";
$ic = pop @icstack;
} else {
@@ -210,8 +224,21 @@ while(<STDIN>)
# Single line command handlers.
/^\@(?:section|unnumbered|unnumberedsec|center)\s+(.+)$/ and $_ = "\n=head2 $1\n";
/^\@subsection\s+(.+)$/ and $_ = "\n=head3 $1\n";
/^\@include\s+(.+)$/ and do {
push @instack, $inf;
$inf = gensym();
# Try cwd and $ibase.
open($inf, "<" . $1)
or open($inf, "<" . $ibase . "/" . $1)
or die "cannot open $1 or $ibase/$1: $!\n";
next;
};
/^\@(?:section|unnumbered|unnumberedsec|center)\s+(.+)$/
and $_ = "\n=head2 $1\n";
/^\@subsection\s+(.+)$/
and $_ = "\n=head3 $1\n";
# Block command handlers:
/^\@itemize\s+(\@[a-z]+|\*|-)/ and do {
@@ -234,16 +261,16 @@ while(<STDIN>)
$endw = "enumerate";
};
/^\@table\s+(\@[a-z]+)/ and do {
/^\@([fv]?table)\s+(\@[a-z]+)/ and do {
push @endwstack, $endw;
push @icstack, $ic;
$ic = $1;
$endw = $1;
$ic = $2;
$ic =~ s/\@(?:samp|strong|key|gcctabopt|env)/B/;
$ic =~ s/\@(?:code|kbd)/C/;
$ic =~ s/\@(?:dfn|var|emph|cite|i)/I/;
$ic =~ s/\@(?:file)/F/;
$_ = "\n=over 4\n";
$endw = "table";
};
/^\@((?:small)?example|display)/ and do {
@@ -266,6 +293,10 @@ while(<STDIN>)
$section .= $shift.$_."\n";
}
# End of current file.
close($inf);
$inf = pop @instack;
}
die "No filename or title\n" unless defined $fn && defined $tl;
@@ -382,3 +413,15 @@ sub add_footnote
$sects{FOOTNOTES} .= $_[0];
$sects{FOOTNOTES} .= "\n\n";
}
# stolen from Symbol.pm
{
my $genseq = 0;
sub gensym
{
my $name = "GEN" . $genseq++;
my $ref = \*{$name};
delete $::{$name};
return $ref;
}
}

View File

@@ -1,3 +1,16 @@
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* jartool.c (expand_options): Handle tar-style argument list with a
leading "-".
2002-02-23 Anthony Green <green@redhat.com>
* jartool.c (main): Fix handling of -C.

View File

@@ -1938,24 +1938,34 @@ expand_options (int *argcp, char ***argvp)
int argc = *argcp;
char **argv = *argvp;
if (argc > 1 && argv[1][0] != '-')
/* Accept arguments with a leading "-" (eg "-cvf"), but don't do expansion
if a long argument (like "--help") is detected. */
if (argc > 1 && argv[1][1] != '-')
{
char buf[3];
char **new_argv;
int new_argc;
int args_to_expand;
char *p;
char **in, **out;
buf[0] = '-';
buf[2] = '\0';
new_argc = argc - 1 + strlen (argv[1]);
args_to_expand = strlen (argv[1]);
if (argv[1][0] == '-')
--args_to_expand;
new_argc = argc - 1 + args_to_expand;
new_argv = (char **) malloc (new_argc * sizeof (char *));
in = argv;
out = new_argv;
*out++ = *in++;
for (p = *in++; *p; ++p)
p = *in++;
if (*p == '-')
p++;
while (*p != '\0')
{
char *opt;
buf[1] = *p;
@@ -1974,6 +1984,7 @@ expand_options (int *argcp, char ***argvp)
usage(argv[0]);
}
}
++p;
}
/* Copy remaining options. */

File diff suppressed because it is too large Load Diff

View File

@@ -356,11 +356,8 @@ LIBGCC = libgcc.a
INSTALL_LIBGCC = install-libgcc
# Options to use when compiling libgcc2.a.
# -g1 causes output of debug info only for file-scope entities.
# we use this here because that should be enough, and also
# so that -g1 will be tested.
#
LIBGCC2_DEBUG_CFLAGS = -g1
LIBGCC2_DEBUG_CFLAGS = -g
LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) $(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED @inhibit_libc@
# Additional options to use when compiling libgcc2.a.
@@ -1002,8 +999,10 @@ libgcc.mk: config.status Makefile mklibgcc $(LIB2ADD) $(LIB2ADD_ST) xgcc$(exeext
SHLIB_EXT='$(SHLIB_EXT)' \
SHLIB_MULTILIB='$(SHLIB_MULTILIB)' \
SHLIB_MKMAP='$(SHLIB_MKMAP)' \
SHLIB_MKMAP_OPTS='$(SHLIB_MKMAP_OPTS)' \
SHLIB_MAPFILES='$(SHLIB_MAPFILES)' \
SHLIB_NM_FLAGS='$(SHLIB_NM_FLAGS)' \
SHLIB_SLIBDIR_SUFFIXES='$(SHLIB_SLIBDIR_SUFFIXES)' \
mkinstalldirs='$(SHELL) $(srcdir)/mkinstalldirs' \
$(SHELL) mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
@@ -1037,14 +1036,18 @@ libgcc.a: $(LIBGCC_DEPS)
# switches.
multilib.h: s-mlib; @true
s-mlib: $(srcdir)/genmultilib Makefile
$(SHELL) $(srcdir)/genmultilib \
"`test @enable_multilib@ != yes || echo $(MULTILIB_OPTIONS)`" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_DIRNAMES)`" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_MATCHES)`" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_EXCEPTIONS)`" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_EXTRA_OPTS)`" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_EXCLUSIONS)`" \
> tmp-mlib.h
if test @enable_multilib@ = yes; then \
$(SHELL) $(srcdir)/genmultilib \
"$(MULTILIB_OPTIONS)" \
"$(MULTILIB_DIRNAMES)" \
"$(MULTILIB_MATCHES)" \
"$(MULTILIB_EXCEPTIONS)" \
"$(MULTILIB_EXTRA_OPTS)" \
"$(MULTILIB_EXCLUSIONS)" \
> tmp-mlib.h; \
else \
$(SHELL) $(srcdir)/genmultilib '' '' '' '' '' '' > tmp-mlib.h; \
fi
$(SHELL) $(srcdir)/move-if-change tmp-mlib.h multilib.h
$(STAMP) s-mlib
@@ -1147,7 +1150,7 @@ $(srcdir)/c-parse.y: c-parse.in
c-decl.o : c-decl.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) $(C_TREE_H) \
$(GGC_H) $(TARGET_H) c-lex.h flags.h function.h output.h $(EXPR_H) \
debug.h toplev.h intl.h $(TM_P_H) tree-inline.h $(TIMEVAR_H)
debug.h toplev.h intl.h $(TM_P_H) tree-inline.h $(TIMEVAR_H) c-pragma.h
c-typeck.o : c-typeck.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(C_TREE_H) \
$(TARGET_H) flags.h intl.h output.h $(EXPR_H) $(RTL_H) toplev.h $(TM_P_H)
c-lang.o : c-lang.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(C_TREE_H) \
@@ -1164,7 +1167,7 @@ c-aux-info.o : c-aux-info.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(C_TREE_H) \
flags.h toplev.h
c-convert.o : c-convert.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) flags.h toplev.h
c-pragma.o: c-pragma.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) function.h \
c-pragma.h toplev.h output.h $(GGC_H) $(TM_P_H)
c-pragma.h toplev.h output.h $(GGC_H) $(TM_P_H) $(C_COMMON_H)
mbchar.o: mbchar.c $(CONFIG_H) $(SYSTEM_H) mbchar.h
graph.o: graph.c $(CONFIG_H) $(SYSTEM_H) toplev.h flags.h output.h $(RTL_H) \
function.h hard-reg-set.h $(BASIC_BLOCK_H) graph.h
@@ -1447,7 +1450,7 @@ cse.o : cse.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) hard-reg-set.h flags.h
$(BASIC_BLOCK_H) $(GGC_H) $(TM_P_H)
gcse.o : gcse.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) hard-reg-set.h \
flags.h real.h insn-config.h ggc.h $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) \
function.h output.h toplev.h $(TM_P_H) $(PARAMS_H)
function.h output.h toplev.h $(TM_P_H) $(PARAMS_H) except.h
sibcall.o : sibcall.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) function.h \
hard-reg-set.h flags.h insn-config.h $(RECOG_H) $(BASIC_BLOCK_H)
resource.o : resource.c $(CONFIG_H) $(RTL_H) hard-reg-set.h $(SYSTEM_H) \
@@ -1525,7 +1528,7 @@ reload.o : reload.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h output.h \
reload1.o : reload1.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) real.h flags.h \
$(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) hard-reg-set.h insn-config.h \
$(BASIC_BLOCK_H) $(RECOG_H) output.h function.h toplev.h cselib.h $(TM_P_H) \
except.h
except.h $(TREE_H)
caller-save.o : caller-save.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h \
$(REGS_H) hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) function.h \
$(RECOG_H) reload.h $(EXPR_H) toplev.h $(TM_P_H)
@@ -1577,7 +1580,7 @@ regrename.o : regrename.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) insn-config.h \
resource.h $(OBSTACK_H) flags.h $(TM_P_H)
ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) toplev.h \
flags.h insn-config.h function.h $(RECOG_H) $(BASIC_BLOCK_H) $(EXPR_H) \
output.h $(TM_P_H)
output.h except.h $(TM_P_H)
dependence.o : dependence.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) \
$(C_COMMON_H) flags.h varray.h $(EXPR_H)
params.o : params.c $(CONFIG_H) $(SYSTEM_H) $(PARAMS_H) toplev.h
@@ -2013,7 +2016,7 @@ $(srcdir)/tradcif.c: $(srcdir)/tradcif.y
proto: config.status protoize$(exeext) unprotoize$(exeext) SYSCALLS.c.X
PROTO_OBJS = intl.o version.o
PROTO_OBJS = intl.o version.o cppdefault.o
protoize$(exeext): protoize.o $(PROTO_OBJS) $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ protoize.o $(PROTO_OBJS) $(LIBS)
@@ -2026,16 +2029,16 @@ protoize.o: protoize.c $(srcdir)/../include/getopt.h $(CONFIG_H) $(SYSTEM_H) \
(SHLIB_LINK='$(SHLIB_LINK)' \
SHLIB_MULTILIB='$(SHLIB_MULTILIB)'; \
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(DRIVER_DEFINES) $(PREPROCESSOR_DEFINES) \
$(DRIVER_DEFINES) \
$(srcdir)/protoize.c $(OUTPUT_OPTION))
unprotoize.o: unprotoize.c protoize.c $(srcdir)/../include/getopt.h \
unprotoize.o: protoize.c $(srcdir)/../include/getopt.h \
$(CONFIG_H) $(SYSTEM_H) Makefile version.h
(SHLIB_LINK='$(SHLIB_LINK)' \
SHLIB_MULTILIB='$(SHLIB_MULTILIB)'; \
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(DRIVER_DEFINES) $(PREPROCESSOR_DEFINES) \
$(srcdir)/unprotoize.c $(OUTPUT_OPTION))
$(CC) -c -DUNPROTOIZE $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(DRIVER_DEFINES) \
$(srcdir)/protoize.c $(OUTPUT_OPTION))
# This info describes the target machine, so compile with GCC just built.
SYSCALLS.c.X: $(srcdir)/sys-types.h $(srcdir)/sys-protos.h $(GCC_PASSES) \
@@ -2260,7 +2263,8 @@ docdir = $(srcdir)/doc
doc: $(BUILD_INFO) $(GENERATED_MANPAGES) gccbug
info: $(docdir)/cpp.info $(docdir)/gcc.info $(docdir)/gccint.info lang.info $(docdir)/cppinternals.info
$(docdir)/cpp.info: $(docdir)/cpp.texi $(docdir)/include/fdl.texi
$(docdir)/cpp.info: $(docdir)/cpp.texi $(docdir)/include/fdl.texi \
$(docdir)/cppenv.texi $(docdir)/cppopts.texi
cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I doc -I doc/include -o doc/cpp.info doc/cpp.texi
$(docdir)/gcc.info: $(docdir)/gcc.texi $(docdir)/include/gcc-common.texi \
@@ -2271,7 +2275,7 @@ $(docdir)/gcc.info: $(docdir)/gcc.texi $(docdir)/include/gcc-common.texi \
$(docdir)/contribute.texi $(docdir)/vms.texi \
$(docdir)/include/funding.texi $(docdir)/gnu.texi \
$(docdir)/include/gpl.texi $(docdir)/include/fdl.texi \
$(docdir)/contrib.texi
$(docdir)/contrib.texi $(docdir)/cppenv.texi $(docdir)/cppopts.texi
cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I doc -I doc/include -o doc/gcc.info doc/gcc.texi
$(docdir)/gccint.info: $(docdir)/gccint.texi \
@@ -2295,7 +2299,8 @@ $(docdir)/cppinternals.info: $(docdir)/cppinternals.texi
dvi: gcc.dvi gccint.dvi cpp.dvi lang.dvi cppinternals.dvi
# This works with GNU Make's default rule.
cpp.dvi: $(docdir)/cpp.texi $(docdir)/include/fdl.texi
cpp.dvi: $(docdir)/cpp.texi $(docdir)/include/fdl.texi \
$(docdir)/cppenv.texi $(docdir)/cppopts.texi
$(TEXI2DVI) -I $(docdir) -I $(docdir)/include $(docdir)/cpp.texi
gcc.dvi: $(docdir)/gcc.texi $(docdir)/include/gcc-common.texi \
@@ -2306,7 +2311,7 @@ gcc.dvi: $(docdir)/gcc.texi $(docdir)/include/gcc-common.texi \
$(docdir)/contribute.texi $(docdir)/vms.texi \
$(docdir)/include/funding.texi $(docdir)/gnu.texi \
$(docdir)/include/gpl.texi $(docdir)/include/fdl.texi \
$(docdir)/contrib.texi
$(docdir)/contrib.texi $(docdir)/cppenv.texi $(docdir)/cppopts.texi
$(TEXI2DVI) -I $(docdir) -I $(docdir)/include $(docdir)/gcc.texi
gccint.dvi: $(docdir)/gccint.texi \
@@ -2332,23 +2337,25 @@ generated-manpages: $(docdir)/gcov.1 $(docdir)/cpp.1 $(docdir)/gcc.1 \
$(docdir)/gcov.1: $(docdir)/gcov.texi
$(STAMP) $(docdir)/gcov.1
-$(TEXI2POD) < $(docdir)/gcov.texi > gcov.pod
-$(TEXI2POD) $(docdir)/gcov.texi > gcov.pod
-($(POD2MAN) --section=1 gcov.pod > $(docdir)/gcov.1.T$$$$ && \
mv -f $(docdir)/gcov.1.T$$$$ $(docdir)/gcov.1) || \
(rm -f $(docdir)/gcov.1.T$$$$ && exit 1)
-rm -f gcov.pod
$(docdir)/cpp.1: $(docdir)/cpp.texi
$(docdir)/cpp.1: $(docdir)/cpp.texi $(docdir)/cppenv.texi \
$(docdir)/cppopts.texi
$(STAMP) $(docdir)/cpp.1
-$(TEXI2POD) < $(docdir)/cpp.texi > cpp.pod
-$(TEXI2POD) $(docdir)/cpp.texi > cpp.pod
-($(POD2MAN) --section=1 cpp.pod > $(docdir)/cpp.1.T$$$$ && \
mv -f $(docdir)/cpp.1.T$$$$ $(docdir)/cpp.1) || \
(rm -f $(docdir)/cpp.1.T$$$$ && exit 1)
-rm -f cpp.pod
$(docdir)/gcc.1: $(docdir)/invoke.texi
$(docdir)/gcc.1: $(docdir)/invoke.texi $(docdir)/cppenv.texi \
$(docdir)/cppopts.texi
$(STAMP) $(docdir)/gcc.1
-$(TEXI2POD) < $(docdir)/invoke.texi > gcc.pod
-$(TEXI2POD) $(docdir)/invoke.texi > gcc.pod
-($(POD2MAN) --section=1 gcc.pod > $(docdir)/gcc.1.T$$$$ && \
mv -f $(docdir)/gcc.1.T$$$$ $(docdir)/gcc.1) || \
(rm -f $(docdir)/gcc.1.T$$$$ && exit 1)
@@ -2356,7 +2363,7 @@ $(docdir)/gcc.1: $(docdir)/invoke.texi
$(docdir)/gfdl.7: $(docdir)/include/fdl.texi
$(STAMP) $(docdir)/gfdl.7
-$(TEXI2POD) < $(docdir)/include/fdl.texi > gfdl.pod
-$(TEXI2POD) $(docdir)/include/fdl.texi > gfdl.pod
-($(POD2MAN) --section=7 gfdl.pod > $(docdir)/gfdl.7.T$$$$ && \
mv -f $(docdir)/gfdl.7.T$$$$ $(docdir)/gfdl.7) || \
(rm -f $(docdir)/gfdl.7.T$$$$ && exit 1)
@@ -2364,7 +2371,7 @@ $(docdir)/gfdl.7: $(docdir)/include/fdl.texi
$(docdir)/gpl.7: $(docdir)/include/gpl.texi
$(STAMP) $(docdir)/gpl.7
-$(TEXI2POD) < $(docdir)/include/gpl.texi > gpl.pod
-$(TEXI2POD) $(docdir)/include/gpl.texi > gpl.pod
-($(POD2MAN) --section=7 gpl.pod > $(docdir)/gpl.7.T$$$$ && \
mv -f $(docdir)/gpl.7.T$$$$ $(docdir)/gpl.7) || \
(rm -f $(docdir)/gpl.7.T$$$$ && exit 1)
@@ -2372,7 +2379,7 @@ $(docdir)/gpl.7: $(docdir)/include/gpl.texi
$(docdir)/fsf-funding.7: $(docdir)/include/funding.texi
$(STAMP) $(docdir)/fsf-funding.7
-$(TEXI2POD) < $(docdir)/include/funding.texi > fsf-funding.pod
-$(TEXI2POD) $(docdir)/include/funding.texi > fsf-funding.pod
-($(POD2MAN) --section=7 fsf-funding.pod \
> $(docdir)/fsf-funding.7.T$$$$ && \
mv -f $(docdir)/fsf-funding.7.T$$$$ $(docdir)/fsf-funding.7) || \
@@ -2470,7 +2477,7 @@ distclean: clean $(INTL_DISTCLEAN) lang.distclean
-rm -f testsuite/{gcc,g++}.{log,sum}
-rm -f intl/libintl.h libintl.h
-rm -f cxxmain.c
-rm -f mklibgcc libgcc.map gccbug .gdbinit configargs.h
-rm -f mklibgcc gccbug .gdbinit configargs.h
-rm -f gcov.pod
-rm -f fixinc/Makefile
-rmdir ada cp f java objc fixinc intl po 2>/dev/null
@@ -2874,12 +2881,17 @@ site.exp: ./config.status Makefile
-e '1,/^## All variables above are.*##/ d' >> site.exp
-@rm -f ./tmp?
CHECK_TARGETS = check-gcc @check_languages@
CHECK_TARGETS = check-gcc check-fixinc @check_languages@
check-c++ : check-g++
check-f77 : check-g77
check-java :
check-fixinc :
if (autogen --ver=v) > /dev/null 2>&1 ; \
then cd fixinc && $(MAKE) check ; \
else true ; fi
check: $(CHECK_TARGETS)
# The idea is to parallelize testing of multilibs, for example:

View File

@@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.2 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.2 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000, Free Software Foundation, Inc. --
-- --
@@ -29,9 +29,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.5 $ --
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-2001, Florida State University --
-- --

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision$
-- $Revision: 1.2 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1996-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (No Tasking Version) --
-- --
-- $Revision: 1.2 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991,92,93,94,95,1996 Free Software Foundation, Inc. --
-- --
@@ -29,9 +29,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-1997 Florida State University --
-- --

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (C Library Version for x86) --
-- --
-- $Revision: 1.11 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1992-1998 Free Software Foundation, Inc. --
-- --
@@ -30,7 +30,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.5 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
-- The GNARL files that were developed for RTEMS are maintained by On-Line --
-- Applications Research Corporation (http://www.oarcorp.com) in coopera- --

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.7 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.7 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.19 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
-- --
@@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.3 $ --
-- $Revision: 1.1 $
-- --
-- This specification is adapted from the Ada Reference Manual for use with --
-- GNAT. In accordance with the copyright of that document, you can freely --

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.5 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2000 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.14 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-2001 Free Software Foundation, Inc. --
-- --
@@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.9 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000, Free Software Foundation, Inc. --
-- --
@@ -29,9 +29,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.3 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1997-1998 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.3 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (C Library Version, VxWorks) --
-- --
-- $Revision: 1.1 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1992-1998 Free Software Foundation, Inc. --
-- --
@@ -30,7 +30,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -33,7 +33,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.10 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.8 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2000 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.14 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (LynxOS PPC/x86 Version)
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.10 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.23 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (DEC Unix Version) --
-- --
-- $Revision: 1.20 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (Compiler Interface) --
-- --
-- $Revision: 1.5 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-2000 Free Software Foundation, Inc. --
-- --
@@ -30,7 +30,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.8 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-2000 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.3 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1998-2001 Free Software Foundation --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.26 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (AIX/PPC Version)
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.18 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.18 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001, Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (X86 Solaris Version) --
-- --
-- $Revision: 1.10 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.1 $ --
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-1998, Florida State University --
-- --

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.13 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-2001, Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (SGI Irix, o32 ABI) --
-- --
-- $Revision: 1.13 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (Compiler Interface) --
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
-- --
@@ -30,7 +30,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.13 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-1999 Free Software Fundation --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.6 $ --
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-1998, Florida State University --
-- --

View File

@@ -7,7 +7,7 @@
-- B o d y --
-- (Version for IRIX/MIPS) --
-- --
-- $Revision: 1.1 $
-- $Revision: 1.2 $
-- --
-- Copyright (C) 1999-2001 Free Software Foundation, Inc. --
-- --
@@ -30,7 +30,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.20 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.7 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-1999 Free Software Foundation, Inc. --
-- --
@@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.1 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1997 Free Software Foundation, Inc. --
-- --
@@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This package contains the definitions and routines used as parameters

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (SGI Irix, n32 ABI) --
-- --
-- $Revision: 1.19 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.2 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1992-1998 Free Software Foundation, Inc. --
-- --
@@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
-- --
@@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.5 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2000 Free Software Fundation --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.5 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
-- --
@@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (HP-UX Version) --
-- --
-- $Revision: 1.15 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.7 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-2000 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision$
-- $Revision: 1.2 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision$
-- $Revision: 1.2 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (VxWorks version M68K) --
-- --
-- $Revision: 1.11 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.2 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-2001 Free Software Foundation --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision$
-- $Revision: 1.2 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -7,7 +7,7 @@
-- S p e c --
-- (GNU/Linux/x86 Version) --
-- --
-- $Revision$
-- $Revision: 1.2 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.19 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-2001, Free Software Foundation, Inc. --
-- --
@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

Some files were not shown because too many files have changed in this diff Show More