The previous checkin will break build for most application:

http://gcc.gnu.org/viewcvs/gcc/branches/google/gcc-4_9/gcc/?view=log

This patch fixes the regression by updating highest_location.

Testing on-going,

OK for google-4_9 branch?

Thanks,
Dehao

Index: gcc/input.c
===================================================================
--- gcc/input.c (revision 210338)
+++ gcc/input.c (working copy)
@@ -910,6 +910,8 @@ location_with_discriminator (location_t locus, int
       : next_discriminator_location);

   next_discriminator_location++;
+  if (next_discriminator_location > line_table->highest_location)
+    line_table->highest_location = next_discriminator_location;
   return ret;
 }

Reply via email to