This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
the latest gcc versions generate warnings about potentially dangerous pointer casts if strict alias analysis is enabled.
Right now two groups of warnings are generated: several from the inlined MemSet macros:
#define MemSetLoop(start, val, len) \ do \ { \ int32 * _start = (int32 *) (start); \ int32 * _stop = (int32 *) ((char *) \ _start + (Size) (len)); \ \ while (_start < _stop) \ *_start++ = 0; \ } while (0)
Does MemSet break the rules for strict alias analysis?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |