Issue Details (XML | Word | Printable)

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

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

assign to a register variable gives major internal compiler error

Created: 13/Aug/12 09:15 PM   Updated: 19/Aug/12 09:42 AM
Component/s: C frontend, Common code, i386 target, pcc backend
Affects Version/s: None
Fix Version/s: None

Environment: NetBSD/i386 with pcc 1.1.0.DEVEL 20120813 for netbsd-i386

 Description  « Hide

The following example code

void foo(void)
        register int a = 0;

when compiled with "pcc -c", fails with a major internal compiler error

major internal compiler error: test.c, line 4
/usr/libexec/ccom terminated with status 1

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson made changes - 18/Aug/12 10:37 PM
Field Original Value New Value
Assignee Anders Magnusson [ ragge ]
Anders Magnusson made changes - 18/Aug/12 10:38 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]