aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
1999-08-09javaop.h (WORD_TO_FLOAT): only inline if building with gcc.Tom Tromey2-3/+18
* javaop.h (WORD_TO_FLOAT): only inline if building with gcc. (WORDS_TO_LONG): Likewise. (WORDS_TO_DOUBLE): Likewise. From-SVN: r28630
1999-08-09Small incremental fixes for last checkinBernd Schmidt3-1/+6
From-SVN: r28627
1999-08-09Include function.h in most files.Bernd Schmidt104-1531/+1120
Include function.h in most files. Remove most of the global variables duplicated in function.h. Add accessor macros for them which access current_function. Delete INLINE_HEADER rtx and related code, replace with code using struct function to store inlining related data. From-SVN: r28626
1999-08-09semantics.c (begin_function_try_block, [...]): New fns.Jason Merrill9-131/+238
* semantics.c (begin_function_try_block, finish_function_try_block, finish_function_handler_sequence): New fns. * parse.y (function_try_block): Use them. * pt.c (instantiate_decl): Likewise. * cp-tree.h: Declare in_function_try_handler. * decl.c: Define it. (start_function): Clear it. (struct cp_function, push_cp_function_context): Save it. (pop_cp_function_context): Restore it. * parse.y (function_try_block): Set and clear it. * except.c (expand_end_catch_block): Rethrow if we reach the end of a function-try-block handler in a ctor or dtor. * typeck.c (c_expand_return): Complain about returning from a function-try-block handler of a ctor. * parse.y (function_try_block): Call end_protect_partials before expand_start_all_catch. From-SVN: r28624
1999-08-09Test all builds, not just nativeNick Clifton3-5/+13
From-SVN: r28623
1999-08-09decl.c (struct binding_level): Add eh_region field.Jason Merrill3-5/+30
* decl.c (struct binding_level): Add eh_region field. (push_binding_level): Set it. (define_label): Complain about jumping into an EH block. From-SVN: r28622
1999-08-09print-tree.c (print_node): Print base for OFFSET_TYPEs.Jason Merrill4-20/+27
* print-tree.c (print_node): Print base for OFFSET_TYPEs. * except.c (expand_eh_region_start_for_decl): Always start a new block. * stmt.c (is_eh_region): Make sure current_function is present, too. From-SVN: r28621
1999-08-09Daily bump.Jeff Law2-2/+2
From-SVN: r28619
1999-08-09pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when for 64bit PA ↵Jeffrey A Law2-0/+5
targets. * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when for 64bit PA targets. From-SVN: r28618
1999-08-09pa.h (SELECT_SECTION): Define.Jeffrey A Law3-20/+25
Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com) * pa.h (SELECT_SECTION): Define. * som.h (SELECT_SECTION): Delete. From-SVN: r28617
1999-08-09More mail address and web address updates.Jeff Law9-12/+12
From-SVN: r28616
1999-08-08ptree.c (print_lang_type): Print the real type of a PMF.Jason Merrill4-7/+29
* ptree.c (print_lang_type): Print the real type of a PMF. Print what exceptions a fn type throws. * typeck.c (common_type): Use same_type_p. And revert: * decl.c (bad_specifiers): It's OK to have an EH spec on a function pointer. From-SVN: r28609
1999-08-08alias.c (init_alias_analysis): Wrap call to `prologue_epilogue_contains' ↵Kaveh R. Ghazi2-0/+7
within HAVE_prologue||HAVE_epilogue. * alias.c (init_alias_analysis): Wrap call to `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue. From-SVN: r28599
1999-08-08fix thinko in last changeJason Merrill1-0/+1
From-SVN: r28598
1999-08-08Revert last change until I figure out what's wrong with it.Richard Henderson1-64/+72
From-SVN: r28592
1999-08-08Daily bump.Jeff Law2-2/+2
From-SVN: r28591
1999-08-07IRIX 5.2's <sys/asm.h> contains an asm comment with an apostropheBruce Korb4-144/+225
From-SVN: r28589
1999-08-07class.c (count_fields, [...]): Add static prototype.Kaveh R. Ghazi12-49/+96
* class.c (count_fields, add_fields_to_vec): Add static prototype. * cp-tree.h (opname_tab, assignop_tab, operator_name_string, get_id_2, composite_pointer_type, dump_node_to_file): Constify a char*. * decl.c (named_label_list, cp_finish_decl, grokdeclarator): Constify a char*. * decl2.c (finish_static_data_member_decl, grokfield): Constify a char*. * dump.c (queue_and_dump_index, dump_int, dump_string, dump_string_field, dequeue_and_dump, dump_node_to_file): Constify a char*. (dump_stmt): Add static prototype. * errfn.c (cp_thing): Constify a char*. * error.c (dump_unary_op, dump_binary_op, aggr_variety, dump_aggr_type, dump_global_iord, dump_decl, dump_function_name, dump_expr): Constify a char*. * lex.c (extend_token_buffer_to, pragma_getc, pragma_ungetc, read_line_number): Add static prototype. (opname_tab, assignop_tab, operator_name_string): Constify a char*. (real_yylex): Move label `letter' into the scope where it is used. * method.c (build_mangled_template_parm_index, build_overload_int, build_decl_overload_real, get_id_2): Constify a char*. * search.c (check_final_overrider): Make static. * typeck.c (composite_pointer_type): Constify a char*. From-SVN: r28588
1999-08-07revertJason Merrill1-1/+0
From-SVN: r28587
1999-08-07function.c (init_function_start): Clear prologue & epilogue.Richard Henderson4-7/+28
* function.c (init_function_start): Clear prologue & epilogue. (prologue_epilogue_contains): New function. * alias.c (init_alias_analysis): Use it. * rtl.h (prologue_epilogue_contains): Declare it. From-SVN: r28585
1999-08-07jump.c (onlyjump_p): New function.Richard Henderson4-10/+37
* jump.c (onlyjump_p): New function. * rtl.h: Declare it. * flow.c (delete_unreachable_blocks): Use onlyjump_p instead of condjump_p in calling tidy_fallthru_edge and merge_blocks. From-SVN: r28584
1999-08-07global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET to invert loops.Richard Henderson2-72/+69
* global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET to invert loops. Simplify block scanning. From-SVN: r28583
1999-08-07gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.Bernd Schmidt2-2/+8
* gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs. (cprop_insn): Treat SYMBOL_REFs like CONST_INTs. From-SVN: r28582
1999-08-07liteelf.h: New file to support sparclite-elf targetJonathan Larmour7-94/+337
* config/sparc/liteelf.h: New file to support sparclite-elf target * config/sparc/t-sp86x: New file to support sparc86x targets * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target * configure.in: Support above target triplets * configure: Regenerated From-SVN: r28581
1999-08-07Forgot to commit earlier.Jeff Law1-1/+1
From-SVN: r28580
1999-08-07Daily bump.Jeff Law2-2/+2
From-SVN: r28579
1999-08-07server.c (server_setup): Do not prefix function used as parameter with `&'.Philippe De Muyter2-1/+6
* fixinc/server.c (server_setup): Do not prefix function used as parameter with `&'. From-SVN: r28578
1999-08-07Makefile.in (TAROUTOPTS): Kill.Jeffrey A Law6-16/+7
* Makefile.in (TAROUTOPTS): Kill. (install-headers-tar): Use "xpf" for tar headerfile extraction * i370/x-oe (TAROUTOPTS): Delete. * m68k/x-apollo68 (TAROUTOPTS): Delete. * m68k/x-hp320 (TAROUTOPTS): Delete. * m68k/x-hp320g (TAROUTOPTS): Delete. From-SVN: r28577
1999-08-06alpha.md (movhi and movqi patterns): Correct predicate for !BWX.Richard Henderson2-20/+21
* alpha.md (movhi and movqi patterns): Correct predicate for !BWX. Remove fp reg alternatives. From-SVN: r28576
1999-08-07* gcc.texi: Update bug reporting text.Jeffrey A Law2-1/+8
From-SVN: r28574
1999-08-061999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>Herman A.J. ten Brugge2-25/+32
* reg-stack.c (change_stack) Fixed problem with negative array index. From-SVN: r28570
1999-08-06* extend.texi, install.texi: Fix spelling mistakes.Jeffrey A Law3-2/+4
From-SVN: r28567
1999-08-06Makefile.in (PREMADE_ATTRTAB_MD, [...]): Delete.Jeffrey A Law11-50/+14
* Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete. (s-attrtab); No longer try to use pre-made insn-attrtab file. * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and PREMADE_ATTRTAB_MD. * mips/t-ecoff: Likewise. * mips/t-elf: Likewise. * mips/t-mips: Likewise. * mips/t-osfrose: Likewise. * mips/t-r3900: Likewise. * mips/t-svr3: Likewise. * mips/t-svr4: Likewise. * mips/t-ultrix: Likewise. From-SVN: r28566
1999-08-06gcc.texi: Document recommend means to provide software floating point ↵Jeffrey A Law2-0/+28
libraries in libgcc.a * gcc.texi: Document recommend means to provide software floating point libraries in libgcc.a From-SVN: r28565
1999-08-06decl.c (bad_specifiers): It's OK to have an EH spec on a function pointer.Jason Merrill4-5/+12
* decl.c (bad_specifiers): It's OK to have an EH spec on a function pointer. * pt.c (maybe_get_template_decl_from_type_decl): Make sure that we're looking at a class. From-SVN: r28562
1999-08-06* c-lex.c (yylex): We can have a number with no digits.Jason Merrill2-1/+6
From-SVN: r28561
1999-08-06decl.c (lookup_name_real): Set the complain flag if we're looking for a ↵Jason Merrill8-7/+46
namespace member. * decl.c (lookup_name_real): Set the complain flag if we're looking for a namespace member. * lex.c (real_yylex): We can have a number with no digits. * cvt.c (cp_convert_to_pointer): Don't force pmf conversions. * search.c (binfo_from_vbase): New fn. * cp-tree.h: Declare it. * cvt.c (cp_convert_to_pointer): Use it to diagnose conversion from pointer to member of virtual base. * typeck.c (get_delta_difference): Likewise. From-SVN: r28560
1999-08-06newJason Merrill4-0/+49
From-SVN: r28559
1999-08-06jump.c (delete_prior_computation): New function, broken out of ↵John Wehle2-58/+133
delete_computation. * jump.c (delete_prior_computation): New function, broken out of delete_computation. Check for side effects with side_effects_p instead of FIND_REG_INC_NOTE. Handle multi-word hard registers. (delete_computation): Use it. Check for side effects with side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a missing REG_DEAD note for a register which is both set and used by an insn. From-SVN: r28558
1999-08-06dwarf2.C, dwarf3.C: Added XFAIL for Solaris/x86.Alexandre Oliva4-5/+11
* dwarf2.C, dwarf3.C: Added XFAIL for Solaris/x86. Removed -gdwarf. * dwarf1.C: Removed -gdwarf. From-SVN: r28557
1999-08-06pt.c (tsubst): Use build_index_type to build in-template array index type.Alexandre Oliva3-9/+11
* pt.c (tsubst): Use build_index_type to build in-template array index type. Fixes g++.oliva/dwarf1.C. * decl.c (grokdeclarator): Likewise, just for consistency, as it doesn't seem to trigger the bug without it. From-SVN: r28556
1999-08-06* typeck2.c (add_exception_specifier): Use complete_type.Jason Merrill2-1/+5
From-SVN: r28552
1999-08-06tree.c (cp_build_qualified_type_real): Handle pointer-to-member-function ↵Mark Mitchell1-1/+1
types correctly. * tree.c (cp_build_qualified_type_real): Handle pointer-to-member-function types correctly. From-SVN: r28551
1999-08-06error.c (dump_expr): Handle EXACT_DIV_EXPR.Mark Mitchell6-50/+99
* error.c (dump_expr): Handle EXACT_DIV_EXPR. (dump_binary_op): Bulletproof. * lex.c (init_parse): Set opname_tab[EXACT_DIV_EXPR]. * tree.c (search_tree): Don't enumerate all the nodes of classes `1', `2', and `<'; handle them generically. Don't be sorry about "unrecognized tree codes"; just abort. (no_linkage_check): Don't do linkage checks for templates. * tree.c (cp_build_qualified_type_real): Handle pointer-to-member-function types correctly. From-SVN: r28550
1999-08-06elf.h (TEXT_SPACE_P, [...]): Delete.Jeffrey A Law5-105/+158
* elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete. (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise. (ASM_FILE_START): Import _mcount with the right type. (ASM_DECLARE_FUNCTION_NAME): Define. (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define. * pa.c (output_function_prologue): Always emit the function's label here. * pa.h (TEXT_SPACE_P): Define. (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise. (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise. * som.h (TEXT_SPACE_P): Delete. (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise. (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise. From-SVN: r28549
1999-08-06Daily bump.Jeff Law2-2/+2
From-SVN: r28547
1999-08-05Allow PARALLEL return value for complex type represented as a CONCAT.Jim Wilson2-0/+15
* expr.c (emit_group_load): Allow src to be a CONCAT. From-SVN: r28546
1999-08-05decl.c (pushdecl): Only give an error for shadowing a parm from *this* function.Jason Merrill2-2/+9
* decl.c (pushdecl): Only give an error for shadowing a parm from *this* function. From-SVN: r28545
1999-08-05* g++.old-deja/g++.other/local3.C: Removed XFAIL.Alexandre Oliva2-1/+5
From-SVN: r28543
1999-08-05new1.C, [...]: Removed XFAIL.Alexandre Oliva4-5/+10
* new1.C, template8.C: Removed XFAIL. * template3.C: Re-introduced XFAIL. :-( From-SVN: r28542