public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/19341] New: [4.0 Regression] DCE eliminating non-dead code
@ 2005-01-09  1:29 belyshev at depni dot sinp dot msu dot ru
  2005-01-09  1:38 ` [Bug tree-optimization/19341] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-01-09  1:29 UTC (permalink / raw)
  To: gcc-bugs

void abort (void);

void __attribute__((regparm(1))) g (int *p)
{
  if (*p != 1)
    abort ();
}

int main ()
{
  int k;
  
  k = 1;
  asm volatile ("call g" :: "a" (&k));
  return 0;
}

-- 
           Summary: [4.0 Regression] DCE eliminating non-dead code
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P1
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-09-30 14:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-09  1:29 [Bug tree-optimization/19341] New: [4.0 Regression] DCE eliminating non-dead code belyshev at depni dot sinp dot msu dot ru
2005-01-09  1:38 ` [Bug tree-optimization/19341] " pinskia at gcc dot gnu dot org
2005-01-09  1:54 ` pinskia at gcc dot gnu dot org
2005-01-12  5:41 ` rth at gcc dot gnu dot org
2005-01-12  5:41 ` rth at gcc dot gnu dot org
2005-01-12  6:08 ` pinskia at gcc dot gnu dot org
2005-01-12 10:37 ` steven at gcc dot gnu dot org
2005-02-02  7:15 ` rth at gcc dot gnu dot org
2005-09-30 14:04 ` pinskia at gcc dot gnu dot 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).