Bug 136884
| Summary: | gcc segfaults due to ICE | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Eido Inoue <havill> | ||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 3.4.2-6.fc3 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2004-10-26 17:29:29 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 116244 | ||||||
| Attachments: |
|
||||||
|
Description
Eido Inoue
2004-10-22 20:31:19 UTC
Created attachment 105674 [details]
C preprocessor output
Simplified testcase:
/* { dg-do compile } */
/* { dg-options "-O2 -g" } */
static void
foo (unsigned char x)
{
unsigned char a[5 + x];
}
void
bar (void)
{
foo (80);
}
Works with both gcc 3.3.4 and 4.0.0.
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01995.html Not sure how often it triggers though. It has been introduced on 2004-10-13 in CVS (i.e. only in gcc-3.4.2-6 built on Oct, 18th), so we probably haven't built enough code to see whether this is something exceptional or happens more often (in which case we should put it into FC3). Should be fixed in gcc-3.4.2-6.fc3. |