public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/51527] New: ICE: Segmentation fault: 'convert_to_integer' enters infinite recursion
@ 2011-12-13 12:30 gjl at gcc dot gnu.org
  2011-12-13 12:31 ` [Bug c/51527] " gjl at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-12-13 12:30 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51527
           Summary: ICE: Segmentation fault: 'convert_to_integer' enters
                    infinite recursion
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gjl@gcc.gnu.org
              Host: i686-pc-linux-gnu
            Target: avr
             Build: i686-pc-linux-gnu


== Code ==

void test_1 (void)
{
  int i;

  // notice it works with __uint24
  __int24 a, b;

  for (i = 0; i < 500; i++)
  {
      if (i & 1)
          a += 0x7654321L;
      else
          b += 0x5fe453L;
  }
}

This code enters infinite recurson.

Configured with: ../../gcc.gnu.org/trunk/configure --target=avr
--prefix=/home/georg/install/gcc-4.7 --disable-nls --enable-languages=c,c++
--with-dwarf2 --enable-checking=yes,rtl


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

end of thread, other threads:[~2012-04-27 11:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-13 12:30 [Bug c/51527] New: ICE: Segmentation fault: 'convert_to_integer' enters infinite recursion gjl at gcc dot gnu.org
2011-12-13 12:31 ` [Bug c/51527] " gjl at gcc dot gnu.org
2011-12-13 12:50 ` gjl at gcc dot gnu.org
2012-03-05 17:32 ` gjl at gcc dot gnu.org
2012-03-22  9:31 ` rguenth at gcc dot gnu.org
2012-04-27 10:52 ` gjl at gcc dot gnu.org
2012-04-27 11:04 ` gjl at gcc dot gnu.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).