Bug 188554
Summary: | GCC 4.1.0: internal compiler error: in cp_expr_size | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Pye <john> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i586 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-04-11 09:10:42 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
John Pye
2006-04-11 03:47:56 UTC
Created attachment 127589 [details]
Preprocessed source stored into /tmp/ccbk5Q40.out file, please attach this to your bugreport.
Looks as though it may have been related to my use of Length var = MIN(var1, var2) and was fixed when I switched to Length var; var = MIN(var1, var2); Note, // Min/Max /* Macros for MAX, MIN and ABS... */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) # define MAX(X,Y) \ ( { __typeof__ (X) x_ = (X); \ __typeof__ (Y) y_ = (Y); \ (x_ > y_) ? x_ : y_; \ } ) # define MIN(X,Y) \ ( { __typeof__ (X) x_ = (X); \ __typeof__ (Y) y_ = (Y); \ (x_ < y_) ? x_ : y_; \ } ) # define ABS(X) \ ( { __typeof__ (X) x_ = (X); \ (x_ > 0) ? x_ : -x_; \ } ) #else # define MAX(a,b) ( (a) < (b) ? (b) : (a) ) # define MIN(a,b) ( (a) < (b) ? (a) : (b) ) # define ABS(x) ( ((x) > 0) ? (x) : -(x) ) #endif Tracking upstream. |