summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
...
* * gcc.dg/20021018-1.c: Disable if the sizeof (int) < 4.kazu2003-07-112-1/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69210 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.sayle2003-07-112-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69209 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2003-07-111-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69207 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,zack2003-07-104-157/+634
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16, one_utf16_to_utf8, conversion_loop, convert_utf8_utf16, convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8, convert_no_conversion, convert_using_iconv): New functions. (APPLY_CONVERSION): New macro. (struct conversion, conversion_tab): New data structure. (init_iconv_desc): Check conversion_tab for a custom conversion primitive before trying to use iconv. (convert_cset): Deleted. (cpp_init_iconv): Use UTF- terminology, not UCS-. (_cpp_destroy_iconv): Update to match. (_cpp_valid_ucn): We don't need iconv to implement UCNs. (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION. (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION. (_cpp_interpret_string_notranslate): New function, moved here from cpplib.c. * cpphash.h (convert_f, struct cset_converter): New types. (struct cpp_reader): narrow_cset_desc and wide_cset_desc are now struct cset_converter, not bare iconv_t. Update prototypes. * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c; all callers changed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69204 138bc75d-0d04-0410-961f-82ee72b054a4
* oopsneil2003-07-101-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69203 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in: Update.neil2003-07-103-6/+9
| | | | | | | | * tree1.c: Don't include c-common.h. (c_language): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69202 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-10 Toon Moene <toon@moene.indiv.nluug.nl>toon2003-07-102-7/+11
| | | | | | | * ffe.texi: Correctly use @var{srcdir}. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69201 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (options.h): Depend on Makefile. Add move-if-changeneil2003-07-102-7/+17
| | | | | | | | to opts.sh command line. * opts.sh: Write to temporary files with a move-if-change at the end. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69200 138bc75d-0d04-0410-961f-82ee72b054a4
* * combine.c (gen_binary): Handle the CLOBBER rtx anddenisc2003-07-102-0/+11
| | | | | | | don't build a binary operation with it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69199 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcse.c (load_kills_store, find_loads, store_killed_in_insn,rakdver2003-07-102-23/+52
| | | | | | | | store_killed_after, store_killed_before): Keep track of the correct dependency function to use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69198 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/9411mmitchel2003-07-104-0/+20
| | | | | | | | | | | * parser.c (cp_parser_postfix_expression): Check dependency of functions. PR c++/9411 * g++.dg/template/explicit2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69196 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-10 Steven Bosscher <steven@gcc.gnu.org>steven2003-07-102-12/+19
| | | | | | | | * toplev.c (do_compile): Don't try to open dump files before lang_dependent_init initializes dump_base_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69195 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):ghazi2003-07-104-36/+28
| | | | | | | | | Use ARRAY_SIZE. * config/frv/frv.c (frv_expand_builtin): Likewise. * config/sh/sh.c (sh_media_init_builtins): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69194 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/10032mmitchel2003-07-1010-125/+43
| | | | | | | | | | | | | | | | | | | | | | | * doc/invoke.texi (C++ Dialect Options): Change documentation of -fpermissive. PR c++/10032 * decl.c (cxx_init_decl_processing): With -pedantic, pedwarns are still errors. PR c++/10527 * error.c (decl_to_string): Do not print default argument expressions. * cp-tree.h (break_out_calls): Remove declaration. * tree.c (break_out_calls): Remove. * typeck.c (build_modify_expr): Avoid invalid sharing of trees. PR c++/10032 * g++.dg/warn/pedantic1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69191 138bc75d-0d04-0410-961f-82ee72b054a4
* * tm.texi (RETURN_ADDR_OFFSET): Document.amylaar2003-07-102-0/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69190 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++ 9483nathan2003-07-101-0/+5
| | | | | | | * g++.dg/other/field1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69189 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcov-io.h: Update documentation.nathan2003-07-107-118/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GCOV_UNSIGNED2STRING): New. (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH, GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH, GCOV_TAG_SUMMARY_LENGTH): Adjust. (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM, GCOV_TAG_COUNTER_NUM): New. (GCOV_BLOCK_SIZE): Number of words. (gcov_var): Adjust buffer type. * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ... (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word count, not byte count. (gcov_open): Adjust overread init. (gcov_allocate, gcov_write_unsigned, gcov_write_counter, gcov_write_string, gcov_write_tag, gcov_write_length, gcov_write_tag_length): Adjust. (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust. (gcov_sync, gcov_seek): Adjust. * gcov-dump.c (print_usage): Show gcc version only. (dump_file): Use GCOV_UNSIGNED2STRING. (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros. * gcov.c (print_version): Show gcc version only. (read_graph_file): Use GCOV_UNSIGNED2STRING. Use GCOV_TAG_*_NUM macros. (read_count_file): Use GCOV_UNSIGNED2STRING. Use GCOV_TAG_COUNTER_LENGTH. * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING. Use GCOV_TAG_COUNTER_NUM. * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING. (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69188 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/11449kazu2003-07-102-0/+13
| | | | | | | | | | | | | | * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit of HOST_WIDE_INT. (fold_single_bit_test): If sign_bit_p() fails, assume that the bit being tested is not a sign bit. PR c/11449 * gcc.c-torture/compile/20030707-1.c: New. * config/h8300/h8300.md (a peephole2): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69187 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/10849lerdsuwa2003-07-102-0/+18
| | | | | | | * g++.dg/template/access12.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69186 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/11449kazu2003-07-102-10/+35
| | | | | | | | | | | | | | * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit of HOST_WIDE_INT. (fold_single_bit_test): If sign_bit_p() fails, assume that the bit being tested is not a sign bit. PR c/11449 * gcc.c-torture/compile/20030707-1.c: New. * config/h8300/h8300.md (a peephole2): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69184 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-10 Steven Bosscher <steven@gcc.gnu.org>steven2003-07-1010-104/+74
| | | | | | | | | | | | | | | | | | * ggc.h, integrate.h, langhooks.h, real.h, toplev.h: Use `rtx' instead of `struct rtx_def *', `rtvec' instead of `struct rtvec_dev *' and `tree' instead of `union tree_node *' in function prototypes. * varray.h (const_equiv_data): Likewise for fields. (varray_data_tag): Likewise. * output.h: Likewise, and don't forward declare union tree_node. * emit_rtl.c (const_int_htab_hash): Cast to `rtx' instead of `struct rtxvec *'. * print-tree.c (print_node): Likewise. * reload1.c: Don't redeclare current_function_decl, tree.h is included in this file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69183 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcov-dump.c (dump_file): Fix missing address operator.schwab2003-07-102-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69182 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2003-07-105-9/+58
| | | | | | | | | | | | | | PR c++ 9483 * class.c (check_field_decls): Pass DECL_NAME to constructor_name_p. * decl2.c (constructor_name_p): Avoid repeated constructor_name calls. * decl.c (grokdeclarator): Refactor ctor/dtor detection. testsuite: PR c++ 9483 * g++.dg/other/field1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69180 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove C language front end dependencies.wilson2003-07-105-389/+670
| | | | | | | | | | | | | | | | | | | | | * tree-convert.c: New file. * treetree.c: Don't include c-tree.h. Include target.h. (struct lang_identifier, union lang_tree_node, struct lang_type, struct lang_function): New, minimal language-specific datastructs. (tree_lang_truthvalue_conversion, tree_mark_addressable, tree_lang_type_for_size, tree_lang_type_for_mode, tree_lang_unsigned_type, tree_lang_signed_type, tree_lang_signed_or_unsigned): New functions. (LANG_HOOKS_*): Don't use C front end langhooks. Use new functions. (pushlevel, poplevel, global_bindings_p, insert_block, set_block, pushdecl, getdecls, kept_level_p, tree_push_type_decl, tree_push_atomic_type_decl): New functions. (struct resword, struct reswords): Remove. * Make-lang.in: Update. Don't depend on C front end objects. * config-lang.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69178 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (a peephole2): New.kazu2003-07-102-0/+34
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69176 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-13 Alexandre Oliva <aoliva@redhat.com>aoliva2003-07-105-0/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker from ld-linux.so.2 to ld.so.1. 2001-11-18 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread. * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath nor -Wl,-rpath-link. (LIB_SPEC): Add -rpath-link if !static. 2001-08-22 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.c (mn10300_protect_label): New variable. * config/mn10300/linux.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Set it during their execution. (ASM_OUTPUT_LABELREF): Output `+' before symbol name if mn10300_protect_label is set. * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and -Wl,-rpath-link. (LIB_SPEC, STARTFILE_SPEC): Define. 2001-05-11 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define FLOAT_BIT_ORDER_MISMATCH. 2001-05-09 Alexandre Oliva <aoliva@redhat.com> * config.gcc (am33_2.0-*-linux*): Added. * config/mn10300/linux.h: New. * config/mn10300/t-linux: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69171 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c: Properly wrap prototypes.aj2003-07-102-28/+45
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69170 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-16 Alexandre Oliva <aoliva@redhat.com>aoliva2003-07-105-1/+498
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Moved from... * config/mn10300/mn10300.md (GOTaddr2picreg): ... here. * config/mn10300/mn10300.h: GTY-declare it. 2003-06-11 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix prototype. Use incoming RTL argument. 2002-12-12 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.md (int_label): Move C statements... (GOTaddr2picreg): ... here. 2002-08-15 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move... * config/mn10300/mn10300.c (mn10300_encode_section_info): ... here. New function. (TARGET_ENCODE_SECTION_INFO): Define to it. 2001-11-04 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in pattern name. (mn10300_loadPC): Define as insn splittable after reload. 2001-05-13 Alexandre Oliva <aoliva@redhat.com> * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them be defined in .rodata even in PIC, now that the assembler supports that. 2001-05-09 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the symbol take an underscore prefix. 2001-04-14 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p, legitimize_pic_address): Declare. * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark the PIC register as fixed. (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'. (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for PIC. (LEGITIMATE_PIC_OPERAND_P): Define. (PIC_OFFSET_TABLE_REGNUM): Define. (GOT_SYMBOL_NAME): Define. (SYMBOLIC_CONST_P): Define. (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local symbols. (MN10300_GLOBAL_P): Test it. (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs. (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC. * config/mn10300/mn10300.c (print_operand): Handle unspec. (expand_prologue): Set PIC register. (call_address_operand): Don't match SYMBOL_REFs in PIC. (legitimize_address): Call legitimize_pic_address. (legitimize_pic_address): New fn. (legitimate_pic_operand_p): New fn. * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants. (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT): New constants. (pop_pic_reg): New insn. (movsi): Adjust non-PIC addresses. (builtin_setjmp_receiver): Restore the PIC register. (casesi): New insn. (call): Adjust non-PIC addresses. (int_label, GOTaddr2picreg): New expands. (am33_loadPC): New insn. (mn10300_loadPC): New expand. (call_next_insn): New insn. (add_GOT_to_pic_reg): New expand. (symGOT2reg, symGOT2reg_i): New expands. (symGOTOFF2reg, symGOTOFF2reg_i): New expands. (sym2PIC, sym2PLT): New expands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69169 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mn10300/mn10300.h (PREDICATE_CODES): Define.aoliva2003-07-106-59/+975
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-01 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed to flag_unsafe_math_optimizations. 2001-04-14 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.c (expand_prologue): Mark FP-register-saving insns as frame-related. 2001-02-13 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.c (mn10300_get_live_callee_saved_regs): Don't search past LAST_EXTENDED_REGNUM. (mn10300_gen_multiple_store, store_multiple_operation): Likewise. * config/mn10300/mn10300.md: Remove excessive line breaks from `@' output patterns that were accounted as additional alternatives. * config/mn10300/mn10300.md, config/mn10300/mn10300.c: Re-introduce changes accidentally removed in Richard Sandiford's 2000-12-05's patch. * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Re-instate am33-2 lost in merge from net GCC. 2000-08-26 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added floating-point registers. 2000-08-07 Alexandre Oliva <aoliva@redhat.com> * config/mn10300/mn10300.md (movdf): Revert some am33-specific pessimizations that had gone in on 2000-05-08. 2000-06-28 Graham Stott <grahams@cygnus.co.uk> * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo. 2000-06-22 Graham Stott <grahams@cygnus.co.uk> * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for operand 0. * (movhi): Likewise. * (movsi): Likewise. * (movsf): Likewise. * (movdi): Likewise. * (movdf): Likewise. Wed May 24 13:16:09 2000 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.c (fp_regs_to_save): New function. (can_use_return_insn, initial_offset): Add fp_regs_to_save. (expand_prologue, expand_epilogue): Save and restore FP regs. 2000-05-20 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up. 2000-05-13 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3, subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Do not clobber cc0. 2000-05-12 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2): Discourage the two-argument, longer opcodes. (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument ones. * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New. (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define. * config/mn10300/mn10300.md (cmpsf): New pattern. (branch): Test mdep.fpCC and output fbCC. * config/mn10300/mn10300.c (print_operand): Output conditions. (notice_cc_update): Recognize fcmp and set mdep.fpCC. 2000-05-10 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3, mulsf3, divsf3): Use the `F' constraint for FP values. * config/mn10300/mn10300.c (const_1f_operand): New function. * config/mn10300/mn10300-protos.h (const_1f_operand): Declare. * config/mn10300/mn10300.md (sqrtsf2): New expand. (rsqrtsf2): New insn. 2000-05-09 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.md (movdf): Oops, I missed it in my previous check-in. 2000-05-08 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.md (abssf2, negdf2): On TARGET_AM33_2, expand to... (abssf2_am33_2, negdf2_am33_2): New insns. (addsf3, subsf3, mulsf3, divsf3): Likewise. (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise. * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf, movdi, movdf): Added FP regs. * invoke.texi (-mam33-2, -mno-am33-2): Document. 2000-04-29 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM): New macros. (REGNO_AM33_2_FP_P): Renamed to... (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*. (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise. 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP regs from GENERAL_REGS. 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro. * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS. * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS. 2000-04-23 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined as FP_REGS. 2000-04-21 Alexandre Oliva <aoliva@cygnus.com> * config/mn10300/mn10300.h (OK_FOR_Q): New macro. (EXTRA_CONSTRAINT): Added OK_FOR_Q. * config/mn10300/mn10300.c (secondary_reload_class): Adjust. * config/mn10300/mn10300.c (print_operand): Support `D' for doubles. * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust. (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added AM33/2.0 floating-point registers. (CONDITIONAL_REGISTER_USAGE): Adjust. (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS. (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust. (REG_CLASS_FROM_LETTER): Added `f' and `A'. (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust. * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2. (MULTILIB_DIRNAMES): Likewise. * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and `__AM33_2__' when `-mam33-2' is given. (TARGET_AM33_2): Define. (TARGET_SWITCHES): Adjust. * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2' when appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69167 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi: Add missing @.kraai2003-07-102-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69166 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.bwilson2003-07-102-0/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69165 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2003-07-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69163 138bc75d-0d04-0410-961f-82ee72b054a4
* * typeck.c (build_x_unary_op): Take note of the fact thatmmitchel2003-07-092-1/+5
| | | | | | | | PREINCREMENT_EXPR and POSTINCREMENT_EXPR are binary operations on trees. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69161 138bc75d-0d04-0410-961f-82ee72b054a4
* * parser.c (cp_parser_primary_expression): Preserve the form ofmmitchel2003-07-094-9/+38
| | | | | | | | | | | qualified expressions in templates, even if they are not dependent. * pt.c (convert_nontype_argument): Handle non-dependent SCOPE_REFs. (tsubst_qualified_id): Likewise. * search.c (accessible_p): Treat everything in the body of a git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69160 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-09 Aldy Hernandez <aldyh@redhat.com>aldyh2003-07-092-4/+7
| | | | | | | | PR/11144 * config/i386/i386.c (ix86_function_arg_boundary): Remove abort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69159 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/11043neroden2003-07-092-5/+9
| | | | | | | | * config/arc/t-arc: Replace bogus references to "x-crtinit.o", "x-crtfini.o" with "crtinit.o", "crtfini.o". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69156 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-09 Toon Moene <toon@moene.indiv.nluug.nl>toon2003-07-092-1/+7
| | | | | | | | | PR Fortran/11301 * com.c (ffecom_sym_transform_): finish_decl should have the same last argument as start_decl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69155 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/inclhack.def (limits_ifndefs): Add select test.neroden2003-07-093-8/+18
| | | | | | | * fixinc/fixincl.x: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69154 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/inclhack.def (math_exception): Improve bypass and comment.neroden2003-07-093-5/+11
| | | | | | | * fixinc/fixincl.x: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69151 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi (Configuration): Document the valgrind optionhp2003-07-092-4/+11
| | | | | | | to --enable-checking. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69146 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/bprob/bprob.exp (prof_ext): Update.nathan2003-07-097-8/+17
| | | | | | | | | | | * g77.dg/bprob/bprob.exp (prof_ext): Update. * gcc.misc-tests/bprob.exp (prof_ext): Update. * gcc.misc-tests/gcov.exp: Update * g++.dg/gcov/gcov.exp: Update * lib/gcov.exp: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69145 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.hubicka2003-07-092-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69144 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-lex.c (cb_ident): Cast cstr.text to const char *.ro2003-07-092-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69138 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcov-io.h: Update documentation.nathan2003-07-099-270/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX, GCOV_NOTE_MAGIC. (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update. (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic. (struct gcov_var): Change buffer's type. Add endian flag. (gcov_open): Remove mode in libgcov. (gcov_magic): Prototype. * gcov-io.c (from_file): New. (gcov_open): Clear endian flag. (gcov_magic): New. (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t pointers. (gcov_write_unsigned, gcov_write_counter, gcov_write_string, gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update. (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update. * gcov-iov.c (main): Correct cast. * coverage.c (read_counts_file): Use gcov_magic. Remove endianness conversion. (gcov_begin_output): Use GCOV_NOTE_MAGIC. (coverage_init): Use GCOV_NOTE_SUFFIX. * libgcov.c (gcov_version_mismatch): Remove endianness conversion. Rename to gcov_version, and return flag. (gcov_exit): Use gcov_version. (__gcov_init): Use gcov_version. * Makefile.in (coverageexts): Update. * gcov.c (print_version): Remove endianness conversion. (create_file_names): Use GCOV_NOTE_SUFFIX. (read_graph_file): Use gcov_magic. (read_count_file): Likewise. * gcov-dump.c (dump_file): Remove endianness conversion, use gcov_magic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69137 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enablenathan2003-07-094-7/+13
| | | | | | | | | coverage is on. * configure: Regenerated. * Makefile.in (ALL_CFLAGS): Correct its comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69136 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (make_range): Do not access operand 1 for ammitchel2003-07-0924-835/+934
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zero-operand operator. 2003-07-08 Mark Mitchell <mark@codesourcery.com> * cp-tree.def (NON_DEPENDENT_EXPR): New node. * cp-tree.h (build_call_from_tree): Remove. (build_member_call): Likewise. (dependent_template_arg_p): Remove. (any_dependent_template_arguments_p): New function. (dependent_template_id_p): Likewise. (any_type_dependent_arguments_p): Likewise. (build_non_dependent_expr): Likewise. (build_non_dependent_args): Likewise. (build_x_compound_expr): Adjust prototype. * call.c (build_new_method_call): Handle non-dependent expressions correctly. * decl2.c (grok_array_decl): Likewise. (build_offset_ref_call_from_tree): Likewise. (build_call_from_tree): Remove. * error.c (dump_decl): Handle NON_DEPENDENT_EXPR. (dump_expr): Likewise. * init.c (build_member_call): Remove. * mangle.c (write_expression): Update handling for template-ids. * parser.c (cp_parser_primary_expression): Use any_dependent_template_arguments_p. Update constant-expression handling. (cp_parser_postfix_expression): Use any_type_dependent_arguments_p. Simplify call processing. (cp_parser_unary_expression): Simplify. (cp_parser_expression): Adjust for changes to build_x_compound_expr. (cp_parser_template_argument): Implement standard-conforming parsing of non-type template arguments. (cp_parser_direct_declarator): Use cp_parser_fold_non_dependent_expr. (cp_parser_fold_non_dependent_expr): New function. (cp_parser_next_token_ends_template_argument_p): Likewise. * pt.c (convert_template_argument): Do not call maybe_fold_nontype_arg. (tsubst_baselink): Likewise. (tsubst_copy_and_build): Share common code. Make sizeof/alignof processing work correctly for non-dependent expressions. Adjust handling of COMPOUND_EXPR. Simplify call processing. (value_dependent_expression_p): Deal with functional casts and sizeof/alignof correctly. (type_dependent_expression_p): Handle overloaded functions. (any_type_dependent_arguments_p): New function. (any_dependent_template_arguments_p): Likewise. (dependent_template_p): Treat SCOPE_REFs as dependent. (dependent_template_id_p): Simplify. (build_non_dependent_expr): New function. (build_non_dependent_args): Likewise. * semantics.c (finish_stmt_expr): Don't make dependent statement-expresions have void type. (finish_call_expr): Handle non-dependent expressions correctly. * tree.c (lvalue_p_1): Treat NON_DEPENDENT_EXPRs as lvalues. * typeck.c (cxx_sizeof_or_alignof_type): Give the expression type size_t, even in templates. (expr_sizeof): Likewise. (finish_class_member_access_expr): Handle non-dependent expressions correctly. (build_x_indirect_ref): Likewise. (build_x_binary_op): Likewise. (build_x_unary_op): Likewise. (build_x_conditional_expr): Likewise. (build_x_compound_expr): Likewise. * typeck2.c (build_x_arrow): Likewise. 2003-07-08 Mark Mitchell <mark@codesourcery.com> * g++.dg/abi/mangle17.C: Make sure template expressions are dependent. * g++.dg/abi/mangle4.C: Mark erroneous casts. * g++.dg/debug/debug7.C: Mark erronous new-declarator. * g++.dg/opt/stack1.C: Remove erroneous code. * g++.dg/parse/template7.C: New test. * g++.dg/template/dependent-expr1.C: Mark erroneous code. * g++.old-deja/g++.pt/crash4.C: Likewise. 2003-07-09 Mark Mitchell <mark@codesourcery.com> * gcj/array.h (JvPrimClass): Don't parenthesize the output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69130 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/const-elim-1.c (dg-final): Change regexp to match labelsdanglin2003-07-092-1/+6
| | | | | | | with zero or one occurence of `$' after the initial `L'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69127 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (warn_dummy, W_options): Die.neil2003-07-093-64/+29
| | | | | | | | (display_help): Don't print W_options. * common.opt: Add W_options help from toplev.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69125 138bc75d-0d04-0410-961f-82ee72b054a4
* * opts.c (wrap_help): Only pass int arguments as arguments toaj2003-07-092-3/+8
| | | | | | | printf's '*' modifier. Change argument of function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69124 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Fix misspelling of "@item".kraai2003-07-092-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69123 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud