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

egallager at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-07-20
                 CC|                            |egallager at gcc dot gnu.org
            Summary|bogus -Wlarger-than=N and   |Values passed to
                   |-Wframe-larger-than=        |-Wlarger-than= and
                   |-Wstack-usage= warnings on  |-Wframe-larger-than= and
                   |small objects with large N  |-Wstack-usage= should
                   |                            |accept KB and MB suffixes
     Ever confirmed|0                           |1

--- Comment #4 from egallager at gcc dot gnu.org ---
(In reply to Martin Sebor from comment #2)
> To get around the INT_MAX limit the -Walloc-size-larger-than accepts numbers
> with suffixes like KB and MB.  Other options that accept sizes should
> probably accept the same suffixes for consistency.

The warnings in the original testcase no longer occur, but I'm confirming (and
retitling) this bug on the basis that KB and MB suffixes still should be
supported.

Reply via email to