Bug 168828
Summary: | The -fno-enforce-eh-specs option does not behave properly when the function explicitly cannot throw exceptions | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Josef Bacik <jbacik> | ||||
Component: | gcc3 | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | jason | ||||
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: | 2006-03-15 15:05:16 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
Josef Bacik
2005-09-20 15:15:43 UTC
Created attachment 119030 [details]
Patch that fixes the problem
This patch basically checks to see if flag_enforce_eh_specs is set, and if its
not it doesn't allow g++ to note the fact that the function explicitly doesn't
allow exception throwing.
Hmm, seems I used the wrong test case to test this patch, so it doesn't work. I think its because TREE_NOTHROW is set to 1 by default, and is never set back to 0. I'm rebuilding GCC with some debug information, and as soon as I verify/prove this wrong I'll work out another patch that should fix this. |