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: Ascending order - Click to sort in descending order
Anders Magnusson made changes - 27/Feb/11 09:57 PM
Field Original Value New Value
Assignee Anders Magnusson [ ragge ]
Anders Magnusson added a comment - 27/Feb/11 09:58 PM
Yetch, this was an ugly one. How did you find this? :-)

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 made changes - 27/Feb/11 10:05 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Anders Magnusson added a comment - 27/Feb/11 10:08 PM
Sorry, closed the wrong issue.

Anders Magnusson made changes - 27/Feb/11 10:08 PM
Resolution Fixed [ 1 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Anders Magnusson added a comment - 22/Aug/12 07:06 PM
Eep, I have missed this issue. Fixed now, thanks.

Anders Magnusson made changes - 22/Aug/12 07:06 PM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]