public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/33666]  New: [4.3 Regression] Type verification failure with pointer to long long conversion
@ 2007-10-05 10:11 rguenth at gcc dot gnu dot org
  2007-10-05 12:00 ` [Bug middle-end/33666] " rguenth at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-05 10:11 UTC (permalink / raw)
  To: gcc-bugs

The following fails with 32bit pointers and 64bit long long if the compiler is
built with type-checking enabled.

void __lock_get_list(void *dp)
{
  if (((unsigned int)dp + 1) & ~1ULL)
    ;
}

The original trees look ok:

  if (((long long unsigned int) (dp + 1) & 0x0fffffffffffffffe) != 0)
    {
      (void) 0;
    }


-- 
           Summary: [4.3 Regression] Type verification failure with pointer
                    to long long conversion
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, ice-checking
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: i686-*-*


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


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

end of thread, other threads:[~2007-10-05 16:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-05 10:11 [Bug middle-end/33666] New: [4.3 Regression] Type verification failure with pointer to long long conversion rguenth at gcc dot gnu dot org
2007-10-05 12:00 ` [Bug middle-end/33666] " rguenth at gcc dot gnu dot org
2007-10-05 16:33 ` rguenth at gcc dot gnu dot org
2007-10-05 16:34 ` rguenth 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).