public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/60740] New: ICE in extract_affine w/ -O2 -ftree-loop-linear
@ 2014-04-02 11:22 asolokha at gmx dot com
  2014-04-02 11:27 ` [Bug tree-optimization/60740] [4.8/4.9 Regression] " mpolacek at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: asolokha at gmx dot com @ 2014-04-02 11:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60740
           Summary: ICE in extract_affine w/ -O2 -ftree-loop-linear
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com

At least gcc 4.8.2 and and 4.9.0-alpha20140330 fail to compile the following
code snippet w/ -O2 -ftree-loop-linear on x86_64-pc-linux-gnu:

int **db6 = 0;

void
k26(void)
{
  static int geb = 0;
  int *a22 = &geb;
  int **l30 = &a22;
  int *c4b;
  int ndf;
  for (ndf = 0; ndf <= 1; ++ndf)
    *c4b = (db6 == l30) && (*a22)--;
}

% gcc-4.9.0-alpha20140330 -c -O2 -ftree-loop-linear testcase.c
crash1.c: In function 'k26':
crash1.c:4:1: internal compiler error: in extract_affine, at
graphite-sese-to-poly.c:846
 k26(void)
 ^

% gcc-4.8.2 -c -O2 -ftree-loop-linear testcase.c
crash1.c: In function 'k26':
crash1.c:4:1: internal compiler error: in extract_affine, at
graphite-sese-to-poly.c:827
 k26(void)
 ^

% gcc-4.7.3 -c -O2 -ftree-loop-linear testcase.c
% echo $?

I failed to reduce the testcase any further.


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

end of thread, other threads:[~2014-04-23 12:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02 11:22 [Bug tree-optimization/60740] New: ICE in extract_affine w/ -O2 -ftree-loop-linear asolokha at gmx dot com
2014-04-02 11:27 ` [Bug tree-optimization/60740] [4.8/4.9 Regression] " mpolacek at gcc dot gnu.org
2014-04-03 11:49 ` rguenth at gcc dot gnu.org
2014-04-03 13:43 ` [Bug tree-optimization/60740] [4.8 " rguenth at gcc dot gnu.org
2014-04-03 13:44 ` rguenth at gcc dot gnu.org
2014-04-23 12:49 ` rguenth at gcc dot gnu.org
2014-04-23 12:52 ` 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).