public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/40692]  New: [4.5 Regression] Endless recursion between fold_ternary and fold_cond_expr_with_comparison
@ 2009-07-08 22:09 jakub at gcc dot gnu dot org
  2009-07-08 23:10 ` [Bug middle-end/40692] " jakub at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-07-08 22:09 UTC (permalink / raw)
  To: gcc-bugs

Linux kernel, in particularly xen-blkfront.c, doesn't compile with GCC trunk.
4.5.0 20090625 was still fine, 4.5.0 20090630 is already wrong.

Simplified testcase:

#define M1(x) (((x) & 0x00000002) ? 0x2 : ((x) & 0x1))
#define M2(x) (((x) & 0x0000000c) ? M1 ((x) >> 2) << 2 : M1 (x))
struct A { char f[1]; };
char a[M2 (4096UL - (long)&((struct A *) 16)->f)];


-- 
           Summary: [4.5 Regression] Endless recursion between fold_ternary
                    and fold_cond_expr_with_comparison
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: jakub at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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


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

end of thread, other threads:[~2009-07-23 17:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-08 22:09 [Bug middle-end/40692] New: [4.5 Regression] Endless recursion between fold_ternary and fold_cond_expr_with_comparison jakub at gcc dot gnu dot org
2009-07-08 23:10 ` [Bug middle-end/40692] " jakub at gcc dot gnu dot org
2009-07-09 11:19 ` jakub at gcc dot gnu dot org
2009-07-09 11:32 ` jakub at gcc dot gnu dot org
2009-07-23 17:52 ` hjl 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).