aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2004-01-18objc-act.c (build_objc_method_call): Use target hooks instead of macros to ↵Ziemowit Laski5-8/+124
determine if... [gcc/ChangeLog] 2004-01-17 Ziemowit Laski <zlaski@apple.com> * objc/objc-act.c (build_objc_method_call): Use target hooks instead of macros to determine if ..._stret dispatchers should be used (NeXT runtime only). [gcc/testsuite/ChangeLog] 2004-01-17 Ziemowit Laski <zlaski@apple.com> * objc.dg/stret-1.m: New. * objc.dg/stret-2.m: New. From-SVN: r76072
2004-01-18Daily bump.GCC Administrator2-2/+2
From-SVN: r76068
2004-01-17builtins.c (expand_builtin_expect_jump): Fix mistake in my last patch.Roger Sayle2-6/+11
* builtins.c (expand_builtin_expect_jump): Fix mistake in my last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL. From-SVN: r76064
2004-01-17* rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)Daniel Jacobowitz4-12/+48
(emit_call_insn_before_sameloc, emit_insn_after_sameloc) (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New macros. * reload1.c (emit_reload_insns): Use them. * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc) (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check for NULL PATTERN. From-SVN: r76062
2004-01-17final.c (SEEN_BB, [...]): Define.Daniel Jacobowitz4-41/+69
* final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define. (final_scan_insn): Update to take an additional SEEN argument. Emit a line note after the prologue. Make static. (line_note_exists): Remove. (final): Don't initialize line_note_exists. Update call to final_scan_insn. * output.h (final_scan_insn): Remove prologue. * function.c (set_insn_locators): Update comment. (thread_prologue_and_epilogue_insns): Add a comment. From-SVN: r76060
2004-01-17Makefile.in: Remove rule for ggc-simple.o.Steven Bosscher4-572/+4
* Makefile.in: Remove rule for ggc-simple.o. * configure.ac: Don't allow ggc-simple to be selected. * configure: Regenerate. * ggc-simple.c: Remove. From-SVN: r76058
2004-01-17re PR target/10781 (wrong class size and alignment with static class member)Andrew Pinski8-30/+75
2004-01-17 Andrew Pinski <pinskia@physics.uc.edu> PR target/10781 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align): Prototype. * config/rs6000/rs6000.c (rs6000_special_round_type_align): New function. * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it. * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise. * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise. 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu> PR target/10781 * encoding.c (rs6000_special_round_type_align): Define. From-SVN: r76043
2004-01-17fix dates on the Changelog.Andrew Pinski2-2/+2
From-SVN: r76041
2004-01-17[multiple changes]Andrew Pinski4-2/+18
2004-01-16 Andrew Pinski <pinskia@physics.uc.edu> PR c++/11895 * g++.dg/ext/vector1.C: New test. 2003-08-26 Fred Fish <fnf@intrinsity.com> PR c++/11895 * decl.c (reshape_init): Handle VECTOR_TYPE like ARRAY_TYPE, except don't call array_type_nelts() with a VECTOR_TYPE. From-SVN: r76038
2004-01-17snapshot-README: Mention how the snapshot was generated.Gerald Pfeifer3-4/+9
* snapshot-README: Mention how the snapshot was generated. * snapshot-index.html: Ditto. Further sync with snapshot-README. From-SVN: r76037
2004-01-17toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous commit.Jan Hubicka2-3/+6
* toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous commit. From-SVN: r76035
2004-01-17toplev.c (HAVE_conditional_execution): Provide default.Jan Hubicka2-6/+33
* toplev.c (HAVE_conditional_execution): Provide default. (rest_of_handle_reorder_blocks): For conditional_execution target update liveness once after all transformations (rest_of_compilation): Do crossjumping before ce3. From-SVN: r76032
2004-01-17re PR pch/13689 (GGC PCH breaks aliasing)Geoffrey Keating3-17/+27
PR pch/13689 * alias.c (new_alias_set): Mark last_alias_set for PCH. (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it for PCH. (get_frame_alias_set): Likewise, except rename it to 'frame_set'. * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH. (get_TOC_alias_set): Mark 'set' for PCH. From-SVN: r76031
2004-01-17ChangeLog rotationTom Tromey4-17807/+17807
From-SVN: r76030
2004-01-17cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps even after ↵Geoffrey Keating2-2/+7
reload, just don't remove the actual jump tables. * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps even after reload, just don't remove the actual jump tables. From-SVN: r76028
2004-01-17Fix my email address in the previous checkin.Joel Brobecker1-1/+1
From-SVN: r76026
2004-01-17dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().J. Brobecker2-16/+23
* dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type(). Remove checks for is_ada() and TREE_UNSIGNED. (subrange_type_die): Emit a byte_size attribute if the subrange type size is different from the base type size. (modified_type_die): Replace call to is_ada_subrange_type() by call to is_subrange_type(). From-SVN: r76025
2004-01-16typeck.c (find_method_in_interfaces): Move variable definition up.Andrew Pinski2-1/+7
2004-01-16 Andrew Pinski <pinskia@physics.uc.edu> * typeck.c (find_method_in_interfaces): Move variable definition up. From-SVN: r76021
2004-01-16sh.c: Include ggc.h.Andrew Pinski2-0/+5
2004-01-16 Andrew Pinski <pinskia@physics.uc.edu> * config/sh/sh.c: Include ggc.h. From-SVN: r76018
2004-01-1713189.cc: Fix guards.Benjamin Kosnik3-12/+13
2004-01-16 Benjamin Kosnik <bkoz@redhat.com> * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards. * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same. From-SVN: r76017
2004-01-17[multiple changes]Geoffrey Keating11-11/+328
2004-01-15 Geoffrey Keating <geoffk@apple.com> * Makefile.in (MD5_H): New. (fold-const.o): Depend on md5.h. (dwarf2out.o): Likewise. (cppfiles.o): Likewise. * cppfiles.c: Include md5.h. (should_stack_file): Check against list read from PCH file. (struct pchf_data): New. (pchf): New variable. (struct pchf_adder_info): New. (pchf_adder): New. (pchf_save_compare): New. (_cpp_save_file_entries): New. (_cpp_read_file_entries): New. (struct pchf_compare_data): New. (pchf_compare): New. (check_file_against_entries): New. * cpphash.h (_cpp_save_file_entries): Prototype. (_cpp_read_file_entries): Prototype. * cpppch.c (cpp_write_pch_state): Write the list of headers. (cpp_read_state): Read the list of headers. Index: testsuite/ChangeLog 2004-01-16 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pch/import-1.c: New. * gcc.dg/pch/import-1.hs: New. * gcc.dg/pch/import-1a.h: New. * gcc.dg/pch/import-1b.h: New. * gcc.dg/pch/import-1c.h: New. From-SVN: r76016
2004-01-17Daily bump.GCC Administrator2-2/+2
From-SVN: r76013
2004-01-17* de.po: Update.Joseph Myers2-448/+470
From-SVN: r76008
2004-01-17c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and ↵Jan Hubicka4-5/+31
builtin_expect specially. * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and builtin_expect specially. * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100. (PARAM_LARGE_FUNCTION_INSNS): Set to 3000. * invoke.texi (max-inline-insns-single): Set to 100. (large-function-insns): Set to 3000. From-SVN: r76007
2004-01-17* java/awt/Container.java: Typo and indentation fixes.Tom Tromey2-19/+21
From-SVN: r76004
2004-01-16natClassLoader.cc: Moved VMClassLoader methods...Tom Tromey5-114/+151
* java/lang/natClassLoader.cc: Moved VMClassLoader methods... * java/lang/natVMClassLoader.cc: ...here. New file. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Added natVMClassLoader.cc. From-SVN: r76003
2004-01-16* MAINTAINERS: Remove entries without email address.Volker Reichelt2-4/+4
From-SVN: r76001
2004-01-16cppcharset.c (one_iso88591_to_utf8): New function.Eric Christopher6-18/+129
2004-01-16 Eric Christopher <echristo@redhat.com> Chandrakala Chavva <cchavva@redhat.com> * cppcharset.c (one_iso88591_to_utf8): New function. (convert_iso88591_utf8): Ditto. Use. (conversion_tab): Use. (_cpp_input_to_utf8): New function. (_cpp_init_iconv_buffer): Ditto. (_cpp_close_iconv_buffer): Ditto. * cpphash.h: Prototype new functions. (cpp_buffer): Add input_cset_desc. * cppinit.c: Add input_charset default. * cpplib.c (cpp_push_buffer): Support init and close of iconv. * cpplib.h (cpp_options): Add input_charset. From-SVN: r76000
2004-01-16gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler): Discard ↵Fernando Nasser2-8/+18
GDK_ENTER_NOTIFY related to ungrabs. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler): Discard GDK_ENTER_NOTIFY related to ungrabs. From-SVN: r75999
2004-01-16EventQueue.java (pop): Prevent breaking the chain if pop is called for an ↵Fernando Nasser2-1/+8
intermediate queue. * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop is called for an intermediate queue. From-SVN: r75998
2004-01-162004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2-8/+14
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (window_property_changed_cb): Set id_set. Also: re-indent kho's latest ChangeLog entry. From-SVN: r75997
2004-01-16system.h (ASM_OUTPUT_SECTION_NAME): Poison.Kazu Hirata7-28/+28
gcc/ * system.h (ASM_OUTPUT_SECTION_NAME): Poison. * config/alpha/unicosmk.h: Remove a commented-out definition of ASM_OUTPUT_SECTION_NAME. * config/stormy16/stormy16.h: Likewise. gcc/ada/ * Make-lang.in (utils.o): Depend on target.h. * utils.c: Include target.h. (process_attributes): Use targetm.have_named_sections instead of ASM_OUTPUT_SECTION_NAME. From-SVN: r75995
2004-01-16inclhack.def (alpha___extern_prefix): Renamed to ...Rainer Orth8-20/+215
* fixinc/inclhack.def (alpha___extern_prefix): Renamed to ... (alpha___extern_prefix_sys_stat): ... this. Apply to <sys/mount.h>, too. Tweak to match more variations. * fixinc/tests/base/sys/stat.h: Adapt for new hackname. * fixinc/inclhack.def (alpha___extern_prefix, alpha___extern_prefix_standards): New hacks to obey __PRAGMA_EXTERN_PREFIX. * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New test. * fixinc/tests/base/standards.h: Likewise. * fixincl/inclhack.def (alpha_pthread): Tweak to match more variations. New testcase. * fixinc/tests/base/pthread.h: Handle it. * fixincl/inclhack.def (bad_lval): Sort file list. Add many missing files up to Tru64 UNIX V5.1B. * gcc/fixinc/tests/base/libgen.h: Renamed to ... * gcc/fixinc/tests/base/dirent.h: ... this to match new file list order. * fixinc/fixincl.x: Regenerate. From-SVN: r75994
2004-01-16GtkComponentPeer.java (GtkComponentPeer): If it is a FileDialog and has ↵Kim Ho4-3/+52
dimensions of 0 by 0... 2004-01-16 Kim Ho <kho@redhat.com> * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If it is a FileDialog and has dimensions of 0 by 0, then the initial size is set to size request plus insets. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (gtkWidgetGetDimensions): Override method. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (gtkWidgetGetDimensions): Override method. Returns size request plus insets. From-SVN: r75993
2004-01-16version.c (version_string): Change to 3.5.0.Mark Mitchell3-2/+7
* version.c (version_string): Change to 3.5.0. * doc/include/gcc-common.texi (version-GCC): Likewise. From-SVN: r75992
2004-01-16re PR c++/13574 (array default initializer in class lets gcc consume all ↵Mark Mitchell5-11/+34
memory and die) PR c++/13574 * decl.c (compute_array_index_type): Fix grammar in comment. * init.c (build_zero_init): Handle zero-sized arrays correctly. PR c++/13574 * g++.dg/ext/array1.C: New test. From-SVN: r75991
2004-01-16re PR target/13608 (Incorrect code with -O3 -ffast-math)Jan Hubicka10-21/+46
* i386.md (load_tp_di): Fix pasto. PR opt/13608 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function. * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator, pp_c_character_constant, pp_c_floating_constant, pp_c_additive_expression, pp_c_shift_expression, pp_c_equality_expression, pp_c_and_expression, pp_c_exclusive_or_expression, pp_c_inclusive_or_expression, pp_c_logical_and_expression): Remove inline modifier. * dwarf2out.c (get_AT): Likewise. * et-forest.c (et_splay): Likewise. * ra.h (ra_alloc, ra_calloc): Likewise * mangle.c (write_mangled_name): Remove inline modifier. From-SVN: r75988
2004-01-16re PR rtl-optimization/11864 (miscompiles zero extention and test)J"orn Rennecke2-0/+46
PR 11864 From Kazumoto Kojima / Dan Kegel: * gcc.dg/pr11864-1.c: New test. From-SVN: r75987