diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2000-03-09 09:21:46 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-03-09 09:21:46 +0000 |
commit | ce5adf112e117fcd61beb4582c1d8e6a24065b25 (patch) | |
tree | 31f5b0e5dc2259f95abab85fb366f1095a9be227 /contrib/gcc | |
parent | cbab3205286065bef3f77788d973d62378b6d6f0 (diff) |
Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
branch as of March 7th, 2000.
Notes
Notes:
svn path=/vendor/gcc/dist/; revision=57844
Diffstat (limited to 'contrib/gcc')
-rw-r--r-- | contrib/gcc/ChangeLog | 44 | ||||
-rw-r--r-- | contrib/gcc/c-decl.c | 1 | ||||
-rw-r--r-- | contrib/gcc/cccp.c | 2 | ||||
-rw-r--r-- | contrib/gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | contrib/gcc/cp/typeck2.c | 4 | ||||
-rw-r--r-- | contrib/gcc/f/ChangeLog | 4 | ||||
-rw-r--r-- | contrib/gcc/f/g77spec.c | 4 | ||||
-rw-r--r-- | contrib/gcc/gcc.c | 4 | ||||
-rw-r--r-- | contrib/gcc/gcc.texi | 4 | ||||
-rw-r--r-- | contrib/gcc/loop.c | 2 | ||||
-rw-r--r-- | contrib/gcc/reload1.c | 8 | ||||
-rw-r--r-- | contrib/gcc/system.h | 9 |
12 files changed, 78 insertions, 12 deletions
diff --git a/contrib/gcc/ChangeLog b/contrib/gcc/ChangeLog index b6b2b55a8257..8e83eb9a17c7 100644 --- a/contrib/gcc/ChangeLog +++ b/contrib/gcc/ChangeLog @@ -1,3 +1,47 @@ +Tue Mar 7 21:41:17 2000 Jeffrey A Law (law@cygnus.com) + + * cccp.c (handle_directive): Initialize backslash_newlines_p. + + Wed Jan 19 20:39:17 2000 Jim Wilson <wilson@cygnus.com> + * fixinc/inclhack.tpl: Test for directory before trying to cd into it. + * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate. + + Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk> + * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through + __CTOR_LIST__ in opposite order, which is the correct order for sorted + constructors. + (__do_global_dtors): similarly for __DTOR_LIST__. + + 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk> + * reload1.c (choose_reload_regs): When disabling a reload, also + set reload_spill_index to -1. + + Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com> + * reload1.c (reload_reg_free_for_value_p): Don't use a register + that is in reload_reg_used. + + 2000-01-18 Clinton Popetz <cpopetz@cygnus.com> + * loop.c (check_dbra_loop): When checking a loop for + reversability, check the source of any stores to ensure they + don't depend on an initial value. + + Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com> + * config/v850/v850.c (expand_epilogue): Interrupt functions no + longer allocate extra stack for function calls. + +Fri Feb 18 13:32:32 2000 Martin von Loewis <loewis@informatik.hu-berlin.de> + + * gcc.texi (Bug Reporting): Refer to bugs.html. + (Bug Lists): Likewise. + * system.h (GCCBUGURL): New preprocessor define. + (abort): Use it. + * gcc.c (main): Likewise. + +Thu Feb 3 10:53:45 2000 Richard Henderson <rth@cygnus.com> + + Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com> + * c-decl.c (duplicate_decls): Copy DECL_MODE too. + Thu Jan 20 10:02:07 2000 Richard Henderson <rth@cygnus.com> 2000-01-03 Anthony Green <green@cygnus.com> diff --git a/contrib/gcc/c-decl.c b/contrib/gcc/c-decl.c index a232217bc0a5..8844988fa8f3 100644 --- a/contrib/gcc/c-decl.c +++ b/contrib/gcc/c-decl.c @@ -1951,6 +1951,7 @@ duplicate_decls (newdecl, olddecl, different_binding_level) { /* Since the type is OLDDECL's, make OLDDECL's size go with. */ DECL_SIZE (newdecl) = DECL_SIZE (olddecl); + DECL_MODE (newdecl) = DECL_MODE (olddecl); if (TREE_CODE (olddecl) != FUNCTION_DECL) if (DECL_ALIGN (olddecl) > DECL_ALIGN (newdecl)) DECL_ALIGN (newdecl) = DECL_ALIGN (olddecl); diff --git a/contrib/gcc/cccp.c b/contrib/gcc/cccp.c index 473ff4532b25..83f4dff56837 100644 --- a/contrib/gcc/cccp.c +++ b/contrib/gcc/cccp.c @@ -3983,7 +3983,7 @@ handle_directive (ip, op) case '\'': case '\"': { - int backslash_newlines_p; + int backslash_newlines_p = 0; register U_CHAR *bp1 = skip_quoted_string (xp - 1, bp, ip->lineno, diff --git a/contrib/gcc/cp/ChangeLog b/contrib/gcc/cp/ChangeLog index 605bafc0a52c..309d8e224ec2 100644 --- a/contrib/gcc/cp/ChangeLog +++ b/contrib/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de> + + * typeck2.c (my_friendly_abort): Use GCCBUGURL. + 1999-11-01 Jason Merrill <jason@yorick.cygnus.com> * decl2.c (maybe_make_one_only): Always make things comdat on diff --git a/contrib/gcc/cp/typeck2.c b/contrib/gcc/cp/typeck2.c index 6322157e6245..da98203bdc0b 100644 --- a/contrib/gcc/cp/typeck2.c +++ b/contrib/gcc/cp/typeck2.c @@ -344,7 +344,7 @@ my_friendly_abort (i) else ack ("Internal compiler error %d.", i); ack ("Please submit a full bug report."); - ack ("See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions."); + ack ("See %s for instructions.", GCCBUGURL); } else error ("confused by earlier errors, bailing out"); @@ -359,7 +359,7 @@ my_friendly_abort (i) error ("Internal compiler error %d.", i); error ("Please submit a full bug report."); - fatal ("See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions."); + fatal ("See %s for instructions.", GCCBUGURL); } void diff --git a/contrib/gcc/f/ChangeLog b/contrib/gcc/f/ChangeLog index 2e818152ca1f..bc62110d976a 100644 --- a/contrib/gcc/f/ChangeLog +++ b/contrib/gcc/f/ChangeLog @@ -1,3 +1,7 @@ +Fri Feb 18 13:36:50 2000 Martin von Loewis <loewis@informatik.hu-berlin.de> + + * g77spec.c (lang_specific_driver): Use GCCBUGURL. + Sun Oct 24 23:54:10 PDT 1999 Jeff Law (law@cygnus.com) * gcc-2.95.2 Released. diff --git a/contrib/gcc/f/g77spec.c b/contrib/gcc/f/g77spec.c index 50e773866b23..93a363cddb8b 100644 --- a/contrib/gcc/f/g77spec.c +++ b/contrib/gcc/f/g77spec.c @@ -1,5 +1,5 @@ /* Specific flags and argument handling of the Fortran front-end. - Copyright (C) 1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -428,7 +428,7 @@ For more information on g77 and gcc, type the commands `info -f g77'\n\ and `info -f gcc' to read the Info documentation.\n\ \n\ For bug reporting instructions, please see:\n\ -<URL:http://www.gnu.org/software/gcc/faq.html#bugreport>.\n"); +%s.\n", GCCBUGURL); exit (0); break; #endif diff --git a/contrib/gcc/gcc.c b/contrib/gcc/gcc.c index ea9f6ac370cd..e570d4ba1dcd 100644 --- a/contrib/gcc/gcc.c +++ b/contrib/gcc/gcc.c @@ -4963,7 +4963,7 @@ main (argc, argv) if (! verbose_flag) { printf ("\nFor bug reporting instructions, please see:\n"); - printf ("<URL:http://www.gnu.org/software/gcc/faq.html#bugreport>.\n"); + printf ("%s.\n", GCCBUGURL); exit (0); } @@ -5156,7 +5156,7 @@ main (argc, argv) if (print_help_list) { printf ("\nFor bug reporting instructions, please see:\n"); - printf ("<URL:http://www.gnu.org/software/gcc/faq.html#bugreport>\n"); + printf ("%s\n", GCCBUGURL); } exit (error_count > 0 ? (signal_count ? 2 : 1) : 0); diff --git a/contrib/gcc/gcc.texi b/contrib/gcc/gcc.texi index d2bbbb559020..8c08fa8b6d4c 100644 --- a/contrib/gcc/gcc.texi +++ b/contrib/gcc/gcc.texi @@ -2263,7 +2263,7 @@ convention, in which bug reports for tool ``foo'' are sent to @samp{bug-foo@@gnu.org}, the address @samp{bug-gcc@@gnu.org} may also be used; it will forward to the address given above. -Please read @samp{<URL:http://www.gnu.org/software/gcc/faq.html#bugreport>} for +Please read @samp{<URL:http://www.gnu.org/software/gcc/bugs.html>} for bug reporting instructions before you post a bug report. Often people think of posting bug reports to the newsgroup instead of @@ -2287,7 +2287,7 @@ Boston, MA 02111-1307, USA @cindex compiler bugs, reporting You may find additional and/or more up-to-date instructions at -@samp{<URL:http://www.gnu.org/software/gcc/faq.html#bugreport>}. +@samp{<URL:http://www.gnu.org/software/gcc/bugs.html>}. The fundamental principle of reporting bugs usefully is this: @strong{report all the facts}. If you are not sure whether to state a diff --git a/contrib/gcc/loop.c b/contrib/gcc/loop.c index a5c50529d813..497ac369c2b3 100644 --- a/contrib/gcc/loop.c +++ b/contrib/gcc/loop.c @@ -7856,7 +7856,7 @@ check_dbra_loop (loop_end, insn_count, loop_start, loop_info) { if (v->giv_type == DEST_REG && reg_mentioned_p (v->dest_reg, - XEXP (loop_store_mems, 0)) + PATTERN (first_loop_store_insn)) && loop_insn_first_p (first_loop_store_insn, v->insn)) reversible_mem_store = 0; } diff --git a/contrib/gcc/reload1.c b/contrib/gcc/reload1.c index 0ec2a9248308..d9245b0595c0 100644 --- a/contrib/gcc/reload1.c +++ b/contrib/gcc/reload1.c @@ -5204,6 +5204,13 @@ reload_reg_free_for_value_p (regno, opnum, type, value, out, reloadnum, int i; int copy = 0; + /* ??? reload_reg_used is abused to hold the registers that are not + available as spill registers, including hard registers that are + earlyclobbered in asms. As a temporary measure, reject anything + in reload_reg_used. */ + if (TEST_HARD_REG_BIT (reload_reg_used, regno)) + return 0; + if (out == const0_rtx) { copy = 1; @@ -6330,6 +6337,7 @@ choose_reload_regs (chain) clear_reload_reg_in_use (regno, reload_opnum[j], reload_when_needed[j], reload_mode[j]); reload_reg_rtx[j] = 0; + reload_spill_index[j] = -1; } /* Record which pseudos and which spill regs have output reloads. */ diff --git a/contrib/gcc/system.h b/contrib/gcc/system.h index 7d6082ccf299..1b40e6004fcd 100644 --- a/contrib/gcc/system.h +++ b/contrib/gcc/system.h @@ -22,6 +22,11 @@ Boston, MA 02111-1307, USA. */ #ifndef __GCC_SYSTEM_H__ #define __GCC_SYSTEM_H__ +/* This is the location of the online document giving information how + to report bugs. If you change this string, also check for strings + not under control of the preprocessor. */ +#define GCCBUGURL "<URL:http://www.gnu.org/software/gcc/bugs.html>" + /* We must include stdarg.h/varargs.h before stdio.h. */ #ifdef ANSI_PROTOTYPES #include <stdarg.h> @@ -399,8 +404,8 @@ extern void fatal PVPROTO((const char *, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORE #else #define abort() fatal ("Internal compiler error in `%s', at %s:%d\n" \ "Please submit a full bug report.\n" \ - "See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.", \ - __PRETTY_FUNCTION__, trim_filename (__FILE__), __LINE__) + "See %s for instructions.", \ + __PRETTY_FUNCTION__, trim_filename (__FILE__), __LINE__, GCCBUGURL) #endif /* recent gcc */ /* trim_filename is in toplev.c. Define a stub macro for files that |