Don't print request to file bug on fatal error twice.

This commit is contained in:
Matt Pharr
2012-06-08 11:23:45 -07:00
parent 89a2566e01
commit 92b3ae41dd

View File

@@ -429,6 +429,11 @@ PerformanceWarning(SourcePos p, const char *fmt, ...) {
static void
lPrintBugText() {
static bool printed = false;
if (printed)
return;
printed = true;
fprintf(stderr, "***\n"
"*** Please file a bug report at https://github.com/ispc/ispc/issues\n"
"*** (Including as much information as you can about how to "