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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|other                       |middle-end
            Summary|genautomata.cc does not     |[12/13/14/15 Regression]
                   |compile with -DNDEBUG due   |genautomata.cc does not
                   |to unused but set variable  |compile with -DNDEBUG due
                   |                            |to unused but set variable
   Target Milestone|---                         |12.5
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-10-28

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. Looks like it has been broken since states_num was added in
r0-47017-g30028c85159c12 which was in GCC 3.4.0 but the warning (with -Werror)
didn't come in much later until -Wunused-but-set-variable was added in
r0-99233-gebfbbdc556443d for GCC 4.6.0.

So this is a regression, an old one even.

Reply via email to