aboutsummaryrefslogtreecommitdiff
path: root/gcc
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-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 Administrator1-1/+1
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 Pinski6-30/+59
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-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-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-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 Administrator1-1/+1
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-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-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-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-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-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
2004-01-16re PR c++/13407 (Confusing error message from extraneous typename)Giovanni Bajo2-0/+22
PR c++/13407 * g++.dg/parse/typename6.C: New test. From-SVN: r75970
2004-01-16re PR c++/13407 (Confusing error message from extraneous typename)Giovanni Bajo2-0/+18
PR c++/13407 * parser.c (cp_parser_base_specifier): Check for an invalid keyword 'typename' and emit an user-friendly error message. From-SVN: r75969
2004-01-16re PR rtl-optimization/11350 (undefined labels with -Os -fPIC)Jan Hubicka3-4/+12
PR opt/11350 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal after reload. * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks, rtl_try_redirect_by_replacing_branch): Likewise. From-SVN: r75968
2004-01-16* Makefile.in: Add $(DESTDIR).Andreas Jaeger2-41/+45
From-SVN: r75964