[Bug tree-optimization/54713] New: [4.8 Regression] error: non-trivial conversion at assignment in gcc.c-torture/compile/pr53410-2.c

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 26 08:07:00 GMT 2012


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

             Bug #: 54713
           Summary: [4.8 Regression] error: non-trivial conversion at
                    assignment in gcc.c-torture/compile/pr53410-2.c
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ubizjak@gmail.com
            Target: alpha-linux-gnu


Following testcase, derived from gcc.c-torture/compile/pr53410-2.c started to
ICE on alpha-linux-gnu recently.

--cut here--
typedef int V __attribute__((vector_size (4 * sizeof (int))));

void
f6 (V *p, V *q, V *r)
{
  *p = (*p & *r) == (*q & *r);
}
--cut here--

ICE can be triggered with a cross from x86_64-pc-linux-gnu:

~/gcc-build-alpha/gcc/cc1 -O2 -quiet tt.c
tt.c: In function ‘f6’:
tt.c:4:1: error: non-trivial conversion at assignment
 f6 (V *p, V *q, V *r)
 ^
int
vector(2) int
_24 = _20;

tt.c:4:1: error: non-trivial conversion at assignment
int
vector(2) int
_26 = _23;

tt.c:4:1: internal compiler error: verify_gimple failed
Please submit a full bug report,
...



More information about the Gcc-bugs mailing list