https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80880

            Bug ID: 80880
           Summary: internal compiler error: in ix86_expand_builtin
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: aivchenk at gcc dot gnu.org
  Target Milestone: ---

While fixing bootstrap for MPX I faced this new ICE:

> cat gensupport.c
int *fn1() {
  int *r = fn1();
  if (r == __null)
    return r;
}

> g++ gensupport.c -O1 -mmpx -fcheck-pointer-bounds

And the guilty revision is:

commit 380ca246b31875b432a536e54102959888d546fa
Author: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Tue Apr 25 09:26:37 2017 +0000

    2017-04-25  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/79201
        * tree-ssa-sink.c (statement_sink_location): Handle calls.

        * gcc.dg/tree-ssa/ssa-sink-16.c: New testcase.
        * gcc.target/i386/pr22152.c: Disable sinking.


    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247159
138bc75d-0d04-0410-961f-82ee72b054a4

Reply via email to