Ziemowit Laski [Thu, 24 Oct 2002 00:46:02 +0000 (00:46 +0000)]
objc-act.c (get_static_reference): Remove unneeded TYPE_BINFO initialization.
2002-10-23 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (get_static_reference): Remove unneeded
TYPE_BINFO initialization.
(get_object-reference): Likewise.
(build_constructor): Tighten precondition check.
(finish_message_expr): Likewise.
From-SVN: r58480
Mark Mitchell [Thu, 24 Oct 2002 00:01:37 +0000 (00:01 +0000)]
re PR c++/8067 (g++ 3.2 internal error: Segmentation fault)
PR c++/8067
* decl.c (maybe_inject_for_scope_var): Ignore __FUNCTION__ and
related variables.
PR c++/8067
* g++.dg/lookup/pretty1.C: New test.
From-SVN: r58477
Tom Tromey [Wed, 23 Oct 2002 23:19:55 +0000 (23:19 +0000)]
jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
* jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
(array_from_valist): Correctly handle promotion for jint, jlong,
jfloat, and jdouble.
From-SVN: r58476
Tom Tromey [Wed, 23 Oct 2002 22:56:13 +0000 (22:56 +0000)]
For PR java/6388:
* libjava.lang/pr6388.java: New file.
* libjava.lang/pr6388.out: New file.
From-SVN: r58475
Tom Tromey [Wed, 23 Oct 2002 22:47:31 +0000 (22:47 +0000)]
re PR java/8296 (gcjh generates incorrect JNI header)
* gjavah.c (decode_signature_piece): In JNI mode, print
`jobjectArray' when array depth is nonzero.
Fixes PR java/8296.
From-SVN: r58474
Jakub Jelinek [Wed, 23 Oct 2002 21:20:08 +0000 (23:20 +0200)]
i386.c (local_symbolic_operand): Move LABEL_REF test after CONST test.
* config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
after CONST test.
* gcc.dg/
20021023-1.c: New test.
From-SVN: r58469
Ranjit Mathew [Wed, 23 Oct 2002 20:44:24 +0000 (20:44 +0000)]
natFileWin32.cc (attr): Use FindFirstFile( ) instead of GetFileAttributesEx( ) to find file length and...
2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
* java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
GetFileAttributesEx( ) to find file length and modification times,
as the latter is not present on Windows 95.
From-SVN: r58466
Mark Mitchell [Wed, 23 Oct 2002 18:38:23 +0000 (18:38 +0000)]
re PR c++/7679 (The compiler crashes wen a right parentesis is missing)
PR c++/7679
* spew.c (next_token): Do not return an endless stream of
END_OF_SAVED_INPUT tokens.
(snarf_method): Add three END_OF_SAVED_INPUT tokens to the end of
the cached token stream.
(snarf_defarg): Likewise.
PR c++/7679
* g++.dg/parse/inline1.C: New test.
From-SVN: r58465
Steve Ellcey [Wed, 23 Oct 2002 18:18:31 +0000 (18:18 +0000)]
ia64.c (hfa_element_mode): Don't allow 128 bit floats in HFAs.
* config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
in HFAs.
From-SVN: r58464
Richard Henderson [Wed, 23 Oct 2002 18:00:17 +0000 (11:00 -0700)]
* g++.dg/inherit/thunk1.C: Enable for x86_64.
From-SVN: r58463
Richard Henderson [Wed, 23 Oct 2002 17:55:56 +0000 (10:55 -0700)]
alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
* config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
(alpha_output_mi_thunk_osf): Handle vcall_offset.
* g++.dg/inherit/thunk1.C: Enable for s390 and alpha.
From-SVN: r58462
Zack Weinberg [Wed, 23 Oct 2002 17:13:18 +0000 (17:13 +0000)]
langhooks.h (struct lang_hooks_for_tree_inlining): Add var_mod_type_p.
* langhooks.h (struct lang_hooks_for_tree_inlining): Add
var_mod_type_p.
* langhooks-def.h: Default for tree_inlining.var_mod_type_p is
hook_tree_bool_false.
* tree.c (variably_modified_type_p): Moved here from
cp/tree.c. Use lang_hooks.tree_inlining.var_mod_type_p for
language-specific cases. Due to this, must weaken some 'if
and only if' checks to merely 'if'.
* tree.h: Prototype variably_modified_type_p.
* tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
cp:
* cp-lang.c (cp_var_mod_type_p): New: C++ hook for
variably_modified_type_p.
* cp-tree.h: Remove prototype of variably_modified_type_p.
* tree.c (variably_modified_type_p): Remove; now implemented
in language-independent code.
From-SVN: r58460
Dale Johannesen [Wed, 23 Oct 2002 17:05:02 +0000 (17:05 +0000)]
add return 0, newline at end
From-SVN: r58459
Ulrich Weigand [Wed, 23 Oct 2002 16:32:43 +0000 (16:32 +0000)]
linux.h (CC1_SPEC, [...]): Remove.
* config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
* config/s390/s390.c (optimization_options): Disable -fcaller-saves.
* config/s390/s390-protos.h (fp_operand): Remove.
* config/s390/s390.c (fp_operand): Remove.
* config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
(movdi_31, movdf_31 splitters): Likewise.
* config/s390/s390.h (IEEE_FLOAT): Remove.
(TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
(INT_REGNO_P): Rename to ...
(GENERAL_REGNO_P): ... this.
(FLOAT_REGNO_P): Rename to ...
(FP_REGNO_P): ... this.
(ADDR_REGNO_P): New macro.
(GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
(REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
(DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
(HARD_REGNO_NREGS): Adapt to macro renaming.
(HARD_REGNO_MODE_OK): Likewise.
From-SVN: r58458
Jakub Jelinek [Wed, 23 Oct 2002 15:45:50 +0000 (17:45 +0200)]
num_put_members_char.cc (test01): Swap size and decimal_point arguments of find.
* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
and decimal_point arguments of find.
* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
From-SVN: r58454
David Edelsohn [Wed, 23 Oct 2002 15:20:38 +0000 (15:20 +0000)]
rs6000.c (rs6000_register_move_cost): New function.
* config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
(rs6000_memory_move_cost): New function.
* config/rs6000/rs6000-protos.h: Declare them.
* config/rs6000/rs6000.h: Use them.
Co-Authored-By: Geoffrey Keating <geoffk@apple.com>
From-SVN: r58453
Ulrich Weigand [Wed, 23 Oct 2002 10:47:24 +0000 (10:47 +0000)]
libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when inlining it into other libgcc2 routines.
* libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
inlining it into other libgcc2 routines.
(__udivmoddi4): Likewise.
From-SVN: r58450
Nathanael Nerode [Wed, 23 Oct 2002 08:47:54 +0000 (08:47 +0000)]
sourcebuild.texi (Test Suites): Improve.
2002-10-22 Nathanael Nerode <neroden@gcc.gnu.org>
* doc/sourcebuild.texi (Test Suites): Improve.
From-SVN: r58445
Nathanael Nerode [Wed, 23 Oct 2002 08:27:55 +0000 (08:27 +0000)]
Nathanael Nerode <neroden@gcc.gnu.org> PR ada/5904
Nathanael Nerode <neroden@gcc.gnu.org>
PR ada/5904
* 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
7staprop.adb: Correct statements in comments about
maintainership of GNAT.
From-SVN: r58444
Nathanael Nerode [Wed, 23 Oct 2002 08:04:17 +0000 (08:04 +0000)]
Nathanael Nerode <neroden@gcc.gnu.org> PR ada/5904
Nathanael Nerode <neroden@gcc.gnu.org>
PR ada/5904
* 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
switch-c.ads switch-m.adb switch-m.ads: Correct statements in
comments about maintainership of GNAT.
From-SVN: r58443
Nathanael Nerode [Wed, 23 Oct 2002 07:33:35 +0000 (07:33 +0000)]
Nathanael Nerode <neroden@gcc.gnu.org> PR ada/6919 (forward port of patch for PR ada/5904)
Nathanael Nerode <neroden@gcc.gnu.org>
PR ada/6919 (forward port of patch for PR ada/5904)
* 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 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 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 gnatmake.adb gnatmake.ads
gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.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 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: Correct statements in comments about maintainership
of GNAT.
From-SVN: r58442
GCC Administrator [Wed, 23 Oct 2002 07:17:11 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58441
Stan Shebs [Wed, 23 Oct 2002 05:22:41 +0000 (05:22 +0000)]
rs6000.c (rs6000_output_mi_thunk): Add missing case for Darwin.
* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
case for Darwin.
From-SVN: r58435
Jim Wilson [Wed, 23 Oct 2002 01:06:40 +0000 (01:06 +0000)]
Minor performance tweak, and workaround for reload bug.
* config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
From-SVN: r58432
Jan Hubicka [Tue, 22 Oct 2002 23:54:47 +0000 (01:54 +0200)]
re PR other/8289 (Errorneous prototypes of xmmintrin.h functions)
PR other/8289
* xmmintrin.h: Add const to the argument of loads.
* i386.md (pushv2di): New pattern.
PR target/6890
* xmmintrin.h (_MM_TRANSPOSE4_PS): New.
From-SVN: r58428
Mark Mitchell [Tue, 22 Oct 2002 23:44:25 +0000 (23:44 +0000)]
re PR c++/6579 (Infinite loop with statement expressions in member initialization)
PR c++/6579
* spew.c (snarf_parenthesized_expression): New function.
(snarf_block): Use it.
PR c++/6579
* g++.dg/parse/stmtexpr3.C: New test.
From-SVN: r58427
Richard Henderson [Tue, 22 Oct 2002 23:05:28 +0000 (16:05 -0700)]
target.h (gcc_target.asm_out): Merge output_mi_thunk and output_mi_vcall_thunk into a single hook.
gcc/
* target.h (gcc_target.asm_out): Merge output_mi_thunk and
output_mi_vcall_thunk into a single hook. Add can_output_mi_thunk.
* target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
(TARGET_ASM_OUT): Update.
* hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
(hook_bool_tree_hwi_hwi_tree_true): New.
(default_can_output_mi_thunk_no_vcall): New.
* hooks.h: Declare them.
* system.h (ASM_OUTPUT_MI_THUNK): Poison.
* config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
(alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
* config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
config/stormy16/stormy16.c: Similarly.
* config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
Handle 64-bit properly. Streamline.
(x86_output_mi_vcall_thunk): Remove.
(x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
(x86_can_output_mi_thunk): New.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
(override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
output_mi_thunk; make static; always use function_section.
(TARGET_ASM_OUTPUT_MI_THUNK): New.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
(rs6000_ra_ever_killed): Test no_new_pseudos not
targetm.asm_out.output_mi_thunk in conjunction with thunks.
* config/rs6000/rs6000-protos.h: Update.
* config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
xcoffout_declare_function when using rs6000_output_mi_thunk.
* config/s390/s390.c (s390_output_mi_thunk): Rename from
s390_output_mi_vcall_thunk.
(TARGET_ASM_OUTPUT_MI_THUNK): Remove.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
* config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
(TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
* config/vax/vax-protos.h: Update.
* config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
gcc/cp/
* method.c (use_thunk): Always compute vcall_value; assert that
it is not zero. Use can_output_mi_thunk; use output_mi_thunk
for vcall thunks as well.
From-SVN: r58424
Jan Hubicka [Tue, 22 Oct 2002 22:38:07 +0000 (22:38 +0000)]
i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
* i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
* i386.h (EXTRA_CONSTRAINT): Recognize 'C'
* i386.md (movti_internal): Use 'C'
* xmmintrin.h (_mm_cmplt_epi*): New.
From-SVN: r58423
Ulrich Weigand [Tue, 22 Oct 2002 22:19:36 +0000 (22:19 +0000)]
s390.md ("*movdi_64"): Fix op_type attribute.
* config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
("*movdf_64"): Likewise.
("*lshrdi3_64"): Likewise.
("blockage"): Add length attribute.
("lit"): Likewise.
From-SVN: r58422
Jan Hubicka [Tue, 22 Oct 2002 21:58:03 +0000 (23:58 +0200)]
i386.md: FIx typo.
* i386.md: FIx typo.
(sse2_cvtsi2sd, sse2_pslrdq): Fix template.
(sse2_umulv2siv2di3): Fix predicate.
(sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
* xmmintrin.h (_mm_mul_epu16): Rename to...
(_mm_mul_epu32): This one.
(_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
(contains_128bit_aligned_vector_p): Undo accidental checkin.
From-SVN: r58421
Eric Christopher [Tue, 22 Oct 2002 21:51:54 +0000 (21:51 +0000)]
sparc.h: Add #error.
2002-10-22 Eric Christopher <echristo@redhat.com>
* config/sparc/sparc.h: Add #error.
From-SVN: r58420
Jakub Jelinek [Tue, 22 Oct 2002 21:48:26 +0000 (23:48 +0200)]
Makefile.am (check-abi, [...]): Use @glibcpp_srcdir@ instead of ${top_srcdir}.
* Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
instead of ${top_srcdir}.
* Makefile.in: Rebuilt.
From-SVN: r58418
Ulrich Weigand [Tue, 22 Oct 2002 20:26:13 +0000 (20:26 +0000)]
config.gcc [...]: Remove s390/t-linux from tmake_file.
* config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
[s390x-*-linux*]: Likewise.
* config/s390/t-linux: Remove.
* config/s390/s390.h: Include fixdfdi.h when building libgcc2.
From-SVN: r58416
Geoffrey Keating [Tue, 22 Oct 2002 20:02:49 +0000 (20:02 +0000)]
* btest-gcc.sh: Add gdb.sum to TESTLOGS only when GDB testsuite is run.
From-SVN: r58415
Jan Hubicka [Tue, 22 Oct 2002 17:08:42 +0000 (19:08 +0200)]
i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
* i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
(ix86_expand_builtin): Fix MASKMOVDQU expasion.
* i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
* i386.md (mmx_punpck?dq): Simplify.
(sse2_pubpcklqdq): Fix.
(sse2_pubpckhqdq): New.
* xmmintrin.h (_mm_unpackhi_epi32): New.
* xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
(_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
From-SVN: r58412
David Edelsohn [Tue, 22 Oct 2002 14:44:04 +0000 (10:44 -0400)]
- Add final newline.
From-SVN: r58410
Loren J. Rittle [Tue, 22 Oct 2002 09:35:10 +0000 (09:35 +0000)]
numeric_limits.cc (test_extrema<long double>): Remove specialization for FreeBSD systems.
* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
Remove specialization for FreeBSD systems.
From-SVN: r58409
Nathan Sidwell [Tue, 22 Oct 2002 08:56:49 +0000 (08:56 +0000)]
re PR c++/7209 (Faulty array dereferencing)
PR c++/7209
* fold_const.c (fold_binary_op_with_conditional_arg): Always
build compound_expr if we used save_expr.
testsuite:
* g++.dg/expr/cond1.C: New test.
From-SVN: r58405
Alan Modra [Tue, 22 Oct 2002 07:59:41 +0000 (07:59 +0000)]
output.h (SECTION_NOTYPE): Define.
* output.h (SECTION_NOTYPE): Define.
* varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
init array sections.
(default_elf_asm_named_section): Mind SECTION_NOTYPE.
* config/arm/arm.c (arm_elf_asm_named_section): Likewise. Also
merge TLS support.
From-SVN: r58404
GCC Administrator [Tue, 22 Oct 2002 07:17:19 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58403
Mark Mitchell [Tue, 22 Oct 2002 05:04:48 +0000 (05:04 +0000)]
class.c (empty_base_at_nonzero_offset_p): New function.
* class.c (empty_base_at_nonzero_offset_p): New function.
(layout_nonempty_base_or_field): Do not check for conflicts when
laying out a virtual base using the GCC 3.2 ABI.
(build_base_field): Correct checking for presence of empty classes
at non-zero offsets when clearing CLASSTYPE_NEARLY_EMPTY_P.
* g++.dg/abi/vbase13.C: New test.
* g++.dg/abi/vbase14.C: Likewise.
From-SVN: r58397
Richard Henderson [Tue, 22 Oct 2002 00:17:15 +0000 (17:17 -0700)]
real.c (sticky_rshift_significand): Return inexact, don't or it in immediately.
* real.c (sticky_rshift_significand): Return inexact, don't
or it in immediately.
(sub_significands): Accept incomming carry.
(div_significands, rtd_divmod): Update for sub_significands change.
(round_for_format): Update for sticky_rshift_significand change.
(do_add): Don't involve the inexact bit in addition, do give the
inexact bit as the subtraction carry-in.
(encode_internal, decode_internal, real_internal_format): New.
* real.h (real_internal_format): Declare.
From-SVN: r58396
Richard Henderson [Tue, 22 Oct 2002 00:09:41 +0000 (17:09 -0700)]
paranoia.cc (real_c_float::image): Accomodate size of real_internal format.
* paranoia.cc (real_c_float::image): Accomodate size of
real_internal format.
(main): Unbuffer stdio. Add real_internal format.
(floor_log2_wide): New.
From-SVN: r58395
Ulrich Weigand [Mon, 21 Oct 2002 23:10:38 +0000 (23:10 +0000)]
libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that don't define sdiv_qrnnd.
* libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
don't define sdiv_qrnnd.
From-SVN: r58393
Kazu Hirata [Mon, 21 Oct 2002 22:44:51 +0000 (22:44 +0000)]
h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify using IN_RANGE.
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
using IN_RANGE.
(TINY_CONSTANT_ADDRESS_P): Likewise.
From-SVN: r58392
Jan Hubicka [Mon, 21 Oct 2002 22:09:06 +0000 (00:09 +0200)]
i386.c (builtin_description): Add punpcklqdq and movdq2q
* i386.c (builtin_description): Add punpcklqdq and movdq2q
(ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
__builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
__builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
__builtin_ia32_setzero128.
(ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
* i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
* i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
sse2_movq): New patterns.
(sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
* xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
_mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
_mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
_mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
_mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
_mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
(_mm_insert_epi16): Fix.
From-SVN: r58391
Dale Johannesen [Mon, 21 Oct 2002 21:58:15 +0000 (21:58 +0000)]
remove > > > glitch
From-SVN: r58390
Dale Johannesen [Mon, 21 Oct 2002 21:56:40 +0000 (21:56 +0000)]
Fix fastmath-specific crash PR 7133.
From-SVN: r58389
Mark Mitchell [Mon, 21 Oct 2002 21:47:44 +0000 (21:47 +0000)]
class.c (include_empty_classes): Use normalize_rli.
* class.c (include_empty_classes): Use normalize_rli.
(layout_class_type): Likewise.
From-SVN: r58388
Jakub Jelinek [Mon, 21 Oct 2002 20:27:14 +0000 (22:27 +0200)]
i386.c (x86_64_sign_extended_value): Add allow_rip argument.
* config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
argument. In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
from constant pool or LABEL_REFs as sign extended if allow_rip.
Change all +-1GB limits to +-16MB.
(x86_64_general_operand, x86_64_szext_general_operand,
x86_64_nonmemory_operand, x86_64_movabs_operand,
x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
legitimate_address_p, ix86_expand_int_movcc): Update callers.
(local_symbolic_operand): Don't allow offsets bigger than +-16MB
in CM_SMALL_PIC model.
(legitimate_pic_address_disp_p): Don't check offsets before
calling local_symbolic_operand.
(legitimize_pic_address): Force offsets bigger than +-16MB into
register.
* config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
* config/i386/i386-protos.h (x86_64_sign_extended_value): Update
prototype.
* configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
Add x86-64 test. Set tls_first_minor to 14 on IA-32 and x86-64.
* configure: Rebuilt.
* config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
SYMBOL_REFs unless enclosed in UNSPEC. Handle UNSPEC_DTPOFF,
UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
(legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
-fpic.
(ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
non-pic code if TARGET_64BIT.
(legitimize_address): Generate 64-bit TLS sequences.
(output_pic_addr_const): Support x86-64 TLS operators.
(i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
(print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
(output_addr_const_extra): Support x86-64 TLS operators.
(maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
(ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
unconditionally.
* config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
(*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
(*tls_global_dynamic_sun): Renamed to...
(*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
(tls_global_dynamic): Renamed to...
(tls_global_dynamic_32): ... this.
(tls_global_dynamic_64, *tls_global_dynamic_64): New.
(*tls_local_dynamic_base_dynamic_gnu): Renamed to...
(*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
(*tls_local_dynamic_base_dynamic_sun): Renamed to...
(*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
(tls_local_dynamic_base_dynamic): Renamed to...
(tls_local_dynamic_base_dynamic_32): ... this.
(tls_local_dynamic_base_dynamic_64,
*tls_local_dynamic_base_dynamic_64): New.
(*tls_local_dynamic_once): Renamed to...
(*tls_local_dynamic_32_once): ... this.
* gcc.dg/tls/pic-1.c: New test.
* gcc.dg/tls/nonpic-1.c: New test.
* gcc.dg/
20021018-1.c: New test.
From-SVN: r58383
Ulrich Weigand [Mon, 21 Oct 2002 20:25:38 +0000 (20:25 +0000)]
libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3, __divdi3, __umoddi3, or __moddi3.
* libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
__divdi3, __umoddi3, or __moddi3.
From-SVN: r58382
Ulrich Weigand [Mon, 21 Oct 2002 20:24:57 +0000 (20:24 +0000)]
c-opts.c (missing_arg): Use cl_options[opt_index].opt_code instead of just opt_index as switch expression.
* c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
instead of just opt_index as switch expression.
* calls.c (store_one_arg): Change type of 'excess_align'
to unsigned int.
* profile.c (output_gcov_string): Change type of 'temp'
to size_t.
From-SVN: r58381
Ulrich Weigand [Mon, 21 Oct 2002 20:21:00 +0000 (20:21 +0000)]
profopt.exp (profopt-cleanup): New argument TESTCASE.
* lib/profopt.exp (profopt-cleanup): New argument TESTCASE.
Remove only files with the same base name as the test case.
(profopt-perf-value): Pass TESTCASE to profopt-cleanup.
(profopt-execute): Likewise. Also, remove old profiling
and performance data files before running the tests.
* gcc.misc-tests/bprob.exp: Remove profopt-cleanup calls.
* g++.dg/bprob/bprob.exp: Likewise.
* g77.dg/bprob/bprob.exp: Likewise. Also, relax regexp
to allow more general test case names.
* g++.dg/bprob/bprob-1.C: Rename to ...
* g++.dg/bprob/g++-bprob-1.C: ... this.
* g77.dg/bprob/bprob-1.f: Rename to ...
* g77.dg/bprob/g77-bprob-1.f: ... this.
From-SVN: r58380
Ulrich Weigand [Mon, 21 Oct 2002 19:41:11 +0000 (19:41 +0000)]
fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
* config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
(__fixunssfdi, __fixsfdi): Likewise.
* config/s390/s390.c (s390_single_hi): Initialize 'value'.
(s390_single_qi): Likewise.
(s390_emit_epilogue): Initialize 'offset'. Remove signed vs.
unsigned comparison warning.
(s390_return_addr_rtx): New function.
* config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
* config/s390/s390.h (RETURN_ADDR_RTX): Use it.
(HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
From-SVN: r58379
Zack Weinberg [Mon, 21 Oct 2002 19:05:47 +0000 (19:05 +0000)]
920923-1.c: Prevent spurious regressions with bison 1.50 or later.
* gcc.dg/noncompile/920923-1.c: Prevent spurious regressions with
bison 1.50 or later.
From-SVN: r58374
Andrew Haley [Mon, 21 Oct 2002 18:26:34 +0000 (18:26 +0000)]
parse.y (patch_invoke): Call force_evaluation_order on a static arg list.
2002-10-15 Andrew Haley <aph@redhat.com>
* parse.y (patch_invoke): Call force_evaluation_order on a static
arg list.
(resolve_qualified_expression_name): Call force_evaluation_order
on a arg list that is part of a Qualified Expression Name.
* lang.c (dump_compound_expr): New.
(java_dump_tree): New.
From-SVN: r58369
Janis Johnson [Mon, 21 Oct 2002 17:42:49 +0000 (17:42 +0000)]
README: Describe more test directories.
2002-10-21 Janis Johnson <janis187@us.ibm.com>
* g++.dg/README: Describe more test directories.
From-SVN: r58364
Mark Mitchell [Mon, 21 Oct 2002 16:47:14 +0000 (16:47 +0000)]
decl.c (reshape_init): Tweak handling of character arrays.
* decl.c (reshape_init): Tweak handling of character arrays.
* g++.dg/init/array6.C: Add additional tests.
From-SVN: r58363
Ulrich Weigand [Mon, 21 Oct 2002 15:42:23 +0000 (15:42 +0000)]
typeof-2.c: Handle s390x targets as well.
* gcc.dg/weak/typeof-2.c: Handle s390x targets as well.
* gcc.misc-tests/linkage.exp: Handle s390x targets in -m31 mode.
From-SVN: r58361
Ulrich Weigand [Mon, 21 Oct 2002 15:27:27 +0000 (15:27 +0000)]
s390.c (s390_output_mi_vcall_thunk): New function.
* config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
(s390_output_mi_thunk): Remove.
(TARGET_ASM_OUTPUT_MI_THUNK): Remove.
From-SVN: r58360
Kazu Hirata [Mon, 21 Oct 2002 13:14:26 +0000 (13:14 +0000)]
* config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
From-SVN: r58359
Kazu Hirata [Mon, 21 Oct 2002 12:49:08 +0000 (12:49 +0000)]
20020604-1.x: New.
* gcc.c-torture/compile/
20020604-1.x: New.
* gcc.c-torture/compile/simd-5.x: Likewise.
* gcc.c-torture/execute/920710-1.x: Likewise.
* gcc.c-torture/execute/
20020720-1.x: Disable on h8300.
From-SVN: r58358
Mark Mitchell [Mon, 21 Oct 2002 08:40:24 +0000 (08:40 +0000)]
re PR c++/8218 (Excessively large amount of memory used with classes with large array members)
PR c++/8218
* cp-tree.h (lang_type_class): Add contains_empty_class_p.
(CLASSTYPE_CONTAINS_EMPTY_CLASS_P): New macro.
* class.c (check_bases): Update CLASSTYPE_CONTAINS_EMPTY_CLASS_P.
(check_field_decls): Likewise.
(layout_class_type): Likewise.
(finish_struct_1): Initialize it.
(walk_subobject_offsets): Use it to prune searches.
From-SVN: r58356
Mark Mitchell [Mon, 21 Oct 2002 07:57:10 +0000 (07:57 +0000)]
* g++.dg/inherit/override1.C: Add dg-options clause.
From-SVN: r58355
GCC Administrator [Mon, 21 Oct 2002 07:17:55 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58354
Michael Koch [Mon, 21 Oct 2002 05:04:07 +0000 (05:04 +0000)]
Fix date, grrr.
From-SVN: r58346
Michael Koch [Mon, 21 Oct 2002 04:53:50 +0000 (04:53 +0000)]
2002-10-11 Michael Koch <konqueror@gmx.de>
* java/net/URL.java
(URL): Activate SecurityManager checks.
(equals): Use URLStreamHandler implementation instead of doing it
alone. This allows special protocol stream handlers to change default
behaviour.
(hashCode): Use URLStreamHandler implementation instead of doing it
alone. This allows special protocol stream handlers to change default
behaviour.
* java/net/URLStreamHandler.java
(equals): Implemented default URL equality check.
(hostsEqual): Implemented default URL equality check.
(hashCode): Implemented default URL hashCode algorithm.
* java/net/natPlainDatagramSocketImpl.cc:
No lines longer then 80 characters.
From-SVN: r58345
Adam Megacz [Mon, 21 Oct 2002 01:50:14 +0000 (01:50 +0000)]
aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
2002-10-20 Adam Megacz <adam@xwt.org>
* aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
* configure.in: enabled hash sync on Win32
* include/win32-threads.h (_Jv_ThreadId_t): added.
* java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
removed some posix-isms, use Thread::sleep() instead of usleep,
added code to clear bottom three bits if platform has a broken
linker. * include/win32-threads.h (_Jv_ThreadId_t): added.
From-SVN: r58344
Ranjit Mathew [Sun, 20 Oct 2002 23:47:43 +0000 (23:47 +0000)]
natRuntime.cc (insertSystemProperties): Added GCJ runtime property "gnu.gcj.progname" containing the name used to...
2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
* java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
runtime property "gnu.gcj.progname" containing the name used to
invoke the current Java program (similar to argv[0] for C
programs).
From-SVN: r58343
Ranjit Mathew [Sun, 20 Oct 2002 23:47:05 +0000 (23:47 +0000)]
gcj.texi: Added item describing the GCJ runtime property "gnu.gcj.progname".
2002-10-20 Ranjit Mathew <rmathew@hotmail.com>
* gcj.texi: Added item describing the GCJ runtime property
"gnu.gcj.progname".
From-SVN: r58342
Tom Tromey [Sun, 20 Oct 2002 23:30:24 +0000 (23:30 +0000)]
* jartool.c: Use mode 0666 when opening new file.
From-SVN: r58341
Richard Henderson [Sun, 20 Oct 2002 22:37:14 +0000 (15:37 -0700)]
target.h (struct gcc_target): Line wrap.
* target.h (struct gcc_target): Line wrap.
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
(TARGET_ASM_OUTPUT_MI_THUNK): Define here...
* config/alpha/alpha.h: ... not here.
* config/alpha/alpha-protos.h: Update.
* config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
config/sparc/openbsd.h, config/sparc/sparc-protos.h,
config/sparc/sparc.c, config/sparc/sparc.h,
config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
config/stormy16/stormy16.h: Similarly.
* config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
selection logic from call patterns.
From-SVN: r58340
Mark Mitchell [Sun, 20 Oct 2002 21:19:51 +0000 (21:19 +0000)]
* config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
From-SVN: r58339
Zdenek Dvorak [Sun, 20 Oct 2002 20:38:41 +0000 (22:38 +0200)]
re PR other/8202 (_mm_srli_si128 and _mm_slli_si128 missing from xmmintrin.h)
PR other/8202
* i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
* i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
* xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
* testsuite/gcc.dg/i386-sse-3.c: Add tests for _mm_srli_si128 and
_mm_slli_si128.
From-SVN: r58338
Roger Sayle [Sun, 20 Oct 2002 19:18:30 +0000 (19:18 +0000)]
re PR c/761 (Undocumented options, part 1)
PR c/761
* toplev.c (flag_unsafe_profile_arcs): Remove.
(flag_bounded_pointers): Remove.
(flag_bounds_check): Correct comments.
(lang_independent_options): Remove -funsafe-profile-arcs and
-fbounded-pointers. Correct -fbounds-check comments.
* flags.h: Correct flag_schedule_interblock comments.
(flag_bounded_pointers): Remove prototype.
(flag_bounds_check): Correct comments.
* c-opts.c (c_common_init_options): No need to mark
flag_bounds_check as unspecified.
(c_common_post_options): And no need to set it from
flag_bounded_pointers if its still unspecified.
* doc/invoke.texi: Fix some overfull hboxes in "make dvi".
Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
-fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
-fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
From-SVN: r58334
Mark Mitchell [Sun, 20 Oct 2002 18:52:01 +0000 (18:52 +0000)]
alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to match target.h.
* alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
match target.h.
* arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
* cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
* frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
* i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
x86_output_mi_thunk): Likewise.
* i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
* ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
* m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
* mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
* rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
* s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
* stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
Likewise.
* vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
* target.h (gcc_target): Update output_mi_thunk and
output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
vcall_index.
* config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
TARGET_ASM_OUTPUT_MI_THUNK in comments.
* config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
(TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
* config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
* config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
signature.
* config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
* config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
TARGET_ASM_OUTPUT_MI_THUNK in comments.
* config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
(TARGET_ASM_OUTPUT_MI_THUNK): Do define.
* config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
TARGET_ASM_OUTPUT_MI_THUNK in comments.
* config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
ASM_OUTPUT_MI_THUNK and replace with check of targetm.
* doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
(TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
From-SVN: r58333
GCC Administrator [Sun, 20 Oct 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58330
Brad Lucier [Sat, 19 Oct 2002 23:03:21 +0000 (23:03 +0000)]
real.c (do_add): Fix 0+0 sign corner case.
* real.c (do_add): Fix 0+0 sign corner case.
(do_divide): Fix Inf/0 corner case.
From-SVN: r58322
Jan Hubicka [Sat, 19 Oct 2002 22:34:17 +0000 (00:34 +0200)]
i386.c (classify_argument): Pass MMX arguments in memory
* i386.c (classify_argument): Pass MMX arguments in memory
(ix86_expand_builtin): Expand proper address mode for cflush.
* i386.md (movdqa): Fix typo.
(sse2_cflush): Accept DImode addresses.
* xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
(_mm_max_sd): Fix pasto.
(_mm_storeh_pd, _mm_storel_pd): Fix.
* i386.c (bdesc_comi): Fix to match specification.
(ix86_expand_sse_comi): Emit the comparison properly.
* i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
Do not use comparison operator.
(vnmaskcmp): Fix template.
* xmmintrin.h (_mm_cvtps_pi16): Fix.
From-SVN: r58321
Andreas Schwab [Sat, 19 Oct 2002 19:27:24 +0000 (19:27 +0000)]
compat.exp (compat-run): Prepend "./" when $dest has no directory component.
* lib/compat.exp (compat-run): Prepend "./" when $dest has no
directory component.
From-SVN: r58318
Jan Hubicka [Sat, 19 Oct 2002 17:13:50 +0000 (17:13 +0000)]
mmintrin.h (__m64): typedef it to v2si.
* mmintrin.h (__m64): typedef it to v2si.
(_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
_mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
_mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
_mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
_mm_or_si64, _mm_xor_si64): Add neccesary casts.
* xmmintrin.h (_mm_setzero_si64): Likewise.
From-SVN: r58316
Sebastian Pop [Sat, 19 Oct 2002 10:12:33 +0000 (10:12 +0000)]
dependence.c: Removed.
* dependence.c : Removed.
* Makefile.in : Remove dependence.o.
From-SVN: r58307
Jan Hubicka [Sat, 19 Oct 2002 08:48:37 +0000 (10:48 +0200)]
re PR target/7693 (Typo in i386 mmintrin.h header)
* mmintrin.h (__m64): typedef it to v2si.
(_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
_mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
_mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
_mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
_mm_or_si64, _mm_xor_si64): Add neccesary casts.
* xmmintrin.h (_mm_setzero_si64): Likewise.
* i386.h (ALIGN_MODE_128): Update comment; add missing modes
(SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
PR target/7693
Patch by Shawn Wagner
* mmintrin.h: Replace pi64 by si64.
From-SVN: r58306
GCC Administrator [Sat, 19 Oct 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58305
David Edelsohn [Sat, 19 Oct 2002 04:36:30 +0000 (04:36 +0000)]
rs6000.md (movdf_hardfloat32): Order alternatives consistently.
* rs6000.md (movdf_hardfloat32): Order alternatives consistently.
Use length of 4 not *.
(movdf_hardfloat64): Same. Support DFmode moves to/from CTR/LR.
(movdf_softfloat64): Likewise.
(movdi_internal32): Use length of 4 not *.
(movti_power): Same.
(ctrsi, ctrdi): Same.
From-SVN: r58299
Zack Weinberg [Sat, 19 Oct 2002 03:14:11 +0000 (03:14 +0000)]
c-decl.c, decl.c (start_decl): Point users of the old initialized- typedef extension at __typeof__.
* c-decl.c, cp/decl.c (start_decl): Point users of the old initialized-
typedef extension at __typeof__.
From-SVN: r58297
Sebastian Pop [Sat, 19 Oct 2002 02:42:48 +0000 (02:42 +0000)]
*** empty log message ***
From-SVN: r58296
Richard Henderson [Fri, 18 Oct 2002 23:54:10 +0000 (16:54 -0700)]
real.c (cmp_significand_0, [...]): New.
* real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
(real_to_decimal): Re-implement using the logic from the
gcc 3.2 etoasc. Comment heavily.
(div_significands): Simplify loop startup and comparison logic.
From-SVN: r58295
Mark Mitchell [Fri, 18 Oct 2002 23:42:35 +0000 (23:42 +0000)]
* g++.dg/inherit/thunk1.C: New test.
From-SVN: r58294
Mark Mitchell [Fri, 18 Oct 2002 23:35:40 +0000 (23:35 +0000)]
target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
* target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
(TARGET_ASM_OUT): Add them.
* target.h (asm_out): Add output_mi_thunk and
output_mi_vcall_thunk.
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
* config/arm/arm.c (arm_output_mi_thunk): Define.
* config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
prototype.
(x86_output_mi_vcall_thunk): Declare.
* config/i386/i386.c (override_options): Clear
output_mi_vcall_thunk in 64-bit mode.
(ix86_fntype_regparm): New function.
(ix86_return_pops_args): Use it.
(ia32_this_parameter): New function.
(x86_output_mi_vcall_thunk): New function.
(x86_output_mi_thunk): Use it
* config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
* config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
* config/i960/i960.c (i960_output_mi_thunk): New function.
* config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
* config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
* config/ia64/ia64.c (ia64_output_mi_thunk): Define.
* config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
* config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
* config/s390/s390.c (s390_output_mi_thunk): Define.
* config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
* config/vax/vax.c (vax_output_mi_thunk): Define.
* config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* doc/tm.texi: Adjust documentation.
From-SVN: r58293
Jason Thorpe [Fri, 18 Oct 2002 23:10:35 +0000 (23:10 +0000)]
netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define __enable_execute_stack function.
* config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
__enable_execute_stack function.
* config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
as NETBSD_ENABLE_EXECUTE_STACK.
* config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
From-SVN: r58292
Jason Thorpe [Fri, 18 Oct 2002 23:00:50 +0000 (23:00 +0000)]
i386.c (x86_initialize_trampoline): Emit a call to __enable_execute_stack with the address of the trampoline if...
* config/i386/i386.c (x86_initialize_trampoline): Emit a call
to __enable_execute_stack with the address of the trampoline
if TRANSFER_FROM_TRAMPOLINE is defined.
* config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
constant if building libgcc2.
From-SVN: r58291
Mark Mitchell [Fri, 18 Oct 2002 21:46:53 +0000 (21:46 +0000)]
* class.c (base_derived_from): Make sure return value is a bool.
From-SVN: r58290
Loren J. Rittle [Fri, 18 Oct 2002 21:37:53 +0000 (21:37 +0000)]
pthread1.cc: Remove needless workaround for FreeBSD 5.
* testsuite/thread/pthread1.cc: Remove needless workaround
for FreeBSD 5.
From-SVN: r58289
Loren J. Rittle [Fri, 18 Oct 2002 21:25:13 +0000 (21:25 +0000)]
* config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
From-SVN: r58288
Loren J. Rittle [Fri, 18 Oct 2002 21:22:16 +0000 (21:22 +0000)]
configure.target (freebsd*): Use abi_baseline_triplet.
* configure.target (freebsd*): Use abi_baseline_triplet.
* config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
From-SVN: r58287
Loren J. Rittle [Fri, 18 Oct 2002 20:52:57 +0000 (20:52 +0000)]
howto.html (GLIBCPP_FORCE_NEW): Document new environment variable which replaces all uses of __USE_MALLOC macro.
* docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
new environment variable which replaces all uses of __USE_MALLOC
macro.
* docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
(__mem_interface): Remove all references to old internal typedef.
* include/backward/alloc.h (__USE_MALLOC): Remove it and all
guarded code.
* include/bits/c++config (__USE_MALLOC): Update related error
message and comment.
* include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
guarded code. Update all related comments.
(__mem_interface): Unconditionally replace it with __new_alloc.
However, leave the typedef around in case anyone used it.
(__default_alloc_template<>::_S_force_new): New class static.
(__default_alloc_template<>::allocate, deallocate): Add
run-time controlled feature similar to what __USE_MALLOC code
path had provided.
* src/stl-inst.cc (__USE_MALLOC): Remove it and all
guarded code.
* testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
Add documentation on GLIBCPP_FORCE_NEW environment variable.
* testsuite/ext/allocators.cc: Likewise.
From-SVN: r58286
Mark Mitchell [Fri, 18 Oct 2002 09:26:42 +0000 (09:26 +0000)]
(strictly_overrides): Remove.
From-SVN: r58284
Mark Mitchell [Fri, 18 Oct 2002 09:21:06 +0000 (09:21 +0000)]
class.c (find_final_overrider_data_s): Remove overriding_fn and overriding_base.
* class.c (find_final_overrider_data_s): Remove overriding_fn and
overriding_base.
(dfs_base_derived_from): New function.
(base_derived_from): Likewise.
(dfs_find_final_overrider): Use base_derived_from.
(find_final_overrider): Adjust.
* g++.dg/inherit/override1.C: New test.
From-SVN: r58283
Jason Merrill [Fri, 18 Oct 2002 09:00:47 +0000 (05:00 -0400)]
re PR c++/8080 ([Regression in main trunk] g++ 3.3 ICE in make_decl_rtl)
PR c++/8080
* semantics.c (finish_for_cond, finish_while_stmt_cond): Don't mess
with condition decls in a template.
From-SVN: r58282