[Bug tree-optimization/97744] [11 regression] 32 bit floating point result errors after r11-4637

2020-11-06 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97744 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Last

[Bug tree-optimization/97744] [11 regression] 32 bit floating point result errors after r11-4637

2020-11-06 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97744 --- Comment #2 from seurer at gcc dot gnu.org --- This particular test has been problematic before. For example, see pr83497. Previously the change in output was from some floating point operations being reordered causing a minute rounding

[Bug tree-optimization/97223] Failure to optimize comparison of char arithmetic to single comparison

2020-11-06 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97223 --- Comment #3 from Eugene Rozenfeld --- The proposed patch was committed to the trunk by Jeff Law.

[Bug tree-optimization/97108] Wmaybe-uninitialized false positive

2020-11-06 Thread law at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97108 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com

[Bug c++/97749] New: ICE: Segmentation Fault on C++20 NTTP

2020-11-06 Thread janpmoeller at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97749 Bug ID: 97749 Summary: ICE: Segmentation Fault on C++20 NTTP Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/97748] New: Preincrement of _Complex gives bogus warning = "value computed is not used"

2020-11-06 Thread antiquarktv at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97748 Bug ID: 97748 Summary: Preincrement of _Complex gives bogus warning = "value computed is not used" Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug libgcc/96948] _Unwind_GetIP() and _Unwind_GetIPInfo() empty in _Unwind_Backtrace() with SEH on mingw64

2020-11-06 Thread law at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96948 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com

[Bug target/91489] misplaced stack pointer when __ms_hook_prologue__ attribute is used

2020-11-06 Thread law at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91489 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug target/91489] misplaced stack pointer when __ms_hook_prologue__ attribute is used

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91489 --- Comment #5 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:659ba632e440280e8d61e1ae870e917765db5ae5 commit r11-4806-g659ba632e440280e8d61e1ae870e917765db5ae5 Author: Jeff Law Date: Fri Nov 6

[Bug tree-optimization/91789] Value ranges determined from comparisons not used transitively

2020-11-06 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91789 --- Comment #5 from Andrew Macleod --- Ranger made it in, but relations have not been implemented for this release. GCC 12 for sure!

[Bug other/89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck, clang-static-analyzer, PVS-studio) find that gcc misses

2020-11-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 66469, which changed state. Bug 66469 Summary: config/rl78/rl78.c:679: possible bad array index ? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66469 What|Removed |Added

[Bug other/89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck, clang-static-analyzer, PVS-studio) find that gcc misses

2020-11-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 50355, which changed state. Bug 50355 Summary: Comparison is always true in alpha config code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50355 What|Removed |Added

[Bug target/66469] config/rl78/rl78.c:679: possible bad array index ?

2020-11-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66469 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/50355] Comparison is always true in alpha config code

2020-11-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50355 Eric Gallager changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug other/89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck, clang-static-analyzer, PVS-studio) find that gcc misses

2020-11-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 71327, which changed state. Bug 71327 Summary: libiberty/cplus-dem.c:2702]: (style) Redundant condition https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71327 What|Removed |Added

[Bug other/71327] libiberty/cplus-dem.c:2702]: (style) Redundant condition

2020-11-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71327 Eric Gallager changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug target/96933] rs6000: inefficient code for char/short vec CTOR

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96933 --- Comment #13 from CVS Commits --- The master branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:e5502ae72f784470019de5850017ad0c87ffacef commit r11-4805-ge5502ae72f784470019de5850017ad0c87ffacef Author: Segher Boessenkool

[Bug target/97734] GCC using branches when a conditional move would be better

2020-11-06 Thread rafael at espindo dot la via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97734 --- Comment #3 from Rafael Avila de Espindola --- I just realized I made a mistake when producing the reduced testcase. The argument x should have been an uint32_t. Unfortunately, with that fix gcc always produces a branch. ICC still produces a

[Bug target/66469] config/rl78/rl78.c:679: possible bad array index ?

2020-11-06 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66469 --- Comment #3 from David Binderman --- (In reply to Eric Gallager from comment #2) > (In reply to Eric Gallager from comment #1) > > I can't seem to find the mentioned code in the source file any longer... > > WAITING for David to reconfirm $

[Bug bootstrap/58427] xgcc target compilation depends on installed libgcc_s.so

2020-11-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58427 Eric Gallager changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug other/71327] libiberty/cplus-dem.c:2702]: (style) Redundant condition

2020-11-06 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71327 --- Comment #3 from David Binderman --- (In reply to Eric Gallager from comment #2) > WAITING for David to reconfirm $ fgrep scan trunk.git/libiberty/cplus-dem.c $ Another one gone away, this time in four years.

