aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-10-05gcc.c: Move data on prefixes forward in file and reorganize.Richard Kenner2-107/+124
* gcc.c: Move data on prefixes forward in file and reorganize. (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1): Always define, but make null if no value. (static_specs): Add "md_exec_prefix", "md_startfile_prefix", and "md_startfile_prefix_1". (main): Check whether md_exec_prefix and the others are the null string rather than whether the macro is defined. From-SVN: r36730
2000-10-05(convert_move): Use zero_extendpsisi2 to do an unsigned extension from ↵J"orn Rennecke2-1/+13
PSImode to SImode. * (convert_move): Use zero_extendpsisi2 to do an unsigned extension from PSImode to SImode. From-SVN: r36729
2000-10-05emit-rtl.c (gen_lowpart_common): Fix conversion from float to integral mode ↵Jakub Jelinek3-9/+26
with HOST_BITS_PER_WIDE_INT 64. * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion from float to integral mode with HOST_BITS_PER_WIDE_INT 64. * dwarf2out.c (add_const_value_attribute): Divide by 4, not sizeof(long). From-SVN: r36728
2000-10-05Added.Ovidiu Predescu2-0/+60
From-SVN: r36727
2000-10-05fold-const.c (fold, [...]): Perform negation in proper type.aRichard Kenner2-3/+13
* fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform negation in proper type.a From-SVN: r36726
2000-10-05cp-tree.h (access_kind): Fix comment typo.Nathan Sidwell4-4/+11
* cp-tree.h (access_kind): Fix comment typo. * decl2.c (grokfield): Fix diagnostic typo. * semantics.c (finish_template_type): Fix comment typo. (finish_qualified_object_call_expr): Likewise. From-SVN: r36722
2000-10-05* g++.old-deja/g++.pt/crash59.C: New test.Nathan Sidwell2-0/+24
From-SVN: r36721
2000-10-05pt.c (tsubst_expr, [...]): Don't process if tsubsting fails.Nathan Sidwell2-11/+19
* pt.c (tsubst_expr, DECL_STMT case): Don't process if tsubsting fails. From-SVN: r36720
2000-10-05spew.c (frob_id): New static function.Nathan Sidwell2-50/+47
* spew.c (frob_id): New static function. (frob_opname): Use it. (yylex): Use it. From-SVN: r36719
2000-10-05Daily bump.Jeff Law2-2/+2
From-SVN: r36718
2000-10-05[multiple changes]Alexandre Petit-Bianco5-39/+221
Tue Oct 3 13:44:37 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * decl.c (find_local_variable): Removed uncessary type check and fixed range check typo. From Corey Minyard. Wed Sep 13 16:06:52 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * decl.c (give_name_to_locals): New local `code_offset'. Call `maybe_adjust_start_pc.' * expr.c (note_instructions): New function. (expand_byte_code): Don't collect insn starts here. (peek_opcode_at_pc): New function. (maybe_adjust_start_pc): Likewise. * java-tree.h (maybe_adjust_start_pc): Declare. (note_instructions): Likewise. * jcf-parse.c (parse_class_file): Call `note_instructions.' Wed Sep 13 11:50:35 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (field_access:): Fixed indentation. (qualify_ambiguous_name): Properly qualify `this.a[b].c'. (http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00067.html) From-SVN: r36717
2000-10-04configure.in (enable-shared): New.Richard Henderson13-249/+380
* configure.in (enable-shared): New. * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well. (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc. * mklibgcc.in: Use them to link shared a libgcc. * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New. * config/alpha/t-ieee (SHLIB_MULTILIB): New. * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New. * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New. * configure.in (alpha-osf*): Use t-osf and x-osf. * config/alpha/t-osf: New file. * config/alpha/t-osf4: New file. * config/alpha/x-osf: New file. * config/alpha/x-alpha: Remove file. From-SVN: r36715
2000-10-04Patched code to generate warning when trying to perform staticWill Cohen3-12/+14
initialization of zero-length arrays. From-SVN: r36714
2000-10-04Describes addition of test to verify zero-length array initializers flaggedWilliam Cohen1-0/+4
with warning. From-SVN: r36712
2000-10-04A test to verify the patch to warn of initializers for zero-lengthWilliam Cohen1-0/+27
arrays is installed in the compiler. From-SVN: r36711
2000-10-04Daily bump.Jeff Law2-2/+2
From-SVN: r36709
2000-10-03configure.in (ia64-linux): Add ia64/t-glibc.Richard Henderson8-654/+285
* configure.in (ia64-linux) [tmake_file]: Add ia64/t-glibc. * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Remove. (segrel_ofs): Remove. (__ia64_app_header): New. (frame_object): Remove. (.init): Set __ia64_app_header when non-shared. (__do_global_dtors_aux): Do not call __deregister_frame_info. (__do_frame_setup): Remove. * config/ia64/crtend.asm (__EH_FRAME_END__): Remove. (__do_frame_setup_aux): Remove. * config/ia64/frame-ia64.c (object_mutex): Remove. (bad_record): Remove. (init_object_mutex): Remove. (init_object_mutex_once): Remove. (fde_compare): Remove. (__register_frame_info_aux): Remove. (frame_init): Remove. (find_fde): Remove. (*): Use ISO function definitions. (P3_record_types): Constify. (P7_record_types, P7_additional_fields): Constify. (P8_record_types, P8_additional_fields): Constify. (read_P_record): Remove parenthesis warning. Use structure assignment instead of memcpy. (execute_one_ia64_descriptor): Likewise. (__build_ia64_frame_state): Use __ia64_find_fde. (record_name, print_record, print_all_records): Remove. * config/ia64/frame-ia64.h: New file. * config/ia64/fde-glibc.c: New file. * config/ia64/t-glibc: New file. From-SVN: r36705
2000-10-03re GNATS gcj/307 (gcj allows boolean value to be returned for int method)Tom Tromey3-25/+45
Fix for PR gcj/307: * parse.y (patch_binop): Use JNUMERIC_TYPE_P, not JPRIMITIVE_TYPE_P, for arithmetic operators. (patch_method_invocation): Indentation fix. (try_builtin_assignconv): Handle boolean specially. Fixed typo. (valid_builtin_assignconv_identity_widening_p): Handle boolean. (do_unary_numeric_promotion): Cleaned up code. (valid_cast_to_p): Handle boolean correctly. From-SVN: r36704
2000-10-03lex.c (java_read_unicode): Reset bs_count when finished with `\u' sequence.Tom Tromey2-0/+6
* lex.c (java_read_unicode): Reset bs_count when finished with `\u' sequence. From-SVN: r36703
2000-10-03memtemp77.C (main): Update demangled function name for current C++ compiler.Geoff Keating2-1/+7
* g++.old-deja/g++.pt/memtemp77.C (main): Update demangled function name for current C++ compiler. Patch from Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>. From-SVN: r36701
2000-10-03Daily bump.Jeff Law2-2/+2
From-SVN: r36700
2000-10-03rtlanal.c (single_set_1): Do not require USE and CLOBBERs to come last.Jan Hubicka2-84/+43
* rtlanal.c (single_set_1): Do not require USE and CLOBBERs to come last. From-SVN: r36699
2000-10-03float-c4x.h: New.Michael Hayes4-93/+197
* config/float-c4x.h: New. * configure.in (c4x-*): Set float_format to c4x. * configure: Regenerate. From-SVN: r36698
2000-10-03configure.in (sparc-*-solaris2*): Disable 32-to-64 cross compilation for ↵Kaveh R. Ghazi3-119/+128
solaris versions 2.7 and greater. * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross compilation for solaris versions 2.7 and greater. From-SVN: r36696
2000-10-02freebsd.h (NO_PROFILE_COUNTERS): Define.David O'Brien2-0/+7
2000-10-02 David O'Brien <obrien@dragon.nuxi.com> * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define. Approved by: Richard Henderson <rth@cygnus.com> <20001002132531.A16477@cygnus.com> From-SVN: r36694
2000-10-02Mon Oct 2 10:20:13 CEST 2000 Marc Espie <espie@openbsd.org>Marc Espie1-5/+1
* config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default, instead of redefining from scratch. From-SVN: r36693
2000-10-02Daily bump.Jeff Law2-2/+2
From-SVN: r36692
2000-10-02genix.h: Remove.Mark Mitchell27-20196/+103
* config/ns32k/genix.h: Remove. * config/ns32k/x-genix: Likewise. * config/ns32k/xm-genix.h: Likewise. * config/fx80: Remove all filee in directory. * config/pyr: Likewise. * config/tahoe: Likewise. * config/gmicro: Likewise. * config/spur: Likewise. * configure.in: Remove configury bits for above targets. * configure: Regenerated. From-SVN: r36691
2000-10-02configure.in: Don't configure chill by default.Mark Mitchell3-2/+5
* configure.in: Don't configure chill by default. * configure: Regenerated. From-SVN: r36690
2000-10-01c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.Mark Mitchell22-71/+224
* c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only. (lang_mark_false_label_stack): Remove. * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate <top level> string in GC area. (mark_splay_tree_node): New function. (mark_splay_tree): Likewise. * except.c (mark_eh_status): Only call lang_mark_false_label_stack if it exists. * ggc-callbacks.c (lang_mark_false_label_stack): Remove. * ggc-common.c (lang_mark_false_label_stack): Change type. * ggc.h (ggc_alloc_string): Add comment. (ggc_strdup): New function. * decl.c (lang_mark_false_label_stack): Remove. * lex.c (cp_mang_lang_type): Use ggc_alloc_cleared. * com.c (lang_mark_false_label_stack): Remove. Convert to GC. * Make-lang.in (s-java): Don't depend on ggc-callbacks.o. * Makefile.in (BACKEND): Don't include ggc-callbacks.o. (typeck.o): Depend on ggc.h. * class.c (add_method_1): Use GC functions for allocation. (init_class_processing): Register roots. * decl.c (ggc_p): Set to 1. (pending_local_decls): Make it static. (push_jvm_slot): Use GC functions for allocation. (init_decl_processing): Register roots. (give_name_to_locals): Use GC functions for allocation. (lang_mark_tree): New function. * java-tree.h (MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Use GC functions for allocation. * jcf-parse.c (jcf_parse_source): Use ggc_strdup. * lex.c (java_lex): Use build_string, rather than replicating it inline. * parse.y (goal): Add more roots. (mark_parser_ctxt): New function. * typeck.c: Include ggc.h. * splay-tree.c (splay_tree_insert): Fix formatting. From-SVN: r36687
2000-10-01avr.h (BRANCH_COST): Define as 0.Denis Chertykov3-0/+15
* config/avr/avr.h (BRANCH_COST): Define as 0. * config/pdp11/pdp11.c: #include "tree.h" added. From-SVN: r36686
2000-10-01avr.c (ashlhi3_out, [...]): Optimize more cases with known shift count.Marek Michalkiewicz3-46/+348
* config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases with known shift count. * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3): New alternative for shift count 2 with no scratch register. (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to "set_n" for shift counts 1 and 2. From-SVN: r36685
2000-10-01Daily bump.Jeff Law2-2/+2
From-SVN: r36684
2000-10-01rs6000.md (movsi_to_cr): Remove the USE.Geoff Keating5-70/+103
* config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate the mask value from the individual SET operations. (return_internal_si): Move the USE after the RETURN. (return_internal_di): Likewise. (return_and_restore_fpregs_si): Likewise. (return_and_restore_fpregs_di): Likewise. (return_eh_si): Likewise. (return_eh_di): Likewise. * config/rs6000/rs6000.c (mtcrf_operation): Don't look for, or check, the USE. (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr. Don't generate a PARALLEL around a single operation movsi_to_cr. Generate the RETURN first in any PARALLELs. * rtlanal.c (single_set_1): Use fatal_insn to display the invalid insn. Check for more cases when a USE or CLOBBER occurs before a SET. * Makefile.in: Update dependencies for rtlanal.o. From-SVN: r36683
2000-10-01New testZack Weinberg1-0/+9
From-SVN: r36682
2000-09-30* i386.c: Move include of "config.h" to before that of <setjmp.h>.Joseph Myers2-1/+5
From-SVN: r36677
2000-09-30c-tree.texi, [...]: Consistently use @email for formatting email addresses.Joseph Myers8-14/+23
* c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi: Consistently use @email for formatting email addresses. cp: * gxxint.texi: Use @email for formatting email addresses. From-SVN: r36676
2000-09-30Daily bump.Jeff Law2-2/+2
From-SVN: r36675
2000-09-29cse.c (notreg_cost): New argument outer.Richard Henderson2-10/+29
* cse.c (notreg_cost): New argument outer. (COST): Pass in SET to notreg_cost (COST_IN): New. (fold_rtx): Use COST_IN. Prefer constants when costs are the same. From-SVN: r36671
2000-09-29parse.y (maybe_yank_clinit): Also keep <clinit> if its body contains ↵Alexandre Petit-Bianco2-1/+35
something else than MODIFY_EXPR. 2000-09-29 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (maybe_yank_clinit): Also keep <clinit> if its body contains something else than MODIFY_EXPR. (http://gcc.gnu.org/ml/gcc-patches/2000-09/msg01141.html) From-SVN: r36670
2000-09-29inclhack.def (broken_cabs): Generalize regex.David Edelsohn3-6/+11
* fixinc/inclhack.def (broken_cabs): Generalize regex. * fixinc/fixincl.x: Regenerate. From-SVN: r36669
2000-09-29loop.c (check_final_value): A GIV is not replaceable if used before set.Franz Sirl2-21/+20
2000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * loop.c (check_final_value): A GIV is not replaceable if used before set. From-SVN: r36668
2000-09-29* version.c: Bump to gcc-2.97.Jeffrey A Law2-2/+6
From-SVN: r36667
2000-09-29error.c: Remove direct obstack manipulation.Gabriel Dos Reis5-327/+312
cp/ * error.c: Remove direct obstack manipulation. Replace with output_buffer-based formatting. Adjust calls to removed macros. (obstack_chunk_alloc, obstack_chunk_free): Remove. (OB_INIT, OB_PUTC, OB_PUTC2, OB_PUTS, OB_PUTID, OB_PUTCP, OB_FINISH, OB_PUTI, OB_END_TEMPLATE): Likewise. testsuite/ * g++.old-deja/g++.ext/pretty3.C: Fix comparison with __PRETTY_FUNCTION__. * g++.old-deja/g++.ext/pretty2.C: Likewise. From-SVN: r36666
2000-09-29final.c (final_scan_insn): Remove extra extract_insn call; Use caching for ↵Jan Hubicka5-64/+138
constrain_operands. * final.c (final_scan_insn): Remove extra extract_insn call; Use caching for constrain_operands. (cleanup_subreg_operands): Use caching for extract_insn. * recog.c (constrain_operands_cached): New. * recog.h (constrain_operands_cached): Declare. * i386.c (ix86_attr_length_immediate_default, ix86_attr_length_address_default, ix86_agi_dependant): Cache extract_insn call. * recog.c (asm_noperands): Tweak. (extract_insn): Do not call asm_noperads for non-asm instructions. From-SVN: r36665
2000-09-29recog.c (recog_memoized): Rename to recog_memoized_1.Jan Hubicka6-92/+137
* recog.c (recog_memoized): Rename to recog_memoized_1. * recog.h (recog_memoized): Rename to recog_memoized_1. (recog_memoized): New macro. * rtl.h (single_set): Rename to single_set_1 (single_set): New macro. * rtlanal.c (single_set): Rename to single_set_1; expect clobbers to be last. * i386.md (strmovsi_1, strmovhi_1 strmovqi_1): Do not use match_dup of input operands at outputs. Use register_operand for memory expression. (rep_movsi): Put use last, canonicalize. Use register_operand for memory expression. (rep_movqi): Put use last. Use register_operand for memory expression. (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup of input operands at outputs. Use register_operand for memory expression. (rep_stossi): Put use last; canonicalize; fix match_dup in the address expression (rep_stosqi): Likewise. (memcmp expander): Update calls. (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in the clobbers. * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is VOIDmode. (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons. From-SVN: r36664
2000-09-29Daily bump.Jeff Law2-2/+2
From-SVN: r36663
2000-09-29freebsd-aout.h: New, FreeBSD a.out config file.David O'Brien10-353/+373
2000-09-28 David O'Brien <obrien@FreeBSD.org> * config/i386/freebsd-aout.h: New, FreeBSD a.out config file. Contains the old contents of config/i386/freebsd.h * config/i386/freebsd.h: Now the ELF rather than a.out config file. Contains the old contents of config/i386/freebsd-elf.h * config/i386/freebsd-elf.h: Retire this file -- contents moved to config/i386/freebsd.h. * configure.in: Adjust for above changes. * po/POTFILES.in: Likewise. * po/en_GB.po: Likewise. * po/gcc.pot: Likewise. * configure: Rebuilt. Approved by: Richard Henderson <rth@cygnus.com> Message-ID: <20000927093029.A30906@cygnus.com> From-SVN: r36662
2000-09-28doloop.c (doloop_modify): Prevent delete_insn() from deleting too much.Franz Sirl2-5/+23
2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * doloop.c (doloop_modify): Prevent delete_insn() from deleting too much. Prefer loop->top over loop->start as target for the new JUMP insn. (doloop_valid_p): Ignore loop with exit_count != 0. From-SVN: r36661
2000-09-28* gcc.dg/wtr-int-type-1.c: Don't expect a warning from system headers.Kaveh R. Ghazi2-1/+4
From-SVN: r36660