aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1998-12-02Fix indentation from last patch.Ulrich Drepper
Remove trailing whitespace. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24062 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-02Fix indentation from last patch.Ulrich Drepper
Remove trailing whitespace. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24061 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-02 * decl2.c (validate_nonmember_using_decl): Complain about usingMark Mitchell
declarations for class members. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24060 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-028Jeffrey A Law
* flow.c (delete_block): Call set_last_insn after we have reset NEXT_INSN (kept_tail). git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24059 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-02Jeffrey A Law
* flow.c (delete_block): Call set_last_insn after we have reset NEXT_INSN (kept_tail). git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24058 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-02Add missing @section.Ulrich Drepper
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24057 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-02Daily bump.Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24054 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01 * mips.md (trap_if): Use "$0" for the value zero.Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24053 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01 * flow.c (delete_block): Call set_last_insn if we end up deleting theJeffrey A Law
last insn in the rtl chain. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24052 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01 * c-common.c (declare_function_name): Declare predefinied variableUlrich Drepper
`__func__'. * c-decl.c (flag_isoc9x): Set to 1 by default. (c_decode_option): Handle -std= option. Remove -flang-isoc9x. (grokdeclarator): Always emit warning about implicit int for ISO C 9x. * c-parse.in: Allow constructors in ISO C 9x. Rewrite designator list handling. Allow [*] parameters. Don't warn about comma at end of enum definition for ISO C 9x. * cccp.c (c9x): New variable. (rest_extension): New variable. (print_help): Document new -std= option. (main): Recognize -std= option. Set c9x appropriately. (create_definition): Recognize ISO C 9x vararg macros. * gcc.c (default_compilers): Adjust specs for -std options. (option_map): Add --std. (display_help): Document -std. * toplev.c (documented_lang_options): Add -std and remove -flang-isoc9x. * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF or REAL_VALUE_HTOF based on base of the constants. * fold-const.c (real_hex_to_f): New function. Replacement function for hex FP conversion if REAL_ARITHMETIC is not defined. * real.c (asctoeg): Add handling of hex FP constants. * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or real_hex_to_f. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24049 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01mips.md (div_trap): Lost last return while editing conflicts.Stan Cox
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24048 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01* mips.md (divmodsi4*, divmoddi4*, udivmodsi4*, udivmoddi4): Add ↵Stan Cox
-mcheck-range-division/ -mcheck-zero-division checking. Avoid as macro expansion. Use hi/lo as destination register. (div_trap): New. (divsi3*, divdi3*, modsi3*, moddi3*, udivsi3*, udivdi3*, umodsi3*, umoddi3*): Add -mcheck-range-division/-mcheck-zero-division checking. Avoid as macro expansion. Use hi/lo as destination register. * mips.h (MASK_CHECK_RANGE_DIV): New. (MASK_NO_CHECK_ZERO_DIV): New. (ELIMINABLE_REGS): Added GP_REG_FIRST + 31. (CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): Allow for getting return address for leaf functions out of r31 to support builtin_return_address. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24047 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>Herman A.J. ten Brugge
* jump.c (jump_optimize): Call regs_set_between_p with PREV_INSN(x), NEXT_INSN(x) to check insn x. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24046 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01 * reload1.c (reload): Do not set reload_completed or split insnsJeffrey A Law
here. Instead... * toplev.c (rest_of_compilation): Set reload_completed after reload returns. Split insns after reload_cse has run. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24037 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01Tue Dec 1 13:53:24 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>Alexandre Petit-Bianco
* class.c (layout_class_method): Don't report error on non-static overriding static if the method is private. * java-tree.h (finish_class): Prototype added. * lex.c (java_get_line_col): Handle col argument -2 value. * parse.h: All static method declarations moved to parse.y. * parse.y: Now contains all static method declarations previously found in parse.h. (find_expr_with_wfl, missing_return_error, unreachable_stmt_error): New functions. (java_get_real_method_name): Identify constructors bearing class names in source code compiled classes only. (java_complete_expand_methods): Call missing_return_error. (invocation_mode): Private methods invoked as static methods. (java_complete_tree): Call unreachable_stmt_error. This patch corrects the way unreachable statement and missing return statement errors are reported. It also fixes random bugs. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24036 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01* final.c (final_scan_insn): Abort if block_depth falls below 0.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24030 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01 * reload1.c (emit_reload_insns): Clear spill_reg_storeJeff Law
when doing a new non-inherited reload from the same pseudo. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24029 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01 * Makefile.in (+target): Removed.Tom Tromey
(+xmake_file): Likewise. (+tmake_file): Likewise. (.NOEXPORT): Removed duplicate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24028 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01Fix problems encountered after recent egcs->devo margeNick Clifton
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24027 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01 * local-alloc.c (function_invariant_p): New function.J"orn Rennecke
(update_equiv_regs): Use function_invariant_p instead of CONSTANT_P to decide if an equivalence should be recorded. * reload1.c (num_eliminable_invariants): New static variable. (reload): Set it. Use function_invariant_p instead of CONSTANT_P to decide if an equivalence should be recorded. Unshare PLUS. (calculate_needs_all_insns): Skip insns that only set an equivalence. Take num_eliminable_invariants into account when deciding if register elimination should be done. (reload_as_needed): Take num_eliminable_invariants into account when deciding if register elimination should be done. (eliminate_regs): Handle non-constant reg_equiv_constant. * rtl.h (function_invariant_p): Declare. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24026 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01Add new test based on PR 18365Nick Clifton
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24025 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01 * g++.old-deja/g++.pt/lookup6.C: New test.Alexandre Oliva
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24024 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01 * egcs_update: Only touch files that already exist.Gerald Pfeifer
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24023 138bc75d-0d04-0410-961f-82ee72b054a4
1998-12-01Daily bump.Jeff Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24022 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-30Update.Ulrich Drepper
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24012 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-30(operator>>): Correct cast in last patch.Ulrich Drepper
(getline): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24011 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-30Gavin now owns the C front-end and ISO C9X issues.Jeff Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24010 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-30Comment typo fix.J"orn Rennecke
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24009 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-30Bump for snapshotJeff Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24005 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-30Fix cvs? lossage. Somehow the previous checkin scrogged this file. TheJeff Law
lossage caused the snapshot diff + patch sanity check to fail due to a bogus .diff file. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24004 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-30Daily bump.Jeff Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23996 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-30Bump for snapshotJeff Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23995 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-29 * except.c (add_new_handler): Complain about additional handlersJason Merrill
after one that catches everything. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23990 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-29fixJason Merrill
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23983 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-29 * typeck2.c (process_init_constructor): Use same_type_p.Jason Merrill
Fixes 834Y21a * decl.c (check_tag_decl): Don't warn about null decl inside a class. Fixes _113Y11a git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23982 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-29 * pt.c (unify, case OFFSET_TYPE): Pass down 'strict' rather thanJason Merrill
UNIFY_ALLOW_NONE. (convert_nontype_argument): Use TYPE_PTRMEMFUNC_FN_TYPE. (resolve_overloaded_unification): Strip baselinks. Fixes Sec14/10_2/P14264.C, Sec14/10_2/P14278.C, Sec14/10_2/C14413.cm. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23980 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-29 * test_summary (EOF): remove double backslashAlexandre Oliva
Reported by Franz Sirl <Franz.Sirl-kernel@lauterbach.com> git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23974 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-29Daily bump.Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23970 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-28One more test commit.Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23959 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-28Test commit to new egcs-cvs listJeffrey A Law
Sat Nov 28 15:23:33 MST 1998 git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23958 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-28test commit Sat Nov 28 15:22:09 MST 1998Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23957 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-28 * test_summary (address): set to egcs-testresults mailing listAlexandre Oliva
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23956 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-28 * configure.in (alpha*-*-netbsd): Fix typo.Jeffrey A Law
* configure: Rebuilt. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23945 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-28Daily bump.Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23944 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-27 * bitset: explicitly convert basic_string<...>::npos to size_t inAlexandre Oliva
default argument to constructor, to avoid parse error at `>' (__STL_EXPLICIT_FUNCTION_TMPL_ARGS): replace #if with #ifdef git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23937 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-27 * Makefile.in (HEADERS): Install bitsetAlexandre Oliva
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23936 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-27 * choose-temp.c: Always include libiberty.h. Avoid redundancies.Kaveh Ghazi
* cplus-dem.c: Likewise. Conform to libiberty.h. * pexecute.c: Likewise. * splay-tree.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23935 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-27 * Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK).Kaveh Ghazi
* jv-scan.c: Fix xmalloc prototype. Provide an xmalloc definition. * jvgenmain.c: Remove the xmalloc prototype, we get it from libiberty.h. Provide an xmalloc definition. * jvspec.c: Remove the xmalloc prototype. * parse-scan.y: Include config.h and system.h. Don't include OS headers or gansidecl.h. Don't prototype xmalloc/xstrdup. Provide an xstrdup definition. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23934 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-27 * fini.c: Rename variable `spaces' to `xspaces' to avoidKaveh Ghazi
conflicting with function `spaces' from libiberty. * g77spec.c: Don't prototype libiberty functions. * malloc.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23933 138bc75d-0d04-0410-961f-82ee72b054a4
1998-11-27 * g++spec.c: Don't prototype xmalloc.Kaveh Ghazi
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@23932 138bc75d-0d04-0410-961f-82ee72b054a4