<< Back to previous view

[PCC-368] casting string -> int -> long long causes compiler error Created: 05/Jul/11  Updated: 06/Jul/11

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

Type: Bug Priority: Major
Reporter: Iain Hibbert Assignee: Anders Magnusson
Resolution: Fixed Votes: 0
Environment: NetBSD/i386

The following code example

void foo(void)
        (long long) (int) "FOO";

when compiled with pcc causes a compiler error

  line 3: compiler error: SCONV ICON

Comment by Anders Magnusson [ 06/Jul/11 10:33 AM ]
It was a sanity test that was missing a check for maned constants that caused this.
Generated at Fri Oct 20 16:14:30 CEST 2017 using JIRA Enterprise Edition, Version: 3.13.1-#333.