PR 48826: NOTE_INSN_CALL_ARG_LOCATION vs. define_split

Eric Botcazou ebotcazou@adacore.com
Sun May 29 14:31:00 GMT 2011


> If this usage isn't legitimate, and the CALL_ARG_LOCATION is supposed
> to come directly after the call, then it would be great if someone more
> familiar with the var-tracking code could have a look at it.

"Be liberal in what you accept" says the common wisdom.

> gcc/
> 	* emit-rtl.c (try_split): Use a loop to search for
> 	NOTE_INSN_CALL_ARG_LOCATIONs.
>
> gcc/testsuite/
> 	From Ryan Mansfield
> 	* gcc.dg/pr48826.c: New test.

OK, thanks.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list