Werner LEMBERG wrote
  #if _LIBC
-  __fxprintf (NULL, file_name != NULL ? "%s:%d: " : " ",
-              file_name, line_number);
+  if (file_name != NULL)
+    __fxprintf (NULL, "%s:%d: ", file_name, line_number);
+  else
+    __fxprintf (NULL, " ");

The new version is less efficient because it contains more instructions, no? And the old version is correct. So my guess is that the patch wouldn't be accepted upstream.

How about if we call the warning a compiler bug instead? You can file a bug report with the GCC folks....


Reply via email to