Menu

#3405 Regression test gte/931004-12.c

closed-fixed
nobody
None
other
5
2026-05-18
2022-05-31
No

The above test fails for all ports I tried, when enabled in cases/Makefile.in. However, it fails in different ways. For some ports it fails to compile triggering an internal error in codegen, for others it segfaults, for others, code is generated that then fails the test.

Discussion

  • Philipp Klaus Krause

    Ticket moved from /p/sdcc/feature-requests/811/

    Can't be converted:

    • _milestone:
     
  • Gabriele Gorla

    Gabriele Gorla - 2026-05-18

    seems to work for all 3 mos6502 targets

    sdcc-svn/sdcc/support/regression$ make test-uc6502
    Running uc6502 regression tests
    cases/../gte/931004-12.c:11: warning 278: return type of function omitted, assuming int
    cases/../gte/931004-12.c:36: warning 278: return type of function omitted, assuming int
    gte_931004-12                       (f:  0, t:   1, c:    1, b:    1583, T:     14770)
    Summary for 'uc6502': 0 failures, 36605 tests, 6355 test cases, 8951431 bytes, 401460028 ticks
    
    sdcc-svn/sdcc/support/regression$ make test-uc65c02
    Running uc65c02 regression tests
    cases/../gte/931004-12.c:11: warning 278: return type of function omitted, assuming int
    cases/../gte/931004-12.c:36: warning 278: return type of function omitted, assuming int
    gte_931004-12                       (f:  0, t:   1, c:    1, b:    1562, T:     14624)
    Summary for 'uc65c02': 0 failures, 36605 tests, 6355 test cases, 8924875 bytes, 408291803 ticks
    
    sdcc-svn/sdcc/support/regression$ make test-uc6502-stack-auto 
    Running uc6502-stack-auto regression tests
    cases/../gte/931004-12.c:11: warning 278: return type of function omitted, assuming int
    cases/../gte/931004-12.c:36: warning 278: return type of function omitted, assuming int
    gte_931004-12                       (f:  0, t:   1, c:    1, b:    2407, T:     21538)
    Summary for 'uc6502-stack-auto': 0 failures, 35526 tests, 6352 test cases, 12604510 bytes, 541792350 ticks
    
     
  • Gabriele Gorla

    Gabriele Gorla - 2026-05-18

    Actually I can't get it to fail at all

    Summary for 's08': 0 failures, 36462 tests, 6348 test cases, 8264050 bytes, 525252198 ticks
    
    Summary for 'pdk14': 0 failures, 14775 tests, 6275 test cases, 2608313 bytes, 25142465 ticks
    
    Summary for 'ucr800': 0 failures, 36438 tests, 6359 test cases, 7152270 bytes, 347961376 ticks
    
    Summary for 'ucgbz80': 0 failures, 36428 tests, 6358 test cases, 7877158 bytes, 2716038685 ticks
    
    Summary for 'stm8': 0 failures, 36551 tests, 6358 test cases, 5748526 bytes, 162998860 ticks
    
    Summary for 'mcs51-small': 0 failures, 27264 tests, 6343 test cases, 10488025 bytes, 893548044 ticks
    
     
  • Gabriele Gorla

    Gabriele Gorla - 2026-05-18
    • status: open --> closed-fixed
    • Category: --> other
     

Log in to post a comment.

Auth0 Logo