<< Back to previous view

[PCC-221] float restrict f; accepted Created: 24/Jan/11  Updated: 03/May/14

Status: Resolved
Project: pcc
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Fred J. Tydeman Assignee: Anders Magnusson
Resolution: Fixed Votes: 0
Environment: Intel Pentium 4m (32-bit mode), Linux Fedora Core 14, pcc 0.9.9 of 2010/11/19

Invalid code is accepted:

int main(void){
  float restrict f; /* An invalid declration */
  return 0;

Comment by Anders Magnusson [ 30/Jan/11 11:04 AM ]
restrict is currently ignored. To handle it correctly needs a bunch of internal changes that will occur after 1.0.
Comment by Anders Magnusson [ 03/May/14 05:12 PM ]
Now parsing of restrict should be correct.
Generated at Fri Aug 29 03:13:31 CEST 2014 using JIRA Enterprise Edition, Version: 3.13.1-#333.