[Bug lto/114241] New: False-positive -Wodr warning when using -flto and -fno-semantic-interposition

2024-03-05 Thread abbeyj+gcc at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: abbeyj+gcc at gmail dot com Target Milestone: --- When building the following example, a `-Wodr` warning is shown. I don't think the code violates the ODR so this warning

[Bug tree-optimization/111750] New: Spurious -Warray-bounds warning when using member function pointers

2023-10-09 Thread abbeyj+gcc at gmail dot com via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: abbeyj+gcc at gmail dot com Target Milestone: --- Created attachment 56086 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56086=edit Reproducer The source c

[Bug c++/91506] New: Incorrectly issued error: parameter may not have variably modified type

2019-08-21 Thread abbeyj+gcc at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: abbeyj+gcc at gmail dot com Target Milestone: --- Compiling: double test(int *arr, int x) { double ret(double(arr[x]) + 1); return ret; } produces: : In function

[Bug c++/91476] New: const reference variables sharing the same name in two anonymous namespaces cause a multiple definition error

2019-08-16 Thread abbeyj+gcc at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: abbeyj+gcc at gmail dot com Target Milestone: --- There is a problem when having two different variables both of which are const references

[Bug c++/85505] New: Code accepted despite a variable using the same name as a parameter

2018-04-23 Thread abbeyj+gcc at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: abbeyj+gcc at gmail dot com Target Milestone: --- The following code is accepted by GCC although I believe it should not be. This happens on all versions and all platforms currently

[Bug c++/81636] New: Confusing warning message containing "#‘obj_type_ref’ not supported by expression#"

2017-07-31 Thread abbeyj+gcc at gmail dot com
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: abbeyj+gcc at gmail dot com Target Milestone: --- This occurs with any version of GCC that I've tried that recognizes -std=c++11. It seems to affect al

[Bug c++/80320] New: Constructor executed twice for the same static member when using -fno-implicit-templates

2017-04-05 Thread abbeyj+gcc at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: abbeyj+gcc at gmail dot com Target Milestone: --- Created attachment 41130 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41130=edit Testc

[Bug c++/77306] Unable to specify visibility for explicit template instantiations

2016-08-19 Thread abbeyj+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77306 --- Comment #1 from James Abbatiello <abbeyj+gcc at gmail dot com> --- Created attachment 39478 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39478=edit Patch

[Bug c++/77306] New: Unable to specify visibility for explicit template instantiations

2016-08-19 Thread abbeyj+gcc at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: abbeyj+gcc at gmail dot com Target Milestone: --- Created attachment 39477 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39477=edit Reproducer This bug is being filed as a requ

[Bug c++/77291] New: False positive for -Warray-bounds

2016-08-18 Thread abbeyj+gcc at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: abbeyj+gcc at gmail dot com Target Milestone: --- Created attachment 39473 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39473=edit Test case Testcase: struct Rec { unsigned char data[1]; // actually variable length }; un

[Bug c++/71154] Attributes for an explicit template instantiation are ignored

2016-07-21 Thread abbeyj+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71154 --- Comment #3 from James Abbatiello <abbeyj+gcc at gmail dot com> --- Andrew Pinsky, I'm not sure I understand your comment. Why would the visibility of D be affected by the visibility of C? If I change your test case so that C is de

[Bug c++/71154] Attributes for an explicit template instantiation are ignored

2016-05-16 Thread abbeyj+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71154 --- Comment #1 from James Abbatiello <abbeyj+gcc at gmail dot com> --- Created attachment 38502 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38502=edit Too simple patch

[Bug c++/71154] New: Attributes for an explicit template instantiation are ignored

2016-05-16 Thread abbeyj+gcc at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: abbeyj+gcc at gmail dot com Target Milestone: --- Created attachment 38501 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38501=edit Reproducer Trying to apply attributes (l