[Bug target/50355] Comparison is always true in alpha config code

2020-11-06 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50355 --- Comment #3 from David Binderman --- $ fgrep INTVAL /home/dcb/gcc/trunk.git/gcc/config/alpha/alpha.c | fgrep 8 && INTVAL (XEXP (x, 1)) == -8) mod_f = memmodel_from_int (INTVAL (operands[8])); (INTVAL (x) & 0x) - 2 *

[Bug target/66469] config/rl78/rl78.c:679: possible bad array index ?

2020-11-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66469 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug other/71327] libiberty/cplus-dem.c:2702]: (style) Redundant condition

2020-11-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71327 Eric Gallager changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/50355] Comparison is always true in alpha config code

2020-11-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50355 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org Ever

[Bug c++/81660] Add -Wexceptions warning

2020-11-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81660 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/81660] Add -Wexceptions warning

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81660 --- Comment #4 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:43d3b7bc073df27800218b685e6d7dd78dd31905 commit r11-4803-g43d3b7bc073df27800218b685e6d7dd78dd31905 Author: Marek Polacek Date:

[Bug other/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-11-06 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #21 from Jim Wilson --- I submitted my testcase as 97747 so it will get more attention.

[Bug rtl-optimization/97747] New: missed combine opt with logical ops after zero extended load

2020-11-06 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97747 Bug ID: 97747 Summary: missed combine opt with logical ops after zero extended load Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug other/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-11-06 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #20 from Jim Wilson --- Maybe convert_to_mode is recursively calling convert_to_mode until you run out of stack space. You can use --save-temps to generate a .i preprocessed file form your input testcasxe, then run cc1 under gdb.

[Bug c/97746] New: ice in vect_init_pattern_stmt, at tree-vect-patterns.c:116

2020-11-06 Thread dcb314 at hotmail dot com via Gcc-bugs
ect_init_pattern_stmt(vec_info*, gimple*, _stmt_vec_info*, tree_node* ) ../../trunk.git/gcc/tree-vect-patterns.c:115 0x18ac829 vect_set_pattern_stmt(vec_info*, gimple*, _stmt_vec_info*, tree_node*) ../../trunk.git/gcc/tree-vect-patterns.c:133 The bug first seems to appear between 20201105 and 20201106.

[Bug c++/67453] vtable not emitted for class with no key method and defaulted destructor with attribute((used))

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67453 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6c282c14d1be0bba2bf5d49acd074b349f28ad17 commit r11-4798-g6c282c14d1be0bba2bf5d49acd074b349f28ad17 Author: Jakub Jelinek Date:

[Bug tree-optimization/97741] [11 Regression] ICE: verify_gimple failed with "-Os -fno-toplevel-reorder -fno-tree-ccp -fno-tree-fre" since r11-4724

2020-11-06 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97741 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/97737] [11 Regression] ICE at -Os and above: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:88

2020-11-06 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97737 Andrew Macleod changed: What|Removed |Added Resolution|DUPLICATE |FIXED --- Comment #6 from Andrew

[Bug c++/97518] Improving static_assert diagnostics

2020-11-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97518 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/97737] [11 Regression] ICE at -Os and above: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:88

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97737 --- Comment #5 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:129e1a8a96d140150705fab30d25afb464eb1d99 commit r11-4795-g129e1a8a96d140150705fab30d25afb464eb1d99 Author: Andrew MacLeod Date:

[Bug tree-optimization/97741] [11 Regression] ICE: verify_gimple failed with "-Os -fno-toplevel-reorder -fno-tree-ccp -fno-tree-fre" since r11-4724

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97741 --- Comment #5 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:129e1a8a96d140150705fab30d25afb464eb1d99 commit r11-4795-g129e1a8a96d140150705fab30d25afb464eb1d99 Author: Andrew MacLeod Date:

[Bug middle-end/97738] Optimizing division by value & - value for HAKMEM 175

2020-11-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97738 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug middle-end/97738] Optimizing division by value & - value for HAKMEM 175

2020-11-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97738 --- Comment #3 from Thomas Koenig --- Even faster code: ctz = __builtin_ctz (value); lowest_bit = value & - value; left_bits = value + lowest_bit; changed_bits = value ^ left_bits; right_bits = changed_bits >> (ctz + 2); return

