[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
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: heiko at hexco dot de Target Milestone: --- I experimented with forms of initialization for static member variables and found different results with different

[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

[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

[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
Assignee: unassigned at gcc dot gnu.org Reporter: heiko at hexco dot de Target Milestone: --- Created attachment 59866 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59866&action=edit Patch to fix two typos in --enable-host-pie There are some extra parenthes

[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

[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
Assignee: unassigned at gcc dot gnu.org Reporter: heiko at hexco dot de Target Milestone: --- With the current trunk (at commit 115e4bf54ec91a4f358a9e68dcd7a234b0ccc5b8) I mistyped -fdiagnostics-plain-output and got an ICE: $ gcc/xgcc -Bgcc --diagnostics-plain-output xgcc: internal compiler

[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

[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

[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

[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_

[Bug bootstrap/92274] 'make' fails when objdir and srcdir paths contain spaces

2019-10-30 Thread heiko at hexco dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92274 --- Comment #2 from Heiko Eißfeldt --- As I see it, there are multiple issues with the current approach. 1. Since absolute paths (as opposed to relative paths) are used, one cannot move the configured source tree to some other location and use i

[Bug other/92274] New: 'make' fails when objdir and srcdir paths contain spaces

2019-10-30 Thread heiko at hexco dot de
ty: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: heiko at hexco dot de Target Milestone: --- When compiling gcc 9.2.0 on Ubuntu 18.04, I have to use a base path that contains spaces. "configure --enable-checking=all,extra&q

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

2017-10-07 Thread heiko at hexco dot de
: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: heiko at hexco dot de Target Milestone: --- Host: x86_64-linux-gnu Target: x86_64-linux-gnu Build: x86_64-linux-gnu (gcc version

[Bug preprocessor/78581] Out of memory when preprocessing #include with -traditional

2017-10-07 Thread heiko at hexco dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78581 Heiko Eißfeldt changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #2

[Bug preprocessor/82130] stringification (#) in traditional mode

2017-10-07 Thread heiko at hexco dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82130 Heiko Eißfeldt changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #1