Don't print request to file bug on fatal error twice.
This commit is contained in:
5
util.cpp
5
util.cpp
@@ -429,6 +429,11 @@ PerformanceWarning(SourcePos p, const char *fmt, ...) {
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
lPrintBugText() {
|
lPrintBugText() {
|
||||||
|
static bool printed = false;
|
||||||
|
if (printed)
|
||||||
|
return;
|
||||||
|
|
||||||
|
printed = true;
|
||||||
fprintf(stderr, "***\n"
|
fprintf(stderr, "***\n"
|
||||||
"*** Please file a bug report at https://github.com/ispc/ispc/issues\n"
|
"*** Please file a bug report at https://github.com/ispc/ispc/issues\n"
|
||||||
"*** (Including as much information as you can about how to "
|
"*** (Including as much information as you can about how to "
|
||||||
|
|||||||
Reference in New Issue
Block a user