aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-05-03cpplib.h: Add accessor macros for token lists.Zack Weinberg5-71/+78
* cpplib.h: Add accessor macros for token lists. * cpplib.c, cpphash.c, cpplex.c: Use them. From-SVN: r33630
2000-05-03expr.c (expand_expr, [...]): Don't check for checking memory usage if not in ↵Richard Kenner3-2/+10
a function. * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking memory usage if not in a function. * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only return address if static. From-SVN: r33629
2000-05-03Add missing blankRichard Kenner1-1/+1
From-SVN: r33628
2000-05-03ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest whether address may ↵Jan Hubicka3-2/+8
trap. * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest whether address may trap. From-SVN: r33627
2000-05-03Daily bump.Jeff Law2-2/+2
From-SVN: r33624
2000-05-03bb-reorder (chain_reorder_blocks): Changed code to test for EDGE_FALLTHRU ↵Jason Eckhardt2-14/+42
rather than making erroneous assumption... Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com> * bb-reorder (chain_reorder_blocks): Changed code to test for EDGE_FALLTHRU rather than making erroneous assumption that the first outgoing edge is the fall-through edge. From-SVN: r33623
2000-05-02spelling tweakJason Merrill1-1/+1
From-SVN: r33622
2000-05-03change MIPS varargs ABI in config/mips/mips.cDonald Lindsay2-138/+332
From-SVN: r33621
2000-05-03bb-reorder.c (struct reorder_block_def): Remove members end, block_begin, ↵Jason Eckhardt2-85/+10
and block_end. Tue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com> * bb-reorder.c (struct reorder_block_def): Remove members end, block_begin, and block_end. (REORDER_BLOCK_OLD_END): Delete. (REORDER_BLOCK_BEGIN): Delete. (REORDER_BLOCK_END): Delete. (chain_reorder_blocks): Remove dead code. From-SVN: r33620
2000-05-02bb-reorder.c (remove_scope_notes): Check for both types of scope notes as ↵Jason Eckhardt2-3/+9
the end of a basic block before deleting. Tue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com> * bb-reorder.c (remove_scope_notes): Check for both types of scope notes as the end of a basic block before deleting. From-SVN: r33619
2000-05-02oopsJason Merrill1-1/+1
From-SVN: r33618
2000-05-02final.c (final_start_function): Fix spelling of "necessary".Mumit Khan2-1/+5
2000-05-02 Mumit Khan <khan@xraylith.wisc.edu> * final.c (final_start_function): Fix spelling of "necessary". From-SVN: r33617
2000-05-02toplev.c (debug_ignore_block): Return int.Jason Merrill6-35/+49
* toplev.c (debug_ignore_block): Return int. * dwarf2out.c (dwarf2out_ignore_block): Likewise. * toplev.h, dwarf2out.h: Adjust. * emit-rtl.c (remove_unnecessary_notes): Test return value. * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary". * toplev.c, final.c, rtl.h: Adjust. From-SVN: r33616
2000-05-02class.c (add_method_1): Set both DECL_EXTERNAL and METHOD_NATIVE on native ↵Tom Tromey12-244/+447
function. * class.c (add_method_1): Set both DECL_EXTERNAL and METHOD_NATIVE on native function. * jcf-parse.c (parse_class_file): Call build_jni_stub for native JNI methods. * expr.c (build_jni_stub): New function. * lang-specs.h: -fjni and -femit-class-file are incompatible. * parse.c: Rebuilt. * parse.y (java_complete_expand_methods): Expand a native method and call build_jni_stub if -fjni given. * lang-options.h: Document -fjni. * lang.c (flag_jni): New global. (lang_f_options): Added `jni' entry. * java-tree.h (soft_lookupjnimethod_node, soft_getjnienvnewframe_node, soft_jnipopsystemframe_node): Declare. (flag_jni): Declare. (build_jni_stub): Declare. (struct lang_decl): Added `native' flag. (METHOD_NATIVE): Redefined to use `native' field of lang specific structure. * decl.c (soft_lookupjnimethod_node, soft_getjnienvnewframe_node, soft_jnipopsystemframe_node): New globals. (init_decl_processing): Set them. _Jv_InitClass only takes one argument. * java-tree.def: Put into `C' mode. From-SVN: r33615
2000-05-02aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.Zack Weinberg5-153/+289
* aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro. * configure.in: Look for makeinfo in the unified tree, then for a system makeinfo which is sufficiently new. * Makefile.in: If configure says makeinfo is too old, don't build or install Info documentation. From-SVN: r33614
2000-05-02cpphash.c (collect_params): Fix off-by-one error.Zack Weinberg2-2/+8
* cpphash.c (collect_params): Fix off-by-one error. (dump_hash_helper): Dump all four macro nodetypes. From-SVN: r33613
2000-05-02cpphash.c (trad_stringify): Adjust p after stringification as well.Jakub Jelinek4-0/+11
* cpphash.c (trad_stringify): Adjust p after stringification as well. * gcc.dg/cpp-tradstringify.c: New test. From-SVN: r33612
2000-05-02cpplib.h (CPP_POP, [...]): Delete.Zack Weinberg9-142/+115
* cpplib.h (CPP_POP, parse_cleanup_t): Delete. (cpp_buffer): Remove cleanup, seen_eof, manual_pop members. * cppfiles.c (file_cleanup): Delete. * cpphash.c (macro_cleanup): Delete. (collect_objlike_expansion, collect_funlike_expansion, macarg, scan_arguments): Remove CPP_POP case. * cpplex.c (null_cleanup): Delete. (cpp_pop_buffer): Do the work that was done in the cleanups here. Call _cpp_unwind_if_stack from here. (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput, cpp_scan_buffer): Run until we see CPP_EOF and the top of stack is the buffer _below_ the one we stacked. (cpp_get_token): Always pop an exhausted buffer. Return CPP_EOF unless it's a macro buffer. Don't call _cpp_handle_eof. * cpplib.c (skip_if_group): Don't call cpp_get_token to increment the line number. (_cpp_handle_eof): Rename to _cpp_unwind_if_stack. * fix-header.c (read_scan_file) [parsing getchar()]: Run until we see CPP_EOF and the top of stack is the buffer _below_ the one we stacked. * scan-decls.c: Likewise. From-SVN: r33611
2000-05-0220000502-1.c: New test.Jakub Jelinek3-0/+36
* gcc.c-torture/compile/20000502-1.c: New test. * g++.old-deja/g++.other/align.C: New test. From-SVN: r33610
2000-05-02ia64.c (ia64_encode_section_info): Handle the case where this function is ↵Andrew Haley3-1/+35
called for the second time on a decl... 2000-05-02 Andrew Haley <aph@cygnus.com> * config/ia64/ia64.c (ia64_encode_section_info): Handle the case where this function is called for the second time on a decl that has had its section info changed in such a way as to move it out of small data/bss. * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition. From-SVN: r33609
2000-05-02Daily bump.Jeff Law2-2/+2
From-SVN: r33608
2000-05-01ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before the ↵Richard Henderson2-2/+8
sequence we're moving... * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before the sequence we're moving, not to merge_bb->head. From-SVN: r33605
2000-05-02* tree.c (walk_tree): Set lineno.Jason Merrill2-2/+11
From-SVN: r33604
2000-05-01re GNATS gcj/195: (gcj fail on code to implement an inner interface.)Alexandre Petit-Bianco2-2/+4
(This trying to counter the effect of the PR 195 check in -- this should be right now.) From-SVN: r33602
2000-05-02exception.cc: Update license notice.Mark Mitchell13-49/+209
* exception.cc: Update license notice. * new.cc: Likewise. * new1.cc: Likewise. * new2.cc: Likewise. * tinfo.cc: Likewise. * tinfo2.cc: Likewise. * vec.cc: Likewise. * inc/cxxabi.h: Likewise. * inc/exception: Likewise. * inc/new: Likewise. * inc/new.h: Likewise. * inc/typeinfo: Likewise. From-SVN: r33601
2000-05-01configure.in (alpha*-*-linux-gnulibc1*): Remove reference to alpha/t-linux.Richard Henderson3-4/+9
* configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove reference to alpha/t-linux. (alpha*-*-linux-gnu*): Likewise. * configure: Rebuild. From-SVN: r33598
2000-05-01flow.c (calculate_global_regs_live): Skip for_each_successor_phi if not in ↵Richard Henderson2-3/+5
SSA form. * flow.c (calculate_global_regs_live): Skip for_each_successor_phi if not in SSA form. From-SVN: r33597
2000-05-01* calls.c (expand_call): Don't emit reg notes for a sibcall.Richard Henderson2-1/+6
From-SVN: r33596
2000-05-01tree.c (build_target_expr_with_type): If we already have a TARGET_EXPR, just ↵Jason Merrill4-12/+38
return it. * tree.c (build_target_expr_with_type): If we already have a TARGET_EXPR, just return it. * optimize.c (initialize_inlined_parameters): Don't generate an EXPR_STMT if we can just use DECL_INITIAL. * decl.c (emit_local_var): Only make the initialization a full-expression if stmts_are_full_exprs_p. From-SVN: r33595
2000-05-01(The patch contained impurities -- this should fix the situation.)Alexandre Petit-Bianco2-181/+239
From-SVN: r33591
2000-05-01* ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.Richard Henderson2-0/+6
From-SVN: r33590
2000-05-01integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and TREE_THIS_VOLATILE.Jason Merrill2-0/+7
* integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and TREE_THIS_VOLATILE. From-SVN: r33589
2000-05-01re GNATS gcj/195: (gcj fail on code to implement an inner interface.)Alexandre Petit-Bianco2-5/+33
2000-04-25 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (register_incomplete_type): Handle JDEP_ANONYMOUS. (This is a fix for the Java PR #195: http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00009.html) From-SVN: r33588
2000-05-01ifcvt.c (noce_emit_cmove): Conditionally compile call to emit_conditional_move.Richard Henderson2-0/+13
* ifcvt.c (noce_emit_cmove): Conditionally compile call to emit_conditional_move. From-SVN: r33585
2000-05-01Change dynamic linker name to conform to current glibc. From Jakub Jelinek.Jakub Jelinek2-1/+6
* config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1 as the dynamic linker. From-SVN: r33584
2000-05-01cppfiles.c (open_include_file): Open file in blocking mode.Zack Weinberg2-24/+24
* cppfiles.c (open_include_file): Open file in blocking mode. (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore. Only exclude block devices and directories. From-SVN: r33583
2000-05-01Oops, forgot to commit this with the last changeZack Weinberg1-0/+23
From-SVN: r33582
2000-05-01cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now static.Zack Weinberg8-138/+85
* cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now static. Allocate the hashnode and its string in the same block of memory. (del_HASHNODE): Don't free h->name. (_cpp_lookup): If there is no entry for this string, create one, of type T_VOID. (_cpp_lookup_slot): Delete. * cpphash.h: Update prototypes. * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID, not hp == NULL. * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert, do_unassert, cpp_defined): Use _cpp_lookup. Don't create a node here, just fill in the value field properly. "Delete" entries by setting the value field to T_VOID. Check for hp->type == T_VOID, not hp == NULL. * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H). * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include hashtab.h. From-SVN: r33581
2000-05-01Update copyrights.Jeff Law12-12/+12
From-SVN: r33579
2000-05-01Update copyright.Jeff Law1-1/+1
From-SVN: r33578
2000-05-01mn10300.c (print_operand_address): Do not add zero to SP.Alexandre Oliva2-6/+4
* config/mn10300/mn10300.c (print_operand_address): Do not add zero to SP. From-SVN: r33577
2000-05-01Update copyrights.Jeff Law16-16/+16
From-SVN: r33576
2000-05-01Update copyrightJeff Law1-1/+1
From-SVN: r33575
2000-05-01Update copyright.Jeff Law5-5/+5
From-SVN: r33574
2000-05-01mn10300.c (expand_epilogue): If SP is to be adjusted by less than 256 bytes...Alexandre Oliva2-25/+12
* config/mn10300/mn10300.c (expand_epilogue): If SP is to be adjusted by less than 256 bytes, use ret regardless of having any callee-saved register to restore. From-SVN: r33573
2000-05-01* tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.Laurynas Biveinis2-1/+5
From-SVN: r33572
2000-05-01cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New macro.Mark Mitchell9-38/+75
* cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New macro. * call.c (standard_conversion): Use it. (direct_reference_binding): Likewise. (build_over_call): Likewise. (is_properly_derived_from): Likewise. (compare_ics): Likewise. * class.c (resolves_to_fixed_type_p): Likewise. * optimize.c (declare_return_variable): Likewise. * pt.c (is_specialization_of): Likewise. (unify): Likewise. * typeck.c (comp_target_parms): Likeiwse. (build_static_cast): Likewise. (build_reinterpret_cast): Likewise. (build_const_cast): Likewise. (comp_ptr_ttypes_real): Likewise. (comp_ptr_ttypes_const): Likewise. * typeck2.c (process_init_constructor): Likewise. From-SVN: r33571
2000-05-01djgpp.h (INT_ASM_OP): Define.Mark Elbrecht2-1/+79
* config/i386/djgpp.h (INT_ASM_OP): Define. (CPP_PREDEFINES): Rename MSDOS to __MSDOS__. (ASM_WEAKEN_LABEL): Define. (MASK_BNU210): Define. (SUBTARGET_SWITCHES): Define. (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define. (MAKE_DECL_ONE_ONLY): Define. (UNIQUE_SECTION_P, UNIQUE_SECTION): Define. From-SVN: r33570
2000-05-01* i386/cygwin.h (INT_ASM_OP): Define.Mumit Khan2-0/+8
From-SVN: r33569
2000-05-01avr.c (address_cost): renamed to avr_address_cost.Denis Chertykov3-2/+7
* config/avr/avr.c (address_cost): renamed to avr_address_cost. * config/avr/avr.h (ADDRESS_COST): use avr_address_cost. From-SVN: r33568