Menu

#2536 hexdouble issue

open
nobody
None
other
2
2020-08-06
2016-08-13
No

Compiling the attached file using sdcc 3.6.1 #9667 gives:

test.c:2: error 66: attempt to allocate variable of unknown size 'has_hexdouble'

Philipp

P.S.: The attached test.c has been created by extracting two lines from the P99 macro suite, where I first noticed this problem.

1 Attachments

Discussion

  • Philipp Klaus Krause

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,4 +4,4 @@
    
     Philipp
    
    -P.S.: P.S.: The attached test.c has been created by extracting two lines from the P99 macro suite, where I first noticed this problem.
    +P.S.: The attached test.c has been created by extracting two lines from the P99 macro suite, where I first noticed this problem.
    
     
  • Philipp Klaus Krause

    This can now also be reproduced by removing the define SKIP_HEXDOUBLE at the beginning of regression test test-p99-conformance.c.

    Philipp

     

    Last edit: Philipp Klaus Krause 2018-01-18
  • Philipp Klaus Krause

    • Priority: 5 --> 7
     
  • Philipp Klaus Krause

    Not a bug in SDCC, but a bug in the test, as confirmed by upstream. Leaving this item open until the test is fixed.

    Philipp

     

    Last edit: Philipp Klaus Krause 2018-01-18
  • Philipp Klaus Krause

    • Priority: 7 --> 2
     
  • Sergey Belyashov

    Is upstream test fixed?

     
    • Philipp Klaus Krause

      No. But I contacted upstream this morning to ask about a suitable replacemnet.

       

Log in to post a comment.

Auth0 Logo