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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #7)
> > But then the diagnostics is confusing.
> 
> There's a lot of places where we do exactly that:
> handle_assume_aligned_attribute, ...

Sure, I know.  In some cases it is from assumption that one uses reasonable
types and values for say alignments or sizes etc., in other cases laziness,
diagnose something and if it in the corner cases diagnoses something slightly
different, user can figure it out.

Reply via email to