https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90668
Richard Biener changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90668
Arseny Solokha changed:
What|Removed |Added
CC||asolokha at gmx dot com
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90668
Richard Biener changed:
What|Removed |Added
Keywords||alias, wrong-code
Status|UN
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90668
--- Comment #2 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #1)
> If the size of int and void* are the same, I would say there is an issue.
> Otherwise there is undefined behavior going on.
>
> The reason for the difference in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90668
--- Comment #1 from Andrew Pinski ---
If the size of int and void* are the same, I would say there is an issue.
Otherwise there is undefined behavior going on.
The reason for the difference in sizes matter is because you write via void*
and then