2008-03-07 Joel Sherrill <joel.sherrill@OARcorp.com>

PR 1280/tools
	* shttpd/log.c: Broaden logic so all gcc versions < 4.3.0 will enable
	work around.
This commit is contained in:
Joel Sherrill
2008-03-07 18:58:39 +00:00
parent 789c49080b
commit ad62077db9
2 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2008-03-07 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1280/tools
* shttpd/log.c: Broaden logic so all gcc versions < 4.3.0 will enable
work around.
2008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/motorola/mc68230.h: Prefix defines with

View File

@@ -62,14 +62,14 @@ elog(int flags, struct conn *c, const char *fmt, ...)
}
/*
* HACK: m68k-gcc <= 4.2.1 ICEs on the snprintf below for some
* HACK: m68k-gcc <= 4.2.3 ICEs on the snprintf below for some
* coldfire variants for yet unknown reasons.
* C.f.: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307
* Fixed in gcc 4.3.x and unlikely ever to be fixed in 4.2 and older.
*/
#if defined(__GNUC__) && \
( (__GNUC__ < 4 ) || \
( (__GNUC__ == 4 ) && (__GNUC_MINOR__ < 2 ) ) || \
( (__GNUC__ == 4 ) && (__GNUC_MINOR__ == 2 ) && (__GNUC_PATCHLEVEL__ <= 1 ) ) )
(__GNUC__ < 4 ) || \
( (__GNUC__ == 4 ) && (__GNUC_MINOR__ <= 2 ) )
#if defined(__mcoldfire__)
#define SPLIT_SNPRINTF 1
#endif /* __mcoldfire__ */