[Bug ada/102078] affinity.c:59:19: error: Signed integer overflow ?

2021-08-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102078 Martin Liška changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug ipa/102118] [12 Regression] ice in merge, at ipa-modref-tree.h:203

2021-08-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102118 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug ada/102078] affinity.c:59:19: error: Signed integer overflow ?

2021-08-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102078 Jakub Jelinek changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Commen

[Bug c/102098] ICE when #include with -fmodules-ts -std=c++20

2021-08-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102098 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org St

[Bug ada/102078] affinity.c:59:19: error: Signed integer overflow ?

2021-08-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102078 --- Comment #3 from Jakub Jelinek --- Actually no, it is in libada and built only for VxWorks, maybe it is built with C rather than C++. In that case it would indeed be UB.

[Bug tree-optimization/102121] switch conversion to load table should do integer compression

2021-08-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102121 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/68050] SLP vectorization should negate constants to match up + vs -

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68050 --- Comment #3 from Richard Biener --- We don't really do it as you show - instead of vect__5.7_12 = vect__1.5_14 + { -3.0e+0, -3.0e+0 }; vect__2.6_13 = vect__1.5_14 + { 3.0e+0, 3.0e+0 }; _7 = VEC_PERM_EXPR ; we'd like to see _7 = vect

[Bug go/102102] [12 Regression] trunk 20210827 ftbfs libgo on x86_64-linux-gnux32

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102102 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c/102098] ICE when #include with -fmodules-ts -std=c++20

2021-08-30 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102098 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com --- Comme

[Bug ipa/85509] fails to promote local static to const

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85509 Richard Biener changed: What|Removed |Added Last reconfirmed|2018-04-24 00:00:00 |2021-8-30 Component|tree-optim

[Bug tree-optimization/36188] missed optimistic value-numbering on global vars

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36188 Richard Biener changed: What|Removed |Added Last reconfirmed|2009-04-22 21:49:30 |2021-8-30 CC|

[Bug rtl-optimization/102031] [12 Regression] ICE in simplify_truncation, at simplify-rtx.c:620 since r12-3074-g7e5f9ead16d7514b3baa0254084de94f0bfcd216

2021-08-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102031 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libffi/83636] libffi/mips/n32: don't .set mips4 for mips r6

2021-08-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83636 --- Comment #3 from CVS Commits --- The master branch has been updated by YunQiang Su : https://gcc.gnu.org/g:d7e56b084d0b230ae5ee280f569d679fa0f09f4d commit r12-3219-gd7e56b084d0b230ae5ee280f569d679fa0f09f4d Author: YunQiang Su Date: Sat Au

[Bug c/102124] New: GCC 11.2.1 -ftree-loop-vectorize Causing Data To Lose Sign Bit

2021-08-30 Thread changyp6 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 Bug ID: 102124 Summary: GCC 11.2.1 -ftree-loop-vectorize Causing Data To Lose Sign Bit Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug c/102124] GCC 11.2.1 -ftree-loop-vectorize Causing Data To Lose Sign Bit

2021-08-30 Thread changyp6 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 --- Comment #1 from Tomas Chang --- Test Program is as below: #include #include #include typedef uint8_t byte; int buf_eq_const(const void *_a, const void *_b, size_t len) { const byte *a = _a; const byte *b = _b; int ab, ba;

[Bug c/102125] New: (ARM Cortex-M3 and newer) missed optimization. memcpy not needed operations

2021-08-30 Thread jankowski938 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102125 Bug ID: 102125 Summary: (ARM Cortex-M3 and newer) missed optimization. memcpy not needed operations Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity:

[Bug c/102098] ICE when #include with -fmodules-ts -std=c++20 since r11-7530-g1e5cdb9f896fb220

2021-08-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102098 Martin Liška changed: What|Removed |Added Summary|ICE when #include |ICE when #include | wi

[Bug target/102124] [11/12 Regression] -ftree-loop-vectorize Causing Data To Lose Sign Bit on AARCH64 Platform

2021-08-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c/102125] (ARM Cortex-M3 and newer) missed optimization. memcpy not needed operations

2021-08-30 Thread jankowski938 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102125 --- Comment #1 from Piotr --- IMO it is quite important as `memcpy` type punning is considered as the safest

[Bug target/102124] [11/12 Regression] -ftree-loop-vectorize Causing Data To Lose Sign Bit on AARCH64 Platform

