]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/final.c
final: accept markers at line 0
[thirdparty/gcc.git] / gcc / final.c
index 3eb779a91b0d1e60997e77059edc2815f830ce4e..b037e07fca031587f964ca9acd5844e2551fb7f2 100644 (file)
@@ -3250,12 +3250,11 @@ notice_source_line (rtx_insn *insn, bool *is_stmt)
     {
       location_t loc = NOTE_MARKER_LOCATION (insn);
       expanded_location xloc = expand_location (loc);
-      if (xloc.line == 0)
-       {
-         gcc_checking_assert (LOCATION_LOCUS (loc) == UNKNOWN_LOCATION
-                              || LOCATION_LOCUS (loc) == BUILTINS_LOCATION);
-         return false;
-       }
+      if (xloc.line == 0
+         && (LOCATION_LOCUS (loc) == UNKNOWN_LOCATION
+             || LOCATION_LOCUS (loc) == BUILTINS_LOCATION))
+       return false;
+
       filename = xloc.file;
       linenum = xloc.line;
       columnnum = xloc.column;