[Bug c/70952] Missing warning for likely-erroneous octal escapes in string literals

david at westcontrol dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 29 16:23:00 GMT 2018


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

David Brown <david at westcontrol dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at westcontrol dot com

--- Comment #6 from David Brown <david at westcontrol dot com> ---
(In reply to Eric Gallager from comment #4)
> Actually dup of bug 60523
> 
> *** This bug has been marked as a duplicate of bug 60523 ***

Bug 60523 is a feature request for a warning on code that is valid but
suspicious (using octal constants other than 0), while this is a bug in the
diagnosis of invalid code (octal constants with digits 8 or 9 in them).

This one is a bug that should be fixed - 60523 is a feature request for a new
warning.


More information about the Gcc-bugs mailing list