public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/51071] New: [4.7 Regression] ICE in gimple_has_side_effects, at gimple.c:2513
@ 2011-11-09 21:52 belyshev at depni dot sinp.msu.ru
  2011-11-10 10:59 ` [Bug middle-end/51071] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: belyshev at depni dot sinp.msu.ru @ 2011-11-09 21:52 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51071
           Summary: [4.7 Regression] ICE in gimple_has_side_effects, at
                    gimple.c:2513
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: belyshev@depni.sinp.msu.ru
                CC: law@redhat.com


Fails since r175114 http://gcc.gnu.org/ml/gcc-cvs/2011-06/msg00603.html


2011-06-16  Jeff Law  <law@redhat.com>

       * tree-ssa-threadupdate.c (struct redirection_data): New field
       intermediate_edge.
       ...




// compile with -O2
void foo (void);
void bar (void *);
extern int t;

static void kmalloc_large (int size, int flags)
{
  (void) size;
  (void) flags;
  foo ();
  bar (({__here:&&__here;}));
}

static void kmalloc (int size, int flags)
{
  if (size)
    {
      if ((unsigned long) size > 0x1000)
    kmalloc_large (size, flags);

      if (flags)
    bar (({__here:&&__here;}));
    }
}

void compress_file_range (int i, int j, int k)
{
  int nr_pages = ({j < k;});

  if (i || t)
    kmalloc (0x1000UL * nr_pages, 0x40UL);
}



bug.c: In function 'compress_file_range':
bug.c:25:6: internal compiler error: in gimple_has_side_effects, at
gimple.c:2513


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

end of thread, other threads:[~2012-05-22 10:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-09 21:52 [Bug middle-end/51071] New: [4.7 Regression] ICE in gimple_has_side_effects, at gimple.c:2513 belyshev at depni dot sinp.msu.ru
2011-11-10 10:59 ` [Bug middle-end/51071] " rguenth at gcc dot gnu.org
2011-11-10 12:25 ` rguenth at gcc dot gnu.org
2011-11-10 12:25 ` rguenth at gcc dot gnu.org
2012-05-18 15:08 ` pageexec at freemail dot hu
2012-05-21 10:10 ` rguenth at gcc dot gnu.org
2012-05-21 12:40 ` pageexec at freemail dot hu
2012-05-22 10:05 ` rguenth at gcc dot gnu.org
2012-05-22 10:07 ` rguenth at gcc dot gnu.org
2012-05-22 10:15 ` rguenth at gcc dot gnu.org
2012-05-22 10:19 ` rguenth 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).