You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
saethlin
added
C-discussion
Category: Discussion or questions that doesn't represent real issues.
and removed
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Oct 15, 2024
Functions, vtables, and consts do not have a unique stable address
The program above has different behavior because the functions are merged at some opt levels. Note that function addresses truly are unstable, not only can you get merges like this, a single function can have multiple addresses in a single program.
I tried this code:
I expected to see this happen: -Copt-level=0/1/2/3 should give the same result
Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: