aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-05-05flow.c (init_propagate_block_info): Fix merge error in ↵Richard Henderson2-3/+8
HAVE_conditional_execution code. * flow.c (init_propagate_block_info): Fix merge error in HAVE_conditional_execution code. From-SVN: r33705
2000-05-05noreturn-2.c: New test.Andreas Jaeger2-0/+16
2000-05-04 Andreas Jaeger <aj@suse.de> * gcc.dg/noreturn-2.c: New test. From-SVN: r33704
2000-05-05Daily bump.Jeff Law2-2/+2
From-SVN: r33703
2000-05-05boehm.c (mark_reference_fields): Don't mark RawData fields.Tom Tromey4-9/+32
* boehm.c (mark_reference_fields): Don't mark RawData fields. Keep track of when we've seen a reference field after a non-reference field. (get_boehm_type_descriptor): Handle case where we see non-reference fields but no trailing reference field. * decl.c (rawdata_ptr_type_node): Define. (init_decl_processing): Initialize rawdata_ptr_type_node. * java-tree.h (rawdata_ptr_type_node): Declare. From-SVN: r33701
2000-05-05avr.c (out_shift_with_cnt): Genetare a more optimal shift cycle for unknown ↵Denis Chertykov2-48/+43
shift count. * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal shift cycle for unknown shift count. Also generates dec + brpl. (ashlqi3_out): Don't generate dec + brpl which now generates by `out_shift_with_cnt'. (ashlhi3_out): Likewise. (ashlsi3_out): Likewise. (ashrqi3_out): Likewise. (ashrhi3_out): Likewise. (ashrsi3_out): Likewise. (lshrqi3_out): Likewise. (lshrhi3_out): Likewise. (lshrsi3_out): Likewise. From-SVN: r33700
2000-05-05cp-tree.h (DELTA_FROM_VTABLE_ENTRY): Remove.Mark Mitchell5-37/+61
* cp-tree.h (DELTA_FROM_VTABLE_ENTRY): Remove. (SET_FNADDR_FROM_VTABLE_ENTRY): Likewise. (lang_decl_flags): Add vcall_offset. (THUNK_VCALL_OFFSET): Use it. * decl.c (lang_mark_tree): Don't mark DECL_ACCESS for a thunk. * method.c (make_thunk): Create the lang_decl here, not in emit_thunk. (emit_thunk): Make generic thunks into ordinary functions once they have been fed to expand_body. * semantics.c (expand_body): Set current_function_is_thunk here. From-SVN: r33699
2000-05-05*** empty log message ***Neil Booth2-0/+102
From-SVN: r33697
2000-05-04Move old ChangeLog out of the way.Richard Henderson1-0/+0
From-SVN: r33696
2000-05-04* gcc.c-torture/execute/20000503-1.c: Fix typo.Richard Henderson2-1/+5
From-SVN: r33695
2000-05-04Merge all post c-torture-1.45 entries to the main testsuite ChangeLog.Richard Henderson2-409/+419
From-SVN: r33694
2000-05-04gcc.c (free_split_directories): Correct typo in explanation of ↵Mark Elbrecht2-1/+6
make_relative_prefix. * gcc.c (free_split_directories): Correct typo in explanation of make_relative_prefix. From-SVN: r33693
2000-05-05rs6000.h (PREDICATE_CODES): Add floating-point comparison codes to ↵Geoff Keating2-1/+9
branch_comparison_operator. * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point comparison codes to branch_comparison_operator. From-SVN: r33692
2000-05-0420000504-1.c: New test.Richard Henderson2-0/+20
* gcc.c-torture/compile/20000504-1.c: New test. Derived from OpenSSL by Jason R Thorpe. From-SVN: r33691
2000-05-04* ifcvt.c (noce_process_if_block): Always reset X in the A == B case.Richard Henderson2-1/+5
From-SVN: r33690
2000-05-04ifcvt.c (noce_process_if_block): Fail if A or B modified between condition ↵Richard Henderson1-5/+11
and jump. * ifcvt.c (noce_process_if_block): Fail if A or B modified between condition and jump. From-SVN: r33689
2000-05-04Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.Richard Henderson2-2/+15
* Makefile.in (FPBIT_FUNCS): Remove _df_to_usi. (DPBIT_FUNCS): Remove _sf_to_usi. (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk. From-SVN: r33688
2000-05-04libgcc2.c (near eh_context_specific): Comment #endif string.Richard Henderson2-268/+238
* libgcc2.c (near eh_context_specific): Comment #endif string. * longlong.h: Don't use strings with embedded newlines. From-SVN: r33687
2000-05-04rs6000-protos.h: Add output_cbranch.Geoff Keating4-58/+144
* config/rs6000/rs6000-protos.h: Add output_cbranch. * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete. (print_operand): Delete %t and %T codes. (output_cbranch): New function. Support branch prediction. * config/rs6000/rs6000.md: Use output_cbranch for conditional branches and returns. From-SVN: r33686
2000-05-04remove accidental -pipe checkinJason Merrill1-1/+1
From-SVN: r33685
2000-05-04simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.Jason Merrill15-28/+61
* simplify-rtx.c (simplify_ternary_operation): Cast to unsigned. * stor-layout.c (place_field): Likewise. * integrate.h (struct inline_remap): Make regno_pointer_align unsigned. * expr.c (store_expr): Make align unsigned. * explow.c (plus_constant_wide): Make low words unsigned. * expmed.c (choose_multiplier): Likewise. * fold-const.c (fold): Likewise. * tree.h (build_int_2): Likewise. * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise. * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*. (init_emit): Change cast to unsigned char*. * varasm.c (compare_constant_1): Add cast to char*. * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*. * reload1.c (reload): Likewise. * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0). From-SVN: r33684
2000-05-04predict.c (estimate_probability): If no prediction was found...Jeffrey A Law2-0/+19
* predict.c (estimate_probability): If no prediction was found, then predict the successor that is the next physical block (if such a successor exists). From-SVN: r33683
2000-05-04* config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.Richard Henderson2-6/+6
From-SVN: r33682
2000-05-04* system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.Kaveh R. Ghazi2-2/+4
From-SVN: r33681
2000-05-04jcf-dump.c (SPECIAL_IINC): Ensure arguments match format specifiers in calls ↵Kaveh R. Ghazi2-2/+7
to fprintf. * jcf-dump.c (SPECIAL_IINC): Ensure arguments match format specifiers in calls to fprintf. From-SVN: r33680
2000-05-04class.c (update_vtable_entry_for_fn): Prototype.Kaveh R. Ghazi4-3/+14
* class.c (update_vtable_entry_for_fn): Prototype. * pt.c (tsubst_decl): Initialize variables `argvec', `gen_tmpl' and `tmpl'. * search.c (dfs_build_inheritance_graph_order): Prototype. From-SVN: r33678
2000-05-04cygwin.h (CPP_PREDEFINES): Don't define __STDC__.Mumit Khan4-14/+21
2000-05-04 Mumit Khan <khan@xraylith.wisc.edu> * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move attribute macros from here ... (CPP_SPEC): to here. * i386/mingw32.h (CPP_PREDEFINES): Likewise. (CPP_SPEC): Likewise. * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros. From-SVN: r33677
2000-05-04Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.Mumit Khan2-0/+10
2000-05-04 Mumit Khan <khan@xraylith.wisc.edu> * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule. (libgcc.a): Pass LIB1ASMSRC to libgcc.mk. From-SVN: r33676
2000-05-04bb-reorder.c (get_next_bb_note, [...]): Prototype.Kaveh R. Ghazi15-36/+83
* bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype. * diagnostic (vbuild_message_string, build_message_string, build_location_prefix, output_get_prefix, init_output_buffer, output_notice, vline_wrapper_message_with_location, v_message_with_decl, default_print_error_function): De-constify. (set_real_maximum_length): Prototype. * diagnostic.h (struct output_buffer, init_output_buffer, output_get_prefix, output_set_prefix): De-constify. * function.c (init_function_start): Constify. * gensupport.c (remove_constraints, process_rtx): Prototype. * gthr-posix.h: Indent uses of #pragma. * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table): Prototype. * predict.c (find_expected_value): Delete prototype. (expected_value_to_br_prob): Initialize variable `ev_reg'. * sbitmap.h (debug_sbitmap): Prototype. * ssa.c (compute_coalesced_reg_partition): Prototype. * stor-layout.c (debug_rli): Prototype. * tree.h (round_down): Prototype. (init_function_start): Constify. ch: * ch-tree.h (init_function_start): Constify. From-SVN: r33675
2000-05-04cpphash.h: #define __extension__ away if GCC_VERSION < 2095 (overly ↵Zack Weinberg3-31/+60
conservative). * cpphash.h: #define __extension__ away if GCC_VERSION < 2095 (overly conservative). Change extern inline wrappers to static inline, define them always, use PARAMS properly. * cpplex.c (_cpp_get_directive_token): Don't issue pedantic whitespace warnings for \f and \v at the beginning of a line. From-SVN: r33674
2000-05-04haifa-sched.c (schedule_insns): Free the flow edge list when it is no longer ↵Jeffrey A Law2-0/+8
needed * haifa-sched.c (schedule_insns): Free the flow edge list when it is no longer needed From-SVN: r33673
2000-05-04Remove BOGOSITY code, and Remove code for installing "shell" versionBruce Korb3-106/+4
From-SVN: r33669
2000-05-04cp-tree.h (special_function_kind): Add various kinds of destructors.Mark Mitchell5-9/+64
* cp-tree.h (special_function_kind): Add various kinds of destructors. (special_function_p): New function. * class.c (overrides): Don't let one kind of destructor override another. * decl2.c (mark_used): Use DECL_NON_THUNK_FUNCTION_P when deciding whether or not to instantiate a template. * tree.c (special_function_p): Define. From-SVN: r33668
2000-05-04Remove `extern double cabs' declarations from math.hBruce Korb4-94/+177
From-SVN: r33667
2000-05-04rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and MEM_ALIAS_SET.Richard Kenner20-63/+41
* rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and MEM_ALIAS_SET. * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET when calling MEM_COPY_ATTRIBUTES. * emit-rtl.c (operand_subword, change_address): Likewise. * explow.c (stabilize): Likewise. * expr.c (protect_from_queue, emit_move_insn_1): Likewise. * integrate.c (copy_rtx_and_substitute): Likewise. * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P when calling MEM_COPY_ATTRIBUTES. (make_extraction, simplify_shift_const, gen_lowpart_for_combine): Likewise. * cse.c (gen_lowpart_if_possible): Likewise. * function.c (fixup_var_refs_1, purge_addressof_1): Likewise. * optabs.c (gen_move_insn): Likewise. * recog.c (validate_replace_rtx_1): Likewise. * simplify-rtx.c (add_mem_for_addr): Likewise. * stmt.c (expand_anon_union_decl): Likewise. * config/arm/arm.md: Likewise. * config/h8300/h7300.c (fix_bit_operand): Likewise. * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise. (block_move_no_loop, block_move_sequence): Likewise. * config/rs6000/rs6000.c (expand_block_move_mem): Likewise. * config/alpha/alpha.c (get_aligned_mem): Likewise. Clear MEM_ALIAS_SET. * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling MEM_COPY_ATTRIBUTES. From-SVN: r33665
2000-05-04configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1.Robert Lipe1-0/+13
2000-05-03 Robert Lipe <robertlipe@usa.net> * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare to suppress libgcc1. (i[34567]86-*-sco3.2v5*) Likewise. (i[34567]86-*-sco3.2v4*) Likewise. (i[34567]86-*-sco) Likewise. (i[34567]86-*-solaris2) Likewise. (i[34567]86-*-sysv5*) Likewise. (i[34567]86-*-sysv4*) Likewise. (i[34567]86-*-udk*) Likewise. (i[34567]86-*-sysv*) Likewise. From-SVN: r33664
2000-05-04Undo my accidental checkin.Jan Hubicka1-1/+0
From-SVN: r33663
2000-05-04Daily bump.Jeff Law2-2/+2
From-SVN: r33662
2000-05-04cpphash.h (U): New define, to correct type of string constants.Zack Weinberg9-119/+194
gcc: * cpphash.h (U): New define, to correct type of string constants. (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper routines, to do casts when passing unsigned strings to libc. * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them. * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *. * cpphash.c (_cpp_quote_string): Make string an U_CHAR *. * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *. * cpplex.c (parse_ifdef, parse_include, validate_else): Make second argument an U_CHAR *. * cppinit.c (builtin_array): Make name and value U_CHAR *, add length field, clean up initializer. (ISTABLE): Add __extension__ to designated- initializers version. * cpplex.c (CHARTAB): Likewise. * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS case so the file won't be empty. include: * symcat.h: Remove #endif label. From-SVN: r33657
2000-05-04* gcc.dg/20000503-1.c: New test.Robert Lipe2-0/+21
From-SVN: r33656
2000-05-04bb-reorder.c (struct reorder_block_def): Member succ removed.Jason Eckhardt2-108/+46
Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com> * bb-reorder.c (struct reorder_block_def): Member succ removed. (REORDER_BLOCK_SUCC): Removed. (enum reorder_skip_type): Removed. (skip_insns_between_block): Renamed to skip_insns_after_block. Removed second argument. Removed dead code and cleaned up. (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC. (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed second parameter to skip_insns_after_block. From-SVN: r33655
2000-05-04configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1.Robert Lipe1-148/+163
Regenerate: * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare to suppress libgcc1. (i[34567]86-*-sco3.2v5*) Likewise. (i[34567]86-*-sco3.2v4*) Likewise. (i[34567]86-*-sco) Likewise. (i[34567]86-*-solaris2) Likewise. (i[34567]86-*-sysv5*) Likewise. (i[34567]86-*-sysv4*) Likewise. (i[34567]86-*-udk*) Likewise. (i[34567]86-*-sysv*) Likewise. From-SVN: r33654
2000-05-04configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1.Robert Lipe1-4/+9
* configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare to suppress libgcc1. (i[34567]86-*-sco3.2v5*) Likewise. (i[34567]86-*-sco3.2v4*) Likewise. (i[34567]86-*-sco) Likewise. (i[34567]86-*-solaris2) Likewise. (i[34567]86-*-sysv5*) Likewise. (i[34567]86-*-sysv4*) Likewise. (i[34567]86-*-udk*) Likewise. (i[34567]86-*-sysv*) Likewise. From-SVN: r33653
2000-05-03Remove conflict indicatorRichard Kenner1-1/+0
From-SVN: r33652
2000-05-03* tree.c (staticp, case LABEL_DECL): New case.Richard Kenner2-3/+10
From-SVN: r33651
2000-05-03* mklibgcc1.in: Fix typo last change.Richard Henderson2-1/+3
From-SVN: r33650
2000-05-03* Makefile.in (start.encap): Do not depend on LIBGCC1.Richard Henderson2-1/+5
From-SVN: r33649
2000-05-03Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.Jason Merrill7-24/+32
* Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long. (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional. (GCC_CFLAGS): Use it. (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS. * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in, objc/Make-lang.in: Use it. From-SVN: r33648
2000-05-03cp-tree.def (THUNK_DECL): Remove.Mark Mitchell11-80/+122
* cp-tree.def (THUNK_DECL): Remove. * cp-tree.h (DECL_THUNK_P): New macro. (DECL_NON_THUNK_FUNCTION_P): Likewise. (DECL_EXTERN_C_FUNCTION_P): Likewise. (SET_DECL_THUNK_P): Likewise. (DELTA_FROM_VTABLE_ENTRY): Use DECL_THUNK_P. (FNADDR_FROM_VTABLE_ENTRY): Likewise. (DECL_MAIN_P): Use DECL_EXTERN_C_FUNCTION_P. * decl.c (decls_match): Use DECL_EXTERN_C_P. (duplicate_decls): Likewise. (pushdecl): Likewise. Adjust thunk handling. (grokfndecl): Use DECL_EXTERN_C_P. * decl2.c (mark_vtable_entries): Use DECL_THUNK_P. * dump.c (dequeue_and_dump): Remove THUNK_DECL handling. * except.c (nothrow_libfn_p): Use DECL_EXTERN_C_P. * expr.c (cplus_expand_expr): Remove THUNK_DECL handling. * method.c (make_thunk): Use SET_DECL_THUNK_P. Set DECL_NO_STATIC_CHAIN. (emit_thunk): Don't play games with TREE_CODE on thunks. Don't set DECL_DESTRUCTOR_P or DECL_CONSTRUCTOR_P on a thunk. * search.c (covariant_return_p): Remove THUNK_DECL handling. * ir.texi: Update. From-SVN: r33647
2000-05-03Fix typoMark Mitchell1-1/+1
From-SVN: r33646
2000-05-03* config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.Jason R Thorpe2-1/+5
From-SVN: r33645