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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |compile-time-hog,
                   |                            |memory-hog
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-04-17
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You didn't use any optimization flags, so nothing is optimized away.

But it should be possible to skip evaluation of empty loops inside constant
expression evaluation.

Reply via email to