Author |
Message |
Topic: ccs v5.030 const table lookup bug |
pcarew
Replies: 7
Views: 13873
|
Forum: General CCS C Discussion Posted: Wed Oct 22, 2014 9:40 am Subject: Resolution from CCS |
CCS supplied an updated compiler dll (v5.031) that seems to have resolved the problem.
They have not described what they found yet, although I have asked. |
Topic: ccs v5.030 const table lookup bug |
pcarew
Replies: 7
Views: 13873
|
Forum: General CCS C Discussion Posted: Mon Oct 13, 2014 4:09 pm Subject: ccs v5.030 const table lookup bug |
V5.X I believe introduced new optimizations for ram and rom usage. I wonder if this is where the issue lies.
Our project has ~35,000 lines of code and comments |
Topic: ccs v5.030 const table lookup bug |
pcarew
Replies: 7
Views: 13873
|
Forum: General CCS C Discussion Posted: Mon Oct 13, 2014 1:00 pm Subject: ccs v5.030 const table lookup bug |
We're currently compile to these stats:
Memory usage: ROM=70% RAM=78% - 92%
This is on a PIC24 256K GA106 device ( 24FJ256GA106.h ) |
Topic: ccs v5.030 const table lookup bug |
pcarew
Replies: 7
Views: 13873
|
Forum: General CCS C Discussion Posted: Mon Oct 13, 2014 12:55 pm Subject: ccs v5.030 const table lookup bug |
I agree that your small example compiles and generates the correct code.
All I can say is that our project is huge and definitely does not generate the same code (see quoted included lst files)
... |
Topic: ccs v5.030 const table lookup bug |
pcarew
Replies: 7
Views: 13873
|
Forum: General CCS C Discussion Posted: Thu Oct 09, 2014 1:02 pm Subject: ccs v5.030 const table lookup bug |
Looking in more detail at the assemblly for the table lookup, there were several differences between the working case and the non working case.
But the bug seems to be specifically with the TBLRDL ... |
Topic: ccs v5.030 const table lookup bug |
pcarew
Replies: 7
Views: 13873
|
Forum: General CCS C Discussion Posted: Wed Oct 08, 2014 9:18 pm Subject: ccs v5.030 const table lookup bug |
I believe that I have found a strange, but potentially disastrous bug if you use const tables in the latest release (5.030) of CCS
I have sent an email to CCS support as well.
Essentially, the b ... |
|