Launchpad has imported 2 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52870.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-04-04T15:53:26+00:00 Uweigand-gcc wrote:

Building the following testcase with -O -ftree-vectorize on x86_64:

long
test (int *x)
{
  unsigned long sx, xprec;

  sx = *x >= 0 ? *x : -*x;

  xprec = sx * 64;

  if (sx < 16384)
    foo (sx);

  return xprec;
}


results in an ICE:

crash1.c:5:1: internal compiler error: vector VEC(vec_void_p,base) index
domain error, in vinfo_for_stmt at tree-vectorizer.h:628

(When building with --disable-checking, we get a segmentation fault
instead.)

Reply at: https://bugs.launchpad.net/gcc/+bug/968766/comments/14

------------------------------------------------------------------------
On 2012-04-04T15:56:06+00:00 Uweigand-gcc wrote:

It seems the problem is that vect_recog_widen_mult_pattern includes a
statement into a pattern it detects which is actually outside of the
basic block that SLP is currently operating on.  This later on causes
the ICE since the statement does not have an assigned stmt_vinfo.

I'm testing a fix.

Reply at: https://bugs.launchpad.net/gcc/+bug/968766/comments/15


** Changed in: gcc
       Status: Unknown => In Progress

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/968766

Title:
  GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to