Skip to content

Commit f8a17e3

Browse files
committed
Import gcc-2.8.1.tar.bz2
1 parent 03725bf commit f8a17e3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+16455
-2606
lines changed

gcc/ChangeLog

Lines changed: 14486 additions & 297 deletions
Large diffs are not rendered by default.

gcc/ChangeLog.lib

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
1998-02-13 Richard Kenner <[email protected]>
2+
3+
* config.sub: Add PentiumII (i786). Add '7' to all i[3456]
4+
entries. Add AMD and Cyrix names for P5 and P6.
5+
6+
1998-02-03 Philip Blundell <[email protected]>
7+
8+
* config.guess: Add support for Linux/ARM.
9+
10+
1998-02-03 Paul Eggert <[email protected]>
11+
12+
* obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
13+
14+
1998-01-28 Ian Lance Taylor <[email protected]>
15+
16+
* config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32
17+
and mingw32.
18+
119
Wed Jan 1 17:54:47 1998 J.J. van der Heijden <[email protected]>
220

321
* pexecute.c (pexecute, [_WIN32]): Yes, mask termstat for mingw32.

gcc/INSTALL

Lines changed: 41 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ and includes all the necessary compilation tools and libraries.
4545
what your configuration is or guesses wrong.
4646

4747
In those cases, specify the build machine's "configuration name"
48-
with the `--build' option; the host and target will default to be
49-
the same as the build machine. (If you are building a
48+
with the `--host' option; the host and target will default to be
49+
the same as the host machine. (If you are building a
5050
cross-compiler, see *Note Cross-Compiler::.)
5151