2021-08-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 --- Comment #3 from Jakub Jelinek --- Before vectorization the loop body is: _1 = a_19(D) + i_29; _2 = *_1; _3 = (int) _2; _4 = b_20(D) + i_29; _5 = *_4; _6 = (int) _5; _7 = _3 - _6; ab_21 = _7 | ab_25; _10 = _6 - _3; ba_22 =

[Bug middle-end/102126] New: Wrong optimization of multiplication by 1 and -1 with -ftrapping-math when an underflow is possible

2021-08-30 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102126 Bug ID: 102126 Summary: Wrong optimization of multiplication by 1 and -1 with -ftrapping-math when an underflow is possible Product: gcc Version: 11.2.0 Status: UNCONFIR

[Bug target/80689] 128 bit loads generated for structure copying with gcc 7.1.0 and leads to STLF stalls in avx2 targets.

2021-08-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80689 --- Comment #11 from Martin Jambor --- (In reply to Andrew Pinski from comment #10) > Even LLVM does this same thing. What do you mean by "does this same thing?" Does it copy the structure element-wise or does it copy it is a block like GCC does

[Bug target/102127] New: [12 Regression] ICE when compiling powerpc/440-mulchw-1.c

2021-08-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 Bug ID: 102127 Summary: [12 Regression] ICE when compiling powerpc/440-mulchw-1.c Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal P

[Bug middle-end/102126] Wrong optimization of FP multiplication and division by 1 and -1 with -ftrapping-math when an underflow is possible

2021-08-30 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102126 --- Comment #1 from Vincent Lefèvre --- Division by 1 and -1 is affected too (as being equivalent to multiplication). Note that F.9.2 "Expression transformations" in ISO C17 says: 1 × x and x/1 → x The expressions 1 × x, x/1, and x are e

[Bug target/102127] [12 Regression] ICE when compiling (m32) powerpc/440-mulchw-1.c

2021-08-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 Iain Sandoe changed: What|Removed |Added Keywords||ice-on-valid-code Last reconfirmed|

[Bug target/102124] [11/12 Regression] -ftree-loop-vectorize Causing Data To Lose Sign Bit on AARCH64 Platform

2021-08-30 Thread changyp6 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 --- Comment #4 from Tomas Chang --- (In reply to Jakub Jelinek from comment #3) > Before vectorization the loop body is: > _1 = a_19(D) + i_29; > _2 = *_1; > _3 = (int) _2; > _4 = b_20(D) + i_29; > _5 = *_4; > _6 = (int) _5; > _7 =

[Bug middle-end/102126] Wrong optimization of FP multiplication and division by 1 and -1 with -ftrapping-math when an underflow is possible

2021-08-30 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102126 --- Comment #2 from Vincent Lefèvre --- In the testcase, I forgot #pragma STDC FP_CONTRACT OFF Anyway, it is currently ignored by GCC.

[Bug target/102127] [12 Regression] ICE when compiling (m32) powerpc/440-mulchw-1.c since g:ff6bb9dde10ab665a35bb75527313cd9f7d52f8e

2021-08-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 Martin Liška changed: What|Removed |Added Summary|[12 Regression] ICE when|[12 Regression] ICE when

[Bug tree-optimization/102128] New: [12 Regression] Huge performance drop for 519.lbm_r since r12-3116-g9216ee6d1195d48388f825cf1b072e570129cbbe

2021-08-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102128 Bug ID: 102128 Summary: [12 Regression] Huge performance drop for 519.lbm_r since r12-3116-g9216ee6d1195d48388f825cf1b072e570129cbbe Product: gcc Version: 12.0

[Bug tree-optimization/102128] [12 Regression] Huge performance drop for 519.lbm_r since r12-3116-g9216ee6d1195d48388f825cf1b072e570129cbbe

2021-08-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102128 --- Comment #1 from Martin Liška --- Created attachment 51375 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51375&action=edit Optimized dump on znver3 - bad

[Bug tree-optimization/102128] [12 Regression] Huge performance drop for 519.lbm_r since r12-3116-g9216ee6d1195d48388f825cf1b072e570129cbbe

2021-08-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102128 --- Comment #2 from Martin Liška --- Created attachment 51376 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51376&action=edit Optimized dump on znver3 - good

[Bug target/102124] [11/12 Regression] -ftree-loop-vectorize Causing Data To Lose Sign Bit on AARCH64 Platform

