aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2002-06-30cp-tree.h (CPTI_TINFO_DECL_TYPE): Replace with ...Nathan Sidwell4-352/+368
* cp-tree.h (CPTI_TINFO_DECL_TYPE): Replace with ... (CPTI_TYPE_INFO_PTR_TYPE): ... this. (tinfo_decl_type): Replace with ... (type_info_ptr_type): ... this. (import_export_tinfo): Declare. (tinfo_decl_p): Rename to ... (unemitted_tinfo_decl_p): ... this. * decl2.c (import_export_decl): Break out tinfo handling into ... (import_export_tinfo): ... here. New function. (finish_file): Adjust. * rtti.c (TINFO_REAL_NAME): New macro. (init_rtti_processing): Create the tinfo types. (get_tinfo_decl_dynamic): Use type_info_ptr_type, get_tinfo_ptr. (get_tinfo_decl): Adjust. (get_tinfo_ptr): New function. (get_type_id): Use it. (tinfo_base_init): Create vtable decl here, if it doesn't exist. (ptr_initializer): Use get_tinfo_ptr. (ptm_initializer): Likewise. (synthesize_tinfo_var): Break into ... (get_pseudo_ti_init): ... this. Just create the initializer. (get_pseudo_ti_desc): .. and this. (create_real_tinfo_var): Remove. (create_pseudo_type_info): Don't create the vtable decl here. (get_vmi_pseudo_type_info): Remove. (create_tinfo_types): Adjust. (tinfo_decl_p): Rename to ... (unemitted_tinfo_decl_p): ... here. Adjust. (emit_tinfo_decl): Adjust. Create the initializer. From-SVN: r55124
2002-06-30extend.texi: Add ip2k port to description of attribute naked.Denis Chertykov12-5/+17567
* doc/extend.texi: Add ip2k port to description of attribute naked. * doc/install.texi (Specific): Add ip2k description. * doc/install-old.texi (Configurations): Add ip2k to possible cpu types. * doc/md.texi: Document ip2k constraints. * config/ip2k/crt0.S: New file. * config/ip2k/ip2k-protos.h: New file. * config/ip2k/ip2k.c: New file. * config/ip2k/ip2k.h: New file. * config/ip2k/ip2k.md: New file. * config/ip2k/libgcc.S: New file. * config/ip2k/t-ip2k: New file. Co-Authored-By: Alan Lehotsky <apl@alum.mit.edu> Co-Authored-By: Bernd Schmidt <bernds@redhat.com> Co-Authored-By: Dave Hudson <dave.hudson@ubicom.com> Co-Authored-By: Frank Ch. Eigler <fche@redhat.com> Co-Authored-By: Graham Stott <grahams@redhat.com> Co-Authored-By: Jeff Johnston <jjohnstn@redhat.com> Co-Authored-By: Matthew Green <mrg@redhat.com> Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r55122
2002-06-30mmix.md ("return"): New pattern.Hans-Peter Nilsson6-14/+117
* config/mmix/mmix.md ("return"): New pattern. * config/mmix/mmix.h (TARGET_MASK_USE_RETURN_INSN) (TARGET_USE_RETURN_INSN): New macros. (TARGET_DEFAULT): Include TARGET_MASK_USE_RETURN_INSN. (TARGET_SWITCHES): Add -msingle-exit and -mno-single-exit. * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Fix spacing. (MMIX_POP_ARGUMENT): New macro. (mmix_target_asm_function_prologue): When no epilogue is executed, just emit a blank line. Use MMIX_POP_ARGUMENT with final POP insn. (mmix_print_operand) <case '.'>: New case. (mmix_print_operand_punct_valid_p): Match '.'. (mmix_use_simple_return): New function. * config/mmix/mmix-protos.h (mmix_use_simple_return): Prototype. * doc/invoke.texi (Option Summary) <MMIX Summary>: Add -msingle-exit, -mno-single-exit. (MMIX Options): Ditto. From-SVN: r55121
2002-06-30i386.c (ix86_init_mmx_sse_builtins): Fix typos.Aldy Hernandez2-3/+6
2002-06-30 Aldy Hernandez <aldyh@redhat.com> * config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix typos. From-SVN: r55120
2002-06-30* gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses.Kaveh R. Ghazi2-1/+5
From-SVN: r55119
2002-06-30Daily bump.GCC Administrator3-3/+3
From-SVN: r55117
2002-06-30* unroll.c (loop_iterations): Handle EQ loops.Alan Modra2-6/+41
From-SVN: r55111
2002-06-29rs6000.md (ctrdi): Allocate pseudo for FPR constraint in define_expand, not ↵David Edelsohn2-48/+64
splitter. * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR constraint in define_expand, not splitter. Formatting. From-SVN: r55110
2002-06-30i386.c (ix86_init_mmx_sse_builtins): Use build_function_type_list instead of ↵Aldy Hernandez8-700/+357
build_function_type. 2002-06-29 Aldy Hernandez <aldyh@redhat.com> * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use build_function_type_list instead of build_function_type. * config/ia64/ia64.c (ia64_init_builtins): Same. * config/alpha/alpha.c (alpha_init_builtins): Same. * config/rs6000/rs6000.c (altivec_init_builtins): Same. * config/arm/arm.c (arm_init_builtins): Same. * tree.h: Add build_function_type_list prototype. * tree.c (build_function_type_list): New. From-SVN: r55109
2002-06-29* collect2.c (scan_prog_file): Fix typo in message.Kaveh R. Ghazi2-1/+5
From-SVN: r55107
2002-06-29fold-cont.c: Remove unused CHARMASK.Aaron Lehmann2-7/+4
2002-06-28 Aaron Lehmann <aaronl@vitelus.com> * fold-cont.c: Remove unused CHARMASK. From-SVN: r55106
2002-06-29re PR preprocessor/7150 (gcc -dM -E ... SegFault)Neil Booth2-6/+8
PR preprocessor/7150 * cppmain.c (scan_translation_unit_trad): Simplify. * cpplib.c (cpp_scan_nooutput): Handle traditional case. From-SVN: r55102
2002-06-29crtdll.h: Define EXTRA_OS_CPP_BUILTINS.Neil Booth14-85/+158
* config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS. Don't use CPP_PREDEFINES. * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): New. Used TARGET_OS_CPP_BUILTINS in preference to CPP_PREDEFINES. * config/i386/djgpp.h, config/i386/i386-coff.h, config/i386/i386-interix.h, config/i386/i386-interix3.h, config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h, config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/sysv3.h, config/i386/uwin.h: Similarly. From-SVN: r55101
2002-06-29Daily bump.GCC Administrator3-3/+3
From-SVN: r55100
2002-06-29c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and ↵Herman A.J. ten Brugge2-1/+7
flag_inline_trees to... * c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and flag_inline_trees to enable inlining. From-SVN: r55091
2002-06-29configure.in (gcc_gxx_include_dir): Change to match versioned C++ headers if ↵Phil Edwards3-316/+333
--enable-version-specific-runtime-libs... 2002-06-28 Phil Edwards <pme@gcc.gnu.org> * configure.in (gcc_gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs is used. * configure: Regenerate. From-SVN: r55088
2002-06-28* gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move.Jan Hubicka2-7/+9
From-SVN: r55087
2002-06-28combine.c (combine_simplify_rtx): Pass the mode of the shift count...Stephen Clarke2-1/+7
* combine.c (combine_simplify_rtx): Pass the mode of the shift count, not the shift operation when trying to simplify a shift on a SHIFT_COUNT_TRUNCATED target. From-SVN: r55085
2002-06-28m68hc11.md ("*addsi3"): Use 'o' constraint to avoid the auto increment ↵Stephane Carrez2-9/+54
addressing modes. * config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to avoid the auto increment addressing modes. ("*subsi3"): Likewise. (split for add/sub on address): For 68HC12 push the value on the stack and do the operation with a pop. From-SVN: r55083
2002-06-28m68hc11.h (OPTIMIZATION_OPTIONS): Define.Stephane Carrez4-2/+30
* config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define. * config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options): Declare. * config/m68hc11/m68hc11.c (m68hc11_optimization_options): New, do not reorder basic blocks at the end when optimizing for size. From-SVN: r55079
2002-06-28cpplib.c (_cpp_handle_directive): Move #define-specific code to the #define ↵Neil Booth2-20/+14
handler... * cpplib.c (_cpp_handle_directive): Move #define-specific code to the #define handler... (do_define): ...here. (lex_macro_node): No longer a need to check for comments here. From-SVN: r55077
2002-06-28m68hc11.c (autoinc_mode): New function.Stephane Carrez2-50/+165
* config/m68hc11/m68hc11.c (autoinc_mode): New function. (m68hc11_make_autoinc_notes): New function. (m68hc11_split_move): Be very cautious when spliting a move with auto increment/decrement modes because this may result in incompatible directions; add REG_INC notes to the resulting insn for CSE reg. From-SVN: r55076
2002-06-28news.texi: Mention 2 Gbyte limit on 32-bit targets for arrays explicitly in ↵Toon Moene2-4/+10
news on g77-3.1. 2002-06-28 Toon Moene <toon@moene.indiv.nluug.nl> * news.texi: Mention 2 Gbyte limit on 32-bit targets for arrays explicitly in news on g77-3.1. From-SVN: r55075
2002-06-28m68hc11.c (register_indirect_p): For 68HC12 a constant can be a valid address.Stephane Carrez2-1/+12
* config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant can be a valid address. From-SVN: r55073
2002-06-28ok, this is the right version ;-)Aldy Hernandez1-8/+8
From-SVN: r55071
2002-06-28fix stupidity of committing the wrong version of the fileAldy Hernandez1-138/+348
From-SVN: r55070
2002-06-28rs6000.c: Remove unusued variables from last patch.Aldy Hernandez2-348/+143
2002-06-28 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c: Remove unusued variables from last patch. From-SVN: r55069
2002-06-28revert: rs6000.c (rs6000_override_options): Move *SUBTARGET_OVERRIDE_OPTIONS ↵Aldy Hernandez2-7/+13
before the -m options. 2002-06-27 Aldy Hernandez <aldyh@redhat.com> Revert: * config/rs6000/rs6000.c (rs6000_override_options): Move *SUBTARGET_OVERRIDE_OPTIONS before the -m options. From-SVN: r55068
2002-06-28rs6000.c (altivec_expand_builtin): Move lvx/stv/dst builtins...Aldy Hernandez2-186/+181
2002-06-27 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (altivec_expand_builtin): Move lvx/stv/dst builtins... (altivec_expand_ld_builtin): ...to here. (altivec_expand_st_builtin): ...here. (altivec_expand_dst_builtin): ...and here (respectively). From-SVN: r55067
2002-06-28* config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.Bob Wilson2-7/+11
From-SVN: r55066
2002-06-28Prevent creation of paradoxical FLOAT_MODE subregsBernd Schmidt3-12/+39
From-SVN: r55064
2002-06-28Daily bump.GCC Administrator3-3/+3
From-SVN: r55061
2002-06-28re PR ada/7144 (Typo in Makefile-comment)Andreas Jaeger2-1/+7
PR ada/7144 * Makefile.in: Fix typo in comment, patch by Adrian Knoth <adi@thur.de>. From-SVN: r55056
2002-06-28re PR preprocessor/7138 (gcc-3.2 failed to compile kernel)Neil Booth3-6/+15
PR preprocessor/7138 * cpplib.c (_cpp_handle_directive): Do traditional preparation after setting state.angled_headers. * cpptrad.c (scan_out_logical_line): Fix potential quote bug. From-SVN: r55055
2002-06-28Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2-7/+12
* config/rs6000/rs6000.c (rs6000_override_options): Move *SUBTARGET_OVERRIDE_OPTIONS before the -m options. From-SVN: r55053
2002-06-27xtensa.md: Give "*xxx" names to all unnamed insn's.Bob Wilson2-53/+54
* config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's. (*lsiu, *ssiu, movstrsi_internal, zero_cost_loop_start, zero_cost_loop_end): Remove unnecessary "parallel" from insns. From-SVN: r55046
2002-06-27re PR c++/6695 (Regression: template friend declaration doesn't work)Mark Mitchell4-1/+45
PR c++/6695 * pt.c (tsubst_friend_class): Substitute into the context of the friend before using it. PR c++/6695 * g++.dg/template/friend7.C: New file. From-SVN: r55041
2002-06-27d30v.h: Remove commented out STACK_REGS #defines.Roger Sayle3-29/+9
* config/d30v/d30v.h: Remove commented out STACK_REGS #defines. * config/stormy16/stormy16.h: Likewise. * config/stormy16/stormy16.h (CUMULATIVE_ARGS): Replace typedef with #define. From-SVN: r55039
2002-06-27install.texi (Binaries): Add Sinix/Reliant Unix.Gerald Pfeifer2-9/+17
* doc/install.texi (Binaries): Add Sinix/Reliant Unix. Move Hitachi entry. Make punctuation more consistent. From-SVN: r55037
2002-06-27string-opt-8.c (strncmp): Fix typo in return type.Aldy Hernandez2-1/+6
2002-06-27 Aldy Hernandez <aldyh@redhat.com> * gcc.c-torture/execute/string-opt-8.c (strncmp): Fix typo in return type. From-SVN: r55035
2002-06-27install.texi: Change ` bit' to `-bit'.Matt Kraai4-6/+12
* doc/install.texi: Change ` bit' to `-bit'. * doc/md.texi: Change `-bits' to `-bit'. * doc/tm.texi: Change `-bits' to ` bits'. From-SVN: r55033
2002-06-27gcse.c (hoist_code): Rewrite to only get list of dominated blocks once per BB.Daniel Berlin2-10/+22
* gcse.c (hoist_code): Rewrite to only get list of dominated blocks once per BB. Also fix reversed test (by removing need for the test at all). From-SVN: r55031
2002-06-27simd-2.c (i, j): Add initializer elements to avoid division by zero.J"orn Rennecke2-2/+7
* gcc.c-torture/execute/simd-2.c (i, j): Add initializer elements to avoid division by zero. From-SVN: r55030
2002-06-27Daily bump.GCC Administrator3-3/+3
From-SVN: r55027
2002-06-27cpphash.h (_cpp_set_trad_context): Remove.Neil Booth4-56/+45
* cpphash.h (_cpp_set_trad_context): Remove. * cpplib.c (prepare_directive_trad): Do nothing for #define. (cpp_push_buffer, _cpp_pop_buffer): Don't call _cpp_set_trad_context. * cpptrad.c: Update comments. (_cpp_read_logical_line_trad): Let scan_logical_line handle updating the current context. (scan_logical_line): Update the current context. (_cpp_create_trad_definition): Similarly. (_cpp_set_trad_context): Remove. From-SVN: r55022
2002-06-27re PR preprocessor/7070 (internal error with -Wunknown-pragmas && empty #pragma)Neil Booth4-9/+30
PR preprocessor/7070 * c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF. testsuite: * gcc.dg/Wunknownprag.c: New tests. From-SVN: r55021
2002-06-27xtensa-protos.h (xtensa_return_addr): Declare.Bob Wilson5-18/+57
* config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare. config/xtensa/xtensa.c (xtensa_return_addr): New function. config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr. config/xtensa/xtensa.md (fix_return_addr): New pattern. From-SVN: r55020
2002-06-27mips.c (coprocessor_operand, [...]): Move prototypes from here...Kaveh R. Ghazi3-6/+10
* mips.c (coprocessor_operand, coprocessor2_operand, symbolic_operand): Move prototypes from here... * mips-protos.h (coprocessor_operand, coprocessor2_operand, symbolic_operand): ...to here. From-SVN: r55018
2002-06-27parse.y (check_modifiers, [...]): Avoid incorrect hardcoded constant 10.Kaveh R. Ghazi2-4/+8
* parse.y (check_modifiers, declare_local_variables): Avoid incorrect hardcoded constant 10. From-SVN: r55017
2002-06-27lex.c (java_init_lex): Avoid incorrect hardcoded constant 11.Kaveh R. Ghazi3-3/+8
* lex.c (java_init_lex): Avoid incorrect hardcoded constant 11. * parse.y (mark_parser_ctxt): Likewise. From-SVN: r55016