[Bug fortran/97652] [11 Regression] New gfortran.dg/pdt_14.f03 failure after g:617695cdc2b3d950f1e4deb5ea85d5cc302943f4

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97652 --- Comment #18 from CVS Commits --- The releases/gcc-9 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:542b564343fdb896ede9c9d5e32d45dcd96b2a00 commit r9-9028-g542b564343fdb896ede9c9d5e32d45dcd96b2a00 Author: Tobias Burnus

[Bug tree-optimization/97744] [11 regression] 32 bit floating point result errors after r11-4637

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97744 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0 Keywords|

[Bug c++/97745] [10 Regression] ICE in tsubst_decl, at cp/pt.c:14666

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97745 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.3 Keywords|

[Bug tree-optimization/97737] [11 Regression] ICE at -Os and above: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:88

2020-11-06 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97737 --- Comment #4 from Zhendong Su --- I would guess that it makes more sense to mark PR 97741 as a dup of this bug.

[Bug debug/97713] [gsplit-dwarf] label generated for .debug_abbrev.dwo offset, corresponding relocation ignored by objcopy --extract-dwo

2020-11-06 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97713 Tom de Vries changed: What|Removed |Added CC||ccoutant at gmail dot com,

[Bug tree-optimization/97741] [11 Regression] ICE: verify_gimple failed with "-Os -fno-toplevel-reorder -fno-tree-ccp -fno-tree-fre" since r11-4724

2020-11-06 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97741 --- Comment #4 from Andrew Macleod --- btw, the resulting code for this function is cleaned up a lot: : a = 6; goto ; [INV] : c = 0; : a.0_2 = a; if (a.0_2 != 0) goto ; [INV] else goto ; [INV] : # e_5 = PHI

[Bug tree-optimization/97741] [11 Regression] ICE: verify_gimple failed with "-Os -fno-toplevel-reorder -fno-tree-ccp -fno-tree-fre" since r11-4724

2020-11-06 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97741 Andrew Macleod changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch ---

[Bug tree-optimization/97737] [11 Regression] ICE at -Os and above: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:88

2020-11-06 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97737 Andrew Macleod changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/97745] New: [10 Regression] ICE in tsubst_decl, at cp/pt.c:14666

2020-11-06 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97745 Bug ID: 97745 Summary: [10 Regression] ICE in tsubst_decl, at cp/pt.c:14666 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/97741] [11 Regression] ICE: verify_gimple failed with "-Os -fno-toplevel-reorder -fno-tree-ccp -fno-tree-fre" since r11-4724

2020-11-06 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97741 --- Comment #2 from Andrew Macleod --- Created attachment 49517 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49517=edit don't lose info already in the global range The problem here is the IL being changed by propagation under to covers

[Bug fortran/97652] [11 Regression] New gfortran.dg/pdt_14.f03 failure after g:617695cdc2b3d950f1e4deb5ea85d5cc302943f4

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97652 --- Comment #17 from CVS Commits --- The releases/gcc-10 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:099857318ca92210e34cfb8975c5c58c00bf1587 commit r10-8989-g099857318ca92210e34cfb8975c5c58c00bf1587 Author: Tobias Burnus

[Bug c++/81660] Add -Wexceptions warning

2020-11-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81660 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/97738] Optimizing division by value & - value for HAKMEM 175

2020-11-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97738 --- Comment #2 from Thomas Koenig --- Created attachment 49516 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49516=edit Small benchmark Here's a small benchmark for counting all 32-bit numbers with 16 bits set according to the HAKMEM

[Bug debug/97713] [gsplit-dwarf] label generated for .debug_abbrev.dwo offset, corresponding relocation ignored by objcopy --extract-dwo

2020-11-06 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97713 --- Comment #3 from Tom de Vries --- Mentioning dwarf 5 standard bit @ "7.3.2.2 Second Partition (Unlinked or in a .dwo File)": ... Split DWARF object files do not get linked with any other files, therefore references between sections must not

[Bug tree-optimization/97744] New: [11 regression] floating point result errors after r11-4637

2020-11-06 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97744 Bug ID: 97744 Summary: [11 regression] floating point result errors after r11-4637 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:22175d0dc6a89ddd630f19d0f32a2d1ddb046807 commit r11-4787-g22175d0dc6a89ddd630f19d0f32a2d1ddb046807 Author: Richard Biener Date:

[Bug gcov-profile/97594] [11 Regression] new test case gcc.dg/tree-prof/pr97461.c execution failure

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

[Bug gcov-profile/97461] [11 Regression] allocate_gcov_kvp() deadlocks in firefox LTO+PGO build (overridden malloc() recursion)

