Hi,
The following code will trigger ICE:
#include <libgccjit++.h>
int main () {
auto ctx = gccjit::context::acquire();
auto func = ctx.get_builtin_function("__builtin_alloca_with_align");
ctx.release();
}
Command line:
g++ test.cc -lgccjit -o test && ./test
Error message:
internal compiler error: in make_type, at jit/jit-builtins.cc:4460x7d7f7372e1cd
__libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7d7f7372e289 __libc_start_main_impl
../csu/libc-start.c:36
gcc --versiongcc (GCC) 14.2.1 20240910
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Schrodinger ZHU Yifan, Ph.D. Student
Computer Science Department, University of Rochester
Personal Email: [email protected]
Work Email: [email protected]
Website: https://www.cs.rochester.edu/~yzhu104/Main.html
Github: SchrodingerZhu
GPG Fingerprint: BA02CBEB8CB5D8181E9368304D2CC545A78DBCC3
signature.asc
Description: OpenPGP digital signature
