[Bug c++/107140] Potential false positive uninitialized variable warning with -Wmaybe-uninitialized

2022-10-06 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107140 --- Comment #3 from Kip Warner --- If you click the Save button in Godbolt's CE, you can download a compressed archive. I've attached it for you.

[Bug c++/107140] Potential false positive uninitialized variable warning with -Wmaybe-uninitialized

2022-10-06 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107140 --- Comment #2 from Kip Warner --- Created attachment 53673 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53673&action=edit Minimal

[Bug c++/107140] New: Potential false positive uninitialized variable warning with -Wmaybe-uninitialized

2022-10-03 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107140 Bug ID: 107140 Summary: Potential false positive uninitialized variable warning with -Wmaybe-uninitialized Product: gcc Version: 12.2.0 Status: UNCONFIRMED Sev

[Bug libstdc++/101228] tbb/task.h is Deprecated in newer TBB.

2021-06-27 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 --- Comment #3 from Kip Warner --- Thanks Andrew. I've opened an issue downstream: https://bugs.launchpad.net/gcc/+bug/1933775

[Bug libstdc++/101228] #include triggers Intel TBB warning for tbb/task.h

2021-06-26 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 --- Comment #1 from Kip Warner --- Suggestion: Maybe a unit test that includes all the standard STL headers, does nothing with them, and that's expected to emit no warnings would mitigate problems like this occurring in the future.

[Bug libstdc++/101228] New: #include triggers Intel TBB warning for tbb/task.h

2021-06-26 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 Bug ID: 101228 Summary: #include triggers Intel TBB warning for tbb/task.h Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug libstdc++/99402] [10 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-04-13 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 --- Comment #11 from Kip Warner --- Thanks Jonathan. That was a constructive follow up.

[Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-05 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 --- Comment #8 from Kip Warner --- And for anyone finding this from a search engine, the temporary workaround is to use std::copy_n.

[Bug c++/99402] New: std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-05 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 Bug ID: 99402 Summary: std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator Product: gcc Versio

[Bug libstdc++/79700] std::fabsf and std::fabsl missing from

2020-12-23 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79700 --- Comment #14 from Kip Warner --- Thanks Jonathan, but I still think you are mistaken in that you don't understand why the function exists in its various forms. Your explanation is technical and not philosophical. Whether it was originally inh

[Bug libstdc++/79700] std::fabsf and std::fabsl missing from

2020-12-23 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79700 --- Comment #12 from Kip Warner --- I didn't say STL. I said library designers which includes the standard C runtime. And no, I don't agree with you. Separate names are helpful for greater certainty. As for std::ceilf existing just for consistenc

[Bug libstdc++/79700] std::fabsf and std::fabsl missing from

2020-12-23 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79700 --- Comment #10 from Kip Warner --- Thanks Jonathan, but I disagree. The point is that the caller might be wrong in any number of assumptions. The library designers were in agreement, hence why there is an explicit ceilf function.

[Bug libstdc++/79700] std::fabsf and std::fabsl missing from

2020-12-23 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79700 --- Comment #7 from Kip Warner --- Not if I want any certainty at compile time that it is single precision.

[Bug libstdc++/79700] std::fabsf and std::fabsl missing from

2020-12-22 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79700 Kip Warner changed: What|Removed |Added CC||kip at thevertigo dot com --- Comment #5 fr

[Bug c++/98368] Seg fault on template method missing required return statement

2020-12-18 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98368 --- Comment #5 from Kip Warner --- *face palm* Yes, you are right! I totally forgot about the invocation at the end of the CLI! That's what happens when I don't get enough sleep.

[Bug c++/98368] Seg fault on template method missing required return statement

2020-12-18 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98368 --- Comment #3 from Kip Warner --- Sorry, the _compiler_ crashing is expected behaviour?

[Bug c++/98368] New: Seg fault on template method missing required return statement

2020-12-17 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98368 Bug ID: 98368 Summary: Seg fault on template method missing required return statement Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 --- Comment #7 from Kip Warner --- So it looks like even with GCC 11 in trunk it's still sometimes wrong on power9. Wrong L2 cache size when no -mcpu specified: $ gcc -Q --help=param | grep -i cache --param=l1-cache-line-size= 128

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 --- Comment #6 from Kip Warner --- Created attachment 49333 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49333&action=edit Autoconf configuration log on POWER9.

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 --- Comment #4 from Kip Warner --- I'm going to do some more testing tonight and report back after.

[Bug target/97324] -mcpu= isn't validated on x86

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 --- Comment #9 from Kip Warner --- Yup. Agreed.

[Bug target/97324] -mcpu= isn't validated on x86

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 --- Comment #7 from Kip Warner --- I understand what you mean from a maintainer's standpoint. But from a user's standpoint, that's an inconsistency.

[Bug target/97324] -mcpu= isn't validated on x86

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 --- Comment #5 from Kip Warner --- The reason I asked is because of that inconsistency in the -mcpu usage on targets. Thanks for clarifying.

[Bug target/97324] -mcpu= isn't validated on x86

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 --- Comment #3 from Kip Warner --- Martin, is -mcpu deprecated for all architectures or just x86?

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2020-10-07 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 --- Comment #2 from Kip Warner --- Sorry, not same issue. It appears as though this was fixed in gcc-11.

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2020-10-07 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 Kip Warner changed: What|Removed |Added Version|10.2.0 |11.0 --- Comment #1 from Kip Warner --- Ju

[Bug c/97329] New: POWER9 default cache and line sizes appear to be wrong

2020-10-07 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 Bug ID: 97329 Summary: POWER9 default cache and line sizes appear to be wrong Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c/97324] New: -mcpu= isn't validated on x86

2020-10-07 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 Bug ID: 97324 Summary: -mcpu= isn't validated on x86 Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assign