Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
branch as of March 7th, 2000.
This commit is contained in:
parent
cbab320528
commit
ce5adf112e
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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. */
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jan 24 20:28:35 CET 2000 David M. Gay <dmg@bell-labs.com>
|
||||
|
||||
* libI77/endfile.c (t_runc): set state to writing
|
||||
(b->uwrt = 1) when an endfile statement requires copying the file.
|
||||
|
||||
Sun Oct 24 23:54:10 PDT 1999 Jeff Law (law@cygnus.com)
|
||||
|
||||
* gcc-2.95.2 Released.
|
||||
|
@ -103,6 +103,7 @@ t_runc(alist *a)
|
||||
rewind(tf);
|
||||
if (copy(tf, loc, bf))
|
||||
goto bad1;
|
||||
b->uwrt = 1;
|
||||
b->urw = 2;
|
||||
#ifdef NON_UNIX_STDIO
|
||||
if (b->ufmt) {
|
||||
|
@ -1,3 +1,10 @@
|
||||
2000-01-28 Martin v. Löwis <loewis@informatik.hu-berlin.de>
|
||||
|
||||
* fstream.h (ifstream::ifstream): Add ios::in to mode.
|
||||
(ifstream::open): Likewise.
|
||||
(ofstream::ofstream): Add ios::out to mode.
|
||||
(ofstream::open): Likewise.
|
||||
|
||||
1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
|
||||
|
||||
* filebuf.cc (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* This is part of libio/iostream, providing -*- C++ -*- input/output.
|
||||
Copyright (C) 1993 Free Software Foundation
|
||||
Copyright (C) 1993, 2000 Free Software Foundation
|
||||
|
||||
This file is part of the GNU IO Library. This library is free
|
||||
software; you can redistribute it and/or modify it under the
|
||||
@ -62,9 +62,9 @@ class ifstream : public fstreambase, public istream {
|
||||
ifstream(int fd) : fstreambase(fd) { }
|
||||
ifstream(int fd, char *p, int l) : fstreambase(fd, p, l) { } /*Deprecated*/
|
||||
ifstream(const char *name, int mode=ios::in, int prot=0664)
|
||||
: fstreambase(name, mode, prot) { }
|
||||
: fstreambase(name, mode | ios::in, prot) { }
|
||||
void open(const char *name, int mode=ios::in, int prot=0664)
|
||||
{ fstreambase::open(name, mode, prot); }
|
||||
{ fstreambase::open(name, mode | ios::in, prot); }
|
||||
};
|
||||
|
||||
class ofstream : public fstreambase, public ostream {
|
||||
@ -73,9 +73,9 @@ class ofstream : public fstreambase, public ostream {
|
||||
ofstream(int fd) : fstreambase(fd) { }
|
||||
ofstream(int fd, char *p, int l) : fstreambase(fd, p, l) { } /*Deprecated*/
|
||||
ofstream(const char *name, int mode=ios::out, int prot=0664)
|
||||
: fstreambase(name, mode, prot) { }
|
||||
: fstreambase(name, mode | ios::out, prot) { }
|
||||
void open(const char *name, int mode=ios::out, int prot=0664)
|
||||
{ fstreambase::open(name, mode, prot); }
|
||||
{ fstreambase::open(name, mode | ios::out, prot); }
|
||||
};
|
||||
|
||||
class fstream : public fstreambase, public iostream {
|
||||
|
@ -1,5 +1,26 @@
|
||||
1999-12-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
|
||||
Tue Mar 7 21:37:56 2000 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
|
||||
* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget
|
||||
to define tanh.
|
||||
|
||||
1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
|
||||
* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
|
||||
building meta-expressions don't forget to take the contained
|
||||
closures.
|
||||
|
||||
1999-10-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
|
||||
* std/valarray_meta.h: (_BinClos::_BinClos): Fix typo.
|
||||
|
||||
1999-09-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
|
||||
* std/complext.cc (pow): Don't expect floating point promotion
|
||||
in presence of template argument deduction. There is no such
|
||||
thing.
|
||||
|
||||
2000-02-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
|
||||
* std/valarray_array.h (__valarray_copy): Fix typo.
|
||||
|
||||
1999-12-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
|
||||
* std/bastring.h (basic_string::basic_string): Rename parameters
|
||||
to avoid shadow warnings.
|
||||
* std/bastring.cc (alloc): Likewise.
|
||||
|
@ -236,7 +236,7 @@ pow (const complex<FLOAT>& xin, int y)
|
||||
if (y < 0)
|
||||
{
|
||||
y = -y;
|
||||
x = 1/x;
|
||||
x = FLOAT(1)/x;
|
||||
}
|
||||
for (;;)
|
||||
{
|
||||
|
@ -73,7 +73,7 @@ template<typename _Tp>
|
||||
inline void
|
||||
__valarray_copy (const _Tp* __restrict__ __a, size_t __n, size_t __s,
|
||||
_Tp* __restrict__ __b)
|
||||
{ for (size_t __i=0; __i<__n; ++__i, ++__b, __a += __s) *__b += *__a; }
|
||||
{ for (size_t __i=0; __i<__n; ++__i, ++__b, __a += __s) *__b = *__a; }
|
||||
|
||||
// copy plain __a[<__n>] in strided __b[<__n : __s>]
|
||||
template<typename _Tp>
|
||||
|
@ -449,7 +449,7 @@ struct _BinClos<_Oper,_ValArray,_Expr,typename _Dom::value_type,_Dom>
|
||||
typedef _BinBase<_Oper,valarray<_Tp>,_Dom> _Base;
|
||||
typedef typename _Base::value_type value_type;
|
||||
|
||||
_BinClos (const valarray<_Tp> __e1, const _Dom& __e2)
|
||||
_BinClos (const valarray<_Tp>& __e1, const _Dom& __e2)
|
||||
: _Base (__e1, __e2) {}
|
||||
};
|
||||
|
||||
@ -917,7 +917,7 @@ _Name(const _Expr<_Dom,typename _Dom::value_type>& __e) \
|
||||
{ \
|
||||
typedef typename _Dom::value_type _Tp; \
|
||||
typedef _UnFunClos<_Expr,_Dom> _Closure; \
|
||||
return _Expr<_Closure,_Tp> (_Closure (__e, (_Tp(*)(_Tp))(&_Name))); \
|
||||
return _Expr<_Closure,_Tp>(_Closure(__e(), (_Tp(*)(_Tp))(&_Name))); \
|
||||
} \
|
||||
\
|
||||
template<typename _Tp> \
|
||||
@ -936,7 +936,8 @@ _Name(const valarray<_Tp>& __v) \
|
||||
_DEFINE_EXPR_UNARY_FUNCTION(sin)
|
||||
_DEFINE_EXPR_UNARY_FUNCTION(asin)
|
||||
_DEFINE_EXPR_UNARY_FUNCTION(sinh)
|
||||
_DEFINE_EXPR_UNARY_FUNCTION(tan)
|
||||
_DEFINE_EXPR_UNARY_FUNCTION(tan)
|
||||
_DEFINE_EXPR_UNARY_FUNCTION(tanh)
|
||||
_DEFINE_EXPR_UNARY_FUNCTION(atan)
|
||||
_DEFINE_EXPR_UNARY_FUNCTION(exp)
|
||||
_DEFINE_EXPR_UNARY_FUNCTION(log)
|
||||
|
Loading…
x
Reference in New Issue
Block a user