Bug#1021673: Acknowledgement (Wrong __cplusplus definition when using -std=c++20)

2022-10-12 Thread Marco Trevisan
Forwarded: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93821 Upstream commit fixing this is https://gcc.gnu.org/git/?p=gcc.git;a=commit;f=libcpp/init.c;h=445430e16bd08ade34637d2346ded40dd49de508

Bug#1021673: Wrong __cplusplus definition when using -std=c++20

2022-10-12 Thread Marco Trevisan
Package: g++ Version: 4:10.2.1-1 In bullseye: $ echo | g++ -dM -E -x c++ -std=c++20 - |grep _cplusplus #define __cplusplus 201709L It should instead be: #define __cplusplus 202002L

Bug#1021660: gcc-12-offload-nvptx: offloading to nvidia via nvptx fails with cuda version 11 (default in sid)

2022-10-12 Thread Giacomo Mulas
Package: gcc-12-offload-nvptx Version: 12.2.0-5 Severity: grave Justification: renders package unusable for nvidia Dear Maintainer, the nvptx plugin for gcc-12 currently available for sid mandates a cuda level sm_30, which is no longer available in cuda 11 (the one now in sid). This means that e