Kazu Hirata
18cf8ddada
h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on H8/300H and H8/S.
...
* config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
H8/300H and H8/S.
From-SVN: r48666
2002-01-08 23:11:53 +00:00
Joseph Myers
16c484c7d5
tm.texi (EASY_DIV_EXPR, [...]): Remove documentation of obsolete macros.
...
* doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
documentation of obsolete macros.
* system.h: Poison these macros.
* config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
config/c4x/c4x.h, config/clipper/clipper.h,
config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
config/sparc/sparc.h, config/stormy16/stormy16.h,
config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
definitions and commented out definitions of obsolete macros.
* config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
of MAX_INT_TYPE_SIZE.
From-SVN: r48665
2002-01-08 22:51:46 +00:00
Tom Tromey
d9df09cce8
For PR libgcj/5031:
...
* java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
choose default locale.
From-SVN: r48664
2002-01-08 21:59:32 +00:00
Tom Tromey
1e7fcb11d0
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (jv_convert_LDADD): Removed convert_source_files.
From-SVN: r48663
2002-01-08 21:34:59 +00:00
Nic Ferrier
2b521fa72e
natPlainSocketImpl.cc: Added timeout handling for sockets.
...
2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
* java/net/natPlainSocketImpl.cc: Added timeout handling for
sockets.
(close): New function closes the socket.
(write): New functions for output to socket.
(read): New functions for reading from socket.
* java/net/PlainSocketImpl.java: Glue for new timeout
implementation.
(write): Call the native impl.
(read): Likewise.
(getInputStream): Get a stream to read from the socket.
(getOutputStream): Get a stream to write to the socket.
From-SVN: r48662
2002-01-08 21:14:58 +00:00
Ulrich Weigand
14b3e8ef09
s390.c (s390_preferred_reload_class): Never return ADDR_REGS if it isn't a subset of the given class.
...
* config/s390/s390.c (s390_preferred_reload_class): Never
return ADDR_REGS if it isn't a subset of the given class.
* config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
FP_REGS, but all superclasses as well.
* config/s390/s390.c (s390_function_profiler): Fix thinko.
* config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
must not be a const_int.
From-SVN: r48661
2002-01-08 21:00:02 +00:00
Tom Tromey
bd917d3a24
* resolve.cc (_Jv_PrepareClass): Enable verifier.
...
From-SVN: r48660
2002-01-08 20:51:45 +00:00
Richard Henderson
a693284d4d
Makefile.in (toplev.o): Depend on options.h.
...
* Makefile.in (toplev.o): Depend on options.h.
(gcc.o): Depend on specs.h.
From-SVN: r48659
2002-01-08 12:20:39 -08:00
Jakub Jelinek
b3ca30df78
expr.c (store_expr): Convert VOIDmode constants back to target's mode.
...
* expr.c (store_expr): Convert VOIDmode constants back to target's
mode.
* gcc.dg/20020108-1.c: New test.
From-SVN: r48658
2002-01-08 21:10:39 +01:00
Andreas Tobler
66839ef65e
natMethod.cc: Don't include alloca.h.
...
2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
* java/lang/reflect/natMethod.cc: Don't include alloca.h.
(_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
From-SVN: r48656
2002-01-08 20:00:50 +00:00
Gerald Pfeifer
24dbb44039
invoke.texi: Markup gcc as @command.
...
* doc/invoke.texi: Markup gcc as @command. Refer to
http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
of http://gcc.gnu.org/thanks.html .
From-SVN: r48655
2002-01-08 19:59:50 +00:00
Benjamin Kosnik
9fbcb61abb
[multiple changes]
...
2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2913
libstdc++/4879
* include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
return value of _M_file->sync().
(filebuf::showmanyc): Check for is_open.
* include/std/fstream (filebuf::sync): Tweak.
* testsuite/27_io/filebuf.cc: Tweak.
2002-01-08 John Fardo <jfardo@laurelnetworks.com>
Brad Garcia <garsh@attbi.com>
* testsuite/27_io/filebuf_members.cc: Add test.
From-SVN: r48654
2002-01-08 19:57:01 +00:00
Dale Johannesen
234e114cff
rs6000.md: Add missing int register target case to movdf_low.
...
* config/rs6000/rs6000.md: Add missing int register
target case to movdf_low.
From-SVN: r48653
2002-01-08 19:14:51 +00:00
Chris Sears
00cc944db9
interpret.cc (ARRAYBOUNDSCHECK): New macro.
...
2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
* interpret.cc (ARRAYBOUNDSCHECK): New macro.
(continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
insn_lastore, insn_fastore, insn_dastore, insn_aastore,
insn_bastore, insn_castore, insn_sastore]: Use it.
(continue1) [insn_arraylength]: Check for null array.
From-SVN: r48652
2002-01-08 19:07:46 +00:00
Zack Weinberg
0d24f4d131
Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or except.h.
...
* Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
(cppinit.o): Depend on except.h.
(gencheck.h, options.h, specs.h, s-gencheck, s-options,
s-specs): New rules.
* configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
Don't create specs.h/options.h/gencheck.h here. Remove
unnecessary variable settings from last argument of AC_OUTPUT.
* config.in, configure: Regenerate.
* intl.c: Hardcode package name as "gcc".
* cppinit.c: Include except.h.
(builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
appropriate.
* unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
(!)USING_SJLJ_EXCEPTIONS.
* doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
From-SVN: r48651
2002-01-08 19:03:20 +00:00
Joseph Myers
ed722f66dd
tm.texi (ASM_OUTPUT_EH_REGION_BEG, [...]): Remove documentation of obsolete macros.
...
* doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
documentation of obsolete macros.
* system.h: Poison these macros.
* config/d30v/d30v.h, config/ns32k/encore.h,
config/stormy16/stormy16.h: Remove definitions and commented out
definitions of obsolete macros.
From-SVN: r48650
2002-01-08 18:16:25 +00:00
Nicola Pero
31e5e29ab3
Removed spurious warnings when compiling Objective-C
...
From-SVN: r48649
2002-01-08 18:03:56 +00:00
Nicola Pero
c18736ac11
Remove spurious warnings of the like '__objc_class_ref_NSObject defined but
...
not used'
From-SVN: r48648
2002-01-08 18:03:11 +00:00
H.J. Lu
c9f115ad25
special.exp: Add -I${srcdir}/../../libobjc for header files.
...
2002-01-08 H.J. Lu <hjl@gnu.org>
* objc.dg/special/special.exp: Add -I${srcdir}/../../libobjc
for header files.
From-SVN: r48647
2002-01-08 09:35:09 -08:00
Andreas Jaeger
b78237cdee
Remove erroneous checkin on wrong branch.
...
From-SVN: r48646
2002-01-08 17:51:38 +01:00
Andreas Jaeger
90f0738469
* gcse.c (gcse_main): Disable store_motion until it gets fixed.
...
From-SVN: r48645
2002-01-08 17:44:45 +01:00
Ulrich Weigand
bc1fa59ccd
linux.h (ASM_OUTPUT_LABELREF): Remove.
...
* config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
* config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
to insn adjusting stack/frame pointer.
* config/s390/s390.md (reload_la_64, reload_la_31): Do not
accept operands that cause the insn to be non-splittable.
From-SVN: r48643
2002-01-08 13:11:23 +00:00
Geoffrey Keating
acd8ea2ae0
altivec-4.c: Make the 'char' entries signed also for consistency.
...
* gcc.dg/altivec-4.c: Make the 'char' entries signed also for
consistency.
From-SVN: r48641
2002-01-08 10:32:57 +00:00
Graham Stott
426b490f88
* search.c (SET_BINFO_ACCESS): Add parenthesis.
...
From-SVN: r48640
2002-01-08 10:23:01 +00:00
Graham Stott
18e314ada8
pt.c (ccat): Uppercase macro parameter.
...
* pt.c (ccat): Uppercase macro parameter.
(cat): Likewise
From-SVN: r48639
2002-01-08 10:22:28 +00:00
Graham Stott
ff0b0e4c4e
mangle.c (MANGLE_TRACE): Add parenthesis.
...
* mangle.c (MANGLE_TRACE): Add parenthesis.
(MANGLE_TRACE_TREE): Likewise.
(write_signed_number): Likewise.
(write_unsigned_number): Likewise.
From-SVN: r48638
2002-01-08 10:21:56 +00:00
Graham Stott
84b4a6f866
Remove change log entries for error.c
...
From-SVN: r48637
2002-01-08 10:21:17 +00:00
Graham Stott
75ac8dec77
decl.c (BINDING_LEVEL): Add parenthesis.
...
* decl.c (BINDING_LEVEL): Add parenthesis.
(DEF_OPERATOR): Likewise.
From-SVN: r48636
2002-01-08 10:19:10 +00:00
Graham Stott
12f50451ab
class.c (VTT_TOP_LEVEL_P): Uppercase macro parameter and whitespace.
...
* class.c (VTT_TOP_LEVEL_P): Uppercase macro parameter and
whitespace.
(VTT_MARKED_BINFO_P): Likewise.
From-SVN: r48635
2002-01-08 10:18:40 +00:00
Graham Stott
f11f20b0f5
call.c (convert_like): Add parenthesis and wrap.
...
* call.c (convert_like): Add parenthesis and wrap.
(convert_like_with_context): Likewise.
(ICS_RANK): Whitespace.
(NEED_TEMPORARY_P): Remove parenthesis.
From-SVN: r48634
2002-01-08 10:18:06 +00:00
Graham Stott
9180074778
xref.c (FILE_NAME_ABSOLUTE_P): Add parenthesis.
...
* xref.c (FILE_NAME_ABSOLUTE_P): Add parenthesis.
(PALLOC): Uppercase macro parameter and whitespace.
(SALLOC): Uppercase macro parameter.
(SFREE): Uppercase macros parameter, add parenthese and
whitespace.
(STREQL): Uppercase macro parameter and whitespace.
(STRNEQ): Likewise.
(STRLSS): Likewise.
(STRLEQ): Likewise.
(STRGTR): Likewise.
(STRGEQ): Likewise.
From-SVN: r48633
2002-01-08 10:17:21 +00:00
Graham Stott
a8086abfa0
c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
...
* c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
(C_TYPE_FIELDS_VOLATILE): Likewise.
(C_TYPE_BEING_DEFINED): Likewise.
(C_IS_RESERVED_WORD): Likewise.
(C_TYPE_VARIABLE_SIZE): Likewise.
(C_DECL_VARIABLE_SIZE): Likewise.
(C_MISSING_PROTOTYPE_WARNED): Likewise.
(C_SET_EXP_ORIGINAL_CODE): Likewise.
(C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
parenthesis.
(C_DECL_ANTICIPATED): Likewise.
(c_build_type_variant): Add parenthesis.
From-SVN: r48632
2002-01-08 10:03:10 +00:00
Joseph Myers
3f595aa14c
re PR other/704 (--help and --version)
...
* gcc.c (option_map): Remove --version.
(process_command): Handle -fversion following the GNU Coding
Standards. Partially addresses PR other/704.
f:
* g77spec.c (lookup_option): Handle -fversion.
(lang_specific_driver): Update copyright date in --version output.
From-SVN: r48631
2002-01-08 10:00:27 +00:00
Graham Stott
5bc5a8f9b7
* combine.c (combine_instructions): Fix typo.
...
From-SVN: r48630
2002-01-08 09:57:48 +00:00
Graham Stott
16ec4ebf00
* debug.h: Use "tree" and "rtx" throughout.
...
From-SVN: r48629
2002-01-08 09:54:39 +00:00
Gerald Pfeifer
489406028d
invoke.texi: Markup g77 as @command.
...
* invoke.texi: Markup g77 as @command. Remove reference to
http://gcc.gnu.org/thanks.html .
From-SVN: r48628
2002-01-08 09:28:24 +00:00
GCC Administrator
bc68137d2a
Daily bump.
...
From-SVN: r48626
2002-01-08 08:16:21 +00:00
Nick Clifton
4b69f385ca
If a symbol ref is in the constant pool, use the pool's version of the symbol instead.
...
From-SVN: r48625
2002-01-08 06:52:57 +00:00
Richard Henderson
57d1019b98
regrename.c (find_oldest_value_reg): Ignore the value chain if the original register was copied in a mode with a...
...
* regrename.c (find_oldest_value_reg): Ignore the value chain if
the original register was copied in a mode with a fewer number of
hard registers than the desired mode.
(copyprop_hardreg_forward_1): Likewise.
(debug_value_data): Fix loop test.
* toplev.c (parse_options_and_default_flags): Reenable
-fcprop-registers at -O1.
From-SVN: r48624
2002-01-07 22:13:34 -08:00
Aldy Hernandez
70ec0b9b9f
* testsuite/gcc.dg/altivec-4.c: Test altivec predicates.
...
From-SVN: r48623
2002-01-08 04:52:36 +00:00
Aldy Hernandez
fa066a2379
002-01-07 Aldy Hernandez <aldyh@redhat.com>
...
* config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
(altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
* config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
predicates.
* config/rs6000/rs6000.md: Add altivec predicate patterns.
From-SVN: r48622
2002-01-08 04:50:33 +00:00
John David Anglin
8f949e7e12
pa.c (FUNC_BEGIN_PROLOG_LABEL, [...]): Define.
...
* pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
(pa_output_function_prologue): Output local label at the beginning of
the prologue when profiling.
(hppa_profile_hook): Use the local label rather than the function label.
* pa.h (PROFILE_BEFORE_PROLOGUE): Define.
From-SVN: r48621
2002-01-08 03:02:47 +00:00
Aldy Hernandez
c62f2db548
rs6000.c (bdesc_2arg): Add altivec predicates.
...
2002-01-07 Aldy Hernandez <aldyh@redhat.com>
* rs6000.c (bdesc_2arg): Add altivec predicates.
* rs6000.c (print_operand): Remove extra space.
(altivec_expand_unop_builtin): Fix thinko.
(altivec_expand_binop_builtin): Same.
(altivec_expand_ternop_builtin): Same.
(altivec_expand_builtin): Same.
From-SVN: r48620
2002-01-08 01:13:36 +00:00
Richard Henderson
b5235ba76c
* config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
...
From-SVN: r48618
2002-01-07 16:37:34 -08:00
Jason Merrill
7d8ac2930b
* unwind-dw2.c (execute_cfa_program): Use < again.
...
From-SVN: r48617
2002-01-07 17:41:42 -05:00
Jason Merrill
1b64d74774
add -mno-accumulate-outgoing-args on x86
...
From-SVN: r48616
2002-01-07 17:40:52 -05:00
Jakub Jelinek
571a03b876
* predict.c (combine_predictions_for_insn): Avoid division by zero.
...
From-SVN: r48615
2002-01-07 22:15:12 +01:00
Jakub Jelinek
2e9513841e
simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
...
* simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
Don't allow -1 - x -> ~x simplifications in the first pass.
* gcc.c-torture/execute/20020107-1.c: New test.
From-SVN: r48614
2002-01-07 22:13:25 +01:00
Jason Merrill
15eb1e433c
decl2.c (coerce_new_type): Downgrade error for size_t mismatch to pedwarn.
...
* decl2.c (coerce_new_type): Downgrade error for size_t mismatch
to pedwarn.
* method.c (make_thunk): If !flag_weak, give the thunk the
function's linkage.
(use_thunk): Here, too.
From-SVN: r48613
2002-01-07 15:52:32 -05:00
Aldy Hernandez
20e2671303
rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid arguments.
...
2002-01-07 Aldy Hernandez <aldyh@redhat.com>
* rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
arguments.
(altivec_expand_binop_builtin): Same.
(altivec_expand_unop_builtin): Same.
(print_operand): Fix typo.
(bdesc_1arg): Add vupk* variants.
* rs6000.h (rs6000_builtins): Add vupk* enums.
* rs6000.md: Add altivec_vupk* variants.
From-SVN: r48611
2002-01-07 20:43:18 +00:00