5252
Here is an example:
@@ -422,12 +422,12 @@ and includes all the necessary compilation tools and libraries.
422422
This copies the files `cc1', `cpp' and `libgcc.a' to files `cc1',
423423
`cpp' and `libgcc.a' in the directory
424424
`/usr/local/lib/gcc-lib/TARGET/VERSION', which is where the
425-
compiler driver program looks for them. Here TARGET is the target
426-
machine type specified when you ran `configure', and VERSION is
427-
the version number of GNU CC. This naming scheme permits various
428-
versions and/or cross-compilers to coexist. It also copies the
429-
executables for compilers for other languages (e.g., `cc1plus' for
430-
C++) to the same directory.
425+
compiler driver program looks for them. Here TARGET is the
426+
canonicalized form of target machine type specified when you ran
427+
`configure', and VERSION is the version number of GNU CC. This
428+
naming scheme permits various versions and/or cross-compilers to
429+
coexist. It also copies the executables for compilers for other
430+
languages (e.g., `cc1plus' for C++) to the same directory.
431431

432432
This also copies the driver program `xgcc' into
433433
`/usr/local/bin/gcc', so that it appears in typical execution
@@ -454,8 +454,13 @@ and includes all the necessary compilation tools and libraries.
454454
library. All I/O functionality, special class libraries, etc., are
455455
provided by the C++ runtime library.
456456

457-
Here's one way to build and install a C++ runtime library for GNU
458-
CC:
457+
The standard C++ runtime library for GNU CC is called `libstdc++'.
458+
An obsolescent library `libg++' may also be available, but it's
459+
necessary only for older software that hasn't been converted yet;
460+
if you don't know whether you need `libg++' then you probably don't
461+
need it.
462+
463+
Here's one way to build and install `libstdc++' for GNU CC:
459464

460465
* Build and install GNU CC, so that invoking `gcc' obtains the
461466
GNU CC that was just built.
@@ -731,9 +736,10 @@ special things you must know:
731736
AMD Am29050 used in a system running a variant of BSD Unix.
732737

733738
`decstation-*'
734-
DECstations can support three different personalities: Ultrix, DEC
735-
OSF/1, and OSF/rose. To configure GCC for these platforms use the
736-
following configurations:
739+
MIPS-based DECstations can support three different personalities:
740+
Ultrix, DEC OSF/1, and OSF/rose. (Alpha-based DECstation products
741+
have a configuration name beginning with `alpha-dec'.) To
742+
configure GCC for these platforms use the following configurations:
737743

738744
`decstation-ultrix'
739745
Ultrix configuration.
@@ -825,16 +831,12 @@ special things you must know:
825831
Use this for the SCO OpenServer Release family including 5.0.0,
826832
5.0.2, 5.0.4, Internet FastStart 1.0, and Internet FastStart 1.1.
827833

828-
GNU CC can generate ELF binaries (if you specify `-melf') or COFF
829-
binaries (the default). If you are going to build your compiler
830-
in ELF mode (once you have bootstrapped the first stage compiler)
831-
you *must* specify `-melf' as part of `CC', *not* `CFLAGS', for
832-
example as `CC="stage1/xgcc -melf -Bstage1/" '. If you do not do
833-
this, the bootstrap will generate incorrect versions of `libgcc.a'.
834+
GNU CC can generate either ELF or COFF binaries. ELF is the
835+
default. To get COFF output, you must specify `-mcoff' on the
836+
command line.
834837

835-
You must have TLS597 (from ftp.sco.com/TLS) installed for ELF
836-
binaries to work correctly. Note that Open Server 5.0.2 *does*
837-
need TLS597 installed.
838+
For 5.0.0 and 5.0.2, you must install TLS597 from ftp.sco.com/TLS.
839+
5.0.4 and later do not require this patch.
838840

839841
*NOTE:* You must follow the instructions about invoking `make
840842
bootstrap' because the native OpenServer compiler builds a
@@ -943,7 +945,7 @@ special things you must know:
943945
`m68000-hp-bsd'
944946
HP 9000 series 200 running BSD. Note that the C compiler that
945947
comes with this system cannot compile GNU CC; contact
946-
`law@cs.utah.edu' to get binaries of GNU CC for bootstrapping.
948+
`law@cygnus.com' to get binaries of GNU CC for bootstrapping.
947949

948950
`m68k-altos'
949951
Altos 3068. You must use the GNU assembler, linker and debugger.
@@ -1237,13 +1239,15 @@ special things you must know:
12371239
xlc-1.2.1.8, xlc-1.3.0.0 (distributed with AIX 3.2.5), and
12381240
xlc-1.3.0.19. Both xlc-1.2.1.28 and xlc-1.3.0.24 (PTF 432238) are
12391241
known to produce working versions of GNU CC, but most other recent
1240-
releases correctly bootstrap GNU CC. Also, releases of AIX prior
1241-
to AIX 3.2.4 include a version of the IBM assembler which does not
1242-
accept debugging directives: assembler updates are available as
1243-
PTFs. Also, if you are using AIX 3.2.5 or greater and the GNU
1244-
assembler, you must have a version modified after October 16th,
1245-
1995 in order for the GNU C compiler to build. See the file
1246-
`README.RS6000' for more details on of these problems.
1242+
releases correctly bootstrap GNU CC.
1243+
1244+
Release 4.3.0 of AIX and ones prior to AIX 3.2.4 include a version
1245+
of the IBM assembler which does not accept debugging directives:
1246+
assembler updates are available as PTFs. Also, if you are using
1247+
AIX 3.2.5 or greater and the GNU assembler, you must have a
1248+
version modified after October 16th, 1995 in order for the GNU C
1249+
compiler to build. See the file `README.RS6000' for more details
1250+
on any of these problems.
12471251

12481252
GNU CC does not yet support the 64-bit PowerPC instructions.
12491253

@@ -1734,8 +1738,13 @@ must specify a 68030 as the host when you configure it.
17341738
Installing GNU CC on the Sun
17351739
============================
17361740

1737-
On Solaris (version 2.1), do not use the linker or other tools in
1738-
`/usr/ucb' to build GNU CC. Use `/usr/ccs/bin'.
1741+
On Solaris, do not use the linker or other tools in `/usr/ucb' to
1742+
build GNU CC. Use `/usr/ccs/bin'.
1743+
1744+
If the assembler reports `Error: misaligned data' when bootstrapping,
1745+
you are probably using an obsolete version of the GNU assembler.
1746+
Upgrade to the latest version of GNU `binutils', or use the Solaris
1747+
assembler.
17391748

17401749
Make sure the environment variable `FLOAT_OPTION' is not set when
17411750
you compile `libgcc.a'. If this option were set to `f68881' when

gcc/Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H) flags.h function.h
12791279
fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H) flags.h
12801280
toplev.o : toplev.c $(CONFIG_H) $(TREE_H) $(RTL_H) bytecode.h bc-emit.h \
12811281
flags.h input.h insn-attr.h insn-codes.h insn-config.h recog.h xcoffout.h \
1282-
defaults.h output.h Makefile \
1282+
defaults.h output.h \
12831283
$(lang_options_files)
12841284
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \
12851285
-DTARGET_NAME=\"$(target_alias)\" \
@@ -2120,7 +2120,7 @@ extraclean: distclean lang.extraclean
21202120
-rm -f *.dvi *.ps *.oaux *.d *.[zZ] *.gz
21212121
-rm -f *.tar *.xtar *diff *.diff.* *.tar.* *.xtar.* *diffs
21222122
-rm -f *lose config/*lose config/*/*lose
2123-
-rm -f *.s *.s[0-9] *.i config/ChangeLog
2123+
-rm -f *.s *.s[0-9] *.i install1.texi config/ChangeLog
21242124
-rm -f */=* */"#"* */*~*
21252125
-rm -f */patch* */*.orig */*.rej
21262126
-rm -f */*.dvi */*.oaux */*.d */*.[zZ] */*.gz

gcc/SERVICE

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ have nothing to go by. Please put each e-mail address inside "<>".
3535
Please put nothing else inside "<>". Thanks!
3636

3737
For a current copy of this directory, or to have yourself listed, ask:
38-
gnu@prep.ai.mit.edu
38+
gnu@gnu.org
3939

4040
** Please keep the entries in this file alphabetical **
4141

@@ -746,7 +746,7 @@ Crows Nest, NSW 2065
746746
AUSTRALIA
747747
+61 411250024
748748

749-
* The human face behind the bug-g++@prep.ai.mit.edu mailing list - known
749+
* The human face behind the bug-g++@gnu.org mailing list - known
750750
in the past as <[email protected]> and <[email protected]> - now
751751
known as <[email protected]>.
752752

@@ -898,6 +898,32 @@ Rates: $90-$150 / hour, negotiable, depending on many variables.
898898

899899
Updated: 1997-05-07
900900

901+
Mark P. Mitchell <[email protected]>
902+
3421 El Camino Real #35
903+
Atherton, CA 94027
904+
(650) 364-5360
905+
http://home.earthlink.net/~mbmitchell/consulting.html
906+
907+
Experience
908+
----------
909+
I am an experienced software engineer, with particular expertise in
910+
the field of programming tools. I am responsible for the
911+
implementation of member templates in currently available versions of
912+
G++ as well as many other G++ bug-fixes, and continue to work actively on
913+
improving G++.
914+
915+
I am willing to work on any and all projects involving free software.
916+
917+
Please see my resume at the above URL for further information on
918+
my experience and qualifications.
919+
920+
Rates
921+
-----
922+
My standard rate is $125/hr, but I am willing to negotiate flat fees, and
923+
discounts for deserving organizations.
924+
925+
Updated: 1998-02-13
926+
901927
Erik Naggum <[email protected]>
902928
P.O. Box 1570 Vika http://www.naggum.no
903929
0118 OSLO phone: +47 8800 8879
@@ -1291,7 +1317,7 @@ non-profit organizations.
12911317

12921318
Updated: 1997-05-19
12931319

1294-
Leonard H. Tower Jr. <tower@prep.ai.mit.edu>
1320+
Leonard H. Tower Jr. <[email protected]>
12951321
36 Porter Street
12961322
Somerville, MA 02143
12971323
USA
@@ -1300,13 +1326,14 @@ USA
13001326
Will work on most GNU software.
13011327
Installation, handholding, trouble shooting, extensions, teaching.
13021328

1303-
Rates: $ 150.00/hour + travel expenses. Negotiable for non-profits.
1329+
Rates: $ 150.00/hour + travel expenses. Fixed fee quotes available.
1330+
Negotiable for non-profits.
13041331

13051332
Experience: Have hacked on over a dozen architectures in many languages. Have
13061333
system mothered too many varieties of Unixes. Assisted rms with the front end
13071334
of gcc and its back-end support. Resume available on request.
13081335

1309-
Updated: 1997-05-24
1336+
Updated: 1998-02-10
13101337

13111338
noris network GmbH
13121339
Matthias Urlichs
@@ -1415,6 +1442,6 @@ Updated: 1996-12-04
14151442

14161443

14171444
For a current copy of this directory, or to have yourself listed, ask:
1418-
gnu@prep.ai.mit.edu
1445+
gnu@gnu.org
14191446

14201447
** Please keep the entries in this file alphabetical **

gcc/bi-parser.c

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
/* A Bison parser, made from bi-parser.y
3-
by GNU Bison version 1.25
3+
by Bison version A2.5 (Andrew Consortium)
44
*/
55

66
#define YYBISON 1 /* Identify Bison output. */
@@ -109,7 +109,7 @@ static const short yyrline[] = { 0,
109109
#endif
110110

111111

112-
#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)
112+
#if YYDEBUG != 0
113113

114114
static const char * const yytname[] = { "$","error","$undefined.","DEFOP",
115115
"STRING","'('","','","')'","top","defs","def","variations","variation","opt_string",
@@ -167,7 +167,7 @@ static const short yycheck[] = { 27,
167167
-1, 12, -1, -1, 16
168168
};
169169
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
170-
#line 3 "/usr/share/misc/bison.simple"
170+
#line 3 "/usr/share/bison.simple"
171171

172172
/* Skeleton output parser for bison,
173173
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
@@ -184,7 +184,7 @@ static const short yycheck[] = { 27,
184184
185185
You should have received a copy of the GNU General Public License
186186
along with this program; if not, write to the Free Software
187-
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
187+
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
188188

189189
/* As a special exception, when this file is copied by Bison into a
190190
Bison output file, you may use that output file without restriction.
@@ -322,16 +322,16 @@ int yyparse (void);
322322
#endif
323323

324324
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
325-
#define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT)
325+
#define __yy_memcpy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
326326
#else /* not GNU C or C++ */
327327
#ifndef __cplusplus
328328

329329
/* This is the most reliable way to avoid incompatibilities
330330
in available built-in functions on various systems. */
331331
static void
332-
__yy_memcpy (to, from, count)
333-
char *to;
332+
__yy_memcpy (from, to, count)
334333
char *from;
334+
char *to;
335335
int count;
336336
{
337337
register char *f = from;
@@ -347,7 +347,7 @@ __yy_memcpy (to, from, count)
347347
/* This is the most reliable way to avoid incompatibilities
348348
in available built-in functions on various systems. */
349349
static void
350-
__yy_memcpy (char *to, char *from, int count)
350+
__yy_memcpy (char *from, char *to, int count)
351351
{
352352
register char *f = from;
353353
register char *t = to;
@@ -360,7 +360,7 @@ __yy_memcpy (char *to, char *from, int count)
360360
#endif
361361
#endif
362362

363-
#line 196 "/usr/share/misc/bison.simple"
363+
#line 192 "/usr/share/bison.simple"
364364

365365
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
366366
into yyparse. The argument should have type void *.
@@ -369,20 +369,14 @@ __yy_memcpy (char *to, char *from, int count)
369369
to the proper pointer type. */
370370

371371
#ifdef YYPARSE_PARAM
372-
#ifdef __cplusplus
373-
#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
374-
#define YYPARSE_PARAM_DECL
375-
#else /* not __cplusplus */
376-
#define YYPARSE_PARAM_ARG YYPARSE_PARAM
377372
#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
378-
#endif /* not __cplusplus */
379-
#else /* not YYPARSE_PARAM */
380-
#define YYPARSE_PARAM_ARG
373+
#else
374+
#define YYPARSE_PARAM
381375
#define YYPARSE_PARAM_DECL
382-
#endif /* not YYPARSE_PARAM */
376+
#endif
383377

384378
int
385-
yyparse(YYPARSE_PARAM_ARG)
379+
yyparse(YYPARSE_PARAM)
386380
YYPARSE_PARAM_DECL
387381
{
388382
register int yystate;
@@ -499,12 +493,12 @@ yyparse(YYPARSE_PARAM_ARG)
499493
if (yystacksize > YYMAXDEPTH)
500494
yystacksize = YYMAXDEPTH;
501495
yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
502-
__yy_memcpy ((char *)yyss, (char *)yyss1, size * sizeof (*yyssp));
496+
__yy_memcpy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
503497
yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
504-
__yy_memcpy ((char *)yyvs, (char *)yyvs1, size * sizeof (*yyvsp));
498+
__yy_memcpy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
505499
#ifdef YYLSP_NEEDED
506500
yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
507-
__yy_memcpy ((char *)yyls, (char *)yyls1, size * sizeof (*yylsp));
501+
__yy_memcpy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
508502
#endif
509503
#endif /* no yyoverflow */
510504

@@ -722,7 +716,7 @@ case 17:
722716
break;}
723717
}
724718
/* the action file gets copied in in place of this dollarsign */
725-
#line 498 "/usr/share/misc/bison.simple"
719+
#line 487 "/usr/share/bison.simple"
726720

727721
yyvsp -= yylen;
728722
yyssp -= yylen;

0 commit comments

Comments
 (0)