aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-02-18gcc.texi (Bug Reporting): Refer to bugs.html.Martin v. Löwis13-14/+40
* gcc.texi (Bug Reporting): Refer to bugs.html. (Bug Lists): Likewise. * system.h (GCCBUGURL): New preprocessor define. * rtl.c (fancy_abort): Use it. * gcc.c (main): Likewise. * typeck2.c (my_friendly_abort): Use GCCBUGURL. * g77spec.c (lang_specific_driver): Use GCCBUGURL. * gjavah.c (help): Use GCCBUGURL. * jv-scan.c (help): Likewise. * jcf-dump.c (help): Likewise. From-SVN: r32049
2000-02-18Fix typos in -fmessage-length docNathan Sidwell1-1/+1
From-SVN: r32048
2000-02-18Missed changelog for life_analysis fix.Richard Henderson1-0/+19
From-SVN: r32047
2000-02-18Daily bump.Jeff Law2-2/+2
From-SVN: r32046
2000-02-18loop.c (canonicalize_condition): New function, broken out of get_condition.John Wehle5-32/+97
* loop.c (canonicalize_condition): New function, broken out of get_condition. (get_condition): Use it. * expr.h (canonicalize_condition): Prototype it. * tree.h (tree_int_cst_msb): Declare. * tree.c (tree_int_cst_msb): New function. From-SVN: r32045
2000-02-18class.c (add_method): Don't set DECL_VIRTUAL_CONTEXT.Mark Mitchell3-5/+4
* class.c (add_method): Don't set DECL_VIRTUAL_CONTEXT. * decl2.c (grokclassfn): Likewise. From-SVN: r32044
2000-02-17ir.texi: Document DECL_TEMPLATE_INSTANTIATIONS.Mark Mitchell4-0/+10
2000-02-17 Mark Mitchell <mark@codesourcery.com> * ir.texi: Document DECL_TEMPLATE_INSTANTIATIONS. From-SVN: r32042
2000-02-17stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt isn't set.Mark Mitchell2-2/+11
* stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt isn't set. From-SVN: r32041
2000-02-17invoke.texi (-fmessage-length=n): Document.Mark Mitchell4-6/+19
* invoke.texi (-fmessage-length=n): Document. * decl2.c (lang_decode_option): Don't set default message length here. * lex.c (lang_init_options): Set it here. From-SVN: r32040
2000-02-17g++.exp (g++_init): Add -fmessage-length=0 to ALWAYS_CXXFLAGS.Mark Mitchell2-0/+9
* lib/g++.exp (g++_init): Add -fmessage-length=0 to ALWAYS_CXXFLAGS. From-SVN: r32039
2000-02-17* bitmap.c (bitmap_operation): Don't leak bitmap elements.Jason Merrill2-1/+10
From-SVN: r32038
2000-02-17function.c (thread_prologue_and_epilogue_insns): Put a line note after the ↵Mark Mitchell2-1/+27
prologue. * function.c (thread_prologue_and_epilogue_insns): Put a line note after the prologue. From-SVN: r32037
2000-02-17Replace #include <...> with #include "system.h"Nick Clifton2-2/+6
From-SVN: r32035
2000-02-17Andy Vaught <andy@maxwell.la.asu.edu>Andy Vaught2-7/+10
* com.c (ffecom_member_phase2_): Re-enable COMMON debug code. (ffecom_finish_symbol_transform_): Likewise. (ffecom_transform_common_): Call ffestorag_set_hook. From-SVN: r32034
2000-02-17configure.in (alpha-linux*, [...]): Add crtbeginS.o and crtendS.o.Richard Henderson7-281/+321
* configure.in (alpha-linux*, alpha-netbsd) [extra_parts]: Add crtbeginS.o and crtendS.o. * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o. (ENDFILE_SPEC): Use crtendS.o. * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets. * alpha/crtbegin.asm (__do_frame_takedown): Merge into ... (__do_global_dtors_aux): ... here. Call __cxa_finalize if shared and present. (__dso_handle): New variable. * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime bias to __CTOR_END__. From-SVN: r32033
2000-02-17Daily bump.Jeff Law2-2/+2
From-SVN: r32032
2000-02-16* Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).Richard Henderson2-7/+10
From-SVN: r32031
2000-02-16lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to default spec.Richard Henderson1-4/+6
* objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to default spec. From-SVN: r32030
2000-02-16* longlong.h (__clz_tab): Declare as static to match definition.Hans-Peter Nilsson2-2/+6
From-SVN: r32029
2000-02-16xm-djgpp.h (LIBSTDCXX): Delete.Mark Elbrecht3-6/+70
* i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h. (XREF_FILE_NAME): Define. * i386/djgpp.h (DATA_SECTION_ASM_OP): Define. (EH_FRAME_SECTION_ASM_OP): Define. (IDENT_ASM_OP): Define. (TEXT_SECTION_ASM_OP): Define. (CPP_SPEC): Define. (CTORS_SECTION_ASM_OP): Define. (CTOR_SECTION_FUNCTION): Use it. (DTORS_SECTION_ASM_OP): Define. (DTOR_SECTION_FUNCTION): Use it. From-SVN: r32028
2000-02-17reg-stack.c (emit_swap_insn): Do not put a new insn before a NOTE_BASIC_BLOCK.Zack Weinberg2-5/+6
* reg-stack.c (emit_swap_insn): Do not put a new insn before a NOTE_BASIC_BLOCK. From-SVN: r32027
2000-02-16configure.in: Add support for avr target.Denis Chertykov3-97/+104
* configure.in: Add support for avr target. * configure: Rebuilt. From-SVN: r32026
2000-02-17Makefile.in (PARSE_C, [...]): Move dependencies on lex.c, lex.h, and PARSE_H ↵Zack Weinberg4-32/+67
to... * Makefile.in (PARSE_C, PARSE_SCAN_C): Move dependencies on lex.c, lex.h, and PARSE_H to... (parse.o, parse-scan.o): ...here, respectively. * lex.c: Split out code that may trigger SIGFPE from yylex() to its own function. * lex.h (JAVA_FLOAT_RANGE_ERROR): Don't set value. From-SVN: r32025
2000-02-17flow.c (dump_regset, [...]): New functions.Zack Weinberg3-25/+98
* flow.c (dump_regset, debug_regset, dump_bb, debug_bb, debug_bb_n): New functions. (dump_flow_info, print_rtl_with_bb): Use dump_regset. * basic-block.h: Prototype new functions. From-SVN: r32024
2000-02-16invoke.texi: Add AVR invocation docs.Denis Chertykov5-3/+131
* invoke.texi: Add AVR invocation docs. * install.texi: Add information about AVR. * md.texi: Add AVR constraint letters description. * extend.texi: Add description for AVR specific attributes. From-SVN: r32022
2000-02-16* fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".Jason Merrill2-1/+13
From-SVN: r32019
2000-02-16Make DECL_CONTEXT mean the class in which a member function was declared, ↵Mark Mitchell18-206/+245
even for a virtual function. Make DECL_CONTEXT mean the class in which a member function was declared, even for a virtual function. * cp-tree.h (DECL_CLASS_CONTEXT): Adjust. (DECL_FRIEND_CONTEXT): New macro. (DECL_REAL_CONTEXT): Remove. (SET_DECL_FRIEND_CONTEXT): Likewise. (DECL_VIRTUAL_CONTEXT): Adjust. (DECL_CLASS_SCOPE_P): Use TYPE_P. (add_friends): Remove. (hack_decl_function_context): Likewise. * call.c (build_new_function_call): Replace DECL_REAL_CONTEXT with CP_DECL_CONTEXT. (build_over_call): Fix indentation. Use DECL_CONTEXT instead of DECL_CLASS_CONTEXT. * class.c (dfs_build_vcall_offset_vtbl_entries): Likewise. (add_method): Set DECL_VIRTUAL_CONTEXT, not DECL_CLASS_CONTEXT. (strictly_overrides): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT. (build_vtbl_or_vbase_field): Don't set DECL_CLASS_CONTEXT. (build_base_field): Likewise. (finish_struct_1): Likewise. (build_self_reference): Likewise. * decl.c (push_class_binding): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. (pushtag): Use decl_function_context, not hack_decl_function_context. (decls_match): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. (duplicate_decls): Use DECL_VIRTUAL_CONTEXT. (pushdecl): Remove bogus code. (start_decl): Use DECL_CONTEXT rather than DECL_CLASS_CONTEXT. (cp_finish_decl): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. (grokfndecl): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT. Use decl_function_context, nothack_decl_function_context. (grokvardecl): Don't set DECL_CLASS_CONTEXT. (grokdeclarator): Likewise. Use decl_function_context, not hack_decl_function_context. (copy_args_p): Document. Don't use DECL_CLASS_CONTEXT. (start_function): Use DECL_FRIEND_CONTEXT, not DECL_CLASS_CONTEXT. Use decl_function_context, not hack_decl_function_context. (finish_function): Use decl_function_context, not hack_decl_function_context. (maybe_retrofit_in_chrg): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT. (grokclassfn): Set DECL_VIRTUAL_CONTEXT, not DECL_CONTEXT. (finish_static_data_member_decl): Don't set DECL_CLASS_CONTEXT. (grokfield): Likewise. (finish_builtin_type): Likewise. (finish_vtable_vardec): Use decl_function_context, not hack_decl_function_context. (import_export_decl): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT. (start_static_initialization_or_destruction): Likewise. (finish_static_initialization_or_destruction): Likewise. (mark_used): Adjust logic for deciding when to synthesize methods. * dump.c (dequeue_and_dump): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. * error.c (dump_function_decl): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT. * friend.c (is_friend): Likewise. (add_friends): Remove. (do_friend): Use SET_DECL_FRIEND_CONTEXT. * lex.c (begin_definition_of_inclass_inline): Use decl_function_context, not hack_decl_function_context. (process_next_inline): Likewise. (do_identifier): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. * method.c (set_mangled_name_for_decl): Use DECL_CONTEXT, not DECL_CLASSS_CONTEXT. (hack_identifier): Likewise. (synthesize_method): Use decl_function_context, not hack_decl_function_context. * pt.c (template_class_depth_real): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. (is_member_template): Use decl_function_context, not hack_decl_function_context. Use DECL_CONTEXT, not DECL_CLASS_CONTEXT. (build_template_decl): Set DECL_VIRTUAL_CONTEXT, not DECL_CLASS_CONTEXT. (check_default_tmpl_args): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. (push_template_decl_real): Likewise. (instantiate_class_template): Don't call add_friends. (tsubst_default_argument): Use DECL_CONTEXT, not DECL_REAL_CONTEXT. (tsubst_decl): Set DECL_VIRTUAL_CONTEXT, not DECL_CLASS_CONTEXT. Use DECL_CONTEXT, not DECL_CLASS_CONTEXT. (set_meangled_name_for_template_decl): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT. * repo.c (repo_inline_used): Likewise. * search.c (current_scope): Adjust for new _CONTEXT macros. (context_for_name_lookup): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT. (friend_accessible_p): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT. (lookup_fnfields_here):Likewise. (check_final_overrider): Likewise. (init_vbase_pointers): Likewise. (virtual_context): Likewise. * semantics.c (finish_member_declaration): Just set DECL_CONTEXT. (expand_body): Use decl_function_context, not hack_decl_function_context. * tree.c (hack_decl_function_context): Remove. * typeck.c (build_x_function_call): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT. * typeck2.c (error_not_base_type): Likewise. From-SVN: r32018
2000-02-16* decl.c (xref_tag): Don't SET_IDENTIFIER_NAMESPACE_VALUE.Jason Merrill2-8/+4
From-SVN: r32015
2000-02-16Move RTL checking code into make_insn_rawNick Clifton2-12/+17
From-SVN: r32010
2000-02-16configure (gcc_version): When setting, narrow search to lines containing ↵Kaveh R. Ghazi12-242/+264
`version_string'. * configure (gcc_version): When setting, narrow search to lines containing `version_string'. gcc: * version.c: Include gansidecl.h and version.h. * version.h: Wrap entire file in macro __GCC_VERSION_H__. * configure.in (gcc_version): When setting, narrow search to lines containing `version_string'. * Makefile.in (mainversion): Likewise. (GCC_H): New variable. (gcc.h): Delete target. (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h. (version.o): Depend on version.h. (dbxout.o): Don't depend on gcc.h. gcc/cp: * Make-lang.in (g++spec.o): Depend on $(GCC_H), not gcc.h. gcc/f: * Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h. gcc/java: * Make-lang.in (jvspec.o): Depend on $(GCC_H), not gcc.h. libf2c: * configure.in (gcc_version): When setting, narrow search to lines containing `version_string'. From-SVN: r32009
2000-02-16md.texi (Simple Constraints): Add item about whitespace.Hans-Peter Nilsson3-6/+43
* md.texi (Simple Constraints): Add item about whitespace. * genoutput.c (strip_whitespace): New. (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call strip_whitespace for constraints. Test pointer using NULL, not 0. Co-Authored-By: Michael Meissner <meissner@cygnus.com> From-SVN: r32008
2000-02-16Daily bump.Jeff Law2-2/+2
From-SVN: r32007
2000-02-16* cpplib.c (do_line): Pedwarn for #line > 32767.Alexandre Oliva2-1/+3
From-SVN: r32006
2000-02-16* c-lex.c (readescape): Warn about 'x', but do not reject it.Alexandre Oliva2-1/+8
From-SVN: r32005
2000-02-15Jonathan Larmour <jlarmour@redhat.co.uk>:Jonathan Larmour12-268/+282
Add new __GNUC_PATCHLEVEL__ define. From-SVN: r32004
2000-02-15* configure.in: Add support for avr target.Denis Chertykov3-109/+117
From-SVN: r32002
2000-02-16sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.J"orn Rennecke3-5/+6
* sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode. (sh_addr_diff_vec_mode): Don't declare. * sh.c (sh_addr_diff_vec_mode): Delete. From-SVN: r32000
2000-02-16decl2.c (lang_decode_option): Enable automatic line wrapping.Gabriel Dos Reis2-0/+7
2000-01-16 Gabriel Dos Reis <gdr@codesourcery.com> * decl2.c (lang_decode_option): Enable automatic line wrapping. From-SVN: r31999
2000-02-16* sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.J"orn Rennecke2-0/+11
From-SVN: r31998
2000-02-16sh.md (udivsi3_i1, [...]): Name.J"orn Rennecke2-62/+165
* sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name. (smulsi3_highpart_i): Name. (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes. (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise. (smulsi3_highpart, umulsi3_highpart): Likewise. (mulsidi3_i, umulsidi3_i): Make rtl describe operation correctly independent of endianness. (mulsidi3, umulsidi3): Now define_insn. Hide details that confuse the optimizers. (mulsidi3+1, umulsidi3+1): New define_split. From-SVN: r31997
2000-02-15sh.md: Guard insn splits against illegal registers.Andrew Haley3-5/+10
* config/sh/sh.md: Guard insn splits against illegal registers. * config/sh/sh.h: Correct comment about macros. From-SVN: r31994
2000-02-15gjavah.c: Delete ACC_VISIBILITY define.Joerg Brunsmann5-706/+725
Mon Jan 18 14:30:09 2000 Joerg Brunsmann <joerg.brunsmann@fernuni-hagen.de> * gjavah.c: Delete ACC_VISIBILITY define. * jcf.h: Add ACC_VISIBILITY define. * parse.y: final: rule tagged <value>. (java_check_regular_methods): Use ACC_VISIBILITY define for default package access check. (local_variable_declaration_statement): Use final: rule. From-SVN: r31992
2000-02-15Makefile.in (lcm.o): Depend on insn-attr.h.J"orn Rennecke10-166/+704
* Makefile.in (lcm.o): Depend on insn-attr.h. * basic-block.h (optimize_mode_switching): Declare. * lcm.c (tm_p.h, insn-attr.h): #include. (seginfo, bb_info): New structs. (antic, transp, comp, delete, insert) : New file-scope static variables. (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions. (reg_becomes_live, optimize_mode_switching): Likewise. * tm.texi: Add description of mode switching macros. * toplev.c (rest_of_compilation): Call optimize_mode_switching. * sh-protos.h (remove_dead_before_cse): Remove prototype. (fldi_ok, fpscr_set_from_mem): New prototypes. * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set. (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD). (sh_flag_remove_dead_before_cse): Remove declaration. (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros. (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise. (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise. * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD). (barrier_align): Allow for JUMP_INSNS containing a parallel. (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set. (fldi_ok): New function. (get_fpscr_rtx): Add fpscr_rtx as GC root. (emit_sf_insn): Only generate fpu switches when optimize < 1. (emit_df_insn): Likewise. (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete. (sh_flag_remove_dead_before_cse): Delete. (get_free_reg, fpscr_set_from_mem): New functions. * sh.md (movdf, movsf): Remove no_new_pseudos code. (return): Remove emit_fpscr_use / remove_dead_before_cse calls. Co-Authored-By: Andrew MacLeod <amacleod@cygnus.com> From-SVN: r31990
2000-02-15gjavah.c (jni_print_char): New function.Tom Tromey2-25/+43
* gjavah.c (jni_print_char): New function. (print_full_cxx_name): Use it. (decode_signature_piece): Likewise. (print_cxx_classname): Likewise. From-SVN: r31989
2000-02-15* ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.Loren J. Rittle2-0/+11
From-SVN: r31988
2000-02-15New test - sjlj ICE, originally from openbsdZack Weinberg1-0/+16
From-SVN: r31985
2000-02-15Makefile.in (TREE_H, [...]): Depend on version.h.Kaveh R. Ghazi42-64/+92
* Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o, cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h. * cccp.c: Include version.h and/or don't declare `version_string'. * collect2.c: Likewise. * alpha.c: Likewise. * arm/aof.h: Likewise. * arm/coff.h: Likewise. * arm/elf.h: Likewise. * arm/pe.h: Likewise. * arm/tcoff.h: Likewise. * arm/telf.h: Likewise. * arm/tpe.h: Likewise. * arm/vxarm.h: Likewise. * convex/convex.c: Likewise. * i386/dgux.c: Likewise. * i386/sun386.h: Likewise. * m88k/m88k.c: Likewise. * mcore/mcore-pe.h: Likewise. * mips/mips.h: Likewise. * romp/romp.h: Likewise. * sh/sh.c: Likewise. * cpphash.c: Likewise. * cppinit.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * gcc.c: Likewise. * gcc.h: Likewise. * mips-tfile.c: Likewise. * protoize.c: Likewise. * toplev.c: Likewise. * tree.h: Likewise. * version.c (version_string): Constify a char*. * version.h: New file. ch: * grant.c: Don't declare `version_string'. f: * g77spec.c: Don't declare `version_string'. java: * Makefile.in (jv-scan, jcf-dump, gcjh): Depend on and link with version.o. (jcf-dump.o, gjavah.o, jv-scan.o): Depend on version.h. * gjavah.c: Include version.h. * jcf-dump.c: Likewise. * jv-scan.c: Likewise. From-SVN: r31984
2000-02-15Daily bump.Jeff Law2-2/+2
From-SVN: r31977
2000-02-14Add support for MCore portNick Clifton6-220/+335
From-SVN: r31974
2000-02-14Backend for Motorola's MCore processors.Nick Clifton13-0/+9785
From-SVN: r31972