Issue Details (XML | Word | Printable)

Key: PCC-451
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Fred J. Tydeman
Votes: 0
Watchers: 0

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

if( complex var ) will not compile

Created: 08/Jun/14 04:07 AM   Updated: 02/Jul/14 05:32 PM
Component/s: i386 target
Affects Version/s: None
Fix Version/s: None

Environment: pcc 2014/04/20 on both 32-bit and 64-bit Intel CPUs; Fedora Core 20 Linux

 Description  « Hide
This code:

int main(void){
  float _Complex a;
  return 0;

gets this message:

test100.c, line 3: operands of == have incompatible types

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 02/Jul/14 05:32 PM
Now it will work as expected.