This is the mail archive of the gcc-patches@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]

Re: [Patch] Fix PR 60040


On 04/07/2016 01:52 PM, Senthil Kumar Selvaraj wrote:
   The below patch fixes PR 60040 by not halting with a hard error on
   a spill failure, if reload knows that it has to run again anyway.

Some additional information as to how this situation creates a spill failure would be useful. It's hard to tell whether this patch just papers over a problem that can still trigger in other circumstances.

-	    spill_failure (chain->insn, rld[r].rclass);
-	    failure = 1;
-	    return;
+			if (!tentative)
+				{
+	        spill_failure (chain->insn, rld[r].rclass);
+	        failure = 1;
+	        return;
+				}
  	  }

The indentation looks all wrong.


Bernd


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