AnsweredAssumed Answered

VisualDSP++ 10 internal error bug report

Question asked by LloydE on Sep 26, 2011
Latest reply on Sep 28, 2011 by LloydE

I just upgraded from VisualDSP++ 7 to 10 (I skipped 8 and 9) and one of my files causes the compiler to crash with the following message:

 

lower(3100) cannot match r19: bop_shra#8(r16, r18)
no suitable rules in .bld file
At end of source: : internal error: Uncaught exception (see above) raised at
          ../../../bril/lower.c:882 (in pass lower:1 during compilation of
          _Rtp_Send_Audio_Packet). Please submit a bug report with this
          message, the command line used, type of machine and the output of
          the compiler when you add -ED -v to the command line. Please also
          send us the pre-processed file that is generated by the -ED option
          (the file generated is named <original_filename>.i)

1 catastrophic error detected in the compilation of "..\..\RTP.c".
Compilation aborted.
cc3089: fatal error: Compilation failed

 

 

This bug happens if I have the following code:

    *sample_ptr = jitter_buffer_fract_t_to_fr16(*audio) >> (2+RTP_SCALE);

 

If I change the code to this, then there is no bug:

    *sample_ptr = jitter_buffer_fract_t_to_fr16(*audio);
    *sample_ptr >>= 2+RTP_SCALE;

I added the command line options -ED -v and have attached the RTP.i file generated as well as the command line.

This is being run on an AMD Athlon XP 2700+, 2.15 GhZ, 1.50GB of RAM running Windows XP Professional version 2002, SP3.

 

P.S. Is there where these are supposed to be reported? I looked under anomalies but I could not find out where to submit this.

 

Thanks.

Attachments

Outcomes