2020-11-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97461 --- Comment #22 from Martin Liška --- (In reply to CVS Commits from comment #21) > The master branch has been updated by Martin Liska : > > https://gcc.gnu.org/g:15bcd01a94c23f312ac03b5faea29f18ef8d2a07 > > commit

[Bug gcov-profile/97461] [11 Regression] allocate_gcov_kvp() deadlocks in firefox LTO+PGO build (overridden malloc() recursion)

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97461 --- Comment #21 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:15bcd01a94c23f312ac03b5faea29f18ef8d2a07 commit r11-4785-g15bcd01a94c23f312ac03b5faea29f18ef8d2a07 Author: Kewen Lin Date: Fri

[Bug tree-optimization/97623] [9/10/11 Regression] Extremely slow O2 compile (>>O(n^2))

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97623 --- Comment #16 from Richard Biener --- (In reply to Martin Liška from comment #14) > With -O2 -fno-code-hoisting it's fixed since r10-300-gaae6da83564549a6. Ah, that makes sense.

[Bug tree-optimization/97623] [9/10/11 Regression] Extremely slow O2 compile (>>O(n^2))

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97623 --- Comment #15 from Richard Biener --- OK, noting down low-hanging optimization fruits: - phi-translation caching uses a hash with needless indirection, XNEW-ing expr_pred_trans_d - old issue, value_id_constant_p is expensive - better would

[Bug c/66249] -Wformat-signedness should not warn on enums

2020-11-06 Thread peter at eisentraut dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66249 --- Comment #3 from Peter Eisentraut --- The GCC documentation on implementation-defined behavior states that enums are unsigned unless negative values are included. It says that -fshort-enums is the default for some ABIs, but there is no

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-06 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 --- Comment #30 from Alexander Monakov --- Asm operand binding should work by looking at bound lvalue: "c"(a) binds an lvalue so if 'a' is a register var the compiler must remember its associated register; "c"(a+0) binds an rvalue, so what kind

[Bug tree-optimization/97623] [9/10/11 Regression] Extremely slow O2 compile (>>O(n^2))

2020-11-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97623 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | --- Comment #14 from Martin Liška ---

[Bug gcov-profile/97594] [11 Regression] new test case gcc.dg/tree-prof/pr97461.c execution failure

2020-11-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97594 --- Comment #4 from Martin Liška --- Thank you Kewen, the patch works! The analysis is correct, what a stupid mistake from my side :P.

[Bug c++/97675] GCC does not allow turning off the warning for exceptions being caught by an earlier handler

2020-11-06 Thread ldionne.2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97675 --- Comment #3 from Louis Dionne --- Thanks a lot!

[Bug fortran/97652] [11 Regression] New gfortran.dg/pdt_14.f03 failure after g:617695cdc2b3d950f1e4deb5ea85d5cc302943f4

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97652 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/97623] [9/10/11 Regression] Extremely slow O2 compile (>>O(n^2))

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97623 Richard Biener changed: What|Removed |Added Keywords||needs-bisection --- Comment #13 from

[Bug tree-optimization/70547] Optimize multiplication of booleans to bit_and

2020-11-06 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70547 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug tree-optimization/97623] [9/10/11 Regression] Extremely slow O2 compile (>>O(n^2))

2020-11-06 Thread wsnyder at wsnyder dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97623 --- Comment #12 from Wilson Snyder --- Created attachment 49515 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49515=edit Larger testcase Attached is the larger testcase. time g++ -O2 -c -o Vtb_top__3_ii.o Vtb_top__3_ii.cpp user

[Bug c++/97742] endless loop with code reduced by creduce/cvise

2020-11-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97742 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug c++/97742] endless loop with code reduced by creduce/cvise

2020-11-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97742 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever

[Bug middle-end/97743] Failure to optimize boolean multiplication to select

2020-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97743 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > What about: > (-B)&743 > Is that faster? Never mind I see it was not :)

[Bug middle-end/97743] Failure to optimize boolean multiplication to select

2020-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97743 --- Comment #4 from Andrew Pinski --- What about: (-B)&743 Is that faster?

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7307d8e10727aea8069c0e47e64a7a9b8588a22e commit r11-4776-g7307d8e10727aea8069c0e47e64a7a9b8588a22e Author: Richard Biener Date:

[Bug middle-end/97743] Failure to optimize boolean multiplication to select

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97743 --- Comment #3 from Richard Biener --- imull on core & zen is 3-4 cycles latency (no idea if they special-case 0 or 1 values somehow, guess not).

