Craig Rodrigues [Mon, 2 Dec 2002 20:22:14 +0000 (15:22 -0500)]
configure.in: Use "missing" script to generate warning if flex or bison programs not found...
* configure.in: Use "missing" script to generate warning if
flex or bison programs not found, instead of invoking "false".
* configure: Rebuilt.
From-SVN: r59735
Mark Mitchell [Mon, 2 Dec 2002 19:44:13 +0000 (19:44 +0000)]
* g++.dg/template/varmod1.C: Fix typo.
From-SVN: r59733
Jan Hubicka [Mon, 2 Dec 2002 19:29:45 +0000 (20:29 +0100)]
* unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
From-SVN: r59732
Benjamin Kosnik [Mon, 2 Dec 2002 19:24:11 +0000 (19:24 +0000)]
configure.in (libtool_VERSION): Update to 5:2:0.
2002-12-02 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (libtool_VERSION): Update to 5:2:0.
* configure: Regenerate.
From-SVN: r59729
Tom Tromey [Mon, 2 Dec 2002 19:04:14 +0000 (19:04 +0000)]
For PR java/8740:
* parse.y (do_resolve_class): Handle qualified name via
recursion.
From-SVN: r59728
Paolo Carlini [Mon, 2 Dec 2002 18:53:41 +0000 (19:53 +0100)]
basic_string.tcc (basic_string::append(const basic_string&, size_type, size_type), [...]): Fully qualify min() with std::.
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc
(basic_string::append(const basic_string&, size_type,
size_type), basic_string::compare(size_type, size_type,
const basic_string&), basic_string::compare(size_type,
size_type, const basic_string&, size_type, size_type),
basic_string::compare(const _CharT*), basic_string::
compare(size_type, size_type, const _CharT*),
basic_string::compare(size_type, size_type, const _CharT*,
size_type), _S_string_copy(const basic_string&, _CharT*,
typename _Alloc::size_type)): Fully qualify min() with std::.
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc
(basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
forward_iterator_tag)): Delay the declaration of __dnew,
fully qualify distance() with std::.
(basic_string::_M_replace_safe): Fully qualify distance()
with std::.
From-SVN: r59726
Jan Hubicka [Mon, 2 Dec 2002 18:44:05 +0000 (19:44 +0100)]
* i386.c (ix86_expand_int_movcc): Avoid overflow.
From-SVN: r59724
Kriang Lerdsuwanakij [Mon, 2 Dec 2002 17:03:13 +0000 (17:03 +0000)]
DR 180
DR 180
* decl.c (grokdeclarator): Require class-key for all friend class.
Output the correct type and context in the error message.
* g++.old-deja/g++.pt/crash32.C: Expect error.
From-SVN: r59719
Kazu Hirata [Mon, 2 Dec 2002 16:54:14 +0000 (16:54 +0000)]
h8300.c (dosize): Output r7/er7 instead of sp.
* config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
(push): Likewise.
(pop): Likewise.
(h8300_output_function_prologue): Likewise.
(h8300_output_function_epilogue): Likewise.
From-SVN: r59718
J"orn Rennecke [Mon, 2 Dec 2002 14:44:17 +0000 (14:44 +0000)]
expmed.c (store_bit_field): Use int_mode_for_mode to find corresponding mode of non-integer mode...
* expmed.c (store_bit_field): Use int_mode_for_mode to find
corresponding mode of non-integer mode, unless it is VOIDmode.
From-SVN: r59716
Kazu Hirata [Mon, 2 Dec 2002 14:24:11 +0000 (14:24 +0000)]
h8300.md (stm_h8300s_2): New.
* config/h8300/h8300.md (stm_h8300s_2): New.
(stm_h8300s_3): Likewise.
(stm_h8300s_4): Likewise.
(five define_peephole2): Likewise.
From-SVN: r59715
GCC Administrator [Mon, 2 Dec 2002 08:17:22 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59712
Kazu Hirata [Mon, 2 Dec 2002 05:12:53 +0000 (05:12 +0000)]
* ra-build.c: Fix a comment typo.
From-SVN: r59705
Kazu Hirata [Mon, 2 Dec 2002 02:02:43 +0000 (02:02 +0000)]
h8300.c (h8300_output_function_prologue): Remove variable idx.
* config/h8300/h8300.c (h8300_output_function_prologue):
Remove variable idx.
(h8300_output_function_epilogue): Likewise.
From-SVN: r59703
Tom Tromey [Sun, 1 Dec 2002 23:50:03 +0000 (23:50 +0000)]
jacks.exp (gcj_jacks_setup_xfail): New function.
* libjava.jacks/jacks.exp (gcj_jacks_setup_xfail): New function.
(gcj_jacks_parse): Use it; set up xfails.
* libjava.jacks/jacks.xfail: New file.
From-SVN: r59702
Mark Mitchell [Sun, 1 Dec 2002 20:46:08 +0000 (20:46 +0000)]
re PR c++/5919 (ICE when passing variable array to template function)
PR c++/5919
* g++.dg/template/varmod1.C: New test.
PR c++/5919
* pt.c (unify): Use variably_modified_type_p to test validity of
template argument types.
From-SVN: r59698
Mark Mitchell [Sun, 1 Dec 2002 20:27:37 +0000 (20:27 +0000)]
re PR c++/8727 (compiler confused by inheritance from an anonymous struct)
PR c++/8727
* g++.dg/inherit/typeinfo1.C: New test.
PR c++/8663
* g++.dg/inherit/typedef1.C: New test.
PR c++/8727
* cp-tree.h (lang_type_class): Add typeinfo_var.
(CLASSTYPE_TYPEINFO_VAR): New macro.
* rtti.c (get_tinfo_decl): Use it.
PR c++/8663
* init.c (expand_member_init): Always get the main variant of a
base class.
From-SVN: r59694
Zack Weinberg [Sun, 1 Dec 2002 19:16:12 +0000 (19:16 +0000)]
* config/frv/xm-frv.h: Delete, unnecessary.
From-SVN: r59693
Kazu Hirata [Sun, 1 Dec 2002 18:04:06 +0000 (18:04 +0000)]
* config/h8300/h8300.md: Add comments for define_peephole2.
From-SVN: r59690
Mark Mitchell [Sun, 1 Dec 2002 17:51:51 +0000 (17:51 +0000)]
re PR c++/8332 (strlen/template interaction causes ICE)
PR c++/8332
PR c++/8493
* decl.c (cxx_init_decl_processing): Use size_type_node, not
c_size_type_node.
* decl2.c (coerce_new_type): Likewise.
* except.c (do_allocate_exception): Likewise.
* builtin-types.def (BT_SIZE): Use size_type_node.
* builtins.c (fold_builtin): Make the builtin strlen returns a
size_t, not a sizetype.
* c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
c_size_type_node.
(c_alignof_expr): Likewise.
(c_common_nodes_and_builtins): Likewise.
* c-common.h (CTI_C_SIZE_TYPE): Remove.
(c_size_type_node): Likewise.
* c-format.c (T_ST): Use size_type_node, not c_size_type_node.
* tree.h (TI_SIZE_TYPE): New enumeral.
(size_type_node): Likewise.
PR c++/8332
PR c++/8493
* g++.dg/template/strlen1.C: New test.
From-SVN: r59689
Zack Weinberg [Sun, 1 Dec 2002 17:32:33 +0000 (17:32 +0000)]
Revert change accidentally applied to wrong branch
From-SVN: r59688
Mark Wielaard [Sun, 1 Dec 2002 16:16:19 +0000 (16:16 +0000)]
SecurityManager.java: Remerge comments, indenting and checkXXX methods with Classpath.
* java/lang/SecurityManager.java: Remerge comments, indenting and
checkXXX methods with Classpath.
From-SVN: r59685
Mark Wielaard [Sun, 1 Dec 2002 15:50:33 +0000 (15:50 +0000)]
* libjava.mauve/xfails: Remove Inspector FAILs that now PASS.
From-SVN: r59680
GCC Administrator [Sun, 1 Dec 2002 08:17:11 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59679
Zack Weinberg [Sun, 1 Dec 2002 05:43:14 +0000 (05:43 +0000)]
i * configure.in: Don't put ${tm_file} into host_xm_file,
build_xm_file, or xm_file. Do put tm-preds.h into tm_p_file.
Take location of tm-preds.h into account when calculating
tm_p_file_list.
* configure: Regenerate.
* mkconfig.sh: No need for separate TM_DEFINES and XM_DEFINES
arguments. Do not provide rtx, rtvec, tree, or GTY here.
Remove special case code for tm_p.h and *config.h; add new
special case code for tm.h and tconfig.h. Clean up a bit.
* Makefile.in (tm_file, tm_file_list): New variables set from
@-substitutions.
(GCONFIG_H): Deleted.
(GTM_H, TM_H): New.
(CONFIG_H): Is now just config.h $(host_xm_file_list).
(TM_P_H): Move up with the other mkconfig.sh-generated
headers; don't mention tm-preds.h explicitly.
(tm.h, cs-tm.h): New rule.
(cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): Adjust
invocations of mkconfig.sh for changes to that program.
(mostlyclean): Delete print-rtl1.c.
(clean): Delete tm.h.
* Makefile.in, ada/Make-lang.in, cp/Make-lang.in,
f/Make-lang.in, java/Make-lang.in, objc/Make-lang.in,
treelang/Make-lang.in: Update dependencies for the files
listed below.
* mklibgcc.in: Add 'coretypes.h $(TM_H)' to libgcc2_c_dep.
* coretypes.h: New file.
* system.h: #define malloc to xmalloc and realloc to xrealloc
when FLEX_SCANNER or YYBISON is defined, independent of the
value of GCC_VERSION.
* alias.c, attribs.c, bb-reorder.c, bitmap.c, builtins.c,
c-aux-info.c, c-common.c, c-convert.c, c-decl.c, c-dump.c,
c-errors.c, c-format.c, c-lang.c, c-lex.c, c-objc-common.c,
c-opts.c, c-parse.in, c-pragma.c, c-pretty-print.c,
c-semantics.c, c-typeck.c, caller-save.c, calls.c, cfg.c,
cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c,
cfgrtl.c, collect2.c, combine.c, conflict.c, convert.c,
cppdefault.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppmain.c,
cppspec.c, cpptrad.c, crtstuff.c, cse.c, cselib.c, dbxout.c,
debug.c, df.c, diagnostic.c, doloop.c, dominance.c,
dummy-conditions.c, dwarf2asm.c, dwarf2out.c, dwarfout.c,
emit-rtl.c, errors.c, et-forest.c, except.c, explow.c,
expmed.c, expr.c, final.c, fix-header.c, flow.c, fold-const.c,
function.c, gcc.c, gccspec.c, gcov-dump.c, gcov-iov.c, gcov.c,
gcse.c, gen-protos.c, genattr.c, genattrtab.c, genautomata.c,
gencheck.c, gencodes.c, genconditions.c, genconfig.c,
genconstants.c, genemit.c, genextract.c, genflags.c,
gengenrtl.c, gengtype-lex.l, gengtype-yacc.y, gengtype.c,
genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
gensupport.c, ggc-common.c, ggc-none.c, ggc-page.c,
ggc-simple.c, global.c, graph.c, haifa-sched.c, hashtable.c,
hooks.c, ifcvt.c, integrate.c, intl.c, jump.c, langhooks.c,
lcm.c, libgcc2.c, line-map.c, lists.c, local-alloc.c, loop.c,
main.c, mbchar.c, mips-tdump.c, mips-tfile.c, mkdeps.c,
optabs.c, params.c, predict.c, prefix.c, print-rtl.c,
print-tree.c, profile.c, protoize.c, ra-build.c,
ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, read-rtl.c,
real.c, recog.c, reg-stack.c, regclass.c, regmove.c,
regrename.c, reload.c, reload1.c, reorg.c, resource.c,
rtl-error.c, rtl.c, rtlanal.c, sbitmap.c, scan-decls.c,
scan.c, sched-deps.c, sched-ebb.c, sched-rgn.c, sched-vis.c,
sdbout.c, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c,
ssa.c, stmt.c, stor-layout.c, stringpool.c, timevar.c,
tlink.c, toplev.c, tracer.c, tree-dump.c, tree-inline.c,
tree.c, unroll.c, varasm.c, varray.c, varray.h, vmsdbgout.c,
xcoffout.c, config/darwin-c.c, config/darwin.c,
config/fp-bit.c, config/alpha/alpha.c, config/alpha/vms-cc.c,
config/alpha/vms-ld.c, config/arc/arc.c, config/arm/arm.c,
config/arm/pe.c, config/avr/avr.c, config/c4x/c4x-c.c,
config/c4x/c4x.c, config/cris/cris.c, config/d30v/d30v.c,
config/dsp16xx/dsp16xx.c, config/fr30/fr30.c,
config/frv/frv.c, config/h8300/h8300.c, config/i370/i370-c.c,
config/i370/i370.c, config/i386/i386.c, config/i386/winnt.c,
config/i960/i960-c.c, config/i960/i960.c,
config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
config/m32r/m32r.c, config/m68hc11/m68hc11.c,
config/m68k/m68k.c, config/m88k/m88k.c, config/mcore/mcore.c,
config/mips/irix6-libc-compat.c, config/mips/mips.c,
config/mmix/mmix.c, config/mn10200/mn10200.c,
config/mn10300/mn10300.c, config/ns32k/ns32k.c,
config/pa/pa.c, config/pdp11/pdp11.c, config/romp/romp.c,
config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
config/s390/s390.c, config/sh/sh.c, config/sparc/gmon-sol2.c,
config/sparc/sparc.c, config/stormy16/stormy16.c,
config/v850/v850-c.c, config/v850/v850.c, config/vax/vax.c,
config/xtensa/xtensa.c, objc/objc-act.c, objc/objc-lang.c:
Include coretypes.h and tm.h.
* genattrtab.c, genconditions.c, genemit.c, genextract.c,
gengenrtl.c, gengtype.c, genopinit.c, genoutput.c, genpeep.c,
genrecog.c: Include coretypes.h and tm.h from the file
generated by this program.
* unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c,
unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c: Include
coretypes.h and tm.h, and tsystem.h when not already included.
No need to include stddef.h nor stdlib.h.
* ada/cuintp.c, ada/decl.c, ada/deftarg.c, ada/misc.c,
ada/targtyps.c, ada/trans.c, ada/utils.c, ada/utils2.c:
Include coretypes.h and tm.h, and system.h when not already
included.
* cp/call.c, cp/class.c, cp/cp-lang.c, cp/cvt.c, cp/cxxfilt.c,
cp/decl.c, cp/decl2.c, cp/dump.c, cp/error.c, cp/except.c,
cp/expr.c, cp/friend.c, cp/g++spec.c, cp/init.c, cp/lex.c,
cp/mangle.c, cp/method.c, cp/optimize.c, cp/parse.y, cp/pt.c,
cp/ptree.c, cp/repo.c, cp/rtti.c, cp/search.c, cp/semantics.c,
cp/spew.c, cp/tree.c, cp/typeck.c, cp/typeck2.c:
Include coretypes.h and tm.h.
* f/proj.h, f/ansify.c, f/g77spec.c, f/intdoc.c:
Include coretypes.h and tm.h.
* fixinc/fixlib.h: Include coretypes.h and tm.h. Do not
include auto-host.h or ansidecl.h/
* fixinc/server.h: Do not include stdio.h, unistd.h, or fixlib.h.
* fixinc/procopen.c: Include server.h after fixlib.h. Do not
include auto-host.h, ansidecl.h, or system.h.
* fixinc/server.c: Likewise. Also, do not include signal.h,
and do not redefine volatile.
* java/boehm.c, java/buffer.c, java/builtins.c,
java/check-init.c, java/class.c, java/constants.c,
java/decl.c, java/except.c, java/expr.c, java/gjavah.c,
java/jcf-depend.c, java/jcf-dump.c, java/jcf-io.c,
java/jcf-parse.c, java/jcf-path.c, java/jcf-write.c,
java/jv-scan.c, java/jvgenmain.c, java/jvspec.c, java/lang.c,
java/mangle.c, java/mangle_name.c, java/parse-scan.y,
java/parse.y, java/typeck.c, java/verify.c, java/xref.c,
java/zextract.c: Include coretypes.h and tm.h.
* treelang/lex.l: Move "%{" below copyright notice; get rid of
"/*" embedded in comment. Do not #undef IN_GCC; do not
include stdio.h, memory.h, or ansidecl.h; do not include
config.h twice. Do include coretypes.h and tm.h.
* treelang/parse.y: Do not #undef IN_GCC, provide bogus
definitions of tree and rtx typedefs, or include stdio.h,
stdlib.h, string.h, or ansidecl.h. Do include coretypes.h and
tm.h.
* treelang/tree1.c: Do not include ansidecl.h, stdlib.h,
unistd.h, ctype.h, stdarg.h, string.h, or stdio.h. Do include
coretypes.h and tm.h.
* treelang/treetree.c: Do not include stdlib.h, unistd.h,
safe-ctype.h, errno.h. stdarg.h, limits.h, string.h, fcntl.h,
getopt.h. stdio.h, or ansidecl.h. Do include coretypes.h and
tm.h.
[[Split portion of a mixed commit.]]
From-SVN: r59673.2
Mark Mitchell [Sun, 1 Dec 2002 04:55:20 +0000 (04:55 +0000)]
re PR c++/8227 (g++ 3.3: ctors not called in static array initialization)
PR c++/8227
* decl.c (layout_var_decl): Deal gracefully with erroneous types.
(check_initializer): Validate the type of the initialized
variable, even if the initializer is absent.
* typeck.c (cp_type_quals): Deal gracefully with erroneous types.
PR c++/8227
* g++.dg/template/ctor2.C: New test.
From-SVN: r59672
John David Anglin [Sun, 1 Dec 2002 03:52:04 +0000 (03:52 +0000)]
cfg.c (dump_flow_info): Use max_reg_num () to determine the largest pseudo register number plus 1.
* cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
pseudo register number plus 1.
From-SVN: r59669
Mark Mitchell [Sun, 1 Dec 2002 02:11:05 +0000 (02:11 +0000)]
re PR c++/8214 (character conversion problem)
PR c++/8214
* g++.dg/init/string1.C: New test.
PR c++/8214
* typeck.c (convert_for_assignment): Do not use
decl_constant_value on the operand.
From-SVN: r59668
Mark Mitchell [Sat, 30 Nov 2002 21:57:32 +0000 (21:57 +0000)]
re PR c++/8511 ((hopefully) reproducible cc1plus SIGSEGV.)
PR c++/8511
* pt.c (instantiate_decl): Handle template friends defined outside
of the class correctly.
PR c++/8511
* g++.dg/template/friend8.C: New test.
From-SVN: r59665
GCC Administrator [Sat, 30 Nov 2002 08:17:11 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59657
Scott Gilbertson [Sat, 30 Nov 2002 04:51:11 +0000 (04:51 +0000)]
ColorModel.java (getUnnormalizedComponents, [...]): Fix calculation which was using one too many bits in the unnormalized format.
2002-11-29 Scott Gilbertson <scottg@mantatest.com>
* java/awt/image/ColorModel.java (getUnnormalizedComponents,
getNormalizedComponents): Fix calculation which was using one too
many bits in the unnormalized format.
From-SVN: r59651
Gary Benson [Sat, 30 Nov 2002 04:41:59 +0000 (04:41 +0000)]
For PR libgcj/8759:
2002-11-29 Gary Benson <gbenson@redhat.com>
For PR libgcj/8759:
* java/beans/Introspector.java (flushCaches): New method.
(flushFromCaches): Likewise.
From-SVN: r59650
Hans-Peter Nilsson [Fri, 29 Nov 2002 22:41:04 +0000 (22:41 +0000)]
cpplib.c (_cpp_test_assertion): Default *value to 0.
* cpplib.c (_cpp_test_assertion): Default *value to 0.
* cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.
From-SVN: r59648
Joe Buck [Fri, 29 Nov 2002 22:08:36 +0000 (22:08 +0000)]
anon2.C: New test.
* g++.dg/lookup/anon2.C: New test.
* parse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for
anonymous structs.
From-SVN: r59647
Mark Mitchell [Fri, 29 Nov 2002 21:17:05 +0000 (21:17 +0000)]
class.c (walk_subobject_offsets): Recur on binfos as well as on types.
* class.c (walk_subobject_offsets): Recur on binfos as well as on
types.
(layout_nonempty_base_or_field): Pass it a binfo when processing a
base class.
(layout_empty_base): Likewise.
(build_base_field): Likewise.
From-SVN: r59643
Ulrich Weigand [Fri, 29 Nov 2002 19:59:25 +0000 (19:59 +0000)]
t-crtstuff: New target makefile fragment.
* config/s390/t-crtstuff: New target makefile fragment.
* config.gcc [s390-*-linux, s390x-*-linux]: Use it.
From-SVN: r59641
Krister Walfridsson [Fri, 29 Nov 2002 17:53:45 +0000 (18:53 +0100)]
configure.in (_XOPEN_SOURCE, [...]): Check that _XOPEN_SOURCE 500L may be defined before defining these.
2002-10-18 Krister Walfridsson <cato@df.lth.se>
* libU77/configure.in (_XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED,
__EXTENSIONS__, _FILE_OFFSET_BITS): Check that _XOPEN_SOURCE 500L
may be defined before defining these.
* libU77/configure: Regenerate.
* libI77/configure.in (_XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED,
__EXTENSIONS__, _FILE_OFFSET_BITS): Check that _XOPEN_SOURCE 500L
may be defined before defining these.
* libI77/configure: Regenerate.
From-SVN: r59639
Kazu Hirata [Fri, 29 Nov 2002 16:24:58 +0000 (16:24 +0000)]
h8300.md (movsi_h8300hs): Change the order of alternatives to correct the length when...
* config/h8300/h8300.md (movsi_h8300hs): Change the order of
alternatives to correct the length when the memory operand is
either pre_dec or post_inc.
From-SVN: r59637
Kazu Hirata [Fri, 29 Nov 2002 16:10:21 +0000 (16:10 +0000)]
h8300.md (an anonymous pattern): Give an internal name *tst_extzv_bitqi_1_n.
* config/h8300/h8300.md (an anonymous pattern): Give an
internal name *tst_extzv_bitqi_1_n.
Accept bit_operand instead of bit_memory_operand.
Do not accept bit tests with the MSB.
(*tst_extzv_memqi_1_n): New.
From-SVN: r59636
Michael Koch [Fri, 29 Nov 2002 12:32:17 +0000 (12:32 +0000)]
2002-11-29 Michael Koch <konqueror@gmx.de>
* java/nio/channels/DatagramChannel.java
(open): Added exception documentation.
(write): Added exception documentation.
(connect): Added exception documentation.
(disconnect): Added exception documentation.
(isConnected): Added exception documentation.
(read): Added exception documentation.
(receive): Added exception documentation.
(send): Added exception documentation.
(validOps): Added exception documentation.
* java/nio/channels/SocketChannel.java
(open): Added exception documentation.
(read): Added exception documentation.
(write): Added exception documentation.
(connect): Added exception documentation.
(finishConnect): Added exception documentation.
From-SVN: r59633
Michael Koch [Fri, 29 Nov 2002 09:57:05 +0000 (09:57 +0000)]
2002-11-29 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/DatagramChannelImpl:
(fd): New member variable to store file descriptor of socket.
* gnu/java/nio/SelectionKeyImpl.java:
(ops): Removed.
(readyOps): New member variable.
(interestOps): New member variable.
(readyOps): Implemented.
(readyOps): New method to set member variable readyOps.
(interestOps): Replaced ops by interestOps.
* gnu/java/nio/SelectorImpl.java:
(SelectorImpl): Initialize key sets.
(select): Call select with -1 instead of Long.MAX_VALUE).
(java_do_select): Make it a native method.
(getFDsAsArray): New helper method.
(select): Remove canceled keys, give only interested file discriptors
to java_do_select, set ready ops.
(add): No need to initialize keys set here.
(add_selected): No need to initialize selected set here.
(deregisterCanceledKeys): New helper method.
(register): Set interest ops, set attachments, added handling of datagram
channels.
* gnu/java/nio/ServerSocketChannelImpl:
(SocketAccept): Renamed from NioSocketAccept.
(implConfigureBlocking): Implemented.
(accept): Use SocketAccept instead of NioSocketAccept.
* gnu/java/nio/SocketChannelImpl:
Reactivate native methods.
From-SVN: r59632
GCC Administrator [Fri, 29 Nov 2002 08:17:51 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59631
Michael Koch [Fri, 29 Nov 2002 07:56:58 +0000 (07:56 +0000)]
natByteBufferImpl.cc, [...]: New files that implement native functionalities.
2002-11-29 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/natByteBufferImpl.cc,
gnu/java/nio/natCharBufferImpl.cc,
gnu/java/nio/natDoubleBufferImpl.cc,
gnu/java/nio/natFloatBufferImpl.cc,
gnu/java/nio/natIntBufferImpl.cc,
gnu/java/nio/natLongBufferImpl.cc,
gnu/java/nio/natSelectorImpl.cc,
gnu/java/nio/natServerSocketChannelImpl.cc,
gnu/java/nio/natShortBufferImpl.cc,
gnu/java/nio/natSocketChannelImpl.cc:
New files that implement native functionalities.
From-SVN: r59625
Michael Koch [Fri, 29 Nov 2002 07:50:46 +0000 (07:50 +0000)]
2002-11-29 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java
(ByteBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
* gnu/java/nio/CharBufferImpl.java:
Reformated.
(endian): New member variable string endianess of buffer.
(CharBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
(subSequence): Implemented.
* gnu/java/nio/DoubleBufferImpl.java
(DoubleBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
* gnu/java/nio/FloatBufferImpl.java
Reformated.
(FloatBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
* gnu/java/nio/IntBufferImpl.java
Added needed imports, Reformated.
(IntBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
* gnu/java/nio/LongBufferImpl.java
Reformated.
(LongBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
* gnu/java/nio/ShortBufferImpl.java
Reformated.
(ShortBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
From-SVN: r59624
Kazu Hirata [Fri, 29 Nov 2002 02:15:52 +0000 (02:15 +0000)]
h8300.c (h8300_eightbit_constant_address_p): Fix a comment typo.
* config/h8300/h8300.c (h8300_eightbit_constant_address_p):
Fix a comment typo.
(h8300_tiny_constant_address_p): Likewise.
From-SVN: r59623
Phil Edwards [Thu, 28 Nov 2002 21:28:20 +0000 (21:28 +0000)]
re PR libstdc++/8716 (std::string( NULL, 0 ) throws exception also on zero length)
2002-11-28 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/8716
* testsuite/21_strings/ctor_copy_dtor.cc (test05): Also test
the NULL-pointer, zero-size case.
From-SVN: r59616
Michael Matz [Thu, 28 Nov 2002 20:53:45 +0000 (20:53 +0000)]
* doc/passes.texi: Mention the other register allocator.
From-SVN: r59615
Geoffrey Keating [Thu, 28 Nov 2002 20:27:44 +0000 (20:27 +0000)]
configure.in: Move host-specific darwin noconfigdirs into the host-specific section.
* configure.in: Move host-specific darwin noconfigdirs into
the host-specific section.
From-SVN: r59614
Jonathan Wakely [Thu, 28 Nov 2002 19:15:04 +0000 (19:15 +0000)]
index.html: Add tip about namespace for extensions.
2002-11-28 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/faq/index.html: Add tip about namespace for extensions.
From-SVN: r59613
Kazu Hirata [Thu, 28 Nov 2002 18:02:46 +0000 (18:02 +0000)]
* config/h8300/h8300.md (6 new peephole2 patterns): New.
From-SVN: r59611
Kazu Hirata [Thu, 28 Nov 2002 17:41:12 +0000 (17:41 +0000)]
strct-varg-1.x: Remove xfail on the h8300 port.
* gcc.c-torture/execute/strct-varg-1.x: Remove xfail on the
h8300 port.
From-SVN: r59610
Paolo Carlini [Thu, 28 Nov 2002 17:29:24 +0000 (18:29 +0100)]
localename.cc (locale::_Impl::_Impl(const char*, size_t)): Improve previous fix for the strtok vs MT issue.
2002-11-28 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
* src/localename.cc
(locale::_Impl::_Impl(const char*, size_t)):
Improve previous fix for the strtok vs MT issue.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r59609
Jakub Jelinek [Thu, 28 Nov 2002 14:47:02 +0000 (15:47 +0100)]
config.gcc (x86_64-*-linux*): Remove i386/t-crtstuff.
* config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
* config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
* config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define.
From-SVN: r59607
Kazu Hirata [Thu, 28 Nov 2002 14:08:34 +0000 (14:08 +0000)]
h8300.c (h8300_and_costs): New.
* config/h8300/h8300.c (h8300_and_costs): New.
* config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs.
* config/h8300/h8300-protos.h: Add a prototype for
h8300_and_costs.
From-SVN: r59606
Paolo Carlini [Thu, 28 Nov 2002 12:25:32 +0000 (13:25 +0100)]
c_locale.cc (locale::_S_categories): Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
2002-11-28 Paolo Carlini <pcarlini@unitus.it>
* config/locale/gnu/c_locale.cc (locale::_S_categories):
Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
* config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.
From-SVN: r59604
GCC Administrator [Thu, 28 Nov 2002 08:17:17 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59603
Zack Weinberg [Thu, 28 Nov 2002 05:29:12 +0000 (05:29 +0000)]
rs6000.c (altivec_init_builtins): Make the pointer argument in the prototypes of the following builtins be (const...
* config/rs6000/rs6000.c (altivec_init_builtins): Make the
pointer argument in the prototypes of the following builtins
be (const TYPE *) rather than (TYPE *):
+ __builtin_altivec_ld_internal_4sf
+ __builtin_altivec_ld_internal_4si
+ __builtin_altivec_ld_internal_8hi
+ __builtin_altivec_ld_internal_16qi
+ __builtin_altivec_lvsl
+ __builtin_altivec_lvsr
+ __builtin_altivec_lvebx
+ __builtin_altivec_lvehx
+ __builtin_altivec_lvewx
+ __builtin_altivec_lvxl
+ __builtin_altivec_lvx
+ __builtin_altivec_dst
+ __builtin_altivec_dstt
+ __builtin_altivec_dstst
+ __builtin_altivec_dststt
From-SVN: r59596
Kaveh R. Ghazi [Thu, 28 Nov 2002 02:12:01 +0000 (02:12 +0000)]
* decl.c (java_init_decl_processing): Use `LL' on 64-bit constant.
From-SVN: r59594
Kaveh R. Ghazi [Thu, 28 Nov 2002 02:10:46 +0000 (02:10 +0000)]
except.c (default_exception_section): Move variable into the scope where it is used.
* except.c (default_exception_section): Move variable into the
scope where it is used.
From-SVN: r59593
Krister Walfridsson [Thu, 28 Nov 2002 00:09:54 +0000 (01:09 +0100)]
config.gcc (*-*-netbsd[2-9]*, [...]): Test for correct version.
2002-11-27 Krister Walfridsson <cato@df.lth.se>
* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
correct version.
From-SVN: r59592
Kazu Hirata [Wed, 27 Nov 2002 22:41:36 +0000 (22:41 +0000)]
* config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
From-SVN: r59591
Julian Dolby [Wed, 27 Nov 2002 22:41:07 +0000 (22:41 +0000)]
Locale.java (toString): Improve efficiency if country and variant are both empty.
2002-11-27 Julian Dolby <dolby@us.ibm.com>
* java/util/Locale.java (toString): Improve efficiency if country
and variant are both empty.
From-SVN: r59590
Kazu Hirata [Wed, 27 Nov 2002 22:21:11 +0000 (22:21 +0000)]
h8300.c (h8300_shift_costs): New.
* config/h8300/h8300.c (h8300_shift_costs): New.
* config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
* config/h8300/h8300-protos.h: Add a prototype for
h8300_shift_costs.
From-SVN: r59588
David Edelsohn [Wed, 27 Nov 2002 22:14:14 +0000 (17:14 -0500)]
- Fix typo in rs6000_output_load_multiple commit.
From-SVN: r59587
Jim Wilson [Wed, 27 Nov 2002 20:58:37 +0000 (20:58 +0000)]
spe.md (spu_evsplatfi, [...]): Swap operands in output template.
2002-11-22 Jim Wilson <wilson@redhat.com>
* config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
in output template.
From-SVN: r59584
Mark Mitchell [Wed, 27 Nov 2002 20:44:16 +0000 (20:44 +0000)]
class.c (build_base_field): Make sure we get the canonical base when descending through primary bases.
* class.c (build_base_field): Make sure we get the canonical base
when descending through primary bases.
From-SVN: r59582
Casper S. Hornstrup [Wed, 27 Nov 2002 20:04:16 +0000 (12:04 -0800)]
i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
* config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
* config/i386/winnt.c (i386_pe_dllexport_name_p): Use
DLL_IMPORT_EXPORT_PREFIX, not '@'.
(i386_pe_dllimport_name_p): Likewise.
(i386_pe_mark_dllexport): Likewise.
(i386_pe_mark_dllimport): Likewise.
(i386_pe_encode_section_info): Likewise.
(i386_pe_strip_name_encoding): Likewise.
From-SVN: r59580
Richard Henderson [Wed, 27 Nov 2002 20:00:14 +0000 (12:00 -0800)]
mkmap-symver.awk (BEGIN): Set sawsymbol false.
* mkmap-symver.awk (BEGIN): Set sawsymbol false.
(nm && NF == 3): Set sawsymbol true.
(END): Exit if no symbols seen.
(output): Fix map syntax error if no globals for the version.
From-SVN: r59578
Ulrich Weigand [Wed, 27 Nov 2002 16:44:35 +0000 (16:44 +0000)]
* src/s390/sysv.S (.eh_frame section): Make section read-only.
From-SVN: r59574
Richard Sandiford [Wed, 27 Nov 2002 15:17:31 +0000 (15:17 +0000)]
* gcc.dg/bitfld-6.c: New test.
From-SVN: r59573
Jan Hubicka [Wed, 27 Nov 2002 13:49:33 +0000 (14:49 +0100)]
* builtins.def (DEF_C99_BUILTIN): Fix.
From-SVN: r59571
Andrew Haley [Wed, 27 Nov 2002 10:33:56 +0000 (10:33 +0000)]
unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename from_Unwind_Find_Enclosing_Function.
2002-11-26 Andrew Haley <aph@redhat.com>
* unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
from_Unwind_Find_Enclosing_Function.
* unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
* config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
* libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
_Unwind_Find_Enclosing_Function, export @@GCC_3.3.
* unwind.h (_Unwind_FindEnclosingFunction): Add.
From-SVN: r59568
GCC Administrator [Wed, 27 Nov 2002 08:18:24 +0000 (08:18 +0000)]
Daily bump.
From-SVN: r59567
Hartmut Penner [Wed, 27 Nov 2002 07:18:20 +0000 (07:18 +0000)]
s390.c (390_output_constant_pool): Set alignment before label in 64 bit mode, behind otherwise.
* config/s390/s390.c (390_output_constant_pool): Set alignment
before label in 64 bit mode, behind otherwise.
From-SVN: r59561
Richard Henderson [Wed, 27 Nov 2002 06:32:13 +0000 (22:32 -0800)]
c-common.c (handle_visibility_attribute): Accept "default".
* c-common.c (handle_visibility_attribute): Accept "default".
* tree.h (enum symbol_visibility): New.
(decl_visibility): Declare.
* target.h (gcc_target.visibility): Take visibility arg as integer.
* varasm.c (default_assemble_visibility): Likewise.
(decl_visibility): New.
(maybe_assemble_visibility): Use it.
* output.h (default_assemble_visibility): Update prototype.
* config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
visibility arg as integer.
* doc/extend.texi: Document default visibility.
From-SVN: r59560
Richard Henderson [Wed, 27 Nov 2002 06:13:23 +0000 (22:13 -0800)]
c-common.c (handle_visibility_attribute): Accept "default".
* c-common.c (handle_visibility_attribute): Accept "default".
* tree.h (enum symbol_visibility): New.
(decl_visibility): Declare.
* target.h (gcc_target.visibility): Take visibility arg as integer.
* varasm.c (default_assemble_visibility): Likewise.
(decl_visibility): New.
(maybe_assemble_visibility): Use it.
* output.h (default_assemble_visibility): Update prototype.
* config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
visibility arg as integer.
From-SVN: r59559
Tom Tromey [Wed, 27 Nov 2002 05:59:39 +0000 (05:59 +0000)]
verify.cc (pop_init_ref): New method.
* verify.cc (pop_init_ref): New method.
(verify_instructions_0) [op_iaload, op_laload, op_faload,
op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
op_instanceof, op_monitorenter, op_monitorexit]: Use it.
(verify_instructions_0) [op_invokevirtual, op_invokespecial,
op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
let `this' argument be uninitialized. Don't let `null' be passed
as `this' to construtor.
From-SVN: r59558
Kazu Hirata [Wed, 27 Nov 2002 03:46:50 +0000 (03:46 +0000)]
h8300.c: Adjust spacing.
* config/h8300/h8300.c: Adjust spacing.
* config/h8300/h8300.h: Likewise.
From-SVN: r59557
Richard Henderson [Wed, 27 Nov 2002 02:47:44 +0000 (18:47 -0800)]
hooks.c (hook_bool_void_false, [...]): Rename so that the return type is first.
* hooks.c (hook_bool_void_false, hook_void_tree_int,
hook_void_FILEptr_constcharptr): Rename so that the return
type is first.
(hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr,
hook_bool_tree_false): New.
* hooks.h: Update.
* langhooks-def.h: Update for renames.
* target-def.h: Likewise.
* tree.c (default_comp_type_attributes,
default_set_default_type_attributes, default_insert_attributes,
default_function_attribute_inlinable_p,
default_ms_bitfield_layout_p): Remove.
* tree.h: Update.
From-SVN: r59556
John David Anglin [Wed, 27 Nov 2002 02:34:15 +0000 (02:34 +0000)]
pa-protos.h (function_value): New prototype.
* pa-protos.h (function_value): New prototype.
* pa.c (function_value): Use a PARALLEL to return small aggregates on
TARGET_64BIT.
* pa.h (FUNCTION_VALUE): Use function_value.
* pa.md (call_value_internal_symref, call_value_internal_reg_64bit,
call_value_internal_reg, sibcall_value_internal_symref,
sibcall_value_internal_symref_64bit): Remove =rf constraint on return
value.
From-SVN: r59555
John David Anglin [Wed, 27 Nov 2002 02:29:12 +0000 (02:29 +0000)]
expr.c (gen_group_rtx, [...]): New functions.
* expr.c (gen_group_rtx, emit_group_move): New functions.
* expr.h (gen_group_rtx, emit_group_move): Prototype.
* function.c (expand_function_start): Use gen_group_rtx to create a
PARALLEL rtx to hold the return value when the real return rtx is a
PARALLEL.
(expand_function_end): Use emit_group_move to move the return value
from a PARALLEL to the real return registers.
* rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
in PARALLELs.
From-SVN: r59554
Geoffrey Keating [Wed, 27 Nov 2002 01:59:43 +0000 (01:59 +0000)]
Index: cp/ChangeLog
2002-11-26 Geoffrey Keating <geoffk@apple.com>
* decl.c (check_initializer): Don't error on initialisation of
a scalar with a brace-enclosed expression.
Index: testsuite/ChangeLog
2002-11-26 Geoffrey Keating <geoffk@apple.com>
* g++.dg/init/brace2.C: New test.
* g++.old-deja/g++.mike/p9129.C: Correct.
From-SVN: r59553
Mark Wielaard [Tue, 26 Nov 2002 22:48:42 +0000 (22:48 +0000)]
HeuristicCommitException.java: Classpath merge.
* javax/transaction/HeuristicCommitException.java: Classpath merge.
* javax/transaction/HeuristicMixedException.java: Likewise.
* javax/transaction/HeuristicRollbackException.java: Likewise.
* javax/transaction/InvalidTransactionException.java: Likewise.
* javax/transaction/NotSupportedException.java: Likewise.
* javax/transaction/RollbackException.java: Likewise.
* javax/transaction/Status.java: Likewise.
* javax/transaction/Synchronization.java: Likewise.
* javax/transaction/SystemException.java: Likewise.
* javax/transaction/Transaction.java: Likewise.
* javax/transaction/TransactionManager.java: Likewise.
* javax/transaction/TransactionRequiredException.java: Likewise.
* javax/transaction/TransactionRolledbackException.java: Likewise.
* javax/transaction/UserTransaction.java: Likewise.
* javax/transaction/xa/XAException.java: Likewise.
* javax/transaction/xa/XAResource.java: Likewise.
* javax/transaction/xa/Xid.java: Likewise.
From-SVN: r59546
Jason Thorpe [Tue, 26 Nov 2002 22:47:18 +0000 (22:47 +0000)]
* config/t-libc-ok: Fix typo.
From-SVN: r59545
Jim Wilson [Tue, 26 Nov 2002 22:24:05 +0000 (22:24 +0000)]
Fix Portable .NET bug with IA-64 pointer size.
* src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
From-SVN: r59541
Andreas Tobler [Tue, 26 Nov 2002 20:09:28 +0000 (21:09 +0100)]
natPlainDatagramSocketImpl.cc (socklen_t): Don't define.
2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
* java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
define.
* java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
* include/posix.h (socklen_t): Define if not already defined.
From-SVN: r59533
Jakub Jelinek [Tue, 26 Nov 2002 20:08:08 +0000 (21:08 +0100)]
configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back before AC_PROG_CC.
* configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back
before AC_PROG_CC.
* configure: Rebuilt.
From-SVN: r59532
Mark Mitchell [Tue, 26 Nov 2002 19:37:45 +0000 (19:37 +0000)]
* g++.dg/abi/empty10.C: Don't run on non-x86 targets.
From-SVN: r59529
Nathan Sidwell [Tue, 26 Nov 2002 17:40:56 +0000 (17:40 +0000)]
cp-tree.h (DECL_LANG_FLAG_4): Document more uses.
* cp-tree.h (DECL_LANG_FLAG_4): Document more uses.
(template_parms_equal): Remove prototype.
* typeck.c (buuld_indirect_ref): Reformat.
From-SVN: r59528
Nathan Sidwell [Tue, 26 Nov 2002 17:36:14 +0000 (17:36 +0000)]
* c-decl.c: (start_struct): Commonize flag setting.
From-SVN: r59527
Hartmut Penner [Tue, 26 Nov 2002 15:50:51 +0000 (15:50 +0000)]
Mention all function changed.
From-SVN: r59519
Jason Thorpe [Tue, 26 Nov 2002 15:46:40 +0000 (15:46 +0000)]
rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
* config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use
RS6000_CPU_CPP_ENDIAN_BUILTINS.
* config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine.
From-SVN: r59518
Hartmut Penner [Tue, 26 Nov 2002 15:26:40 +0000 (15:26 +0000)]
s390.md (literal_pool_64, [...]): New insns.
* config/s390/s390.md (literal_pool_64, literal_pool_31 ): New
insns.
* config/s390/s390.c (struct machine_function): Introduction of
struct machine_function.
* config/s390/s390-protos.h (s390_output_constant_pool): Changed
prototype.
From-SVN: r59515
Jakub Jelinek [Tue, 26 Nov 2002 12:36:09 +0000 (13:36 +0100)]
varasm.c (output_constant_pool): For pool constants in mergeable section ensure each constant is padded to...
* varasm.c (output_constant_pool): For pool constants in mergeable
section ensure each constant is padded to multiple of entity size.
From-SVN: r59508
Jakub Jelinek [Tue, 26 Nov 2002 12:34:25 +0000 (13:34 +0100)]
varasm.c (default_exception_section): Move to...
* varasm.c (default_exception_section): Move to...
* except.c (default_exception_section): ... here. Make
.gcc_except_table read-only if it is not expected to have any
dynamic relocations and linker handles it.
* dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
if it is not expected to have any dynamic relocations and linker
handles it.
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
when linking read-only and read-write sections together.
* configure, config.in: Rebuilt.
* crtstuff.c (EH_FRAME_SECTION_CONST): Define.
(__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
From-SVN: r59507
GCC Administrator [Tue, 26 Nov 2002 08:19:05 +0000 (08:19 +0000)]
Daily bump.
From-SVN: r59505
Mark Mitchell [Tue, 26 Nov 2002 08:11:33 +0000 (08:11 +0000)]
tree.c (cp_build_qualified_type_real): Correct handling of array types.
* tree.c (cp_build_qualified_type_real): Correct handling of
array types.
From-SVN: r59499
Aldy Hernandez [Tue, 26 Nov 2002 07:28:02 +0000 (07:28 +0000)]
spe.h (__ev_create_sfix32_fs): Change macro into new function.
2002-11-25 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
new function.
(__ev_create_ufix32_fs): Same.
(__ev_get_sfix32_fs_internal): New.
(__ev_get_sfix32_fs): Define to use function.
(__ev_get_ufix32_fs_internal): New.
(__ev_get_ufix32_fs): Define to use function.
(__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
(__ev_get_lower_ufix32_fs): Same.
(__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
(__ev_get_lower_sfix32_fs): Same.
(__ev_set_sfix32_fs_internal): New.
(__ev_set_ufix32_fs_internal): New.
(__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
(__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
(__ev_set_upper_sfix32_fs): Call function.
(__ev_set_lower_sfix32_fs): Same.
(__ev_set_upper_ufix32_fs): Same.
(__ev_set_lower_ufix32_fs): Same.
From-SVN: r59498
Mark Mitchell [Tue, 26 Nov 2002 07:20:13 +0000 (07:20 +0000)]
empty11.C: New test.
* testsuite/g++.dg/abi/empty11.C: New test.
* testsuite/g++.dg/rtti/cv1.C: New test.
* tree.c (cp_build_qualified_type_real): Correct handling of
array types.
* class.c (walk_subobject_offsets): Fix thinko.
(build_base_field): Record offsets of empty bases in primary
virtual bases.
(layout_class_type): Record offsets of empty bases in fields.
From-SVN: r59497
Tom Tromey [Tue, 26 Nov 2002 07:15:53 +0000 (07:15 +0000)]
* verify.cc (type::compatible): Backed out broken change.
From-SVN: r59496