News for hackers. Stuff that matters.
Re:A bug story: data alignment on x86 by konstmonst on Monday November 07, 2016 @12:19PM (#12892779)
"If a particular compiler specified that casting pointers of wrong alignments causes a segfault" Sure it does. It says using undefined behaviour can cause daemons fly out of your nose, among other things (including but not limited to segfaulting).
Re:A bug story: data alignment on x86 by Sagiri on Monday November 07, 2016 @12:23PM (#12892820)
If the semantics of casting pointers of wrong alignments were defined to be demons flying out of your nose, it would be perfectly acceptable to rely on that behavior.