public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re:  CCP and Ada testsuite failure c330001
@ 2004-11-22 13:19 Richard Kenner
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Kenner @ 2004-11-22 13:19 UTC (permalink / raw)
  To: pinskia; +Cc: gcc

    I decided to look a little into the Ada testsuite failure, c330001.

Thanks for looking into this. I had a fix for that once, but it regressed
and I hadn't gotten back to checking into it again.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* CCP and Ada testsuite failure c330001
@ 2004-11-22  7:27 Andrew Pinski
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Pinski @ 2004-11-22  7:27 UTC (permalink / raw)
  To: gcc mailing list

I decided to look a little into the Ada testsuite failure, c330001.
And I noticed that we are propagating a constant across a
VIEW_CONVERT_EXPR.
Aka before CCP:
   VIEW_CONVERT_EXPR<character[1 .. 2]>(var_1.F.s) = "Hi";
   D.3531_12 = system__secondary_stack__ss_allocate (24);
   D.3530_13 = (struct c330001_0__fullviewdefinite_unknown_disc *) 
D.3531_12;
   VIEW_CONVERT_EXPR<struct 
c330001_0__indef_func_1__var_1___PAD>(*D.3530_13) = var_1;

But afterwards:
   VIEW_CONVERT_EXPR<character[1 .. 2]>(var_1.F.s) = "Hi";
   D.3531_12 = system__secondary_stack__ss_allocate (24);
   D.3530_13 = (struct c330001_0__fullviewdefinite_unknown_disc *) 
D.3531_12;
   VIEW_CONVERT_EXPR<struct 
c330001_0__indef_func_1__var_1___PAD>(*D.3530_13) = "Hi";
   return D.3530_13;

Which seems wrong.  (note the variable is named var_1 and not an
SSA_NAME.

Could someone look into how to fix this?

Thanks,
Andrew Pinski

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-22 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-22 13:19 CCP and Ada testsuite failure c330001 Richard Kenner
  -- strict thread matches above, loose matches on Subject: below --
2004-11-22  7:27 Andrew Pinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).