aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-01-23natField.cc (setAddr): New function.Per Bothner2-9/+28
* java/lang/reflect/natField.cc (setAddr): New function. Calls getAddr and then checks that the field isn't final. (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat, setDouble, set): Use setAddr instead of getAddr, to check for FINAL. (set): Call setAddr before check that new value has right type, to better match specified semantics. From-SVN: r49153
2002-01-23typeck2.c (friendly_abort): Delete definition.Zack Weinberg3-34/+13
* typeck2.c (friendly_abort): Delete definition. * cp-tree.h (friendly_abort): Don't prototype. (my_friendly_assert): Use fancy_abort. From-SVN: r49152
2002-01-23diagnostic.c (internal_error): Do ICE suppression only when ENABLE_CHECKING ↵Zack Weinberg2-0/+5
is not defined. * diagnostic.c (internal_error): Do ICE suppression only when ENABLE_CHECKING is not defined. From-SVN: r49151
2002-01-23c-typeck.c (require_complete_type): Return error_mark_node if type is ↵Zack Weinberg2-1/+6
error_mark_node. * c-typeck.c (require_complete_type): Return error_mark_node if type is error_mark_node. From-SVN: r49150
2002-01-23cp-tree.h (my_friendly_abort): Remove.Craig Rodrigues2-2/+4
2002-01-23 Craig Rodrigues <rodrigc@gcc.gnu.org> * cp-tree.h (my_friendly_abort): Remove. From-SVN: r49149
2002-01-23* gcc.dg/20020122-3.c: New test.Janis Johnson2-0/+19
From-SVN: r49148
2002-01-23spew.c (pending_inlines, [...]): Make static.Jakub Jelinek6-14/+84
* spew.c (pending_inlines, pending_inlines_tail, processing_these_inlines): Make static. (mark_pending_inlines): Remove static. (begin_parsing_inclass_inline): If in function, save pi for GC to cp_function_chain->unparsed_inlines instead. (process_next_inline): Likewise. * cp-tree.h (struct cp_language_function): Add unparsed_inlines. (mark_pending_inlines): Add prototype. * decl.c (spew_debug): Remove unused extern. (mark_lang_function): Call mark_pending_inlines. * g++.dg/other/gc1.C: New test. From-SVN: r49147
2002-01-23toplev.c (process_options): Disable -fprefetch-loop-arrays with -Os and ↵Janis Johnson2-1/+14
issue a warning. * toplev.c (process_options): Disable -fprefetch-loop-arrays with -Os and issue a warning. From-SVN: r49146
2002-01-23tr.po: New file.Philipp Thomas2-0/+21518
2002-01-23 Philipp Thomas <pthomas@suse.de> * tr.po: New file. From-SVN: r49145
2002-01-23* gcc.dg/c99-intconst-1.c: Mark XFAIL.Zack Weinberg2-0/+9
From-SVN: r49143
2002-01-23fragments.texi, [...]: Update to reflect current (lack of) need for host ↵Zack Weinberg6-226/+168
configuration by hand. * doc/fragments.texi, doc/hostconfig.texi: Update to reflect current (lack of) need for host configuration by hand. * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross references. Documentation of some target macros moved from hostconfig.texi to tm.texi. From-SVN: r49142
2002-01-23* config/locale/c_locale_generic.cc: Fix typename usage.Loren J. Rittle2-1/+5
From-SVN: r49141
2002-01-23arm.h (THUMB_FUNCTION_PROFILER): Define if not currently defined.Will Cohen2-0/+7
* config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently defined. From-SVN: r49140
2002-01-23call.c, [...]: Change my_fancy_abort() to abort().Craig Rodrigues22-115/+122
2002-01-23 Craig Rodrigues <rodrigc@gcc.gnu.org> * call.c, class.c, decl.c, decl2.c, error.c, expr.c, friend.c, init.c, lex.c, mangle.c, method.c, pt.c, repo.c, rtti.c, search.c, semantics.c, spew.c, tree.c, typeck.c, typeck2.c, xref.c: Change my_fancy_abort() to abort(). From-SVN: r49139
2002-01-23h8300.md (*andorhi3): Accept 0x8000 as an operand[3].Kazu Hirata2-2/+8
* config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an operand[3]. From-SVN: r49138
2002-01-23re PR c++/5453 (Compiled program crash - inheritance/template/friend class ↵Jason Merrill1-0/+15
problem) PR c++/5453 * class.c (fixed_type_or_null): Fix thinko. From-SVN: r49135
2002-01-23re PR c++/3331 (member pointer inherits const)Jason Merrill1-0/+22
PR c++/3331 * init.c (resolve_offset_ref): Use build_indirect_ref. [[Split portion of a mixed commit.]] From-SVN: r49134.2
2002-01-23re PR c++/5453 (Compiled program crash - inheritance/template/friend class ↵Jason Merrill2-1/+4
problem) PR c++/5453 * class.c (fixed_type_or_null): Fix thinko. From-SVN: r49133
2002-01-23re PR c++/3331 (member pointer inherits const)Jason Merrill4-4/+16
* tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF. PR c++/3331 * cp/init.c (resolve_offset_ref): Use build_indirect_ref. From-SVN: r49132
2002-01-23function.c (assign_parms): Don't put args of inline functions into registers ↵Jason Merrill4-8/+9
when not optimizing. * function.c (assign_parms): Don't put args of inline functions into registers when not optimizing. * cp/decl2.c (grokclassfn): Don't set DECL_REGISTER on 'this'. From-SVN: r49131
2002-01-23Use an UNSPEC instead of a USE to prevent prologue/epilogue insns from beingNick Clifton3-7/+28
deleted. From-SVN: r49130
2002-01-23* loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.Hans-Peter Nilsson2-0/+5
From-SVN: r49129
2002-01-23Daily bump.GCC Administrator6-6/+6
From-SVN: r49127
2002-01-23re PR c/3504 (__alignof__ not working correctly)Neil Booth2-12/+12
PR c/3504 * doc/extend.texi: Correct documentation of __alignof__. From-SVN: r49126
2002-01-23c_locale_generic.cc: Fix.Benjamin Kosnik3-4/+8
2002-01-22 Benjamin Kosnik <bkoz@redhat.com> * config/locale/c_locale_generic.cc: Fix. From-SVN: r49125
2002-01-23* gcc.pot: Regenerate - now includes Fortran error messages.Zack Weinberg2-3179/+5265
From-SVN: r49124
2002-01-23bad.c: Include intl.h.Zack Weinberg8-566/+574
* 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-23params.h: Rename arguments of DEFPARAM so that it will be recognized as a ↵Zack Weinberg2-5/+10
translation keyword. * params.h: Rename arguments of DEFPARAM so that it will be recognized as a translation keyword. From-SVN: r49122
2002-01-23exgettext: Merge changes from diffutils.Zack Weinberg2-19/+26
* 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-23extend.texi: Document altivec functions.Aldy Hernandez2-8/+869
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-23messages.html: Remove angle brackets.Benjamin Kosnik3-14/+24
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-23reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and auto_inc_dec ↵Alexandre Oliva2-1/+10
values. * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and auto_inc_dec values. From-SVN: r49118
2002-01-23netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space after backslash.Richard Earnshaw2-2/+8
* 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-23ios_manip_basefield.cc: Enable test02.Paolo Carlini5-1/+11
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* config/i386/freebsd-aout.h (ASM_QUAD): Undefine.Alexandre Oliva2-1/+9
From-SVN: r49115
2002-01-22alpha.c (split_small_symbolic_mem_operand): Use copy_insn not copy_rtx.Richard Henderson3-2/+8
* 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-23TextField.java: Replaced with Classpath version.Tom Tromey4-86/+1417
* 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-23combine.c (simplify_and_const_int): Don't trunc_int_for_mode "nonzero" as ↵Alan Modra2-11/+21
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-22* config/alpha/alpha.c (some_small_symbolic_mem_operand) UseRichard Henderson6-42/+65
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-22alpha.md (divmodsi_internal_er): Generate lituse sequence number for the ↵Richard Henderson2-4/+20
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* java/awt/GridBagConstraints.java: Updated copyright.Tom Tromey2-4/+37
From-SVN: r49109
2002-01-22Audit for LANG independence.Benjamin Kosnik36-227/+915
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-22Add license clarification.Mark Wielaard50-245/+816
From-SVN: r49107
2002-01-22re PR java/4972 (undefined reference to `libiconv')Craig Rodrigues3-138/+148
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-22Add license clarification.Mark Wielaard662-3409/+11100
From-SVN: r49104
2002-01-22configure.in (variable detection): Use arrays of unspecified size instead of ↵Momchil Velikov3-2/+7
plain integers. * configure.in (variable detection): Use arrays of unspecified size instead of plain integers. From-SVN: r49103
2002-01-22ecos.exp: Append .exe instead of a.out as the link output.H.J. Lu10-21/+34
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-22ButtonPeer.java: Replace with Classpath version.Tom Tromey58-2524/+6882
* 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-22dwarfout.c (last_filename): Remove.Krister Walfridsson2-5/+3
* dwarfout.c (last_filename): Remove. (output_compile_unit_die): Remove last_filename. From-SVN: r49098
2002-01-22* dependence.c (build_def_use): Remove array_idx.Krister Walfridsson2-4/+5
From-SVN: r49097