| Summary: | Internal compiler error - netcdf-perl package | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> | ||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | jakub | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gcc-4.6.0-0.9.fc15 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-02-23 12:05:18 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Simplified testcase for -O2:
int
foo (void *x, int y)
{
long long a = 1, *b;
double *c;
if (y)
{
b = (long long *) x;
while (b)
a *= *b++;
}
else
{
c = (double *) x;
while (c)
a *= *c++;
}
return a;
}
Will debug tomorrow.
Fixed in gcc-4.6.0-0.8.fc15 and above. |
Created attachment 478284 [details] Preprocessed output Description of problem: While compiling the netcdf-perl package in rawhide: gcc -c -I/usr/include/netcdf -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.2.4\" -DXS_VERSION=\"1.2.4\" -fPIC "-I/usr/lib64/perl5/CORE" NetCDF.c NetCDF.c: In function 'XS_NetCDF_varget': NetCDF.c:2521:6: internal compiler error: in fold_convert_loc, at fold-const.c:1906 Version-Release number of selected component (if applicable): 4.6.0-0.6.fc15 How reproducible: Every time