http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56048

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-01-21
     Ever Confirmed|0                           |1

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-01-21 
12:31:54 UTC ---
(In reply to comment #1)
> I think this may be fixed in GCC 4.8, but I don't have a recently build GCC at
> hand to test it.

Actually, it is not. opts.c:control_warning_as_error doesn't handle options
with joined arguments, the argument is ignored. Extra code would need to be
added to check that the option is joined, that it has an argument, read the
argument and pass the correct value to control_warning. Then, it should work.

Reply via email to