public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/29726]  New: [4.2/4.3 regression] invalid folding of ((X >> C1) & C2) != 0 or "M-x is undefined" in emacs
@ 2006-11-05 17:45 belyshev at depni dot sinp dot msu dot ru
  2006-11-05 18:24 ` [Bug middle-end/29726] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2006-11-05 17:45 UTC (permalink / raw)
  To: gcc-bugs

fix for bug 21137 causes a regression:

/* { dg-do run } */
void abort (void);

int main (void)
{
  int k = -1;
  if (((unsigned int) k >> 3) & 134217728)
    return 0;
  abort ();
}

This bug is also known as miscompilation of emacs' keymap.c at -O0:
http://lists.gnu.org/archive/html/emacs-devel/2006-09/msg00276.html


-- 
           Summary: [4.2/4.3 regression] invalid folding of ((X >> C1) & C2)
                    != 0 or "M-x is undefined" in emacs
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru


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


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

end of thread, other threads:[~2006-12-01  0:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-05 17:45 [Bug middle-end/29726] New: [4.2/4.3 regression] invalid folding of ((X >> C1) & C2) != 0 or "M-x is undefined" in emacs belyshev at depni dot sinp dot msu dot ru
2006-11-05 18:24 ` [Bug middle-end/29726] " pinskia at gcc dot gnu dot org
2006-11-07 11:23 ` christophe at saout dot de
2006-11-07 13:00 ` belyshev at depni dot sinp dot msu dot ru
2006-11-07 18:27 ` belyshev at depni dot sinp dot msu dot ru
2006-11-09 19:24 ` sayle at gcc dot gnu dot org
2006-11-09 19:51 ` [Bug middle-end/29726] [4.2 " belyshev at depni dot sinp dot msu dot ru
2006-11-10  8:30 ` bonzini at gnu dot org
2006-11-10 13:45 ` bonzini at gnu dot org
2006-11-10 13:45 ` bonzini at gcc dot gnu dot org
2006-11-10 18:33 ` roger at eyesopen dot com
2006-12-01  0:38 ` chaoyingfu 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).