aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-01-19re PR c++/13592 (C++ parser regression)Mark Mitchell10-197/+77
PR c++/13592 * call.c (build_field_call): Remove. (n_build_method_call): Likewise. (build_method_call): Likewise. (build_new_method_call): Do not call build_field_call. * class.c (n_build_method_call): Remove. (print_class_statistics): Do not print it. * cp-tree.h (build_method_call): Remove declaration. (finish_object_call_expr): Likewise. (build_new_1): Do not use build_method_call. * parser.c (cp_parser_postfix_expression): Use finish_call_expr when the function appearing on the right-hand-side of "." or "->" is not actually a function. * pt.c (tsubst_copy_and_build): Likewise. * semantics.c (finish_object_call_expr): Remove. PR c++/13592 * g++.dg/template/call2.C: New test. From-SVN: r76173
2004-01-19alpha.c (aligned_memory_operand): Check MEM_ALIGN, don't check memory mode.Richard Henderson3-86/+101
* config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN, don't check memory mode. (unaligned_memory_operand): Likewise. (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't abort for op0 not MEM. * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination is not a reg, copy to a scratch first. (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi, unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le, unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG. (reload_inqi, reload_inhi): Fix mode of op0. (reload_inqi_help, reload_inhi_help, reload_outqi_help, reload_outhi_help): Likewise. Use define_insn_and_split. * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN as well as $29 dead. From-SVN: r76172
2004-01-19fnptr-by-value-1_x.c, [...]: Guard non-C99 tests with SKIP_COMPLEX_INT, ↵Eric Botcazou56-81/+238
SKIP_ATTRIBUTE and SKIP_ZERO_ARRAY. * gcc.dg/compat/fnptr-by-value-1_x.c, scalar-by-value-1_y.c scalar-by-value-3_x.c, scalar-by-value-3_y.c, scalar-by-value-4_x.c, scalar-by-value-4_y.c, scalar-return-1_x.c, scalar-return-2_y.c, scalar-return-3_x.c, scalar-return-3_y.c, scalar-return-4_x.c, scalar-return-4_y.c, struct-align-1.h, struct-align-1_x.c, struct-align-1_y.c, struct-align-2.h, struct-align-2_x.c, struct-align-2_y.c, struct-by-value-10_y.c, struct-by-value-11_x.c, struct-by-value-11_y.c, struct-by-value-12_x.c, struct-by-value-12_y.c, struct-by-value-13_x.c, struct-by-value-13_y.c, struct-by-value-14_x.c, struct-by-value-14_y.c, struct-by-value-15_x.c, struct-by-value-15_y.c, struct-by-value-16_y.c, struct-by-value-17_y.c, struct-by-value-18_y.c, struct-by-value-19_y.c, struct-by-value-1_x.c, struct-by-value-1_y.c, struct-by-value-20_y.c, struct-by-value-2_x.c, struct-by-value-2_y.c, struct-by-value-3_y.c, struct-by-value-4_x.c, struct-by-value-4_y.c, struct-by-value-5_y.c, struct-by-value-6_y.c, struct-by-value-7_y.c struct-by-value-8_x.c, struct-by-value-8_y.c struct-by-value-9_x.c, struct-by-value-9_y.c struct-return-10_x.c, struct-return-10_y.c, struct-return-19_x.c, struct-return-20_x.c struct-return-2_x.c, struct-return-2_y.c struct-return-3_x.c: Guard non-C99 tests with SKIP_COMPLEX_INT, SKIP_ATTRIBUTE and SKIP_ZERO_ARRAY. Turns SKIPVA into SKIP_VA. From-SVN: r76170
2004-01-19libtool-version: Increased `current' to 6.Matthias Klose2-1/+5
2004-01-19 Matthias Klose <doko@debian.org> * libtool-version: Increased `current' to 6. From-SVN: r76168
2004-01-192004-01-19 Kim Ho <kho@redhat.com>Kim Ho2-1/+11
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (connectJObject): Iterate through the vbox's children to find layout. From-SVN: r76166
2004-01-19EventQueue.java (invokeAndWait): Use list-aware isDispatchThread method to ↵Fernando Nasser2-2/+8
replace wrong test condition. * java/awt/EventQueue.java (invokeAndWait): Use list-aware isDispatchThread method to replace wrong test condition. From-SVN: r76165
2004-01-19debug.cc: Make sure all the names are prefixed with double (or single) ↵Paolo Carlini2-96/+101
underscore. 2004-01-19 Paolo Carlini <pcarlini@suse.de> * src/debug.cc: Make sure all the names are prefixed with double (or single) underscore. From-SVN: r76163
2004-01-19EventQueue.java (pop): Prevent racing condition to add events to the queue ↵Fernando Nasser2-18/+26
out of order by acquiring... * java/awt/EventQueue.java (pop): Prevent racing condition to add events to the queue out of order by acquiring locks in the proper order and not by releasing one before acquiring the other. From-SVN: r76161
2004-01-19TestAWT.java (DialogWindow): Make text not visible so that dialog can be reused.Fernando Nasser2-1/+8
* gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not visible so that dialog can be reused. From-SVN: r76160
2004-01-19alias-1.c: Add dg-warning for unsupported visibility attribute on ↵Eric Botcazou2-0/+6
sparc*-sun-solaris2.*. * gcc.dg/tls/alias-1.c: Add dg-warning for unsupported visibility attribute on sparc*-sun-solaris2.*. From-SVN: r76158
2004-01-19sol2.h (ASM_DECLARE_OBJECT_NAME): New.Eric Botcazou5-15/+134
* config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit "tls_object" for thread-local objects. * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit "#tls" for thread-local sections. * configure.ac (thread-local checks): Specify --fatal-warnings in every binutils-specific checks. For sparc*-*-*, test whether the OS is Solaris and the tools are native and act accordingly. * configure: Rebuild. From-SVN: r76156
2004-01-19contrib.texi: Update Paolo Carlini's entry.Jeff Law2-2/+14
* contrib.texi: Update Paolo Carlini's entry. New entries for Jerry Quinn and Petur Runolfsson. From-SVN: r76155
2004-01-19i386.md (*movhi_1, *movqi_1): When optimizing for size, don't use the larger ↵Roger Sayle2-2/+11
zero-extending loads. * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for size, don't use the larger zero-extending loads. From-SVN: r76152
2004-01-19MAINTAINERS: Update my email address.Paolo Carlini2-1/+5
2004-01-19 Paolo Carlini <pcarlini@suse.de> * MAINTAINERS: Update my email address. From-SVN: r76151
2004-01-19EventQueue.java (getCurrentEvent): Consider that system events may be ↵Fernando Nasser2-2/+17
handled by any queue in the stack. * java/awt/EventQueue.java (getCurrentEvent): Consider that system events may be handled by any queue in the stack. From-SVN: r76150
2004-01-19GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter.Kim Ho7-44/+176
2004-01-19 Kim Ho <kho@redhat.com> * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter. (removeMenuBarPeer): New native method. (setMenuBar): Call remove if menu bar is null. Adjust insets appropriately. (postSizeAllocateEvent): New method. Called when menu bar size is allocated. Adjust insets and redo layout. (GtkFramePeer): Set menu bar during frame creation. (postConfigureEvent): Adjust position and size to accomodate menu bar. * java/awt/Frame.java (setMenuBar): addNotify to create menu bar. * java/awt/Menu.java (addSeparator): Use peer's addSeparator. (addNotify): Create the peer if it doesn't exist and call addNotify for the menu's items. * java/awt/MenuBar.java (addNotify): Create this menu bar's menus. * java/awt/MenuItem.java (addNotify): Create the peer if it doesn't exist. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (removeMenuBarPeer): New method. Remove menu bar on the current frame. (setMenuBarPeer): Add the menu bar to the current frame and the callback for size-allocate events on the menu bar. (getMenuBarHeight): Add menu bar parameter. (menubar_resize_cb): New callback method for postSizeAllocate events. Also: Fix indentation on last ChangeLog entry. From-SVN: r76149
2004-01-192004-01-16 Kim Ho <kho@redhat.com>Kim Ho3-28/+7
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (gtkWidgetGetDimensions): Remove. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (gtkWidgetGetDimensions): Remove. From-SVN: r76148
2004-01-19debug.cc: Trivial formatting change.Paolo Carlini2-47/+51
2004-01-19 Paolo Carlini <pcarlini@suse.de> * src/debug.cc: Trivial formatting change. From-SVN: r76147
2004-01-19[multiple changes]Arnaud Charlet9-81/+247
2004-01-19 Arnaud Charlet <charlet@act-europe.fr> * utils.c: Update copyright notice, missed in previous change. 2004-01-19 Vincent Celier <celier@gnat.com> * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the args if Bind is True. Set First_ALI, if not already done. (Build_Library): For Stand Alone Libraries, extract from one ALI file an eventual --RTS switch, for gnatbind, and all backend switches + --RTS, for linking. 2004-01-19 Robert Dewar <dewar@gnat.com> * sem_attr.adb, memtrack.adb: Minor reformatting 2004-01-19 Ed Schonberg <schonberg@gnat.com> * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions that rename enumeration literals. This is properly done in sem_eval. * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls to functions that rename enumeration literals. * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to functions that rename enumeration literals. From-SVN: r76146
2004-01-19alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.Richard Henderson4-139/+137
* alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs. * alpha.md (UNSPEC_NT_LDA): Remove. (UNSPEC_CVTLQ, cvtlq): New. (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f. (extendsidi2_fix): Remove. (extendsidi2 splitter): Use cvtlq. (extendsidi2 fp peepholes): Remove. (cvtql): Use SFmode instead of SImode. (fix_trunc?fsi): Update to match. (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New. (movsi): Rename from movsi_nofix, remove f alternatives. (movsi_nt_vms): Similarly. (movsi_fix, movsi_nt_vms_fix): Remove. (nt_lda): Remove. * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda. From-SVN: r76145
2004-01-19cgraph.c (cgraph_remove_node): Fix removal from linked list.Jan Hubicka3-17/+144
* cgraph.c (cgraph_remove_node): Fix removal from linked list. * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed list. (cgraph_remove_unreachable_nodes): New function (cgraph_decide_inlining_of_small_function): Fix pasto. (cgraph_decide_inlining_incrementally): Fix pasto. (cgrpah_decide_inlining): Likewise; remove unreachable nodes. From-SVN: r76142
2004-01-19basic_string.tcc (_S_construct(size_type, _CharT, const _Alloc&)): Remove ↵Paolo Carlini2-35/+20
redundant try/catch. 2004-01-19 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (_S_construct(size_type, _CharT, const _Alloc&)): Remove redundant try/catch. (_M_mutate(size_type, size_type, size_type)): Ditto. (_M_clone(const _Alloc&, size_type)): Ditto. From-SVN: r76141
2004-01-19gengtype.c (header_file): Make it static.Steven Bosscher3-12/+14
* gengtype.c (header_file): Make it static. (write_types_process_field, write_enum_defn): Minor whitespace fixes. * gengtype.h (header_file): No longer extern. From-SVN: r76140
2004-01-19defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.Kazu Hirata4-10/+11
* defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default. * expr.c (CASE_VECTOR_PC_RELATIVE): Remove. * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise. From-SVN: r76138
2004-01-19Fix incorrect PR number.Mark Mitchell2-2/+2
From-SVN: r76135
2004-01-19re PR c++/13635 (ICE in register_specialization for specific order of ↵Mark Mitchell4-5/+21
template specialization) PR c++/13635 * pt.c (tsubst): Use finish_typeof. PR c++/13635 * g++.dg/ext/typeof7.C: New test. From-SVN: r76131
2004-01-19Daily bump.GCC Administrator2-2/+2
From-SVN: r76128
2004-01-18stmt.c (HAVE_casesi): Define it not already defined.Kazu Hirata2-1/+19
* stmt.c (HAVE_casesi): Define it not already defined. (HAVE_tablejump): Likewise. (expand_end_case_type): Resort to the binary tree method if neither casesi or tablejump is available. From-SVN: r76120
2004-01-18final.c (final_scan_insn): Make non-static again.Daniel Jacobowitz9-22/+42
* final.c (final_scan_insn): Make non-static again. * output.h (final_scan_insn): Re-add prototype. * config/arc/arc.c (arc_output_function_epilogue): Add NULL to final_scan_insn call. * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise. * config/mips/mips.c (mips_output_conditional_branch): Likewise. * config/pa/pa.c (output_lbranch, output_call): Likewise. * config/sh/sh.c (print_slot): Likewise. * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise. (output_sibcall, sparc_flat_function_epilogue): Likewise. From-SVN: r76117
2004-01-18basic-block.h (try_redirect_by_replacing_jump): Declare.Jan Hubicka4-16/+30
* basic-block.h (try_redirect_by_replacing_jump): Declare. * cfgcleanup.c (try_optimize_cfg): Use it. * cfgrtl.c (try_redirect_by_replacing_jump): Export. (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch): Kill hack. (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump. Revert: 2004-01-16 Geoffrey Keating <geoffk@apple.com> * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps even after reload, just don't remove the actual jump tables. From-SVN: r76115
2004-01-18* config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.Kazu Hirata2-4/+4
From-SVN: r76113
2004-01-18defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of the size of a ↵Kazu Hirata2-1/+6
pointer in bytes. * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of the size of a pointer in bytes. From-SVN: r76112
2004-01-18builtins.c (expand_builtin_expect_jump): Fix thinko of reusing live "next" ↵Roger Sayle2-8/+17
variable, which can lead to an infinite loop. * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing live "next" variable, which can lead to an infinite loop. From-SVN: r76111
2004-01-18altivec.h: Wrap C++ functions in extern "C++" block.Andrew Pinski2-0/+8
2004-01-18 Andrew Pinski <pinskia@physics.uc.edu> * config/rs6000/altivec.h: Wrap C++ functions in extern "C++" block. From-SVN: r76109
2004-01-18MAINTAINERS: Add myself to write-after-approval.James A. Morrison2-0/+5
2004-01-18 James A. Morrison <ja2morri@uwaterloo.ca> * MAINTAINERS: Add myself to write-after-approval. From-SVN: r76108
2004-01-18rs6000.c (rs6000_special_round_type_align): Check for NULL in the chain and ↵Andrew Pinski2-4/+7
remove repeated code. 2004-01-18 Andrew Pinski <pinskia@physics.uc.edu> * config/rs6000/rs6000.c (rs6000_special_round_type_align): Check for NULL in the chain and remove repeated code. From-SVN: r76105
2004-01-18re PR c++/11725 (Wrong return statement warning with -Wreturn-type in ↵Jason Merrill2-1/+10
template class method) PR c++/11725 * except.c (build_throw): In a template, set current_function_returns_abnormally. From-SVN: r76104
2004-01-18coverage.c (checksum_string): Rename to ...Jan Hubicka2-17/+53
* coverage.c (checksum_string): Rename to ... (coverage_checksum_string): ... this one, Use crc32_string; recognize names containing random number and zero the number out in order to get match. From-SVN: r76102
2004-01-18* config/mips/mips.c (mips_got_alias_set): Mark for PCH.Richard Sandiford2-1/+5
From-SVN: r76100
2004-01-18c-tree.texi, [...]: Remove trailing whitespace.Joseph Myers16-180/+188
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi, doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi, doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi, doc/trouble.texi: Remove trailing whitespace. From-SVN: r76098
2004-01-182004-01-18 Paolo Carlini <pcarlini@suse.de>Paolo Carlini2-8620/+8619
* ChangeLog rotation. From-SVN: r76093
2004-01-18basic_string.h (c_str()): Simplify, due to 21.3.4 the internal ↵Paolo Carlini5-9/+113
representation is always kept null-terminated. 2004-01-18 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.h (c_str()): Simplify, due to 21.3.4 the internal representation is always kept null-terminated. * include/bits/basic_string.tcc (_M_clone): Null-terminate. * testsuite/21_strings/basic_string/element_access/char/4.cc: New. * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc: Ditto. From-SVN: r76092
2004-01-18basic_string.h (append(size_type, _CharT)): Moved inline...Paolo Carlini4-32/+38
2004-01-18 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.h (append(size_type, _CharT)): Moved inline, just call _M_replace_aux, no source iterators at risk of being clobbered. (assign(size_type, _CharT)): Call directly _M_replace_aux. (_M_replace(iterator, iterator, _InputIterator, _InputIterator, input_iterator_tag)): Remove fifth unused argument. (_M_replace_dispatch(iterator, iterator, _InputIterator, _InputIterator, __false_type)): Update call. * include/bits/basic_string.tcc (replace(size_type, size_type, const _CharT*, size_type)): Update call. (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak throw string literal. (_M_replace_safe(iterator, iterator, _ForwardIterator, _ForwardIterator)): Likewise. (_M_replace(iterator, iterator, _InputIterator, _InputIterator, input_iterator_tag)): Remove fifth unused argument. (append(size_type __n, _CharT __c)): Move inline. * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator, const C*, const C*, input_iterator_tag)): Remove fifth unused argument. From-SVN: r76091
2004-01-18Add PR number to last commit.Richard Sandiford1-0/+1
From-SVN: r76090
2004-01-18mips.c: Include cfglayout.h.Richard Sandiford2-40/+230
* config/mips/mips.c: Include cfglayout.h. (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define. (mips_unspec_offset_high): Add temporary register argument. (mips_load_call_address): New function, split out from... (mips_expand_call): ...here. (mips_output_cplocal): New function. (mips_output_function_prologue, mips_output_function_epilogue): Use it. (mips_emit_loadgp): New function, split out from... (mips_expand_prologue): ...here. (mips_output_mi_thunk): New function. From-SVN: r76088
2004-01-18longlong.h (mc68020, [...]): Remove redundant checks for implied target ↵Bernardo Innocenti2-10/+8
predefines. * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040, mcpu32): Remove redundant checks for implied target predefines. From-SVN: r76084
2004-01-17array-quals-1.c: xfail on powerpc*-*-aix*.David Edelsohn3-2/+7
* gcc.dg/array-quals-1.c: xfail on powerpc*-*-aix*. * gcc.dg/const-elim-1.c: Same. From-SVN: r76083
2004-01-172004-1-17 Andrew Pinski <pinskia@physics.uc.edu>Andrew Pinski3-2/+9
* config/rs6000/rs6000.c (rs6000_special_round_type_align): Return type is unsigned int not int. * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align): Likewise. From-SVN: r76081
2004-01-18contrib.texi, [...]: Consistently use "GNU/Linux" and "Microsoft Windows" ↵Joseph Myers7-29/+35
terminology. * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use "GNU/Linux" and "Microsoft Windows" terminology. From-SVN: r76078
2004-01-18c-tree.texi, [...]: Use @smallexample instead of @example.Joseph Myers15-733/+742
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi, doc/cppopts.texi, doc/extend.texi, doc/install.texi, doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use @smallexample instead of @example. From-SVN: r76075