2021-08-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 --- Comment #5 from Jakub Jelinek --- I think the bug is in vect_recog_widen_op_pattern. When we have half_type unsigned, for PLUS_EXPR, MULT_EXPR (and supposedly LSHIFT_EXPR) it is ok that itype is twice the precision and same sign as half_type

[Bug target/100952] [12 regression] several test case failures after r12-1202

2021-08-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100952 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:c27080718d480ef08986b9224c0d146b75791c25 commit r11-8941-gc27080718d480ef08986b9224c0d146b75791c25 Author: Haochen G

[Bug tree-optimization/102124] [11/12 Regression] -ftree-loop-vectorize Causing Data To Lose Sign Bit on AARCH64 Platform

2021-08-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/102128] [12 Regression] Huge performance drop for 519.lbm_r since r12-3116-g9216ee6d1195d48388f825cf1b072e570129cbbe

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102128 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/102124] [11/12 Regression] -ftree-loop-vectorize Causing Data To Lose Sign Bit on AARCH64 Platform

2021-08-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 --- Comment #6 from Jakub Jelinek --- Created attachment 51377 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51377&action=edit gcc12-pr102124.patch Untested fix.

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-30 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #7 from Rimvydas (RJ) --- The suggested removal of -fdefault-real-8 -fdefault-double-8 options would be very problematic for many climate modeling libraries where similar '-r8' option works as users expect in different compilers: pro

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-30 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #8 from Rimvydas (RJ) --- If we can agree that use of -fdefault-real-8 -fdefault-double-8 with -flto does not magically recompile intrinsic subroutines in runtime libgfortran.so library, it looks like it is a frontend issue not provi

[Bug fortran/97571] long parsing phase for simple array constructor

2021-08-30 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97571 --- Comment #13 from Rimvydas (RJ) --- I agree that it is preferred to rewrite such look up table initialization, however it is not always possible due to licensing restrictions preventing making local modifications to the source code provided.

[Bug tree-optimization/102128] [12 Regression] Huge performance drop for 519.lbm_r since r12-3116-g9216ee6d1195d48388f825cf1b072e570129cbbe

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102128 --- Comment #4 from Richard Biener --- I see now extra .REDUC_PLUS vectorized likely because of that. I'm testing sth to keep the separate subgraph costing.

[Bug target/102127] [12 Regression] ICE when compiling (m32) powerpc/440-mulchw-1.c since g:ff6bb9dde10ab665a35bb75527313cd9f7d52f8e

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 Richard Biener changed: What|Removed |Added Version|10.2.1 |12.0 Target Milestone|---

[Bug middle-end/102126] Wrong optimization of FP multiplication and division by 1 and -1 with -ftrapping-math when an underflow is possible

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102126 --- Comment #3 from Richard Biener --- (In reply to Vincent Lefèvre from comment #2) > In the testcase, I forgot > > #pragma STDC FP_CONTRACT OFF > > Anyway, it is currently ignored by GCC. You can use -ffp-contract=off but I don't think thes

[Bug fortran/97571] long parsing phase for simple array constructor

2021-08-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97571 --- Comment #14 from anlauf at gcc dot gnu.org --- (In reply to Rimvydas (RJ) from comment #13) > I agree that it is preferred to rewrite such look up table initialization, > however it is not always possible due to licensing restrictions preventi

[Bug target/102125] (ARM Cortex-M3 and newer) missed optimization. memcpy not needed operations

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102125 Richard Biener changed: What|Removed |Added Component|c |target Last reconfirmed|

[Bug fortran/56985] gcc/fortran/resolve.c:920: "'%s' in cannot appear in COMMON ..."

2021-08-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56985 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug tree-optimization/102128] [12 Regression] Huge performance drop for 519.lbm_r since r12-3116-g9216ee6d1195d48388f825cf1b072e570129cbbe

2021-08-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102128 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:89f33f44addbf9853bc3e6677db1fa941713cb6c commit r12-3222-g89f33f44addbf9853bc3e6677db1fa941713cb6c Author: Richard Biener Date:

[Bug tree-optimization/102128] [12 Regression] Huge performance drop for 519.lbm_r since r12-3116-g9216ee6d1195d48388f825cf1b072e570129cbbe

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102128 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 102128, which changed state. Bug 102128 Summary: [12 Regression] Huge performance drop for 519.lbm_r since r12-3116-g9216ee6d1195d48388f825cf1b072e570129cbbe https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102128

