https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117471
Bug ID: 117471
Summary: bootstrap error after r15-4985-g5c9de3df854768
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
Target Milestone: ---
g:5c9de3df8547682bfb3d484d7d28a27776bf979c, r15-4985-g5c9de3df854768
make[3]: Entering directory
'/home/seurer/gcc/git/build/gcc-trunk-bootstrap/gcc'
/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./prev-gcc/xg++
-B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./prev-gcc/
-B/home/seurer/gcc/git/install/gcc-trunk-bootstrap/powerpc64le-unknown-linux-gnu/bin/
-nostdinc++
-B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/libstdc++-v3/libsupc++
-L/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-fno-PIE -c -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-error=narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H -fno-PIE
-I. -I. -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/.
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../include
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libcpp/include
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libcody
-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./gmp
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gmp
-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./mpfr/src
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/mpfr/src
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/mpc/src
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libdecnumber
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libdecnumber/dpd
-I../libdecnumber
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libbacktrace
-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./isl/include
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/isl/include -o omp-general.o -MT
omp-general.o -MMD -MP -MF ./.deps/omp-general.TPo
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/omp-general.cc
In file included from
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/coretypes.h:497,
from
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/omp-general.cc:25:
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/poly-int.h: In instantiation of
'typename if_nonpoly<Cb, bool>::type maybe_lt(const poly_int<N, C>&, const Cb&)
[with unsigned int N = 1; Ca = long unsigned int; Cb = int; typename
if_nonpoly<Cb, bool>::type = bool]':
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/poly-int.h:1440:7: required from
'poly_int<N, typename poly_result<typename if_nonpoly<Ca>::type, Cb>::type>
ordered_max(const Ca&, const poly_int<N, Cb>&) [with unsigned int N = 1; Ca =
int; Cb = long unsigned int; typename poly_result<typename
if_nonpoly<Ca>::type, Cb>::type = long unsigned int; typename
if_nonpoly<Ca>::type = int]'
1342 | #define maybe_gt(A, B) maybe_lt (B, A)
| ~~~~~~~~~^~~~~~
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/omp-general.cc:1008:25: required
from here
1008 | return ordered_max (64, omp_max_vf (false));
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/poly-int.h:1317:22: error:
comparison of integer expressions of different signedness: 'const long unsigned
int' and 'const int' [-Werror=sign-compare]
1317 | return a.coeffs[0] < b;
| ~~~~~~~~~~~~^~~
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/poly-int.h: In instantiation of
'typename if_nonpoly<Ca, bool>::type maybe_lt(const Ca&, const poly_int<N,
Cb>&) [with unsigned int N = 1; Ca = int; Cb = long unsigned int; typename
if_nonpoly<Ca, bool>::type = bool]':
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/poly-int.h:1445:2: required from
'poly_int<N, typename poly_result<typename if_nonpoly<Ca>::type, Cb>::type>
ordered_max(const Ca&, const poly_int<N, Cb>&) [with unsigned int N = 1; Ca =
int; Cb = long unsigned int; typename poly_result<typename
if_nonpoly<Ca>::type, Cb>::type = long unsigned int; typename
if_nonpoly<Ca>::type = int]'
1342 | #define maybe_gt(A, B) maybe_lt (B, A)
| ~~~~~~~~~^~~~~~
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/omp-general.cc:1008:25: required
from here
1008 | return ordered_max (64, omp_max_vf (false));
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/poly-int.h:1328:12: error:
comparison of integer expressions of different signedness: 'const int' and
'const long unsigned int' [-Werror=sign-compare]
1328 | return a < b.coeffs[0];
| ~~^~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:1197: omp-general.o] Error 1
commit 5c9de3df8547682bfb3d484d7d28a27776bf979c (HEAD)
Author: Andrew Stubbs <[email protected]>
Date: Mon Oct 21 12:29:54 2024 +0000
openmp: Tune omp_max_vf for offload targets