[Bug c++/71484] Class with implicit public constructor triggers `-Wctor-dtor-privacy`

2018-05-04 Thread jlegg at feralinteractive dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71484 James Legg changed: What|Removed |Added CC||jlegg at feralinteractive dot com

[Bug c++/87584] New: [8 regression] const overload ignored on operator[] in captured by value object in template function

2018-10-11 Thread jlegg at feralinteractive dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jlegg at feralinteractive dot com Target Milestone: --- The following c++ code incorrectly produces the error "passing ‘const C’ as ‘this’ arg

[Bug c++/87584] [8/9 regression] const overload ignored on operator[] in captured by value object in template function

2018-10-11 Thread jlegg at feralinteractive dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87584 James Legg changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #3 from James Legg --

[Bug other/64499] New: -gsplit-dwarf splits objcopy argument at spaces in file path

2015-01-05 Thread jlegg at feralinteractive dot com
Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: jlegg at feralinteractive dot com If using -gsplit-dwarf and outputting an object file in a path containing spaces, objcopy is invoked to copy the debug symbols to a dwo file, however the

[Bug middle-end/98109] Seemingly wrong warnings from -Wnonnull when combined with -O2 -fsanitize=undefined

2021-05-19 Thread jlegg at feralinteractive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98109 James Legg changed: What|Removed |Added CC||jlegg at feralinteractive dot com

[Bug c++/100893] New: Template argument conversion fails for dependant constant function pointer template parameters

2021-06-03 Thread jlegg at feralinteractive dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jlegg at feralinteractive dot com Target Milestone: --- When compiling this C++ code: void f(); struct S {using F = void (* const)();}; template void g

[Bug c++/101106] New: [11 regression] =delete on second declaration of the same function produces a note with no error

2021-06-17 Thread jlegg at feralinteractive dot com via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jlegg at feralinteractive dot com Target Milestone: --- GCC 10.3 correctly ([dcl.fct.def.delete] paragraph 4) diagnosed a "deleted definition of &

[Bug c++/101210] New: [7/8/9/10/11/12 regression] spurious "reference binding to misaligned address" ubsan error for integer comparison

2021-06-25 Thread jlegg at feralinteractive dot com via Gcc-bugs
Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jlegg at feralinteractive dot com Target Milestone: --- With -fsanitize=undefined, this C++ code

[Bug c/65891] [9/10/11/12 Regression] -Wlogical-op now warns about logical ‘and’ of equal expressions even when different types/sizeofs are involved

2022-03-23 Thread jlegg at feralinteractive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65891 James Legg changed: What|Removed |Added CC||jlegg at feralinteractive dot com

[Bug c++/102496] New: [11 regression] extern __thread declaration in function scope produces a non-TLS reference

2021-09-27 Thread jlegg at feralinteractive dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jlegg at feralinteractive dot com Target Milestone: --- A variable declaration inside a function body qualified with extern and __thread appears to ignore

[Bug middle-end/102518] New: [11/12 regression] ICE during GIMPLE pass: einline in gimplify_modify_expr at -O2

2021-09-28 Thread jlegg at feralinteractive dot com via Gcc-bugs
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jlegg at feralinteractive dot com Target Milestone: --- Compiling this c++ code with g++ -O2 -c: struct A { bool operator<(A b) { return b.x; } in

[Bug sanitizer/109700] New: [13/14 regression] ICE with address sanitizer after declaring __builtin_alloca

2023-05-02 Thread jlegg at feralinteractive dot com via Gcc-bugs
Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: jlegg at feralinteractive dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc

[Bug sanitizer/109700] ICE with address sanitizer after declaring __builtin_alloca

2023-05-02 Thread jlegg at feralinteractive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109700 --- Comment #6 from James Legg --- Yes, declaring bulitin functions is bad, but I didn't expect the ICE. It wasn't done intentionally. glibc's alloca.h defines a alloca(s) macro as __builtin_alloca(s). I had some code defining _alloca as alloca