Andrew Haley
4b445d7cfb
libgcj.spec.in (jc1): Add BACKTRACESPEC.
...
2003-02-03 Andrew Haley <aph@redhat.com>
* libgcj.spec.in (jc1): Add BACKTRACESPEC.
* configure.host (x86_64): Default to -fno-omit-frame-pointer.
* configure.in (BACKTRACESPEC): New.
* configure: Regenerate.
From-SVN: r62316
2003-02-03 15:59:48 +00:00
Jan Hubicka
7393205f69
* gcc.c-torture/execute/20030203-1.c: New test.
...
From-SVN: r62314
2003-02-03 15:07:50 +00:00
Jan Hubicka
5fb486851a
* i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
...
From-SVN: r62313
2003-02-03 15:02:07 +00:00
Jan Hubicka
84520a2006
i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
...
* i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
[[Split portion of a mixed commit.]]
From-SVN: r62312.2
2003-02-03 15:02:02 +00:00
Adrian Bunk
7d503466fb
Fix for java/4269:
...
2003-01-31 Adrian Bunk <bunk@fs.tum.de>
Fix for java/4269:
* jv-scan.c: Use HAVE_LANGINFO_CODESET instead of HAVE_NL_LANGINFO
to fix bootstrap on sparc-unknown-netbsdelf1.5.
* jcf-parse.c: Likewise.
From-SVN: r62310
2003-02-03 13:57:15 +00:00
Volker Reichelt
847e8c74ac
re PR libstdc++/9234 (unary minus for valarrays broken)
...
PR libstdc++/9234
* include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
operator.
* include/bits/valarray_before.h (__not_equal_to): Use != instead of ==.
* testsuite/26_numerics/valarray_operators.cc: New test.
From-SVN: r62309
2003-02-03 10:38:36 +00:00
Richard Earnshaw
ca777b88c8
20000320-1.c: The ARM VFP format is 'natural-endian'.
...
* gcc.c-torture/exectue/ieee/20000320-1.c: The ARM VFP format is
'natural-endian'.
From-SVN: r62306
2003-02-03 10:15:15 +00:00
Christian Cornelssen
5da14cb5ce
Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir) be created if necessary.
...
* Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
be created if necessary.
(ada.install-common): Let $(DESTDIR)$(bindir) be created
if necessary. Remove erroneous and redundant gnatchop
installation commands. Test for gnatdll before attempting
to install it.
(ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
and gnatdll from all plausible locations.
From-SVN: r62304
2003-02-03 01:55:32 +01:00
Jan Hubicka
035b2a3475
* regclass.c (cannot_change_mode_set_regs): Correct argument order.
...
From-SVN: r62302
2003-02-03 00:31:53 +00:00
GCC Administrator
f2e05ec7c7
Daily bump.
...
From-SVN: r62299
2003-02-03 00:17:03 +00:00
Tom Tromey
9e8e1bec48
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in (TOOLKIT) [xlib]: Set correctly.
From-SVN: r62292
2003-02-02 23:08:35 +00:00
Tom Tromey
5f9cea34bb
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
libstdc++.
From-SVN: r62291
2003-02-02 23:06:39 +00:00
Christian Cornelssen
f5f2cce54c
* MAINTAINERS (Write after approval): Add myself.
...
From-SVN: r62287
2003-02-02 21:44:31 +01:00
Kaveh R. Ghazi
1f143d5ab1
_tilib.c: Don't include tsystem.h or defaults.h.
...
* mips/_tilib.c: Don't include tsystem.h or defaults.h. Don't
define LIBGCC2_WORDS_BIG_ENDIAN. Include coretypes.h and tm.h.
From-SVN: r62284
2003-02-02 19:55:15 +00:00
Andreas Schwab
4b550d9f65
* varasm.c (asm_output_aligned_bss): Declare as possibly unused.
...
From-SVN: r62282
2003-02-02 17:30:49 +00:00
Richard Earnshaw
0732a08996
arm.md (sibcall_epilogue): Set the "conds" to "clob".
...
* arm.md (sibcall_epilogue): Set the "conds" to "clob".
(epilogue_insns): Likewise.
From-SVN: r62281
2003-02-02 16:20:31 +00:00
John David Anglin
f269f54ff8
* doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
...
From-SVN: r62273
2003-02-02 06:08:58 +00:00
John David Anglin
611ad29eed
pa-protos.h (attr_length_millicode_call): Remove second argument.
...
* pa-protos.h (attr_length_millicode_call): Remove second argument.
(attr_length_indirect_call, attr_length_indirect_call,
attr_length_save_restore_dltp): New prototypes.
* pa.c (attr_length_millicode_call): Remove second argument. Check
INSN_ADDRESSES_SET_P in distance calculation.
(output_millicode_call): Check INSN_ADDRESSES_SET_P before using
INSN_ADDRESSES.
(attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
(output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
Call attr_length_call directly.
(attr_length_indirect_call, output_indirect_call,
attr_length_save_restore_dltp): New functions.
* pa.md (attr_length_millicode_call): Drop second argument from all
patterns.
(return_internal_pic): Delete.
(return_external_pic): Remove use of PIC register and pic operand and
flag checks.
(epilogue): Use return_internal for both normal and pic code.
(call, call_value): Emit new 32-bit pic patterns for symref and
indirect calls. Remove uses for arg pointer and pic register.
(call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
call_reg_pic_post_reload, call_val_symref_pic,
call_val_symref_pic_post_reload, call_val_reg_pic,
call_val_reg_pic_post_reload): New pre and post reload insn patterns.
Implement define_split and define_peephole2 patterns for pre reload
patterns.
(call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
call_value_internal_reg_64bit): Shorten names.
(all call patterns): Explicitly indicate registers used and clobbered.
Use attr_length_indirect_call and attr_length_save_restore_dltp for
attribute length calculation. Move code generation for indirect calls
to output_indirect_call.
(sibcall, sibcall_value): Don't restore PIC register.
(exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
register retore.
From-SVN: r62272
2003-02-02 06:04:58 +00:00
Gerald Pfeifer
8cacda7c8b
install.texi (Testing): Simplify and compress instructions concerning Dejagnu.
...
* doc/install.texi (Testing): Simplify and compress instructions
concerning Dejagnu.
From-SVN: r62270
2003-02-02 01:52:15 +00:00
John David Anglin
cbc158bba5
collect2.c (pexecute_pid): Rename to pid.
...
* collect2.c (pexecute_pid): Rename to pid.
(collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
pid.
From-SVN: r62269
2003-02-02 01:31:40 +00:00
Geoffrey Keating
dcef1843bb
extend.texi (Function Attributes): Remove documentation for PowerPC Windows NT function attributes..
...
* doc/extend.texi (Function Attributes): Remove documentation
for PowerPC Windows NT function attributes..
From-SVN: r62268
2003-02-02 01:21:21 +00:00
GCC Administrator
7073f4745f
Daily bump.
...
From-SVN: r62267
2003-02-02 00:17:05 +00:00
Phil Edwards
d6ed6fcc8f
index.html: Correct link to libg++ information.
...
2003-02-01 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html: Correct link to libg++ information.
* docs/html/faq/index.txt: Regenerated.
From-SVN: r62259
2003-02-01 21:47:13 +00:00
Daniel Jacobowitz
5d7bed9d6f
dwarf2out.c (gen_type_die): Check for typedefs before calling for TYPE_MAIN_VARIANT.
...
* dwarf2out.c (gen_type_die): Check for typedefs before calling
for TYPE_MAIN_VARIANT.
From-SVN: r62258
2003-02-01 21:12:55 +00:00
Richard Henderson
53585c36db
libgcc2.c: Include auto-host.h.
...
* libgcc2.c: Include auto-host.h.
(ATTRIBUTE_HIDDEN): New.
(__clz_tab): Don't declare here for clz and ctz.
(__clzsi2, __clzdi2): Use count_leading_zeros.
(__ctzsi2, __ctzdi2): Use count_trailing_zeros.
(__popcount_tab): Mark ATTRIBUTE_HIDDEN.
(__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
* longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.
From-SVN: r62256
2003-02-01 12:58:35 -08:00
Richard Henderson
bc8a6d63e6
i386.md (addsi_1_zext splitter): Add TARGET_64BIT to the conditional.
...
* config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
to the conditional.
(ashlsi3_1_zext splitter): Likewise.
From-SVN: r62254
2003-02-01 12:18:05 -08:00
Richard Henderson
2928cd7aac
[multiple changes]
...
2003-02-01 Richard Henderson <rth@redhat.com>
* optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
__popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
return type to Wtype.
* libgcc-std.ver (GCC_3.4): Fix inheritance.
* config/i386/i386.md (ffssi2): Use nonimmediate_operand for
expander input constraint.
2003-02-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
* optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
OTI_parity.
(clz_optab, ctz_optab, popcount_optab, parity_optab): New.
* optabs.c (widen_clz, expand_parity): New.
(expand_unop): Handle clz and parity. Hardcode SImode as outmode
for libcalls to clz, ctz, popcount, and parity.
(init_optabs): Init clz_optab, ctz_optab, popcount_optab and
parity_optab, and set up libfunc handlers.
* libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
__popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
__popcount_tab): New.
* libgcc2.h: Declare them.
* libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
* genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
and parity_optab.
* builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
* builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
BUILT_IN_PARITYLL): New.
* builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
and add optab argument.
(expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
* tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
* expr.c (expand_expr): Handle them.
* fold-const.c (tree_expr_nonnegative_p): Likewise.
* rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
* reload1.c (eliminate_regs): Handle them.
(elimination_effects): Likewise.
* function.c (instantiate_virtual_regs_1): Likewise
* genattrtab.c (check_attr_value): Likewise.
* simplify-rtx.c (simplify_unary_operation): Likewise.
* c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
* combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
(nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
* config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
* config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
__builtin_arm_clz.
* Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
* mklibgcc.in (lib2funcs): ...here and merge. Add new members.
* doc/extend.texi (Other Builtins): Add new builtins.
* doc/md.texi (Standard Names): Add new patterns.
From-SVN: r62252
2003-02-01 11:00:02 -08:00
Ulrich Weigand
112f7223d1
* reload.c: Revert 2003-01-31 change.
...
From-SVN: r62249
2003-02-01 17:14:32 +00:00
Paolo Carlini
064994a3f2
Const correctness issue: http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
...
2003-02-01 Paolo Carlini <pcarlini@unitus.it>
Benjamin Kosnik <bkoz@redhat.com>
Const correctness issue:
http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
* include/bits/locale_classes.h
(locale::_Impl::_M_facets): Change type to const facet**.
(locale::_Impl::_M_install_facet): Change declaration to
take const facet*.
(locale::facet::_M_references): Make mutable.
(locale::facet::_M_add_reference): Declare const.
(locale::facet::_M_remove_reference): Likewise.
* include/bits/locale_facets.tcc
(use_facet(const locale&)): Tweak for const facet** _M_facets.
(has_facet(const locale&)): Likewise.
* src/locale.cc
(locale::facet::_M_add_reference): Adjust definition.
(locale::facet::_M_remove_reference): Likewise.
* src/localename.cc
(locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
const facet** _M_facets.
(locale::_Impl::_Impl(const char*, size_t)): Likewise.
(locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
(locale::_Impl::_M_install_facet): Adjust definition to take
const facet* and for const facet** _M_facets.
* testsuite/22_locale/locale/cons/8.cc: Add.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r62248
2003-02-01 16:37:20 +00:00
Jan Hubicka
434c87d422
* combine.c (combine_simplify_rtx): Use reversed_comparison_code_parts.
...
From-SVN: r62246
2003-02-01 13:16:29 +00:00
Richard Sandiford
271bd540d1
flags.h (flag_volatile): Remove declaration.
...
* flags.h (flag_volatile): Remove declaration.
(flag_volatile_global, flag_volatile_static): Likewise.
* c-typeck.c (build_indirect_ref): Don't check flag_volatile.
* toplev.c (flag_volatile): Remove definition.
(flag_volatile_global, flag_volatile_static): Likewise.
(f_options): Remove corresponding entries here.
* varasm.c (make_decl_rtl): Don't check flag_volatile_global
or flag_volatile_static.
* doc/invoke.texi: Remove documentation of -fvolatile,
-fvolatile-global and -fvolatile-static.
cp/
* typeck.c (build_indirect_ref): Don't check flag_volatile.
ada/
* utils2.c (build_unary_op): Don't check flag_volatile.
* gnat_ug.texi: Remove -fvolatile from example.
* gnat_ug_vxw.texi: Likewise.
testsuite/
* g++.dg/init/new1.C: Remove -fvolatile dg-options line.
* g++.dg/init/new2.C: Likewise.
* g++.dg/other/new1.C: Likewise.
From-SVN: r62245
2003-02-01 13:09:41 +00:00
Andreas Jaeger
3123c967cc
Fix wrongly applied last patch.
...
From-SVN: r62239
2003-02-01 12:16:19 +01:00
Loren J. Rittle
5175d1b8e8
Correct ChangeLog entry.
...
From-SVN: r62236
2003-02-01 05:35:21 +00:00
John David Anglin
17e6098e90
pa.c (pa_output_function_prologue, [...]): Move updating of total_code_bytes from prologue to epilogue.
...
* pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
updating of total_code_bytes from prologue to epilogue.
From-SVN: r62233
2003-02-01 04:26:29 +00:00
Mark Wielaard
ccbaec264d
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
From-SVN: r62231
2003-02-01 01:36:17 +00:00
Mark Wielaard
36da0e789c
* gjavah.c (throwable_p): Allocate 1 more byte for string.
...
From-SVN: r62228
2003-02-01 01:31:31 +00:00
Ulrich Weigand
2f278625ee
reload.c (find_reloads): Do not use the mode specified in the insn pattern as reload mode for address...
...
gcc/
* reload.c (find_reloads): Do not use the mode specified in the insn
pattern as reload mode for address operands. Do not generate optional
reloads for operands where a mandatory reload was already pushed.
Generate optional reloads only in the final pass though find_reloads.
(have_replacement_p): New function.
gcc/testsuite/
* gcc.dg/20030129-1.c: New test.
From-SVN: r62225
2003-02-01 01:01:38 +00:00
GCC Administrator
e4b9b5fb09
Daily bump.
...
From-SVN: r62224
2003-02-01 00:17:03 +00:00
Gerald Pfeifer
05c425a945
install.texi (Testing): Remove a reference to our obsolete /testresults web pages and strip redundant...
...
* doc/install.texi (Testing): Remove a reference to our obsolete
/testresults web pages and strip redundant information concerning
test results.
(Binaries): Refer to Microsoft Windows instead of listing all
possible variants.
From-SVN: r62214
2003-01-31 23:58:30 +00:00
Jan Hubicka
b0c42aed31
loop.c (emit_prefetch_instructions): Do conversion at right place in RTL chain.
...
* loop.c (emit_prefetch_instructions): Do conversion at right place in
RTL chain.
* combine.c (simplify_set): Reverse order of ragumetns to
REG_CANNOT_CHANGE_MODE_P
* df.c (df_def_record_1): Likewise.
* recog.c (register_operand): Likewise.
* simplify-rtx.c (simplify_subreg): Likewise.
* hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
CANNOT_CHANGE_MODE_CLASS.
* regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
Likewise.
* reload.c (push_reload): Likewise.
* alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* mips-protos.h (mips_cannot_change_mode_class): Update prototype.
* mips.c (mips_cannot_change_mode_class): Update.
* pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* sh-protos.h (sh_cannot_change_mode_class): Update prototype.
* sh.c (sh_cannot_change_mode_class): Update.
* i386.h (CANNOT_CHANGE_MODE_CLASS): New.
* tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
From-SVN: r62212
2003-01-31 23:34:17 +00:00
Geoffrey Keating
1f61a15d9e
darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent change to LINK_COMMAND_SPEC in gcc.c.
...
* config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent
change to LINK_COMMAND_SPEC in gcc.c.
From-SVN: r62211
2003-01-31 23:08:32 +00:00
Tom Tromey
9bc825c4ba
jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be cast to element type.
...
* jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
cast to element type.
(_Jv_JNI_SetObjectArrayElement): Check array bounds.
(_Jv_JNI_GetObjectArrayElement): Likewise.
From-SVN: r62210
2003-01-31 22:50:48 +00:00
Daiki Ueno
0120f3d478
jartool.c (extract_jar): Don't lseek to skip extra fields.
...
2003-01-31 Daiki Ueno <ueno@unixuser.org>
* jartool.c (extract_jar): Don't lseek to skip extra fields.
(consume): If the stream is seekable, do lseek.
From-SVN: r62208
2003-01-31 22:48:27 +00:00
Loren J. Rittle
7c712dcc2b
re PR target/9506 (ABI breakage: structure return)
...
PR c/9506
* i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
* gcc.dg/struct-ret-libc.c: New test.
From-SVN: r62204
2003-01-31 21:59:38 +00:00
Tom Tromey
072b0db2e3
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (cond_x_ltlibrary): Renamed library to
lib-gnu-awt-xlib.la.
(lib_gnu_awt_xlib_la_SOURCES): Renamed.
(EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
(lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
(lib_gnu_awt_xlib_la_LIBADD): Likewise.
(lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
(lib_gnu_awt_xlib_la_LINK): Likewise.
(install-exec-hook): Removed.
(lib-gnu-awt-xlib.la): Renamed.
From-SVN: r62201
2003-01-31 21:47:16 +00:00
John David Anglin
e137391e86
pa32-regs.h (REGNO_REG_CLASS, [...]): Delete duplicated code.
...
* pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
duplicated code.
From-SVN: r62196
2003-01-31 20:23:23 +00:00
Frank Ch. Eigler
ba49f6f13b
Makefile.tpl (all-sid): Add libiberty/bfd/opcodes dependencies.
...
2003-01-31 Frank Ch. Eigler <fche@redhat.com>
* Makefile.tpl (all-sid): Add libiberty/bfd/opcodes dependencies.
* Makefile.in: Regenerated.
From-SVN: r62195
2003-01-31 20:02:02 +00:00
Christian Cornelssen
63b87c2e8e
configure.in: Adjust command to source config-ml.in to account for changes to the...
...
2003-01-31 Christian Cornelssen <ccorn@cs.tu-berlin.de>,
Andreas Schwab <schwab@suse.de>
* configure.in: Adjust command to source config-ml.in to account
for changes to the libffi_basedir definition.
(libffi_basedir): Remove ${srcdir} from value and include trailing
slash if nonempty.
* configure: Regenerate.
Co-Authored-By: Andreas Schwab <schwab@suse.de>
From-SVN: r62193
2003-01-31 20:35:22 +01:00
Toon Moene
aba4e92ee1
re PR fortran/7681 (ICE in compensate_edge, at reg-stack.c:2591)
...
2003-01-31 Toon Moene <toon@moene.indiv.nluug.nl>
* news.texi: Document fixing PR fortran/7681
and optimization/9258.
From-SVN: r62192
2003-01-31 18:43:08 +00:00
Mark Wielaard
08fcde7c43
libjava.exp (libjava_prune_warnings): Remove all unreachable bytecode warnings.
...
* lib/libjava.exp (libjava_prune_warnings): Remove all unreachable
bytecode warnings.
From-SVN: r62190
2003-01-31 18:09:04 +00:00