[Bug tree-optimization/100089] [11/12 Regression] 30% performance regression for denbench/mp2decoddata2 with -O3

2021-08-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100089 Bug 100089 depends on bug 102128, which changed state. Bug 102128 Summary: [12 Regression] Huge performance drop for 519.lbm_r since r12-3116-g9216ee6d1195d48388f825cf1b072e570129cbbe https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102128

[Bug target/102127] [12 Regression] ICE when compiling (m32) powerpc/440-mulchw-1.c since g:ff6bb9dde10ab665a35bb75527313cd9f7d52f8e

2021-08-30 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 --- Comment #3 from Bill Schmidt --- Also reported for AIX over the weekend. Seems to occur on all BE targets. I'll try to look at this later today.

[Bug middle-end/102126] Wrong optimization of FP multiplication and division by 1 and -1 with -ftrapping-math when an underflow is possible

2021-08-30 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102126 --- Comment #4 from Vincent Lefèvre --- (In reply to Richard Biener from comment #3) > You can use -ffp-contract=off but I don't think these transforms are > affected. I confirm that the test behaves in the same way with -ffp-contract=off too.

[Bug c++/101460] Useless cascade of overload resolution errors for invalid expression

2021-08-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101460 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug target/102127] [12 Regression] ICE when compiling (m32) powerpc/440-mulchw-1.c since g:ff6bb9dde10ab665a35bb75527313cd9f7d52f8e

2021-08-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 --- Comment #4 from Segher Boessenkool --- Program received signal SIGSEGV, Segmentation fault. 0x10f9b10c in ._Z19build_function_typeP9tree_nodeS0_ () (gdb) bt #0 0x10f9b10c in ._Z19build_function_typeP9tree_nodeS0_ () #1 0x00

[Bug target/102127] [12 Regression] ICE when compiling (m32) powerpc/440-mulchw-1.c since g:ff6bb9dde10ab665a35bb75527313cd9f7d52f8e

2021-08-30 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 --- Comment #5 from Bill Schmidt --- This will be similar to some other issues that arose in the past -- there are function types that shouldn't be built when the type of an operand or return value doesn't exist. I must have missed some such co

[Bug c++/101144] Coroutine compiler error

2021-08-30 Thread liuyaoxin1976 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101144 Yaoxin Liu changed: What|Removed |Added CC||liuyaoxin1976 at qq dot com --- Comment #1

[Bug middle-end/102129] New: -ftrapping-math is broken or badly documented

2021-08-30 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102129 Bug ID: 102129 Summary: -ftrapping-math is broken or badly documented Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-30 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #9 from Steve Kargl --- On Mon, Aug 30, 2021 at 10:26:59AM +, rimvydas.jas at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 > > --- Comment #7 from Rimvydas (RJ) --- > The suggested removal of -fdef

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-30 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #10 from kargl at gcc dot gnu.org --- (In reply to Rimvydas (RJ) from comment #8) > If we can agree that use of -fdefault-real-8 -fdefault-double-8 with -flto > does not magically recompile intrinsic subroutines in runtime libgfortran

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-30 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #11 from kargl at gcc dot gnu.org --- (In reply to Rimvydas (RJ) from comment #7) At least some common examples of what to look for in > documentation about "gfortran -fdefault-real-8 -fdefault-double-8" > limitations (if these option

[Bug middle-end/102129] -ftrapping-math is broken or badly documented

2021-08-30 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102129 --- Comment #1 from Vincent Lefèvre --- Additional surprising behavior... On the following C code: void g (void); double f (void) { double x = 0.0, y = 0.0; double r = x / y; g (); return r; } one can see with -ftrapping-math (the def

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-30 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #12 from Rimvydas (RJ) --- (In reply to kargl from comment #11) > One of these is no like the others. Yes, the behavior is documented, > and the unlike other result is likely the result that is no desired > unless the user enjoys cha

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-30 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #13 from Steve Kargl --- On Mon, Aug 30, 2021 at 03:23:59PM +, rimvydas.jas at gmail dot com wrote: > > > You need to use -fdefault-real-8 -fdefault-double-8 when compiling both > > files. How is the 2nd invocation of gfortran

[Bug target/80689] 128 bit loads generated for structure copying with gcc 7.1.0 and leads to STLF stalls in avx2 targets.

