https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87795

--- Comment #6 from pkoning at gcc dot gnu.org ---
(In reply to Joel Sherrill from comment #4)
> I added myself as a CC because I want to see if these become errors or
> warnings. For core parts of RTEMS, I can see wanting these to be errors
> since it indicates we did something in core OS code that did not achieve the
> desired results. But in application code, it might not be as well considered
> or necessary.

Interesting point.  The current case that is rejected (alignment of variables)
is an error, so for consistency I'd say the other cases should do likewise.

If there is a desire to make too-large alignment into a warning, that might be
better handled as a separate issue.  It could be a switch of some sort.  If
changes are made, they should apply consistently to alignment of all kinds.

Reply via email to