Skip to content

Temp fix for a GCC 15 ICE when compiling raylib4dc with -ffast-math#144

Open
tractorbeam0 wants to merge 1 commit intoKallistiOS:masterfrom
tractorbeam0:master
Open

Temp fix for a GCC 15 ICE when compiling raylib4dc with -ffast-math#144
tractorbeam0 wants to merge 1 commit intoKallistiOS:masterfrom
tractorbeam0:master

Conversation

@tractorbeam0
Copy link
Copy Markdown

This file is important for loading models and most likely affects performance. This change is definitely temporary, just to get things working until the ICE is fixed. The error I got follows:

during RTL pass: reload
rmodels.c: In function ‘DrawBillboardPro’:
rmodels.c:3919:1: internal compiler error: in gen_reg_rtx, at emit-rtl.cc:1177
 3919 | }
      | ^
0x73a7145c5f74 __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x73a7145c6026 __libc_start_main_impl
        ../csu/libc-start.c:360

This is the same fix as #131, fixed by applying a patch file to rmodels.c. Thanks to Bruce for linking to that PR and suggesting the same changes.

@tractorbeam0
Copy link
Copy Markdown
Author

This would also resolve (at least, for now) #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant