[Bug c++/111496] New: Optimizer issue when reinitializing an object of a standard-layout class with a trivial copy constructor and a trivial destructor

2023-09-20 Thread rogerio.souza at gmail dot com via Gcc-bugs
: rogerio.souza at gmail dot com Target Milestone: --- Host: x86_64 Created attachment 55948 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55948=edit Teste case to reproduce the optimization issue In some cases, reinitializing an object of a standard-layout class with a triv

[Bug middle-end/111118] New: Bogus -Wstringop-overread with -std=gnu++20 -O2 and std::vector

2023-08-23 Thread rogerio.souza at gmail dot com via Gcc-bugs
, diagnostic, missed-optimization, patch Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: rogerio.souza at gmail dot com Target Milestone: --- The following C++ code compiled with "-c -O1 -std=gn

[Bug other/110847] New: Inaccurate GCC documentation about -Wtsan and -Wxor-used-as-pow warnings

2023-07-28 Thread rogerio.souza at gmail dot com via Gcc-bugs
/gcc/Warning-Options.htm l Status: UNCONFIRMED Keywords: documentation Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: rogerio.souza at gmail dot com Target

[Bug libstdc++/110498] New: Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector::reserve

2023-06-30 Thread rogerio.souza at gmail dot com via Gcc-bugs
Keywords: diagnostic, missed-optimization Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rogerio.souza at gmail dot com Target Milestone: --- Created attachment 55432 --> ht

[Bug libstdc++/107852] [12 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2023-06-29 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 --- Comment #17 from Rogério de Souza Moraes --- Created attachment 55428 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55428=edit Preprocessed file for GCC 13.1.0 bug This is the preprocessed file (*.i*) that triggers the bug reported

[Bug libstdc++/107852] [12 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2023-06-29 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 Rogério de Souza Moraes changed: What|Removed |Added CC||rogerio.souza at gmail dot

[Bug tree-optimization/107004] [12 Regression] GCC12 warning in OOB access: array subscript is partly outside array bounds

2023-05-23 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107004 --- Comment #5 from Rogério de Souza Moraes --- I tried to apply the patch r13-3596-ge7310e24b1c0ca67, but it has not fixed the issue. Although, the issue is not reproducible on GCC 13.1.0.

[Bug tree-optimization/107004] New: GCC12 warning in OOB access: array subscript is partly outside array bounds

2022-09-21 Thread rogerio.souza at gmail dot com via Gcc-bugs
Status: UNCONFIRMED Keywords: TREE Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rogerio.souza at gmail dot com Target Milestone: --- The code below triggers

[Bug tree-optimization/106238] Inline optimization causes dangling pointer on "include/c++/12.1.0/bits/stl_tree.h"

2022-07-11 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 --- Comment #4 from Rogério de Souza Moraes --- Hi Andrew, thank you for the quick reply. The "getLocalCopy" on this example is just to provide a quick way to reproduce the issue. Here is the getLocalCopy function of this example. extern void

[Bug tree-optimization/106238] Inline optimization causes dangling pointer on "include/c++/12.1.0/bits/stl_tree.h"

2022-07-11 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 --- Comment #3 from Rogério de Souza Moraes --- Created attachment 53288 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53288=edit Second example to reproduce the issue

[Bug tree-optimization/106238] Inline optimization causes dangling pointer on "include/c++/12.1.0/bits/stl_tree.h"

2022-07-11 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 --- Comment #2 from Rogério de Souza Moraes --- Created attachment 53287 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53287=edit C++ code to reproduce the issue. C++ code to reproduce the issue.

[Bug libstdc++/106238] New: Inline optimization causes dangling pointer on "include/c++/12.1.0/bits/stl_tree.h"

2022-07-08 Thread rogerio.souza at gmail dot com via Gcc-bugs
NCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rogerio.souza at gmail dot com Target Milestone: --- Created attachment 53282 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53282=edit

[Bug c++/105593] avx512 math function raises uninitialized variable warning

2022-06-23 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 --- Comment #6 from Rogério de Souza Moraes --- I got another example with similar warning: # #include //#pragma GCC diagnostic push //#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" #include //#pragma GCC diagnostic

[Bug target/105593] avx512 math function raises uninitialized variable warning

2022-05-13 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 --- Comment #3 from Rogério de Souza Moraes --- The code attached in the previous comment triggers the "warning: '__Y' is used uninitialized [-Wuninitialized]". The command line to compile it is:

[Bug target/105593] avx512 math function raises uninitialized variable warning

2022-05-13 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 --- Comment #2 from Rogério de Souza Moraes --- Created attachment 52971 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52971=edit C code to trigger the uninitialized warning The C code attached reproduces the uninitialized warning when

[Bug other/105593] New: avx512 math function raises uninitialized variable warning

2022-05-13 Thread rogerio.souza at gmail dot com via Gcc-bugs
Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: rogerio.souza at gmail dot com Target Milestone: --- When using avx512 math function we got the following warning: //lib/gcc/x86_64-redhat-linux/12.1.0/include/avx512fintrin.h:6994:10

[Bug tree-optimization/91257] Compile-time and memory-hog hog

2020-12-11 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91257 --- Comment #14 from Rogério de Souza Moraes --- Created attachment 49747 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49747=edit File which all the 'try' macros are taken out to separate routines, for build performance improvement

[Bug tree-optimization/91257] Compile-time and memory-hog hog

2020-12-11 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91257 --- Comment #13 from Rogério de Souza Moraes --- Created attachment 49746 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49746=edit File that reproduces the current structure and has performance issues.

[Bug tree-optimization/91257] Compile-time and memory-hog hog

2020-12-11 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91257 Rogério de Souza Moraes changed: What|Removed |Added CC||rogerio.souza at gmail dot com

[Bug middle-end/63155] [7 Regression] memory hog

2019-07-25 Thread rogerio.souza at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155 --- Comment #54 from Rogério de Souza Moraes --- Hi everyone, we continue to get performance degradation as we use a new compiler version to build the source code 'testcase-v1.c" that is available in the attachment above. Could you please

[Bug middle-end/63155] [7 Regression] memory hog

2019-07-25 Thread rogerio.souza at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155 --- Comment #53 from Rogério de Souza Moraes --- Created attachment 46627 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46627=edit New testcase that shows performance degradation in GCC 9.1 This new testcase that shows performance

[Bug middle-end/63155] [6/7/8 Regression] memory hog

2018-10-17 Thread rogerio.souza at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155 --- Comment #50 from Rogério de Souza Moraes --- Created attachment 44848 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44848=edit GCC 6.3.0 consolidated patch based on Richard's patches The patch attached is a backport based on

[Bug middle-end/63155] [6/7/8 Regression] memory hog

2018-10-04 Thread rogerio.souza at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155 --- Comment #35 from Rogério de Souza Moraes --- Created attachment 44791 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44791=edit Small testcase more similar to original environment Hi Richard, this is a new testcase, based on another

[Bug libstdc++/82739] New: Sort is 30% slower compared to gcc44 on presorted array

2017-10-26 Thread rogerio.souza at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rogerio.souza at gmail dot com Target Milestone: --- In 2013 a bug was filed to fix a large performance degradation on reverse-sorted array, which got fixed: https://gcc.gnu.org/bugzilla