2021-08-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80689 --- Comment #12 from Andrew Pinski --- (In reply to Martin Jambor from comment #11) > (In reply to Andrew Pinski from comment #10) > > Even LLVM does this same thing. > > What do you mean by "does this same thing?" Does it copy the structure > e

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-30 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #5 from Paul Clarke --- Fails with "-mcpu=power10" and "-O2" or "-O3".

[Bug ada/102078] affinity.c:59:19: error: Signed integer overflow ?

2021-08-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102078 --- Comment #4 from David Binderman --- Full cppcheck error message is gcc/ada/affinity.c:59:19: error: Signed integer overflow for expression '1<

[Bug ada/102078] affinity.c:59:19: error: Signed integer overflow ?

2021-08-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102078 --- Comment #5 from Jakub Jelinek --- index doesn't go to 32, just to 31. And whether 1 << 31 or -1 << 31 etc. is or isn't UB heavily depends on the language and standard version, C++20 and later accepts both, C89 and C++98 were fuzzy, 1 << 31 i

[Bug target/102127] [12 Regression] ICE when compiling (m32) powerpc/440-mulchw-1.c since g:ff6bb9dde10ab665a35bb75527313cd9f7d52f8e

2021-08-30 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 --- Comment #6 from Bill Schmidt --- OK, I see. This involves vector_pair_type_node and vector_quad_type_node...which are not getting initialized because TARGET_EXTRA_BUILTINS is false. This is a patch-ordering problem in the series that I mis

[Bug target/102127] [12 Regression] ICE when compiling (m32) powerpc/440-mulchw-1.c since g:ff6bb9dde10ab665a35bb75527313cd9f7d52f8e

2021-08-30 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 --- Comment #7 from Bill Schmidt --- ...by always initializing these types, not builtins...

[Bug demangler/102130] New: [c++filt] Stack overflow in demangle_path

2021-08-30 Thread irfanariq at kaist dot ac.kr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102130 Bug ID: 102130 Summary: [c++filt] Stack overflow in demangle_path Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: dem

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-30 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #14 from Rimvydas (RJ) --- (In reply to Steve Kargl from comment #13) > The -fdefault-* options change the storage association rules > in a way that breaks Fortran. Places of concern include, but > are not limited, to COMMON, EQUIVA

[Bug tree-optimization/102131] New: wrong code at -O1 and above on x86_64-linux-gnu

2021-08-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
Supported LTO compression algorithms: zlib gcc version 12.0.0 20210830 (experimental) [master revision 02dbf5d1273:023508d4548:d73c44800b53c7e130da29e4eff1960b8311ffcd] (GCC) [595] % [595] % gcctk -O0 small.c; ./a.out [596] % [596] % gcctk -O1 small.c [597] % ./a.out Aborted [598] % [598] % cat

[Bug demangler/102132] New: [nm] Stack overflow in demangler_path

2021-08-30 Thread irfanariq at kaist dot ac.kr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102132 Bug ID: 102132 Summary: [nm] Stack overflow in demangler_path Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangl

[Bug rtl-optimization/102062] powerpc suboptimal unrolling simple array sum

2021-08-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102062 --- Comment #15 from Segher Boessenkool --- This should be fixed now, please confirm. Thanks!

[Bug tree-optimization/102131] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2021-08-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102131 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-30 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #15 from Steve Kargl --- On Mon, Aug 30, 2021 at 05:11:12PM +, rimvydas.jas at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 > > --- Comment #14 from Rimvydas (RJ) --- > (In reply to Steve Kargl fro

[Bug c++/101355] incorrect `this' in destructor calls when compiling coroutines with ubsan

2021-08-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101355 Iain Sandoe changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/102133] New: [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 Bug ID: 102133 Summary: [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-o

[Bug c++/101355] incorrect `this' in destructor calls when compiling coroutines with ubsan

2021-08-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101355 --- Comment #4 from Iain Sandoe --- patch proposed here: https://gcc.gnu.org/pipermail/gcc-patches/2021-August/578401.html

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-30 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #16 from Rimvydas (RJ) --- (In reply to Steve Kargl from comment #15) > I'm also the person that made these options work > for some definition of "work", and I have always considered > these options to be broken because of what you a

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/102113] parsing error in assigned goto

2021-08-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102113 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug target/102125] (ARM Cortex-M3 and newer) missed optimization. memcpy not needed operations

2021-08-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102125 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/101349] ICE in gfc_get_descriptor_field, at fortran/trans-array.c:140

2021-08-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101349 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug fortran/101327] ICE in find_array_element, at fortran/expr.c:1355

2021-08-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101327 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug middle-end/102126] Wrong optimization of FP multiplication and division by 1 and -1 with -ftrapping-math when an underflow is possible

2021-08-30 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102126 --- Comment #5 from joseph at codesourcery dot com --- Exception traps (and thus exact underflow) are outside the scope of ISO C. (Some forms of alternate exception handling are described in TS 18661-5, which is *not* being integrated into C2

[Bug target/102127] [12 Regression] ICE when compiling (m32) powerpc/440-mulchw-1.c since g:ff6bb9dde10ab665a35bb75527313cd9f7d52f8e

2021-08-30 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 Joseph S. Myers changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment

[Bug middle-end/102129] -ftrapping-math is broken or badly documented

2021-08-30 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102129 --- Comment #2 from joseph at codesourcery dot com --- On Mon, 30 Aug 2021, vincent-gcc at vinc17 dot net via Gcc-bugs wrote: > In the generated code with -O1 and above, one can see that the multiplication > is done after g is called, even if -

[Bug target/30336] -mtune=native is wrong when not built with gcc

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

[Bug middle-end/102126] Wrong optimization of FP multiplication and division by 1 and -1 with -ftrapping-math when an underflow is possible

2021-08-30 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102126 --- Comment #6 from joseph at codesourcery dot com --- Issues relating to traps being enabled are still bugs (unlike e.g. any issues with changing x87 rounding precision, which are definitely "don't do that" when it invalidates assumptions mad

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comm

[Bug fortran/101327] ICE in find_array_element, at fortran/expr.c:1355

2021-08-30 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101327 --- Comment #3 from Steve Kargl --- On Mon, Aug 30, 2021 at 07:35:17PM +, anlauf at gcc dot gnu.org wrote: > > Steve, > > are you going to submit this or your version? > I no longer have the ability to commit changes, so I won't being su

[Bug fortran/101349] ICE in gfc_get_descriptor_field, at fortran/trans-array.c:140

2021-08-30 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101349 --- Comment #3 from Steve Kargl --- On Mon, Aug 30, 2021 at 07:31:17PM +, anlauf at gcc dot gnu.org wrote: > > --- Comment #2 from anlauf at gcc dot gnu.org --- > Steve, > > are you going to submit your patch? > I submitted the patch to

[Bug tree-optimization/102134] New: [12 Regression] wrong code at -O1

2021-08-30 Thread zsojka at seznam dot cz via Gcc-bugs
d model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210830 (experimental) (GCC)

[Bug tree-optimization/102134] [12 Regression] wrong code at -O1

2021-08-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102134 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/102134] [12 Regression] wrong code at -O1

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

[Bug fortran/101327] ICE in find_array_element, at fortran/expr.c:1355

2021-08-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101327 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #3) > I no longer have the ability to commit changes, > so I won't being submitting patches to fortran@ > and gcc-patches@ for review. I'll simply add > patc

[Bug c++/46691] Null pointer in template deduction

2021-08-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46691 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:53907e20ee1fdf91163ff19b8f1dc716563e903a commit r10-10081-g53907e20ee1fdf91163ff19b8f1dc716563e903a Author: Paul Thomas Da

[Bug fortran/99819] [9/10 Regression] ICE in gfc_defer_symbol_init, at fortran/trans-decl.c:841

2021-08-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99819 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:53907e20ee1fdf91163ff19b8f1dc716563e903a commit r10-10081-g53907e20ee1fdf91163ff19b8f1dc716563e903a Author: Paul Thomas Da

[Bug target/102127] [12 Regression] ICE when compiling (m32) powerpc/440-mulchw-1.c since g:ff6bb9dde10ab665a35bb75527313cd9f7d52f8e

2021-08-30 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102127 Bill Schmidt changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/102125] (ARM Cortex-M3 and newer) missed optimization. memcpy not needed operations

2021-08-30 Thread jankowski938 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102125 --- Comment #4 from Piotr --- mov r3, r0 ldr r0, [r0] @ unaligned ldr r1, [r3, #4] @ unaligned bx lr can be optimized even more ldr r1, [r0, #4] @ unaligned ldr

  1   2   3   >