Bug 42891
Summary: | variable argument list with more than 8 entries, only low 4 bytes are passed | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Paul Pluzhnikov <paul> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ia64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-05-30 19:05: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: |
Description
Paul Pluzhnikov
2001-05-30 18:02:52 UTC
Using NULL instead of 0 to terminate the list avoids this. This is not a bug, it is a feature of the IA-64 ABI. You have to use proper types for the arguments matching ..., if it is expecting a pointer, you should pass a pointer, not integer (so NULL will do and in this case 0L would do as well). |