aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-05-04sort.h (sys/types.h): File included unconditionnaly.Philippe De Muyter4-0/+16
* sort.h (sys/types.h): File included unconditionnaly. (stddef.h): File include only #ifdef __STDC__. * sort.c (UCHAR_MAX): Provide fallback definition. From-SVN: r33670
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-04configure: Rebuilt.Tom Tromey3-111/+128
* configure: Rebuilt. * configure.in: Match `arm*-*-linux-*'. From Chris Dornan <cdornan@arm.com>. From-SVN: r33666
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 Law5-5/+5
From-SVN: r33662
2000-05-03try to fix cvswebJeff Law1-1/+1
From-SVN: r33661
2000-05-04cpphash.h (U): New define, to correct type of string constants.Zack Weinberg11-120/+199
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
2000-05-03mklibgcc.in: Restrict OLDCC=GCC test to native.Richard Henderson2-10/+21
* mklibgcc.in: Restrict OLDCC=GCC test to native. Equate LIBGCC1 empty with libgcc1.null. From-SVN: r33644
2000-05-03Fix for ia64-linux misoptimization.Jim Wilson2-0/+10
* fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness change. From-SVN: r33643
2000-05-03Testcase for ia64-linux extract_muldiv bug.Jim Wilson2-0/+17
* execute/20000503-1.c: New test for extract_muldiv bug. From-SVN: r33642
2000-05-03tree.h (tree_common): Add bounded_flag member.Greg McGary2-9/+222
* tree.h (tree_common): Add bounded_flag member. Remove inaccurate comment about number of remaining bits. (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P, BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P, MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P, TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P, TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros. (TYPE_QUAL_BOUNDED): New constant. (TYPE_QUALS): Handle bounded qualifier. (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros. (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT, TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH, TYPE_AMBIENT_BOUNDEDNESS): New macros. (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants. (tree_type): Add pointer_depth member. Remove inaccurate comment about number of remaining bits. (DECL_POINTER_DEPTH): Add macro. (tree_decl): Add pointer_depth member. From-SVN: r33641
2000-05-03avr-protos.h (test_hard_reg_class): Declared.Denis Chertykov4-74/+59
* config/avr/avr-protos.h (test_hard_reg_class): Declared. * config/avr/avr.c (ashrhi3_out): optimized shift by 15. (lshrhi3_out): Likewise. (ashrsi3_out): bugfix in shift by 8. (test_hard_reg_class): New function. * config/avr/avr.md: Bugfix inside conditions in peepholes. (ashlhi3): removed define_expand of this pattern. (*ashlhi3_insn): renamed to ashlhi3. (ashlsi3): removed define_expand of this pattern. (*ashlsi3_insn): renamed to ashlsi3. (ashrqi3): removed define_expand of this pattern. (*ashrqi3_insn): renamed to ashrqi3. (ashrhi3): removed define_expand of this pattern. (*ashrhi3_insn): renamed to ashrhi3. (ashrsi3): removed define_expand of this pattern. (*ashrsi3_insn): renamed to ashrsi3. (lshrhi3): removed define_expand of this pattern. (*lshrhi3_insn): renamed to lshrhi3. (lshrsi3): removed define_expand of this pattern. (*lshrsi3_insn): renamed to lshrsi3. From-SVN: r33640
2000-05-03Replace inclusion of <stdio.h> with "system.h"Rodney Brown2-1/+6
From-SVN: r33639
2000-05-03Patches from David Mosberger, and a patch to make bootstrap work.Jim Wilson6-17/+152
* config/ia64/ia64.c (ia64_encode_section_info): Add check for TREE_ASM_WRITTEN. * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp if -mauto-pic is on. ... From-SVN: r33638
2000-05-03Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.Richard Henderson6-550/+668
* Makefile.in (STAGESTUFF): Add libgcc libgcc.mk. (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets. (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets. (mklibgcc, libgcc.mk): New targets. (libgcc.a): Use libgcc.mk. (stmp-multilib): Likewise. (stmp-multilib-sub): Remove. (mostlyclean): Don't delete libgcc2 temp files. * configure.in (AC_PROG_CC_C_O): Add. (NO_MINUS_C_MINUS_O): Substitute it. (all_outputs): Add mklibgcc. * mklibgcc.in: New file. From-SVN: r33637
2000-05-03expr.c (build_java_jsr): Use emit_jump, not expand_goto.Tom Tromey5-6/+31
* expr.c (build_java_jsr): Use emit_jump, not expand_goto. * javaop.h (WORD_TO_INT): New function. (IMMEDIATE_s4): Use WORD_TO_INT. * jcf.h (JPOOL_INT): Ditto. * gjavah.c (decode_signature_piece): Don't treat `$' as namespace separator. From-SVN: r33636
2000-05-03cppexp.c (op_t): Make an int.Jason Merrill5-6/+16
* cppexp.c (op_t): Make an int. * rtlanal.c (dead_or_set_regno_p): Remove unused variable. * varasm.c (initializer_constant_valid_p): Fix parenthesis. * gensupport.c (process_rtx): Fix macros used. From-SVN: r33635
2000-05-03flow.c (propagate_one_insn): Also don't PROP_REG_INFO for call-clobbered ↵Richard Henderson2-1/+7
registers of a call. * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for call-clobbered registers of a call. From-SVN: r33634
2000-05-03gensupport.c: New file.Clinton Popetz17-246/+477
* gensupport.c: New file. * gensupport.h: New file. * Makefile.in (HOST_RTL): Depend on gensupport. (gensupport.o) New rule. * genattr.c: Use gensupport for reading .md files. * genattrtab.c: Ditto. * gencodes.c: Ditto. * genconfig.c: Ditto. * genemit.c: Ditto. * genextract.c: Ditto. * genflags.c: Ditto. * genopinit.c: Ditto. * genoutput.c: Ditto. * genpeep.c: Ditto. * genrecog.c: Ditto. * rtl.def (define_insn_and_split): New DEF_RTL_EXPR. * md.texi (Insn Splitting): Document define_insn_and_split. From-SVN: r33633
2000-05-03flow.c (verify_flow_info): Added two more sanity checks.Jason Eckhardt2-1/+24
Tue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com> * flow.c (verify_flow_info): Added two more sanity checks. The first checks that the blocks are numbered consecutively. The second checks that n_basic_blocks is actually equal to the number of basic blocks in the insn chain. From-SVN: r33632
2000-05-03footer.html: Update to see if it takes effect.Phil Edwards9-162/+344
2000-05-03 Phil Edwards <pme@sourceware.cygnus.com> Felix Natter <fnatter@gmx.net> * docs/footer.html: Update to see if it takes effect. * docs/thanks.html: More people. * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't be seen from the web pages. Rename for browser-friendliness... * docs/17_intro/howto.html: ...and update here. * docs/17_intro/porting-howto.html: Changes from Felix. * docs/gccrebuild.html: Mention v3->egcs move. * docs/faq/index.html: Ditto. Also misc tweaks and URL updates. * docs/faq/index.txt: Regenerate. Co-Authored-By: Felix Natter <fnatter@gmx.net> From-SVN: r33631
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 Law5-5/+5
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