This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/49270] make BOOT_CFLAGS="-g -O3" CFLAGS_FOR_TARGET="-g -O3" CXXFLAGS_FOR_TARGET="-g -O3" failure


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49270

--- Comment #3 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-06-03 00:35:08 UTC ---
Index: gcc/ipa-inline-analysis.c
===================================================================
--- gcc/ipa-inline-analysis.c    (revision 174584)
+++ gcc/ipa-inline-analysis.c    (working copy)
@@ -2286,7 +2286,8 @@ read_predicate (struct lto_input_block *
   do 
     {
       gcc_assert (k <= MAX_CLAUSES);
-      clause = out.clause[k++] = lto_input_uleb128 (ib);
+      out.clause[k++] = lto_input_uleb128 (ib);
+      clause = out.clause[k++];
     }
   while (clause);
   return out;

appears to solve the problems with a bootstrap using...

make BOOT_CFLAGS="-g -O3" CFLAGS_FOR_TARGET="-g -O3" CXXFLAGS_FOR_TARGET="-g
-O3"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]