Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40747 - [gcc] in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1449

Attached to Project: Arch Linux
Opened by Thiago (killown) - Saturday, 07 June 2014, 08:53 GMT
Last edited by Allan McRae (Allan) - Thursday, 12 June 2014, 14:09 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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

Additional info:
core/gcc 4.9.0-3 (base-devel)
Patch fix https://gcc.gnu.org/bugzilla/attachment.cgi?id=32668

Steps to reproduce:

struct A
{
int m_fn1 ();
short *m_fn2 ();
};
struct B
{
void *fC;
};
int a, b;
unsigned char i;
void fn1 (unsigned char *p1, A &p2)
{
int c = p2.m_fn1 ();
for (int d = 0; c; d++)
{
short *e = p2.m_fn2 ();
unsigned char *f = &p1[0];
for (int g = 0; g < a; g++)
{
int h = e[0];
b += h * f[g];
}
}
}

void fn2 (A &p1, A &p2, B &p3)
{
int j = p2.m_fn1 ();
for (int k = 0; j; k++)
if (0)
;
else
fn1 (&i, p1);
if (p3.fC)
;
else
;
}

markus@x4 skia % g++ -c -O3 test.ii
test.ii: In function ‘void fn2(A&, A&, B&)’:
test.ii:27:6: internal compiler error: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1449
void fn2 (A &p1, A &p2, B &p3)
^
Please submit a full bug report,
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 12 June 2014, 14:09 GMT
Reason for closing:  Works for me
Additional comments about closing:  This looks like it was only in the 4.10 branch.
Comment by Allan McRae (Allan) - Saturday, 07 June 2014, 11:20 GMT
Works for me on x86_64 with gcc-4.9.0-3.

And was this ever in the 4.9 release branch?

Loading...