gcc 4.7.3 compiler internal error while building hsail components

Bug #1233197 reported by Sumit Semwal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
New
Undecided
Unassigned

Bug Description

I am trying to build some HSA components on the chromebook running ubuntu 13.04, with gcc "(Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3". Most of them build fine, but I get an error in one of the files:

/home/sumit/code/HSA/HSAIL-Instruction-Set-Simulator/test/brig_runtime_test.cc: In function ‘void UnpackLogic(R, T, u32) [with R = float; T = Vector<float, 2u>; u32 = unsigned int]’:
/home/sumit/code/HSA/HSAIL-Instruction-Set-Simulator/test/brig_runtime_test.cc:470:1: internal compiler error: output_operand: invalid operand for code 'P'

I am attaching both the source file, and the preprocessed file as well.

Revision history for this message
Sumit Semwal (sumit-semwal) wrote :
Revision history for this message
Sumit Semwal (sumit-semwal) wrote :

Tried with gcc (Linaro GCC 4.8-2013.09) 4.8.2 20130902 (prerelease) as well; still the same error.

Revision history for this message
Charles Baylis (cbaylis) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.