public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22321] New: [4.1 Regression] Wrong code with SSA dominator optimizations
@ 2005-07-06  9:32 paul dot woegerer at nsc dot com
  2005-07-06  9:39 ` [Bug c++/22321] " paul dot woegerer at nsc dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: paul dot woegerer at nsc dot com @ 2005-07-06  9:32 UTC (permalink / raw)
  To: gcc-bugs

The following piece of code triggers a bug in the dominator optimizations.
With -fno-tree-dominator-opts the correct result is given back.

volatile int x;

int main ()
{
  volatile int *vip;
  vip = &x;
  const volatile int *cvip;
  cvip = vip;

  if (vip != cvip) return -1;
  return 0;
}

-- 
           Summary: [4.1 Regression] Wrong code with SSA dominator
                    optimizations
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: paul dot woegerer at nsc dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: crx-unknown-elf


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


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

end of thread, other threads:[~2005-07-13 17:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-06  9:32 [Bug c++/22321] New: [4.1 Regression] Wrong code with SSA dominator optimizations paul dot woegerer at nsc dot com
2005-07-06  9:39 ` [Bug c++/22321] " paul dot woegerer at nsc dot com
2005-07-06  9:54 ` falk at debian dot org
2005-07-06 10:55 ` paul dot woegerer at nsc dot com
2005-07-06 12:11 ` falk at debian dot org
2005-07-06 13:10 ` pinskia at gcc dot gnu dot org
2005-07-06 13:14 ` [Bug c++/22321] [4.0/4.1 " pinskia at gcc dot gnu dot org
2005-07-06 13:31 ` [Bug tree-optimization/22321] " pinskia at gcc dot gnu dot org
2005-07-06 13:38 ` paul dot woegerer at nsc dot com
2005-07-06 13:41 ` pinskia at gcc dot gnu dot org
2005-07-06 13:48 ` paul dot woegerer at nsc dot com
2005-07-06 17:04 ` mmitchel at gcc dot gnu dot org
2005-07-07  7:34 ` law at redhat dot com
2005-07-09 18:01 ` [Bug middle-end/22321] [4.0/4.1 Regression] &volatile_var != &volatile_var is always true pinskia at gcc dot gnu dot org
2005-07-09 22:59 ` law at redhat dot com
2005-07-13 17:38 ` 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).