10413 SPARC needs some gcc7 fixes
Review Request #1483 — Created Feb. 17, 2019 and updated
See ticket for details.
The one fix I'm unsure of is the sizeof() in prmachdep.c
I've done a gcc4-only build with these changes, and that's clean. Attempting a build with these issues fixed and a gcc7 shadow shows that these errors are gone (but there's a new set to investigate).
|i'm not sure it is correct, in some cases you should to check others definitions, but you are ignore it ...||igork|
|Does this comment silence gcc? I have memory that the default comment in this case should be / FALLTHROUGH /||tsoome|
|it is incorrect. variable is 'long' but you try to use ULONG_MAX - it has double size of variable max||igork|
|/ FALLTHROUGH / ?||tsoome|