Issue Details (XML | Word | Printable)

Key: PCC-264
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Iain Hibbert
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
pcc

syntax error compiling variable name same as typedef

Created: 27/Feb/11 11:10 AM   Updated: 22/Aug/12 07:06 PM
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. File test.c (0.3 kB)

Environment: NetBSD/i386


 Description  « Hide
compiling the attached file with "pcc test.c" fails with "syntax error" at the marked line

 All   Comments   Change History      Sort Order: Descending order - Click to sort in ascending order
Anders Magnusson added a comment - 22/Aug/12 07:06 PM
Eep, I have missed this issue. Fixed now, thanks.

Anders Magnusson added a comment - 27/Feb/11 10:08 PM
Sorry, closed the wrong issue.

Anders Magnusson added a comment - 27/Feb/11 10:05 PM
Fixed. Type conversions should not be propagated down if it is a ? or , operator.

Anders Magnusson added a comment - 27/Feb/11 09:58 PM
Yetch, this was an ugly one. How did you find this? :-)