Issue Details (XML | Word | Printable)

Key: PCC-469
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Volkmar Klatt
Votes: 0
Watchers: 0
Operations

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

major internal compiler error

Created: 14/Aug/14 02:19 PM   Updated: 16/Aug/14 06:12 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Text File tr_20140813_73.c (0.2 kB)

Environment: 1.1.0.DEVEL 20140809 for i686-pc-linux-gnu


 Description  « Hide
#include <complex.h>

void func(void)
{
   double _Complex a;

   a = (double _Complex)0; // major internal compiler error -1.0f +0.1f*I;// -2.9f*I;
   // also: (float _Complex)0 and (long double _Complex)0
}



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 16/Aug/14 06:12 PM
Wrong type was used in cast.