Skip to content

ICE when building libgcc with -mno-callee-assume-ss-data-segment #102

@asiekierka

Description

@asiekierka
$ make clean-target-libgcc
# ...
$ make all-target-libgcc CFLAGS_FOR_TARGET="-mno-callee-assume-ss-data-segment"
# ...
../../../gcc-ia16/libgcc/libgcc2.c: In function ‘__popcounthi2’:
../../../gcc-ia16/libgcc/libgcc2.c:858:1: internal compiler error: in elimination_costs_in_insn, at reload1.c:3624
 }
 ^

I'm starting to feel like it might be better to just add support for the Compact memory model... I'm dealing with a DS != SS platform, but -mno-callee-assume-ss-data-segment causes a lot of caveats (for example, va_list is currently expected to live in DS).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions