[Bug ipa/103171] [12 Regression] ICE Segmentation fault since r12-2523-g13586172d0b70c9d

2021-11-21 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103171 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-21 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 --- Comment #11 from hubicka at kam dot mff.cuni.cz --- > Xeon(R) Platinum 8358 (IceLake) (64C 128T 512G): > BenchMarks Copies RunTime1RunTime2Rate1 Rate2 > Compare > 548.exchange2_r 128 479 913 700 367

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-11-21 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 --- Comment #24 from rguenther at suse dot de --- On Fri, 19 Nov 2021, mikael at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 > > --- Comment #23 from Mikael Morin --- > (In reply to Richard Biener from comment

[Bug tree-optimization/103088] [12 regression] 500.perlbench from spec 2017 fails since r12-4698

2021-11-21 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #22 from rguenther at suse dot de --- On Fri, 19 Nov 2021, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 > > --- Comment #19 from Aldy Hernandez --- > > The problem is this construct in Per

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-21 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 Levy changed: What|Removed |Added CC||admin at levyhsu dot com --- Comment #10 from Le

[Bug tree-optimization/79534] [9/10/11/12 Regression] tree-ifcombine aarch64 performance regression with trunk@245151

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79534 --- Comment #19 from Andrew Pinski --- I am even seeing almost 10% performance drop from GCC 7 to the trunk even. Even at -O2. This is on an OcteonTX2: -O2: 7.4.0: 2150.408184 trunk: 2032.971945 -O2 -fno-tree-vectorize: trunk: 2028.648257 -O3

[Bug tree-optimization/101474] SRA sometimes produces worse code with inline functions (seen with -fipa-icf sometimes)

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101474 --- Comment #4 from Andrew Pinski --- Note ICF behavior and inlining is what PR 96252 is about.

[Bug ipa/96252] [10/11/12 Regression] mis-optimization where identical functions have very different codegen since gcc 10

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96252 Andrew Pinski changed: What|Removed |Added CC||vegard.nossum at oracle dot com --- Comm

[Bug tree-optimization/101474] SRA sometimes produces worse code with inline functions (seen with -fipa-icf sometimes)

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101474 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/92342] [10/11/12 Regression] a small missed transformation into x?b:0

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/92342] [10/11/12 Regression] a small missed transformation into x?b:0

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342 --- Comment #24 from Andrew Pinski --- (In reply to Segher Boessenkool from comment #4) > Btw, try > > int h(int a, int b, int c, int d) > { > return (c & -(a==b)) | (d & -(a!=b)); > } > > to see we have some way to go here. I filed that as

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #17 from Hongtao.liu --- Fixed in GCC12 and GCC11.

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #16 from CVS Commits --- The releases/gcc-11 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:eb8ff3cbc09e029ca0cbd0d8b09bcaba162ab95a commit r11-9257-geb8ff3cbc09e029ca0cbd0d8b09bcaba162ab95a Author: liuhongt Date:

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #15 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:b5844cb0bc8c7d9be2ff1ecded249cad82b9b71c commit r12-5445-gb5844cb0bc8c7d9be2ff1ecded249cad82b9b71c Author: liuhongt Date: Wed Nov

[Bug tree-optimization/103354] missed optimization with & and | and compares

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103354 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/103354] New: missed optimization with & and | and compares

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103354 Bug ID: 103354 Summary: missed optimization with & and | and compares Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug target/103353] New: Indefinite recursion when compiling -mmma requiring testcase w/ -maltivec

2021-11-21 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103353 Bug ID: 103353 Summary: Indefinite recursion when compiling -mmma requiring testcase w/ -maltivec Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: erro

[Bug tree-optimization/92342] [10/11/12 Regression] a small missed transformation into x?b:0

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342 --- Comment #23 from Andrew Pinski --- Created attachment 51846 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51846&action=edit Patch which I am testing Note it is really two patches, one which fixes up the multiply case and then one whic

[Bug tree-optimization/92342] [10/11/12 Regression] a small missed transformation into x?b:0

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug target/97984] [10/11 Regression] Worse code for -O3 than -O2 on aarch64 vector multiply-add

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97984 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug rtl-optimization/103350] wrong code with -Os -fno-tree-ter on aarch64-unknown-linux-gnu

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103350 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/103351] [12 Regression] '-fcompare-debug' failure (length) at -O2

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103351 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Confirmed, the first (major) difference shows up in 199t.cddce3. So maybe introduced by r12-5301.

[Bug tree-optimization/103351] [12 Regression] '-fcompare-debug' failure (length) at -O2

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103351 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-11-21 Status|UNCONFIRM

[Bug middle-end/85619] Inconsistent descriptions for new warning options in GCC 8.1.0

2021-11-21 Thread julien at trigofacile dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85619 --- Comment #4 from Julien ÉLIE --- Following up on that issue. I've just checked against GCC 11 documentation. The two points are still open. Thanks beforehand.

[Bug middle-end/82798] Inconsistent descriptions for warning options in documentation

2021-11-21 Thread julien at trigofacile dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82798 --- Comment #5 from Julien ÉLIE --- Following up on that bug report, I've checked GCC 11 documentation. Only 3/, part of 5/ (-Wmultistatement-macros) and 6/ have been fixed. Points 1/, 2/, 4/, part of 5/ (-Wreorder) and 7/ remain. Thanks beforeha

[Bug bootstrap/50064] Failure in stage 2 (lazy binding) on openbsd

2021-11-21 Thread julien at trigofacile dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50064 Julien ÉLIE changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/83011] -Wformat-truncation=2 difficult to avoid for non-constant bounds

2021-11-21 Thread julien at trigofacile dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83011 --- Comment #8 from Julien ÉLIE --- "I do agree that the warning in this case is too difficult to deal with and should be adjusted so I'm going to confirm this report on that basis." FWIW, the same warning is still present in GCC 10.2.1.

[Bug c/83011] -Wformat-truncation=2 difficult to avoid for non-constant bounds

2021-11-21 Thread julien at trigofacile dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83011 --- Comment #7 from Julien ÉLIE --- *** Bug 103352 has been marked as a duplicate of this bug. ***

[Bug c/103352] Wrong computation of -Wformat-truncation=2

2021-11-21 Thread julien at trigofacile dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103352 Julien ÉLIE changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c/103352] New: Wrong computation of -Wformat-truncation=2

2021-11-21 Thread julien at trigofacile dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103352 Bug ID: 103352 Summary: Wrong computation of -Wformat-truncation=2 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug debug/103351] New: [12 Regression] '-fcompare-debug' failure (length) at -O2

2021-11-21 Thread zsojka at seznam dot cz via Gcc-bugs
/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-5437-20211121132234-g09a4ffb72aa-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211121 (experimental) (GCC)

[Bug debug/103315] Gfortran DW_AT_Rank expression not emitting correct rank value.

2021-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103315 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:da17c304e22ba256eba0b03710aa329115163b08 commit r12-5442-gda17c304e22ba256eba0b03710aa329115163b08 Author: Jakub Jelinek Date: S

[Bug c++/101180] [12 Regression] Rejected code since r12-299-ga0fdff3cf33f7284

2021-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101180 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:364539710f828851b9fac51c39033cd09aa620de commit r12-5441-g364539710f828851b9fac51c39033cd09aa620de Author: Jakub Jelinek Date: S

[Bug c++/103349] ICE in potential_constant_expression_1, at cp/constexpr.c:9104 (sorry, unimplemented: unexpected AST of kind omp_masked)

2021-11-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103349 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug rtl-optimization/103350] New: wrong code with -Os -fno-tree-ter on aarch64-unknown-linux-gnu

2021-11-21 Thread zsojka at seznam dot cz via Gcc-bugs
: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211121 (experimental) (GCC)

[Bug tree-optimization/103088] [12 regression] 500.perlbench from spec 2017 fails since r12-4698

2021-11-21 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #21 from Aldy Hernandez --- One last comment. A smaller hammer than -fno-unsafe-math-optimizations may be -fno-finite-math-only which allows for the problematic NAN behavior in Perl_do_ncmp. Allowing for the inlining, but not mungi

[Bug fortran/99061] [10/11/12 Regression] ICE in gfc_conv_intrinsic_atan2d, at fortran/trans-intrinsic.c:4728

2021-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99061 --- Comment #7 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:8fef6f720a5a0a056abfa986ba870bb406ab4716 commit r12-5440-g8fef6f720a5a0a056abfa986ba870bb406ab4716 Author: Harald Anlauf Date: Su

[Bug fortran/47720] problems with makefile dependency generation using -M

2021-11-21 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47720 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org ---

[Bug c++/103349] New: ICE in potential_constant_expression_1, at cp/constexpr.c:9104 (sorry, unimplemented: unexpected AST of kind omp_masked)

2021-11-21 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103349 Bug ID: 103349 Summary: ICE in potential_constant_expression_1, at cp/constexpr.c:9104 (sorry, unimplemented: unexpected AST of kind omp_masked) Product: gcc Ver

[Bug ipa/97783] [9/10/11/12 Regression] Optimizer assumes global static variable cannot be updated by external function, even though function is passed address of local functions

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97783 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |MOVED See Also|

[Bug c++/77513] -Wzero-as-null-pointer-constant vs 0, nullptr, NULL and __null

2021-11-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2021-08-27 00:00:00 |2021-11-21 --- Comment #13 from Jonath

[Bug c++/103347] Non-static data member initialization is erroneously allowed in C++03 mode

2021-11-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 --- Comment #4 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #2) > That is GCC does warning about the following case: > struct test { > int x = 0; > }; > int main() {} And you get an error with -pedantic-errors

[Bug ipa/97783] [9/10/11/12 Regression] Optimizer assumes global static variable cannot be updated by external function, even though function is passed address of local functions

2021-11-21 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97783 Jan Hubicka changed: What|Removed |Added Resolution|--- |INVALID Status|ASSIGNED

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2021-11-21 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 93358, which changed state. Bug 93358 Summary: [10/11/12 Regression] 447.dealII regresses by 15% after r10-6025-gf5b25e15165adde1356af42e9066ab75c5b37a19 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93358 What

[Bug lto/93358] [10/11/12 Regression] 447.dealII regresses by 15% after r10-6025-gf5b25e15165adde1356af42e9066ab75c5b37a19

2021-11-21 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93358 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/103227] [12 Regression] 58% exchange2 regression with -Ofast -march=native on zen3 since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

2021-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103227 --- Comment #10 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:0f5afb626381d19bfced30bc19cf3b03867fa6f5 commit r12-5439-g0f5afb626381d19bfced30bc19cf3b03867fa6f5 Author: Jan Hubicka Date: Sun

[Bug testsuite/103264] [12 regression] gcc.dg/tree-prof/merge_block.c fails after r12-5236

2021-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103264 --- Comment #4 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:c8260767aa3b41017b075d8fde3a4065fa637db7 commit r12-5438-gc8260767aa3b41017b075d8fde3a4065fa637db7 Author: Jan Hubicka Date: Sun N

[Bug c/103348] Bad code generated for fabs(long double) under aarch64

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103348 --- Comment #4 from Andrew Pinski --- (In reply to jacob navia from comment #3) > As per standard c99 fabs is a generic function. NO, you need to include tgmath.h for generic math functions.

[Bug c/103348] Bad code generated for fabs(long double) under aarch64

2021-11-21 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103348 --- Comment #3 from jacob navia --- 1) The complete program is as follows: #include int main(void) { long double ld = -2.3L; ld = fabs(ld); } Compiler flags gcc -S -c -std=c99 tafbs1.c As per standard c99 fabs is a generic fu

[Bug c++/77513] -Wzero-as-null-pointer-constant vs 0, nullptr, NULL and __null

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513 Andrew Pinski changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/103347] Non-static data member initialization is erroneously allowed in C++03 mode

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/103347] Non-static data member initialization is erroneously allowed in C++03 mode

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 --- Comment #2 from Andrew Pinski --- That is GCC does warning about the following case: struct test { int x = 0; }; int main() {}

[Bug c++/103347] Non-static data member initialization is erroneously allowed in C++03 mode

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 --- Comment #1 from Andrew Pinski --- This is macro tracking which is getting in the way of emitting the warning as NULL is from a system header, there is a dup of this bug already.

[Bug tree-optimization/99520] Failure to detect bswap pattern

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99520 --- Comment #8 from Andrew Pinski --- (In reply to Richard Biener from comment #7) > I think there was a recent duplicate. Yes I think PR 98953.

[Bug c/103348] Bad code generated for fabs(long double) under aarch64

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103348 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/31531] A microoptimization of isnegative of signed integer

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31531 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug middle-end/103344] mulshift does not work when divisor is larger than 100 on 32 bits target.

2021-11-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103344 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Co

[Bug c/103348] Bad code generated for fabs(long double) under aarch64

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103348 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug c/103348] New: Bad code generated for fabs(long double) under aarch64

2021-11-21 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103348 Bug ID: 103348 Summary: Bad code generated for fabs(long double) under aarch64 Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug tree-optimization/103345] missed optimization: add/xor individual bytes to form a word

2021-11-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103345 Roger Sayle changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|other

[Bug testsuite/103264] [12 regression] gcc.dg/tree-prof/merge_block.c fails after r12-5236

2021-11-21 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103264 --- Comment #3 from Jan Hubicka --- Aha, I see it. The difference with IPA modref is that we now eliminate the loop before profile instrumentation. This leads to difference because the function t() is never executed and thus we use guessed pro

[Bug c++/103347] New: Non-static data member initialization is erroneously allowed in C++03 mode

2021-11-21 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 Bug ID: 103347 Summary: Non-static data member initialization is erroneously allowed in C++03 mode Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: nor

[Bug testsuite/103264] [12 regression] gcc.dg/tree-prof/merge_block.c fails after r12-5236

2021-11-21 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103264 --- Comment #2 from Jan Hubicka --- OK, the test wants to verify that main() became single basic block that has correct frequency. This is still true. What we get wrong is that the function t() gets mismatches: int t () { int i; int _7;

[Bug middle-end/103344] mulshift does not work when divisor is larger than 100 on 32 bits target.

2021-11-21 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103344 --- Comment #5 from cqwrteur --- (In reply to Andrew Pinski from comment #4) > Again you misunderstood. There is a cost model for doing the multiple shift > from the division and if says the function call will be faster, it uses > that. There is

[Bug tree-optimization/102720] [12 regression] gcc.dg/tree-ssa/ldist-strlen-1.c and ldist-strlen-2.c fail after r12-4324

2021-11-21 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102720 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/103346] New: ICE on template specialization via alias template with a non-type parameter pack, and fold expression on lambda calls

2021-11-21 Thread ap.vanzanten at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103346 Bug ID: 103346 Summary: ICE on template specialization via alias template with a non-type parameter pack, and fold expression on lambda calls Product: gcc Versio

[Bug target/102117] s390: Inefficient code for 64x64=128 signed multiply for <= z13

2021-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102117 --- Comment #3 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:dc915b361bbc99da83fc53db7f7e0e28d0ce12c8 commit r12-5436-gdc915b361bbc99da83fc53db7f7e0e28d0ce12c8 Author: Roger Sayle Date: Sun N

[Bug other/103345] New: missed optimization: add/xor individual bytes to form a word

2021-11-21 Thread gcc at rjk dot terraraq.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103345 Bug ID: 103345 Summary: missed optimization: add/xor individual bytes to form a word Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/103344] mulshift does not work when divisor is larger than 100 on 32 bits target.

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103344 --- Comment #4 from Andrew Pinski --- Again you misunderstood. There is a cost model for doing the multiple shift from the division and if says the function call will be faster, it uses that. There is also a trade off with respect to code size t

[Bug middle-end/103344] mulshift does not work when divisor is larger than 100 on 32 bits target.

2021-11-21 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103344 --- Comment #3 from cqwrteur --- (In reply to Andrew Pinski from comment #2) > Sounds like a cost model issue. Are you sure it is faster? division is very very slow. And you use software emulation which is even slower.

[Bug tree-optimization/103344] mulshift does not work when divisor is larger than 100 on 32 bits target.

2021-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103344 --- Comment #2 from Andrew Pinski --- Sounds like a cost model issue. Are you sure it is faster?

[Bug tree-optimization/103344] mulshift does not work when divisor is larger than 100 on 32 bits target.

2021-11-21 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103344 --- Comment #1 from cqwrteur --- https://godbolt.org/z/v57vxqq7E while 64bits target works

[Bug tree-optimization/103344] New: mulshift does not work when divisor is larger than 100 on 32 bits target.

2021-11-21 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103344 Bug ID: 103344 Summary: mulshift does not work when divisor is larger than 100 on 32 bits target. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm