Re: [Patch] gcn/mkoffload.cc: Re-add fprintf for #include of stdlib.h/stdbool.h

2024-09-23 Thread Tobias Burnus
Now committed as r15-3797-ga030fcad4f9f49 / https://gcc.gnu.org/r15-3797-ga030fcad4f9f49 as obvious. Tobias Am 21.09.24 um 00:52 schrieb Tobias Burnus: See attached patch for adding the include lines: +  if (gcn_stack_size) +    { +  fprintf (cfile, "#include \n"); +  fprintf (cfile,

[Patch] gcn/mkoffload.cc: Re-add fprintf for #include of stdlib.h/stdbool.h (was: [Patch, v3] gcn/mkoffload.cc: Use #embed for including the generated ELF file)

2024-09-20 Thread Tobias Burnus
Hi Thomas, See attached patch for adding the include lines: + if (gcn_stack_size) +{ + fprintf (cfile, "#include \n"); + fprintf (cfile, "#include \n\n"); but contrary to previously there is no 'stdint.h' and they are also not unconditionally included. (The 'stdbool.h' is only u