[Bug c++/119824] New: initialization of a static member variable with type auto or decltype(auto) is not accepted

2025-04-15 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119824 Bug ID: 119824 Summary: initialization of a static member variable with type auto or decltype(auto) is not accepted Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug preprocessor/118860] [15 Regression] ICE Segfault with --param=file-cache-files= since r15-7431-g66af77cbed6c5b

2025-02-20 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118860 Heiko Eißfeldt changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #2 f

[Bug sanitizer/117960] [13 Regression] "Note that the only target -fsanitize=hwaddress is currently supported on is AArch64." is not true

2025-01-11 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117960 --- Comment #6 from Heiko Eißfeldt --- Sorry, wrong section in previous comment #5. It is not yet corrected for option '-fsanitize=hwaddress', which reads at the end: '... and is currently only available on AArch64.'

[Bug sanitizer/117960] [13 Regression] "Note that the only target -fsanitize=hwaddress is currently supported on is AArch64." is not true

2025-01-11 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117960 Heiko Eißfeldt changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #5 f

[Bug other/44574] [meta-bug] Avoid use of atoi

2025-01-01 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574 --- Comment #19 from Heiko Eißfeldt --- (In reply to Joseph S. Myers from comment #0) > The atoi function has undefined behavior if its argument is outside > the range of int. Thus, GCC should not use it for any user input that > might be outsid

[Bug other/118041] New: install.texi typos in --enable-host-pie

2024-12-14 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118041 Bug ID: 118041 Summary: install.texi typos in --enable-host-pie Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug other/44574] [meta-bug] Avoid use of atoi

2024-12-13 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574 --- Comment #18 from Heiko Eißfeldt --- While going through a new list of ato[ilq]{,l} usages I found that both libbacktrace and lib_vtv implement their own PE COFF reader. Could/should this PE COFF parsing code be extracted to one place (which?

[Bug other/44574] [meta-bug] Avoid use of atoi

2024-12-12 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574 --- Comment #17 from Heiko Eißfeldt --- > > I would like to fix the atoi in read-rtl and atoi/atol/atoll/atoq in > > read-rtl-function, using strtoq as a fallback when strtoll is not available. > > Please note that you have strtoll (and friends)

[Bug other/44574] [meta-bug] Avoid use of atoi

2024-12-12 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574 --- Comment #15 from Heiko Eißfeldt --- Thanks a lot, I will add atoq too.

[Bug other/44574] [meta-bug] Avoid use of atoi

2024-12-12 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574 --- Comment #13 from Heiko Eißfeldt --- (In reply to Andrew Pinski from comment #9) > I am going to add a: > #pragma GCC posion atoi > > And fix all of the cases. Andrew, since I am currently working on this, could you supply a patch regarding

[Bug preprocessor/82469] ICE in _cpp_process_line_notes, at libcpp/lex.c:1066

2024-12-10 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82469 --- Comment #6 from Heiko Eißfeldt --- Still ICEs on ARM64 11.1.0 - trunk. https://godbolt.org/z/bKEeqz613

[Bug other/44574] [meta-bug] Avoid use of atoi

2024-12-09 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574 Heiko Eißfeldt changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #12 f

[Bug lto/114542] -flto=4294967296 is treated the same as -flto=0 and -flto=4294967297 is treated the same as -flto=1 instead of being invalid options

2024-12-09 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114542 --- Comment #4 from Heiko Eißfeldt --- I submitted a patch to replace the atoi functions and add a new testcase. BTW: the maximum allowed value was INT_MAX (your example used UINT_MAX). https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671

[Bug driver/117942] typo in option gives ICE

2024-12-06 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117942 --- Comment #4 from Heiko Eißfeldt --- Thanks for the working fix!

[Bug driver/117942] New: typo in option gives ICE

2024-12-06 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117942 Bug ID: 117942 Summary: typo in option gives ICE Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assign

[Bug c/114541] Invalid gimple __BB# accepted due to usage of atoi

2024-12-04 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114541 --- Comment #2 from Heiko Eißfeldt --- For this testcase (which ICEs with trunk) ``` /* PR middle-end/114541 */ /* { dg-do compile } */ /* { dg-options "-fgimple" } */ /* { dg-bogus "internal compiler error" } */ void __GIMPLE (ssa,startwith ("

[Bug lto/114542] -flto=4294967296 is treated the same as -flto=0 and -flto=4294967297 is treated the same as -flto=1 instead of being invalid options

2024-12-04 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114542 --- Comment #3 from Heiko Eißfeldt --- FYI: the GNUmake bug seems to be fixed now.

[Bug lto/114542] -flto=4294967296 is treated the same as -flto=0 and -flto=4294967297 is treated the same as -flto=1 instead of being invalid options

2024-11-30 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114542 --- Comment #2 from Heiko Eißfeldt --- Filed a GNUmake bug report for that: https://savannah.gnu.org/bugs/index.php?66499

[Bug lto/114542] -flto=4294967296 is treated the same as -flto=0 and -flto=4294967297 is treated the same as -flto=1 instead of being invalid options

2024-11-30 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114542 Heiko Eißfeldt changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #1 f

[Bug middle-end/114540] Use of atoi in varasm.cc (decode_reg_name_and_count) allows invalid registers

2024-11-23 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114540 --- Comment #4 from Heiko Eißfeldt --- After realizing my error in the previous patch (relying on an ERANGE check for the wanted integer type instead of a check of long type range) I manually tested my corrected patch. Corner cases behave like o

[Bug middle-end/114540] Use of atoi in varasm.cc (decode_reg_name_and_count) allows invalid registers

2024-11-23 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114540 Heiko Eißfeldt changed: What|Removed |Added Attachment #59671|0 |1 is obsolete|

[Bug c/114541] Invalid gimple __BB# accepted due to usage of atoi

2024-11-22 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114541 Heiko Eißfeldt changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #1 f

[Bug middle-end/114540] Use of atoi in varasm.cc (decode_reg_name_and_count) allows invalid registers

2024-11-22 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114540 --- Comment #2 from Heiko Eißfeldt --- I also sent it to gcc-patches mailing-list.

[Bug middle-end/114540] Use of atoi in varasm.cc (decode_reg_name_and_count) allows invalid registers

2024-11-22 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114540 Heiko Eißfeldt changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #1 f

[Bug preprocessor/82469] ICE in _cpp_process_line_notes, at libcpp/lex.c:1066

2021-09-22 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82469 --- Comment #2 from Heiko Eißfeldt --- I took me a while to find a platform of mine where I got this error. Right now it happens here as well: Message: cpp --traditional -ffreestanding -P gcc_82469.c : internal compiler error: in _cpp_process_