Nick Clifton
6bacc7b094
Use an UNSPEC instead of a USE to prevent prologue/epilogue insns from being
...
deleted.
From-SVN: r49130
2002-01-23 11:04:56 +00:00
Hans-Peter Nilsson
a415f7bc81
* loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
...
From-SVN: r49129
2002-01-23 09:50:39 +00:00
GCC Administrator
e80c875349
Daily bump.
...
From-SVN: r49127
2002-01-23 08:16:33 +00:00
Neil Booth
5372b3fbe8
re PR c/3504 (__alignof__ not working correctly)
...
PR c/3504
* doc/extend.texi: Correct documentation of __alignof__.
From-SVN: r49126
2002-01-23 07:51:16 +00:00
Benjamin Kosnik
9b6e0e57a1
c_locale_generic.cc: Fix.
...
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_generic.cc: Fix.
From-SVN: r49125
2002-01-23 03:50:49 +00:00
Zack Weinberg
9d967a7e4d
* gcc.pot: Regenerate - now includes Fortran error messages.
...
From-SVN: r49124
2002-01-23 03:41:30 +00:00
Zack Weinberg
f1685b7c17
bad.c: Include intl.h.
...
* bad.c: Include intl.h.
(FFEBAD_MSGS1, FFEBAD_MSGS2): Replace by FFEBAD_MSG, SHORT,
LONG. Adjust definitions to work with exgettext.
(ffebad_start_): Translate all error messages.
(ffebad_finish): Mark constant strings for translation.
* bad.h: Use FFEBAD_MSG. Adjust prototype of ffebad_start_
and definitions of ffebad_start_msg, ffebad_start_msg_lex to
work with exgettext.
* bad.def: Use FFEBAD_MSG, SHORT, LONG throughout.
* com.c: Include intl.h.
(lang_print_error_function): Always use ffeinfo_kind_message
to get the kind label for a non-nested construct. Translate
it. Translate constant strings.
* info.c (FFEINFO_KIND): Adjust definition to work with exgettext.
* info-k.def: Block xgettext from slurping copyright notice
into gcc.pot. Adjust strings for their sole use, in com.c.
* Make-lang.in (f/bad.o, f/com.o): Depend on intl.h.
From-SVN: r49123
2002-01-23 03:01:53 +00:00
Zack Weinberg
bd571ffcd0
params.h: Rename arguments of DEFPARAM so that it will be recognized as a translation keyword.
...
* params.h: Rename arguments of DEFPARAM so that it will be
recognized as a translation keyword.
From-SVN: r49122
2002-01-23 02:57:04 +00:00
Zack Weinberg
1a7b32a3dc
exgettext: Merge changes from diffutils.
...
* exgettext: Merge changes from diffutils. Scan .def files in
addition to .c and .h. Add --language=c to xgettext command line.
From-SVN: r49121
2002-01-23 02:55:20 +00:00
Aldy Hernandez
333c8841f1
extend.texi: Document altivec functions.
...
2002-01-22 Aldy Hernandez <aldyh@redhat.com>
* extend.texi: Document altivec functions.
Fix *-bit adjectives in X86 builtin documentation.
From-SVN: r49120
2002-01-23 02:10:39 +00:00
Benjamin Kosnik
183490ecc1
messages.html: Remove angle brackets.
...
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/22_locale/messages.html: Remove angle brackets.
* docs/html/17_intro/TODO: Add.
From-SVN: r49119
2002-01-23 02:02:21 +00:00
Alexandre Oliva
38979c6587
reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and auto_inc_dec values.
...
* reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
auto_inc_dec values.
From-SVN: r49118
2002-01-23 01:56:22 +00:00
Richard Earnshaw
7458a9f030
netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space after backslash.
...
* config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
after backslash.
(ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
From-SVN: r49117
2002-01-23 01:17:51 +00:00
Paolo Carlini
b4ae79f745
ios_manip_basefield.cc: Enable test02.
...
2002-01-22 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ios_manip_basefield.cc: Enable test02.
* testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
* testsuite/27_io/ostream_inserter_char.cc: Enable test01.
* testsuite/27_io/ostream_inserter_other.cc: Enable test04.
From-SVN: r49116
2002-01-23 01:12:10 +00:00
Alexandre Oliva
129bd0c40e
* config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
...
From-SVN: r49115
2002-01-23 00:56:28 +00:00
Richard Henderson
8b9b74a936
alpha.c (split_small_symbolic_mem_operand): Use copy_insn not copy_rtx.
...
* config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
copy_insn not copy_rtx.
* gcc.dg/20020122-4.c: Use multiple outputs on the asm.
From-SVN: r49114
2002-01-22 16:39:51 -08:00
Tom Tromey
956e776dd2
TextField.java: Replaced with Classpath version.
...
* java/awt/TextField.java: Replaced with Classpath version.
* java/awt/TextArea.java: Replaced with Classpath version.
* java/awt/TextComponent.java: Replaced with Classpath version.
From-SVN: r49113
2002-01-23 00:07:39 +00:00
Alan Modra
d0c9db3079
combine.c (simplify_and_const_int): Don't trunc_int_for_mode "nonzero" as that might add "1" bits.
...
* combine.c (simplify_and_const_int): Don't trunc_int_for_mode
"nonzero" as that might add "1" bits. Ensure "constop" is
properly sign extened.
(force_to_mode): Tweak for sign extended constop.
From-SVN: r49112
2002-01-23 10:12:07 +10:30
Richard Henderson
1e7e480e5c
* config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
...
for_each_rtx instead of assuming we're already looking at the MEM.
(split_small_symbolic_mem_operand): Likewise.
* config/alpha/alpha.h (PREDICATE_CODES): Update.
* config/alpha/alpha.md (small symbolic memory splitters): Update.
* gcc.dg/20020122-4.c: New.
From-SVN: r49111
2002-01-22 15:23:46 -08:00
Richard Henderson
2e27193212
alpha.md (divmodsi_internal_er): Generate lituse sequence number for the literal.
...
* config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
sequence number for the literal.
(divmoddi_internal_er): Likewise.
From-SVN: r49110
2002-01-22 15:13:58 -08:00
Tom Tromey
7f7cfc73b8
* java/awt/GridBagConstraints.java: Updated copyright.
...
From-SVN: r49109
2002-01-22 23:11:30 +00:00
Benjamin Kosnik
4b9aaf6379
Audit for LANG independence.
...
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
Audit for LANG independence.
* include/bits/localefwd.h: Tweaks.
* include/bits/locale_facets.tcc (money_get::do_get(long double)):
Use __convert_to_v.
(time_get::do_get_year): Same.
(__convert_from_v): Add.
(num_put::_M_convert_float): Use.
(num_put::_M_convert_int): Same.
(money_put::do_put): Same.
* src/locale-inst.cc: Add instantiations for __convert_from_v.
* config/locale/time_members_gnu.cc: Cleanup setlocale usage.
* config/locale/time_members_generic.cc:
* config/locale/messages_members_gnu.cc: Same.
* config/locale/messages_members_gnu.h: Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
* testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
* testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
* testsuite/22_locale/collate_members_char.cc (test02): New.
* testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
* testsuite/22_locale/ctype_members_char.cc (test03): New.
* testsuite/22_locale/messages_members_char.cc (test02): New.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
* testsuite/22_locale/moneypunct_members_char.cc (test02): New.
* testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
* testsuite/22_locale/money_get_members_char.cc (test04): New.
* testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
* testsuite/22_locale/money_put_members_char.cc (test04): New.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
* testsuite/22_locale/numpunct_members_char.cc (test02): New.
* testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
* testsuite/22_locale/time_put_members_char.cc (test03): New.
* testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
* testsuite/22_locale/time_get_members_char.cc (test07): New.
* testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
* testsuite/22_locale/num_get_members_char.cc (test03): New.
* testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
* testsuite/22_locale/num_put_members_char.cc (test03): New.
* testsuite/22_locale/time_get_members_char.cc: Fixups for global
locale issues.
* testsuite/22_locale/time_get_members_char.cc: Same.
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5280
* include/bits/localefwd.h: Tweak comments.
* include/bits/locale_facets.h (__convert_to_v): Add.
* include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
(num_get::do_get(float)): Same.
(num_get::do_get(long double)): Same.
(num_get::do_get(bool)): Same.
(num_get::do_get(long)): Same.
(num_get::do_get(long long)): Same.
(num_get::do_get(unsigned int)): Same.
(num_get::do_get(unsigned short)): Same.
(num_get::do_get(unsigned long)): Same.
(num_get::do_get(unsigned long long)): Same.
* config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
* config/locale/c_locale_generic.cc: Same.
From-SVN: r49108
2002-01-22 23:09:04 +00:00
Mark Wielaard
98c3a44f25
Add license clarification.
...
From-SVN: r49107
2002-01-22 22:58:09 +00:00
Craig Rodrigues
b7f2fb9680
re PR java/4972 (undefined reference to `libiconv')
...
2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR java/4972
* aclocal.m4 (AM_ICONV): Put linking flags for libiconv
in LIBICONV variable.
* configure: Regenerated.
From-SVN: r49105
2002-01-22 22:48:45 +00:00
Mark Wielaard
92aaa24628
Add license clarification.
...
From-SVN: r49104
2002-01-22 22:40:42 +00:00
Momchil Velikov
e64d0626b4
configure.in (variable detection): Use arrays of unspecified size instead of plain integers.
...
* configure.in (variable detection): Use arrays of unspecified
size instead of plain integers.
From-SVN: r49103
2002-01-22 14:31:52 -08:00
H.J. Lu
d04fd40f86
ecos.exp: Append .exe instead of a.out as the link output.
...
2002-01-22 H.J. Lu <hjl@gnu.org>
* g++.dg/special/ecos.exp: Append .exe instead of a.out as the
link output.
* gcc.dg/special/ecos.exp: Likewise.
* lib/g++-dg.exp: Likewise.
* lib/g77-dg.exp: Likewise.
* lib/gcc-dg.exp : Likewise.
* lib/mike-g++.exp: Likewise.
* lib/mike-g77.exp: Likewise.
* lib/mike-gcc.exp: Likewise.
* lib/objc-dg.exp: Likewise.
From-SVN: r49100
2002-01-22 14:08:49 -08:00
Tom Tromey
bda1450543
ButtonPeer.java: Replace with Classpath version.
...
* java/awt/peer/ButtonPeer.java: Replace with Classpath version.
* java/awt/peer/CanvasPeer.java: Replace with Classpath version.
* java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
version.
* java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
* java/awt/peer/ChoicePeer.java: Replace with Classpath version.
* java/awt/peer/ComponentPeer.java: Replace with Classpath version.
* java/awt/peer/ContainerPeer.java: Replace with Classpath version.
* java/awt/peer/DialogPeer.java: Replace with Classpath version.
* java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
* java/awt/peer/FontPeer.java: Replace with Classpath version.
* java/awt/peer/FramePeer.java: Replace with Classpath version.
* java/awt/peer/LabelPeer.java: Replace with Classpath version.
* java/awt/peer/LightweightPeer.java: Replace with Classpath version.
* java/awt/peer/ListPeer.java: Replace with Classpath version.
* java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
* java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
* java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
* java/awt/peer/MenuPeer.java: Replace with Classpath version.
* java/awt/peer/PanelPeer.java: Replace with Classpath version.
* java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
* java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
* java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
* java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
* java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
* java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
* java/awt/peer/WindowPeer.java: Replace with Classpath version.
* gnu/awt/xlib/XPanelPeer.java (insets): New method.
* gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
(minimumSize, preferredSize, reshape): Likewise.
* gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
getColorModel): New methods.
* java/awt/PopupMenu.java: Merged with Classpath.
* java/awt/MenuBar.java: Merged with Classpath.
* java/awt/SystemColor.java: Replace with Classpath version.
* java/awt/Panel.java: Merged with Classpath.
* java/awt/PaintContext.java: Updated copyright.
* java/awt/MenuShortcut.java: Merged with Classpath.
* java/awt/MenuContainer.java: Merged with Classpath.
* java/awt/Menu.java: Merged with Classpath.
* java/awt/MediaEntry.java: New file from Classpath.
* java/awt/MediaTracker.java: New file from Classpath.
* java/awt/List.java: Merged with Classpath version.
* java/awt/Insets.java: Merged with Classpath version.
* java/awt/ImageMediaEntry.java: New file from Classpath.
* java/awt/Image.java: Replaced with Classpath version.
* java/awt/FontMetrics.java: Merged with Classpath version.
* java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
constant.
* java/awt/Font.java: Merged with Classpath version.
* java/awt/Dialog.java: Merged with Classpath version.
* java/awt/Color.java: Merged with Classpath version.
* java/awt/Choice.java: Merged with Classpath version.
* java/awt/CheckboxMenuItem.java: Merged with Classpath version.
* java/awt/Adjustable.java: Replace with Classpath version.
* java/awt/MenuItem.java (paramString): Don't include class name
or brackets. Call superclass paramString.
* java/awt/MenuComponent.java (toString): Call paramString.
(paramString): Compute string; don't call toString.
* java/awt/Label.java (paramString): Don't include class name
or brackets. Call superclass paramString.
* java/awt/Checkbox.java (paramString): Don't include class name
or brackets. Call superclass paramString.
* java/awt/Button.java (paramString): Don't include class name or
brackets. Call superclass paramString.
* java/awt/MenuComponent.java (getTreeLock): Now protected.
From-SVN: r49099
2002-01-22 22:03:04 +00:00
Krister Walfridsson
e3b0efd1ee
dwarfout.c (last_filename): Remove.
...
* dwarfout.c (last_filename): Remove.
(output_compile_unit_die): Remove last_filename.
From-SVN: r49098
2002-01-22 13:58:41 -08:00
Krister Walfridsson
f66a004637
* dependence.c (build_def_use): Remove array_idx.
...
From-SVN: r49097
2002-01-22 13:57:22 -08:00
Roger Sayle
d8086cbb53
re PR rtl-optimization/3640 (small lost optimization of "x==0 || x==1")
...
PR opt/3640
* fold-const.c (fold): Optimize unsigned comparisons against
UINT_MAX (and similar unsigned constants).
From-SVN: r49096
2002-01-22 13:35:34 -08:00
Janis Johnson
11303d15ae
Makefile.in (loop.o): Depend on OPTABS_H.
...
* Makefile.in (loop.o): Depend on OPTABS_H.
* loop.c (expand_builtin_prefetch): Check the prefetch operand
against the predicate.
From-SVN: r49095
2002-01-22 21:25:15 +00:00
Janis Johnson
3196dfde9a
re PR target/5379 ([i386] internal error: Segmentation fault (prefetch related?))
...
PR target/5379
* gcc.dg/20020122-2.c: New test.
From-SVN: r49094
2002-01-22 21:21:42 +00:00
Janis Johnson
e8d52ba03e
re PR target/5379 ([i386] internal error: Segmentation fault (prefetch related?))
...
PR target/5379
* config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
for the address operand.
From-SVN: r49093
2002-01-22 21:19:27 +00:00
Richard Henderson
cc7b420e73
* config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
...
From-SVN: r49092
2002-01-22 12:54:32 -08:00
Tom Tromey
fec763fcfd
decl.c (java_init_decl_processing): Use add_predefined_file.
...
* decl.c (java_init_decl_processing): Use add_predefined_file.
Predefine RawData.java.
(predef_filenames): Removed.
(java_init_decl_processing): Don't register predef_filenames.
* jcf-parse.c (add_predefined_file): New function.
(predefined_filename_p): Rewrote.
(predefined_filename_p): No longer static.
* decl.c (java_init_decl_processing): Call initialize_builtins.
* Make-lang.in (JAVA_OBJS): Added builtins.o.
(java/builtins.o): New target.
* builtins.c: New file.
* parse.y (patch_invoke): Use build_call_or_builtin.
* java-tree.h (build_call_or_builtin): Declare.
(initialize_builtins): Declare.
(java_set_exception_lang_code): Removed unused declaration.
(PREDEF_FILENAMES_SIZE): Removed.
(java_tree_index): Added JTI_PREDEF_FILENAMES.
(predef_filenames): New define.
(add_predefined_file): Declare.
(predefined_filename_p): Declare.
* expr.c (expand_invoke): Use build_call_or_builtin.
From-SVN: r49091
2002-01-22 20:23:46 +00:00
DJ Delorie
9ce3f7e5d3
Makefile.in (TESTLIB): New.
...
* Makefile.in (TESTLIB): New. This library is for future
testsuites.
(CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
break down by letter.
(REQUIRED_OFILES): List long-to-compile files first.
(maint-deps): New, target for updating dependencies.
(dependencies): Update.
* maint-tool: Add dependency-generating option.
* configure.in: Check for _doprnt even if we're not providing it.
* configure: Regenerate.
* _doprnt.c: Modifications to allow compiling on any platform.
* copysign.c: Likewise.
* putenv.c: Likewise.
* setenv.c: Likewise.
* vsprintf.c: Likewise.
From-SVN: r49090
2002-01-22 15:03:29 -05:00
Craig Rodrigues
816e265a1b
re PR other/5450 (__i386__ not defined on unixsware)
...
2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR other/5450
* config/i386/sysv4.h (CPP_SPEC): Define, and add CPU preprocessor flags.
From-SVN: r49088
2002-01-22 19:59:30 +00:00
Jason Thorpe
7c884404e0
config.gcc (x86_64-*-netbsd*): New target.
...
* config.gcc (x86_64-*-netbsd*): New target.
* config/i386/netbsd64.h: New file.
From-SVN: r49087
2002-01-22 19:48:27 +00:00
Bob Wilson
51fe14b531
* MAINTAINERS (Write After Approval): Add myself.
...
From-SVN: r49086
2002-01-22 19:13:23 +00:00
Kaveh R. Ghazi
cc586d706a
* parse.y (patch_switch_statement): Fix format specifier.
...
From-SVN: r49084
2002-01-22 19:04:09 +00:00
Aldy Hernandez
1b21d6a004
fix conflicts
...
From-SVN: r49083
2002-01-22 18:35:50 +00:00
Aldy Hernandez
2b672c08f3
regrename.c (kill_value): Fix typo.
...
2002-01-22 Aldy Hernandez <aldyh@redhat.com>
* regrename.c (kill_value): Fix typo.
From-SVN: r49082
2002-01-22 18:34:56 +00:00
Loren J. Rittle
73249e331a
Makefile.am (c_base_builddir): Remove redundant slash.
...
* include/Makefile.am (c_base_builddir): Remove redundant slash.
(std_builddir): Likewise.
(std_headers_rename): Fix cut-n-paste typo.
(install-data-local): Concat path per element instead of once to
first element of list.
* include/Makefile.in: Rebuilt.
From-SVN: r49081
2002-01-22 17:35:37 +00:00
Nick Clifton
4b02997f47
Move body of HARD_REGNO_MODE_OK into a function: arm_hard_regno_mode_ok
...
From-SVN: r49080
2002-01-22 17:35:27 +00:00
Nick Clifton
c14a3a4578
Replace REG_MAYBE_DEAD notes with USEs.
...
From-SVN: r49079
2002-01-22 17:10:57 +00:00
Benjamin Kosnik
a0e073b266
ctype_noninline.h: Fix formatting.
...
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* config/os/aix/bits/ctype_noninline.h: Fix formatting.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
From-SVN: r49078
2002-01-22 16:09:25 +00:00
Jason Merrill
8a827ab215
c-semantics.c (genrtl_compound_stmt): Only check nesting consistency if this COMPOUND_STMT is scoped.
...
* c-semantics.c (genrtl_compound_stmt): Only check nesting consistency if
this COMPOUND_STMT is scoped.
From-SVN: r49077
2002-01-22 11:05:50 -05:00
Jason Merrill
b58564754b
parse.y (function_body): Suppress the block for the outermost curly braces.
...
* parse.y (function_body): Suppress the block for the outermost
curly braces.
* decl.c (pushdecl): Don't try to skip it.
(begin_function_body): Keep the block we create, not the next one.
* init.c (emit_base_init): Don't mess with keep_next_level.
From-SVN: r49076
2002-01-22 09:42:09 -05:00
Jason Merrill
6bc34b14ef
* class.c (build_base_path): Tweak formatting.
...
From-SVN: r49075
2002-01-22 09:37:29 -05:00