This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Geoff' latest pch patches fail to bootstrap:
stage1/xgcc -Bstage1/ -B/opt/gcc/3.4-devel/x86_64-suse-linux-gnu/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I/usr/src/aj/cvs/gcc/gcc -I/usr/src/aj/cvs/gcc/gcc/. -I/usr/src/aj/cvs/gcc/gcc/../include \
-DTARGET_NAME=\"x86_64-suse-linux-gnu\" \
-c /usr/src/aj/cvs/gcc/gcc/toplev.c -o toplev.o
/usr/src/aj/cvs/gcc/gcc/toplev.c: In function `default_pch_valid_p':
/usr/src/aj/cvs/gcc/gcc/toplev.c:4206: warning: assignment discards qualifiers from pointer target type
make[2]: *** [toplev.o] Error 1
The following patch fixes the failure, committed as obvious after
testing compilation. I'll do a complete bootstrap now,
Andreas
2003-10-26 Andreas Jaeger <aj@suse.de>
* toplev.c (default_pch_valid_p): Fix warning.
============================================================
Index: gcc/toplev.c
--- gcc/toplev.c 24 Oct 2003 21:28:09 -0000 1.839
+++ gcc/toplev.c 26 Oct 2003 06:46:16 -0000
@@ -4203,7 +4203,7 @@ default_pch_valid_p (const void *data_p,
asprintf (&r, _("created and used with differing settings of `-m%s'"),
flag_that_differs);
if (r == NULL)
- r = _("out of memory");
+ return _("out of memory");
return r;
}
}
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |