public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/35292]  New: Missing Const Prop -- union fields
@ 2008-02-22  6:53 xinliangli at gmail dot com
  2008-02-22 10:47 ` [Bug middle-end/35292] " rguenth at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: xinliangli at gmail dot com @ 2008-02-22  6:53 UTC (permalink / raw)
  To: gcc-bugs

union U {
  struct C
   {
      char c[4];
   }cc;

   int ii;
} u ;

int foo(int i)
{
   u.ii  = 20;

   return u.cc.c[0] + u.cc.c[1];  // Const prop target -- not performed
}


-- 
           Summary: Missing Const Prop -- union fields
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: xinliangli at gmail dot com


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


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-35292-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-07-05 14:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-22  6:53 [Bug middle-end/35292] New: Missing Const Prop -- union fields xinliangli at gmail dot com
2008-02-22 10:47 ` [Bug middle-end/35292] " rguenth at gcc dot gnu dot org
2008-02-23  5:50 ` pinskia at gcc dot gnu dot org
2008-02-24 21:15 ` rguenther at suse dot de
2009-01-01 21:49 ` [Bug tree-optimization/35292] " pinskia at gcc dot gnu dot org
2009-05-23  9:23 ` rguenth at gcc dot gnu dot org
     [not found] <bug-35292-4@http.gcc.gnu.org/bugzilla/>
2012-07-05 14:05 ` rguenth at gcc dot gnu.org

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).