[Bug c/3885] Incorrect "invalid suffix on integer constant" error
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-12-18 01:23 --- *** Bug 42421 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||bradley at dunn dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885
[Bug c/3885] Incorrect "invalid suffix on integer constant" error
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-12-18 01:24 --- *** Bug 11494 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||orrd-bugzilla at vipe dot ||technion dot ac dot il http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885
[Bug c/3885] Incorrect "invalid suffix on integer constant" error
--- Comment #9 from pinskia at gcc dot gnu dot org 2009-12-18 01:24 --- *** Bug 32805 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||xiewensheng at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885
[Bug c/3885] Incorrect "invalid suffix on integer constant" error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Andrew Pinski changed: What|Removed |Added CC||yaxi1984 at gmail dot com --- Comment #10 from Andrew Pinski 2011-01-30 02:47:56 UTC --- *** Bug 47539 has been marked as a duplicate of this bug. ***
[Bug c/3885] Incorrect "invalid suffix on integer constant" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Pavel M changed: What|Removed |Added CC||pavel.morozkin at gmail dot com --- Comment #15 from Pavel M --- Please add to "Duplicates" list: - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33547 - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45184
[Bug c/3885] Incorrect "invalid suffix on integer constant" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Andrew Pinski changed: What|Removed |Added CC||j at uriah dot heep.sax.de --- Comment #16 from Andrew Pinski --- *** Bug 33547 has been marked as a duplicate of this bug. ***
[Bug c/3885] Incorrect "invalid suffix on integer constant" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Andrew Pinski changed: What|Removed |Added CC||alt...@arts-union.ru --- Comment #17 from Andrew Pinski --- *** Bug 45184 has been marked as a duplicate of this bug. ***
[Bug c/3885] Incorrect "invalid suffix on integer constant" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Zack Weinberg changed: What|Removed |Added CC||zackw at panix dot com --- Comment #14 from Zack Weinberg --- I think we should reopen this bug and treat it as a request to improve the diagnostics. GCC is correct to reject tokens of the form "0x000E-0x0001", but the accumulation of duplicate bug reports suggests that we could do a better job of explaining what is wrong. Proposal: whenever we are about to issue the "invalid suffix on (integer/floating) constant" error, if the first character of the "invalid suffix" is + or -, we say instead something like error: invalid numeric constant "" note: ('+'/'-') after ('e'/'p'/'E'/'P') continues a pp-number note: to perform (addition/subtraction), put a space before the ('+'/'-') Printing the entire pp-number token instead of just the "suffix", mentioning the standardese term "pp-number", and calling the token an "invalid numeric constant" instead of an "invalid integer/floating constant" should clue people in to _why_ this apparently perverse tokenization is happening.
[Bug c/3885] Incorrect "invalid suffix on integer constant" error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Andreas Schwab changed: What|Removed |Added CC||bratsinot at gmail dot com --- Comment #11 from Andreas Schwab 2012-09-15 12:02:04 UTC --- *** Bug 54587 has been marked as a duplicate of this bug. ***
[Bug c/3885] Incorrect "invalid suffix on integer constant" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Andrew Pinski changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- Comment #12 from Andrew Pinski --- *** Bug 63324 has been marked as a duplicate of this bug. ***
[Bug c/3885] Incorrect "invalid suffix on integer constant" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Andrew Pinski changed: What|Removed |Added CC||draqsn at mail dot ru --- Comment #13 from Andrew Pinski --- *** Bug 44272 has been marked as a duplicate of this bug. ***