Bug 579808
| Summary: | Strange behaviour of intmax_t variables | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Roman Rakus <rrakus> | ||||
| Component: | glibc | Assignee: | Andreas Schwab <schwab> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | rawhide | CC: | fweimer, jakub, matt, rrakus, schwab, tsmetana | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | abrt_hash:fed561a6216f6b7f596b077f7e7821ffc2f5dc12 | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 579622 | Environment: | |||||
| Last Closed: | 2010-04-06 16:04:19 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
Roman Rakus
2010-04-06 15:48:18 UTC
Created attachment 404734 [details]
Reproducer
This is small reproducer.
On 64 bit system the sequence `a/-c' will cause the SIGFPE, what is OK.
But on 32 bit system the result is `-a'. The same like a/c. This is strange...
Overflow invokes undefined behaviour. But, shouldn't be there also SIGFPE on 32bit system? It's undefined. |