[Bug other/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-11-06 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #19 from Levy --- Also tested code without int extend, just zero-extend with unsignedp set to 1, Still seg fault. if (GET_MODE_CLASS (mode) == MODE_INT && GET_MODE_SIZE (mode) < UNITS_PER_WORD &&

[Bug middle-end/97743] Failure to optimize boolean multiplication to select

2020-11-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97743 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug middle-end/97743] Failure to optimize boolean multiplication to select

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97743 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-11-06

[Bug tree-optimization/97743] New: Failure to optimize boolean multiplication to select

2020-11-06 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97743 Bug ID: 97743 Summary: Failure to optimize boolean multiplication to select Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/97741] [11 Regression] ICE: verify_gimple failed with "-Os -fno-toplevel-reorder -fno-tree-ccp -fno-tree-fre" since r11-4724

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97741 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/97732] [11 Regression] ICE tree check: expected integer_cst, have addr_expr in get_len, at tree.h:6014 since r11-4646-gf53e9d40de721241

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97732 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/97741] [11 Regression] ICE: verify_gimple failed with "-Os -fno-toplevel-reorder -fno-tree-ccp -fno-tree-fre" since r11-4724

2020-11-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97741 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |11.0 CC|

[Bug other/97742] New: endless loop with code reduced by creduce/cvise

2020-11-06 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97742 Bug ID: 97742 Summary: endless loop with code reduced by creduce/cvise Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/97741] New: ICE: verify_gimple failed with "-Os -fno-toplevel-reorder -fno-tree-ccp -fno-tree-fre"

2020-11-06 Thread suochenyao at 163 dot com via Gcc-bugs
x86_64-pc-linux-gnu Configured with: ../configure --prefix=/home/suocy/bin/gcc-dev --disable-multilib --enable-languages=c,c++ Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.0 20201106 (experime

[Bug tree-optimization/97732] [11 Regression] ICE tree check: expected integer_cst, have addr_expr in get_len, at tree.h:6014 since r11-4646-gf53e9d40de721241

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97732 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8ebedfcd86aa5e3fc902fb442ce12c9d440c23c8 commit r11-4773-g8ebedfcd86aa5e3fc902fb442ce12c9d440c23c8 Author: Richard Biener Date:

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504 --- Comment #32 from Martin Liška --- (In reply to Eric Botcazou from comment #31) > > Unfortunately, it still fails. > > OK, can you try the new one? This one works, thanks for it.

[Bug tree-optimization/97733] [11 Regression] internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-sc

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97733 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/97623] [9/10/11 Regression] Extremely slow O2 compile (>>O(n^2))

2020-11-06 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97623 --- Comment #11 from rguenther at suse dot de --- On Fri, 6 Nov 2020, wsnyder at wsnyder dot org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97623 > > --- Comment #10 from Wilson Snyder --- > Running -O2 -fno-code-hoisting

[Bug tree-optimization/97736] [9/10/11 Regression] switch codegen

2020-11-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97736 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug tree-optimization/97737] [11 Regression] ICE at -Os and above: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:88

2020-11-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97737 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug other/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-11-06 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #18 from Levy --- if (GET_MODE_CLASS (mode) == MODE_INT && GET_MODE_SIZE (mode) < UNITS_PER_WORD && can_create_pseudo_p() && MEM_P (src)) { int extend = (LOAD_EXTEND_OP (mode) == ZERO_EXTEND);

[Bug target/97734] GCC using branches when a conditional move would be better

2020-11-06 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97734 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug c++/90736] [9 Regression] Bogus error with alignas

2020-11-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90736 Jakub Jelinek changed: What|Removed |Added CC||stanislav.pikulik at lge dot com ---

[Bug c++/97739] alignas() fails to compile with const expression like std::max or std::min

2020-11-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97739 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug c++/97740] New: Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr

2020-11-06 Thread markus.boeck02 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97740 Bug ID: 97740 Summary: Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr Product: gcc Version:

[Bug c++/97739] New: alignas() fails to compile with const expression like std::max or std::min

2020-11-06 Thread stanislav.pikulik at lge dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97739 Bug ID: 97739 Summary: alignas() fails to compile with const expression like std::max or std::min Product: gcc Version: 8.4.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/97733] [11 Regression] internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-sc

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97733 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:2210bf6dec4a9868c828af546890805cac353f84 commit r11-4767-g2210bf6dec4a9868c828af546890805cac353f84 Author: Richard Biener Date:

[Bug middle-end/97738] Optimizing division by value & - value for HAKMEM 175

2020-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97738 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug rtl-optimization/97738] New: Optimizing division by value & - value for HAKMEM 175

2020-11-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97738 Bug ID: 97738 Summary: Optimizing division by value & - value for HAKMEM 175 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

  1   2   >