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

2018-07-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

2018-01-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952 Eric Gallager changed: What|Removed |Added Keywords||diagnostic Status|REOPENED

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

2018-01-29 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952 --- Comment #7 from Alexander Monakov --- Code in comment #0 is also valid, it's just rather questionable (the octal literal is \00) and most likely unintended (or intentionally misleading).

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

2018-01-29 Thread david at westcontrol dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952 David Brown changed: What|Removed |Added CC||david at westcontrol dot com --- Comment

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

2018-01-29 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952 Alexander Monakov changed: What|Removed |Added Status|RESOLVED|REOPENED

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

2018-01-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2017-07-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2016-05-04 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952 --- Comment #2 from Alexander Monakov --- Bah, please disregard the last point; '\9' is diagnosed similar to "\9".

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

2016-05-04 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952 --- Comment #1 from Alexander Monakov --- Octal escapes have no more than three digits by definition, so "\0009" clearly doesn't fall under this warning. Upon further testing, there's no diagnostic for const char c = '\9'; /* same as ... = 9;