aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2004-01-16re PR c++/13178 (Bogus C++ error message referring to operator 1)Mark Mitchell4-0/+28
PR c++/13178 * call.c (name_as_c_string): Print conversion operator names correctly. PR c++/13178 * g++.dg/conversion/op1.C: New test. From-SVN: r75986
2004-01-16re PR rtl-optimization/10392 ([SH] optimizer generates faulty array indexing)J"orn Rennecke2-0/+68
PR 10392 From Marcus Comstedt / Dan Kegel: * gcc.dg/pr10392-1.c: New test. From-SVN: r75985
2004-01-16frv-protos.h: Fix comment formatting.Kazu Hirata7-148/+159
* config/frv/frv-protos.h: Fix comment formatting. * config/frv/frv.c: Likewise. * config/frv/frv.h: Likewise. * config/frv/frv.md: Likewise. * config/frv/frvbegin.c: Likewise. * config/frv/frvend.c: Likewise. From-SVN: r75984
2004-01-16re PR c++/13478 (gcc uses wrong constructor to initialize a const reference)Mark Mitchell2-4/+8
PR c++/13478 * call.c (initialize_reference): Pass -1 for inner parameter to convert_like_real. PR c++/13478 * g++.dg/init/ref10.C: New test. From-SVN: r75983
2004-01-16locks.h: Don't use in/out memory constraints.Andrew Haley3-6/+11
2004-01-16 Andrew Haley <aph@redhat.com> * sysdep/x86-64/locks.h: Don't use in/out memory constraints. * sysdep/i386/locks.h: Likewise. From-SVN: r75982
2004-01-16configure.in (NO_EXECUTE_PERMISSION): Remove global declaration; add for ↵Andrew Haley3-51/+66
ia64; remove for MIPS. 2004-01-16 Andrew Haley <aph@redhat.com> * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration; add for ia64; remove for MIPS. * configure: Regnerated. From-SVN: r75981
2004-01-16re PR java/13273 (gcj generates call to abstract method)Andrew Haley5-71/+128
2004-01-16 Andrew Haley <aph@redhat.com> PR java/13273: * typeck.c (shallow_find_method): New. (find_method_in_superclasses): New. (find_method_in_interfaces): New. (lookup_do): Rewrite. * java-tree.h (SEARCH_ONLY_INTERFACE): Delete. * jcf-parse.c (read_class): Save and restore output_class. * decl.c (java_expand_body): Set output_class from fndecl. From-SVN: r75980
2004-01-16re PR c++/13478 (gcc uses wrong constructor to initialize a const reference)Mark Mitchell4-2/+26
PR c++/13478 * call.c (convert_like_real): Do not perform an additional direct-initialization when binding to a reference. PR c++/13478 * g++.dg/init/ref10.C: New test. From-SVN: r75979
2004-01-16system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.Kazu Hirata3-10/+10
* system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison. * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention LINKER_DOES_NOT_WORK_WITH_DWARF2. (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove. From-SVN: r75978
2004-01-16EventDispatchThread.java (run): Stop running when interrupted.Fernando Nasser3-2/+31
* java/awt/EventDispatchThread.java (run): Stop running when interrupted. * java/awt/EventQueue.java (pop): Stop dispatch thread when done. Reset the queue after transferring its contents. (push): Start a new dispatch thread if none is running. From-SVN: r75977
2004-01-16Add bugzilla reference:Joern Rennecke1-0/+1
PR 11864 * postreload.c (reload_cse_simplify_operands): Don't remove implicit extension from LOAD_EXTEND_OP. From-SVN: r75976
2004-01-16postreload.c (reload_cse_simplify_operands): Don't remove implicit extension ↵J"orn Rennecke2-1/+53
from LOAD_EXTEND_OP. * postreload.c (reload_cse_simplify_operands): Don't remove implicit extension from LOAD_EXTEND_OP. From-SVN: r75975