Bug 165114
Summary: | ICE when rebuilding procps-3.2.5-6.3 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karsten Hopp <karsten> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | kzak | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-08-10 15:41:28 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Karsten Hopp
2005-08-04 14:16:12 UTC
Created attachment 117448 [details]
Preprocessed source
Simplified testcase: /* { dg-do compile } */ /* { dg-options "-O2 -fstack-protector-all -fweb" } */ struct S { unsigned long long st_dev; unsigned long long st_rdev; }; int st (const char *, struct S *); int foo (char *const buf, unsigned maj, unsigned min) { struct S sbuf; if (st (buf, &sbuf) < 0) return 0; if (min != (((unsigned) (sbuf.st_rdev) & 0xffu) | (((unsigned) (sbuf.st_rdev) & 0xfff00000u) >> 12u))) return 0; if (maj != (((unsigned) (sbuf.st_rdev) >> 8u) & 0xfffu)) return 0; return 1; } Now, why are you using -fweb? See http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01931.html for details why it is not a good idea to use it. I'm just the one who found it during a mass rebuild. I'll add kzak to CC: for a comment about -fweb Thanks for info. I will remove -fweb from procps CFLAGS. The problem doesn't seem to be reproducible on GCC HEAD, so I guess I'll just WONTFIX this. -fweb simply shouldn't be used, it is certainly not very well tested. |