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



--- Comment #11 from dave.anglin at bell dot net 2013-03-12 18:27:01 UTC ---

On 3/12/2013 1:59 PM, jakub at gcc dot gnu.org wrote:

> I think -fvar-tracking-assignments is disabled by default if selective

>

> scheduler is enabled, but I doubt that is the case of pa.  In any case, you

>

> could try

>

> to add -fvar-tracking-assignments explicitly to dg-options.

This does seem to make a difference:



;; Function foo (foo, funcdef_no=0, decl_uid=1351, cgraph_uid=0)



Created a debug-only replacement for s offset: 0, size: 32

Created a debug-only replacement for s offset: 32, size: 8

Created a debug-only replacement for s offset: 40, size: 8

Created a debug-only replacement for s offset: 48, size: 16

foo (int x)

{

   char * p;

   struct S s;



Dave

Reply via email to