This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[Codegen Tools Updates]

Codegen Tools V5.1.6 is available

A production patch for the Codegen 5.1.x  build stream is has been released:

 

  1. ClearQuest ID: SDSCM00008363
    • Headline: Link-time errors with assert pragma
    • Fixed in Version: 5.1.6
  2. ClearQuest ID: SDSCM00029328
    • Headline: Missing warning when place an initialized symbol in an un-initialized section using the DATA_SECTION pragma under C++
    • Fixed in Version: 5.1.6
  3. ClearQuest ID: SDSCM00029984
    • Headline: Difference in output due to various optimization levels
    • Fixed in Version: 5.1.6
  4. ClearQuest ID: SDSCM00030311
    • Headline:  Provide user visibility to the __fmax and __fmin intrinsics
    • Fixed in Version: 5.1.6
  5. ClearQuest ID: SDSCM00031732
    • Headline: Generated assembly code for whole_program build never  reaches a call to Swi_post()
    • Fixed in Version: 5.1.6
  6. ClearQuest ID: SDSCM00031975
    • Headline: Using _enable_interrupts() intrinsic causes c28 FP linker error
    • Fixed in Version: 5.1.6
  7. ClearQuest ID: SDSCM00032116
    • Headline: Compiler incorrectly reorders subsequent accesses to global variable
    • Fixed in Version: 5.1.6
  8. ClearQuest ID: SDSCM00032325
    • Headline: Free mismatched memory bug in C2000 shell
    • Fixed in Version: 5.1.6
  9. ClearQuest ID: SDSCM00032470
    • Headline: PC optimizer segmentation fault under eabi while processing huge function with lots of if/else statements and huge structures
    • Fixed in Version: 5.1.6
  10. ClearQuest ID: SDSCM00032672
    • Headline: Highly inefficient use of stack space
    • Fixed in Version: 5.1.6
  11. ClearQuest ID: SDSCM00032746
    • Headline: Using designated initializers on unions causes the parser to crash
    • Fixed in Version: 5.1.6
  12. ClearQuest ID: SDSCM00033071
    • Headline:  Inlining of __disable_interrupts intrinsic causes application error
    • Fixed in Version: 5.1.6
  13. ClearQuest ID: SDSCM00033245
    • Headline: Internal "Decomposition error" associated with struct field of an enumerated type when --small_enum is used
    • Fixed in Version: 5.1.6
  14. ClearQuest ID: SDSCM00033288
    • Headline: Using DATA_ALIGN pragma causes incorrect load of data page
    • Fixed in Version: 5.1.6
  15. ClearQuest ID: SDSCM00033302
    • Headline: Compiler does not issue error when a variable length array is seen with --gcc and --c99 options are used
    • Fixed in Version: 5.1.6
  16. ClearQuest ID: SDSCM00033320
    • Headline:  Abnormal termination - very large switch case list
    • Fixed in Version: 5.1.6
  17. ClearQuest ID: SDSCM00033394
    • Headline: Executables created on different PCs have different ordering of sections
    • Fixed in Version: 5.1.6
  18. ClearQuest ID: SDSCM00033398
    • Headline: GCC Extension Support Parser does not accept a while-do as the last statement in a statement expression
    • Fixed in Version: 5.1.6
  19. ClearQuest ID: SDSCM00033448
    • Headline: GCC Extensions Parser crashes on case involving statement expression
    • Fixed in Version: 5.1.6
  20. ClearQuest ID: SDSCM00033490
    • Headline: Store and load to same structure member getting swapped
    • Fixed in Version: 5.1.6
  21. ClearQuest ID: SDSCM00033532
    • Headline:  LDW and STW occur in incorrect order causing wrong result
    • Fixed in Version: 5.1.6
  22. ClearQuest ID: SDSCM00033570
    • Headline: Incorrect encoding for assembly instruction
    • Fixed in Version: 5.1.6
  23. ClearQuest ID: SDSCM00033671
    • Headline: Incorrect code generated for loop with a read from x[0] and a write to x[i] on each iteration
    • Fixed in Version: 5.1.6
  24. ClearQuest ID: SDSCM00033677
    • Headline: The 'run' address from the linker uses a different 'load' address if 'load' not specified
    • Fixed in Version: 5.1.6
  25. ClearQuest ID: SDSCM00033691
    • Headline:  Provide user visibility to the __fmax and __fmin intrinsics
    • Fixed in Version: 5.1.6
  26. ClearQuest ID: SDSCM00033770
    • Headline: The compiler generates incorrect code with a conditional function call
    • Fixed in Version: 5.1.6
  27. ClearQuest ID: SDSCM00033811
    • Headline: Error message "INTERNAL ERROR Decomposition error" is displayed when compiling with the --gen_profile_info flag
    • Fixed in Version: 5.1.6
  28. ClearQuest ID: SDSCM00033846
    • Headline: The linker is overwriting sections while merging sections
    • Fixed in Version: 5.1.6
  29. ClearQuest ID: SDSCM00033854
    • Headline:  The compiler ignores all but the last --preinclude option
    • Fixed in Version: 5.1.6
  30. ClearQuest ID: SDSCM00033878
    • Headline: C2000 compiler generates a SP relative index offset larger than 63
    • Fixed in Version: 5.1.6
  31. ClearQuest ID: SDSCM00033905
    • Headline: Test fails msp benchmark
    • Fixed in Version: 5.1.6
  32. ClearQuest ID: SDSCM00033942
    • Headline: The compiler removes a "value = ~value;" expression
    • Fixed in Version: 5.1.6
  33. ClearQuest ID: SDSCM00034078
    • Headline: Compiler ignores restrict qualifier on a C++ reference type struct argument
    • Fixed in Version: 5.1.6
  34. ClearQuest ID: SDSCM00034147
    • Headline: The compiler incorrectly accesses ioport variables
    • Fixed in Version: 5.1.6
  35. ClearQuest ID: SDSCM00034228
    • Headline: Codegen seg fault
    • Fixed in Version: 5.1.6
  36. ClearQuest ID: SDSCM00034230
    • Headline: Codegen assertion failure
    • Fixed in Version: 5.1.6
  37. ClearQuest ID: SDSCM00034533
    • Headline: Incorrect code generated for a const variable in a loop when compiled with optimizeation -o1or higher
    • Fixed in Version: 5.1.6
  38. ClearQuest ID: SDSCM00034557
    • Headline: Compiler generates incorrect code for certain arithmetic with mixed types
    • Fixed in Version: 5.1.6
  39. ClearQuest ID: SDSCM00034773
    • Headline: Syntax (and    acc,#~(3 << 8)) not accepted by assembler
    • Fixed in Version: 5.1.6
  40. ClearQuest ID: SDSCM00035027
    • Headline: Compiler mishandles long expressions when building with -mf 
    • Fixed in Version: 5.1.6
  41. ClearQuest ID: SDSCM00035082
    • Headline: Including math.h inside extern "C" gives errors
    • Fixed in Version: 5.1.6
  42. ClearQuest ID: SDSCM00035153
    • Headline: CGT Optimizer terminated abnormally
    • Fixed in Version: 5.1.6
  43. ClearQuest ID: SDSCM00035306
    • Headline: The compiler may produce incorrect code when a static local variable appears as part of an argument to a function call
    • Fixed in Version: 5.1.6
  44. ClearQuest ID: SDSCM00035361
    • Headline: Assembler sometimes mistranslates C2LP branch conditional with two parameters
    • Fixed in Version: 5.1.6
  45. ClearQuest ID: SDSCM00035399
    • Headline: Under certain conditions, the compiler may unroll a loop more times than the loop will actually iterate
    • Fixed in Version: 5.1.6
  46. ClearQuest ID: SDSCM00035418
    • Headline: Bitwise ops on memory access may go wrong if op assign in register promotion
    • Fixed in Version: 5.1.6
  47. ClearQuest ID: SDSCM00035422
    • Headline: When building a relocatable executable, linker omits relocation entries from the .debug_info section
    • Fixed in Version: 5.1.6
  48. ClearQuest ID: SDSCM00035558
    • Headline:  Fix shell memory allocation errors in the compiler shell
    • Fixed in Version: 5.1.6
  49. ClearQuest ID: SDSCM00035618
    • Headline: C2000 FPU assembler error messages incorrect/inconsistent
    • Fixed in Version: 5.1.6
  50. ClearQuest ID: SDSCM00035624
    • Headline:  Optimized conditional statement results in Z-flag being used from the wrong MOV statement
    • Fixed in Version: 5.1.6
  51. ClearQuest ID: SDSCM00035755
    • Headline: Compiler drops MINL and MAXL instructions, leaves MINCUL,  MAXCUL
    • Fixed in Version: 5.1.6
  52. ClearQuest ID: SDSCM00035917
    • Headline: GCC language extension allowing arithmetic on void* pointers generates incorrect code
    • Fixed in Version: 5.1.6
  53. ClearQuest ID: SDSCM00035932
    • Headline: C2800 compiler sometimes fails to test conditions before branching
    • Fixed in Version: 5.1.6
  54. ClearQuest ID: SDSCM00035996
    • Headline: C2000 CGT generates incorrect code with __f32_max_idx/__f32_min_idx intrinsics
    • Fixed in Version: 5.1.6
  55. ClearQuest ID: SDSCM00036371
    • Headline: Address shell crash reports
    • Fixed in Version: 5.1.6
  56. ClearQuest ID: SDSCM00036839
    • Headline:  c60_ofd does not properly load attributes
    • Fixed in Version: 5.1.6
  57. ClearQuest ID: SDSCM00036896
    • Headline: Internal error on memcpy() used for value when optimization is used
    • Fixed in Version: 5.1.6
  58. ClearQuest ID: SDSCM00038871
    • Headline: bug when using -plink optimization option
    • Fixed in Version: 5.1.6
  • A production patch for the 5.2.x stream was released in December:

     

     

    1. ClearQuest ID: SDSCM00038383
      • Headline: The C28x codegen generates incorrect results for array multiplication
      • Fixed in Version: 5.2.9
    2. ClearQuest ID: SDSCM00038399
      • Headline: Loop executes fewer times than it should
      • Fixed in Version: 5.2.9
    3. ClearQuest ID: SDSCM00038600
      • Headline: Missing DDEDGE in .opt file causes incorrect code to be generated
      • Fixed in Version: 5.2.9
    4. ClearQuest ID: SDSCM00038398
      • Headline: Linker incorrectly allocates an array of size greater than 20000h
      • Fixed in Version: 5.2.9
    5. ClearQuest ID: SDSCM00038291
      • Headline: Request for --opt_for_speed and --opt_for_space to be categorized under Optimization Options instead of Runtime model options
      • Fixed in Version: 5.2.9
    6. ClearQuest ID: SDSCM00038051
      • Headline: Optimizer loses pointer increment in rare cases
      • Fixed in Version: 5.2.9