Menu

#3050 [pic16] FATAL Compiler Internal Error on code using wide string literals

open
nobody
None
PIC16
5
2020-06-12
2020-06-11
No
void g();
void f(void)
{
    if (L"a")
        g();
}

Compiling this with sdcc test.c -mpic16 --use-non-free gives test.c:7: error 9: FATAL Compiler Internal Error in file 'glue.c' line number '1440' : 0. Tested with commit 11662.

Discussion

  • Philipp Klaus Krause

    • Category: other --> PIC16
     
  • Philipp Klaus Krause

    Well, pic.

    The pic backends are still considered "in development", though there is currently no maintainer. Worse, they also depend on upstream gputils which is practically unmaintained, too.
    They still have users. Once every few years we even get some bugfix patches. But in the end, from the "Open Non-PIC" button you can see that most currently open bugs are pic-specific, and unless someone steps up as a maintainer, that is unlikely to change.

    P.S.: If you know that only the pic16 backend is affected, there is no need for the [pic16] notation. Just set the category of the bug report to pic16.

     

    Last edit: Philipp Klaus Krause 2020-06-12

Log in to post a comment.

Monday.com Logo