Bug 20443 - cpp will truncate more than 65535 tokens.
Summary: cpp will truncate more than 65535 tokens.
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2000-11-06 22:50 UTC by Red Hat Bugzilla
Modified: 2008-03-13 19:18 UTC (History)
0 users

Clone Of:
Last Closed: 2000-11-13 11:16:28 UTC

Attachments (Terms of Use)
Use int instead of short for token count. (505 bytes, patch)
2000-11-06 22:51 UTC, Red Hat Bugzilla
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2000:132 normal SHIPPED_LIVE Bug fixing update of GCC 2.96 2000-12-19 05:00:00 UTC

Description Red Hat Bugzilla 2000-11-06 22:50:47 UTC
If you have more than 65535 tokens in one line, cpp will truncate them
without any messages. I will provide a patch.

Comment 1 Red Hat Bugzilla 2000-11-06 22:51:37 UTC
Created attachment 5099 [details]
Use int instead of short for token count.

Comment 2 Red Hat Bugzilla 2000-11-13 11:16:25 UTC
This is what I have already in my tree to fix another bugzilla entry.
gcc-2.96-64 will for sure have it.

Note You need to log in before you can comment on or make changes to this bug.