[Bug libgomp/114216] gnu2x: error: too many arguments to function ‘host_fn’

2024-03-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114216 Jakub Jelinek changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug libgomp/114216] gnu2x: error: too many arguments to function ‘host_fn’

2024-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114216 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:dea9ac2a00d1e4126d61b65a8302c2bd523f0b99 commit r14-9294-gdea9ac2a00d1e4126d61b65a8302c2bd523f0b99 Author: Jakub Jelinek Date:

[Bug libgomp/114216] gnu2x: error: too many arguments to function ‘host_fn’

2024-03-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114216 --- Comment #1 from Andrew Pinski --- >when building gcc with CFLAGS=" -std=gnu2x " Why are you building with this? Also basically target.c is still written in C99. This patch should fix the issue though: ``` diff --git a/libgomp/target.c