[parted-devel] [PATCH 00/24] GCC 10 Warning Cleanup
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Sat Nov 14 00:17:56 GMT 2020
On 11/14/20 1:11 AM, Brian C. Lane wrote:
> This giant pile of patches shoud, I hope, take care of the existing GCC
> warnings. I was working from fedora rawhide using gcc-10.2.1 and had a
> lovely time getting all the cast alignment warnings happy without (I
> THINK) scrambling the code.
I'm so glad GCC does what it does here. And I'm surprised about patch
13/24, does GCC actually warn about breaking the alignment these days
when casting pointers?
That's really useful as this aliasing violations cause a lot of "Bus
Errors" on sparc64.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the parted-devel
mailing list