no1wudi opened a new issue, #6985:
URL: https://github.com/apache/incubator-nuttx/issues/6985

   Enable CONFIG_MM_UBSAN and disable CONFIG_MM_UBSAN_TRAP_ON_ERROR in 
esp32c3-devkit:nsh, and then we get:
   ```
   ubsan_prologue: 
================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:2196:3
   __ubsan_handle_shift_out_of_bounds: left shift of 255 by 24 places cannot be 
represented in type 'int'
   ubsan_epilogue: 
================================================================================
   ubsan_prologue: 
================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:2207:3
   __ubsan_handle_shift_out_of_bounds: left shift of 127 by 25 places cannot be 
represented in type 'int'
   ubsan_epilogue: 
================================================================================
   ubsan_prologue: 
================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:2215:3
   __ubsan_handle_shift_out_of_bounds: left shift of 127 by 25 places cannot be 
represented in type 'int'
   ubsan_epilogue: 
================================================================================
   ubsan_prologue: 
================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:2219:3
   __ubsan_handle_shift_out_of_bounds: left shift of 127 by 25 places cannot be 
represented in type 'int'
   ubsan_epilogue: 
================================================================================
   ubsan_prologue: 
================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:2068:3
   __ubsan_handle_shift_out_of_bounds: left shift of 3 by 30 places cannot be 
represented in type 'int'
   ubsan_epilogue: 
================================================================================
   ubsan_prologue: 
================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:729:7
   __ubsan_handle_shift_out_of_bounds: left shift of 33554431 by 7 places 
cannot be represented in type 'int'
   ubsan_epilogue: 
================================================================================
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to