[Bug middle-end/111901] Apparently bogus CSE of inline asm with memory clobber

2023-10-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Keywords|

[Bug c/111884] [13/14 Regression] unsigned char no longer aliases anything under -std=c2x

2023-10-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111884 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:281699fbff6262766674ab13087d37db751cd40a commit r14-4802-g281699fbff6262766674ab13087d37db751cd40a Author: Marek Polacek Date: Th

[Bug c/111884] [13/14 Regression] unsigned char no longer aliases anything under -std=c2x

2023-10-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111884 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:4f93c6027fb09c94ca8dc7fe13f92a3b9205b68a commit r13-7967-g4f93c6027fb09c94ca8dc7fe13f92a3b9205b68a Author: Marek Polacek

[Bug c/111884] [13/14 Regression] unsigned char no longer aliases anything under -std=c2x

2023-10-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111884 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Assignee|unassigned

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

2023-10-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Component|middle-en

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

2023-10-20 Thread torvalds--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 --- Comment #3 from Linus Torvalds --- (In reply to Andrew Pinski from comment #1) > I suspect without an input, the cse will happen as there is no other writes > in the loop. Yes, it looks to me like the CSE simply didn't think of the memory c

[Bug c++/105467] Dependency file produced by C++ modules causes Ninja errors

2023-10-20 Thread jpakkane at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105467 --- Comment #2 from jpakkane at gmail dot com --- It would be preferable to have the default work out of the box than having every end user having to add compiler flags to make things work. Ninja is the most popular underlying build system for m

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

2023-10-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 --- Comment #4 from Andrew Pinski --- Looks like postreload_cse is causing the issue ...

[Bug c/109826] Incompatible pointer types in ?: not covered by -Wincompatible-pointer-types

2023-10-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109826 --- Comment #6 from CVS Commits --- The master branch has been updated by Florian Weimer : https://gcc.gnu.org/g:857a6ee25ff5cbb97715de4dd97e1641285c6085 commit r14-4804-g857a6ee25ff5cbb97715de4dd97e1641285c6085 Author: Florian Weimer Date:

[Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options

2023-10-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209 --- Comment #11 from CVS Commits --- The master branch has been updated by Florian Weimer : https://gcc.gnu.org/g:7069ea909f5292a17d22e5e68218373186820d29 commit r14-4805-g7069ea909f5292a17d22e5e68218373186820d29 Author: Florian Weimer Date:

[Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options

2023-10-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209 --- Comment #10 from CVS Commits --- The master branch has been updated by Florian Weimer : https://gcc.gnu.org/g:857a6ee25ff5cbb97715de4dd97e1641285c6085 commit r14-4804-g857a6ee25ff5cbb97715de4dd97e1641285c6085 Author: Florian Weimer Date:

[Bug c/109827] Pointer/integer mismatch in ?: not covered by -Wint-conversion

2023-10-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109827 --- Comment #3 from CVS Commits --- The master branch has been updated by Florian Weimer : https://gcc.gnu.org/g:7069ea909f5292a17d22e5e68218373186820d29 commit r14-4805-g7069ea909f5292a17d22e5e68218373186820d29 Author: Florian Weimer Date:

[Bug c/109826] Incompatible pointer types in ?: not covered by -Wincompatible-pointer-types

2023-10-20 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109826 Florian Weimer changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options

2023-10-20 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209 Bug 44209 depends on bug 109826, which changed state. Bug 109826 Summary: Incompatible pointer types in ?: not covered by -Wincompatible-pointer-types https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109826 What|Removed

[Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options

2023-10-20 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209 Bug 44209 depends on bug 109827, which changed state. Bug 109827 Summary: Pointer/integer mismatch in ?: not covered by -Wint-conversion https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109827 What|Removed |Added -

[Bug c/109827] Pointer/integer mismatch in ?: not covered by -Wint-conversion

2023-10-20 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109827 Florian Weimer changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/111902] internal compiler error: verify_ssa failed

2023-10-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111902 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 Andrew Pinski changed: What|Removed |Added CC||manuel.lauss at googlemail dot com ---

[Bug c++/105322] [modules] ICE with constexpr object of local class type from another function

2023-10-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105322 --- Comment #6 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:084addf8a700fab9222d4127ab8524920d0ca481 commit r14-4806-g084addf8a700fab9222d4127ab8524920d0ca481 Author: Nathan Sidwell Date:

[Bug target/111903] New: [14 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in create_tmp_from_val, at gimplify.cc:567 with -mno-sse2 and _Float16

2023-10-20 Thread zsojka at seznam dot cz via Gcc-bugs
rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231020 (experimental) (GCC)

[Bug c/111903] [14 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in create_tmp_from_val, at gimplify.cc:567 with -mno-sse2 and _Float16

2023-10-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111903 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Target Milestone|---

[Bug c/111903] [14 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in create_tmp_from_val, at gimplify.cc:567 with -mno-sse2 and _Float16

2023-10-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111903 --- Comment #2 from Andrew Pinski --- This fixes the issue: diff --git a/gcc/convert.cc b/gcc/convert.cc index 64b7001843c..5357609d8f0 100644 --- a/gcc/convert.cc +++ b/gcc/convert.cc @@ -1006,8 +1006,13 @@ convert_to_complex_1 (tree type, tree

[Bug target/111545] [14 Regression] RISC-V gfortran.dg/host_assoc_function_7.f09 Illegal instruction error

2023-10-20 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111545 Edwin Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/111895] error: invalid operands of types 'unsigned char:2' and 'int' to binary 'operator!=' on enum class bitfield cast to bool

2023-10-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111895 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c/111904] New: Miscompilation with -O3 -fharden-control-flow-redundancy?

2023-10-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111904 Bug ID: 111904 Summary: Miscompilation with -O3 -fharden-control-flow-redundancy? Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c/111904] Miscompilation with -O3 -fharden-control-flow-redundancy?

2023-10-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111904 --- Comment #1 from Sam James --- gllib/memset_explicit.o is apparently the same between the two directories

[Bug rtl-optimization/111267] [14 Regression] Codegen regression from i386 argument passing changes

2023-10-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111267 --- Comment #2 from Roger Sayle --- Created attachment 56162 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56162&action=edit proof-of-concept patch

[Bug rtl-optimization/111267] [14 Regression] Codegen regression from i386 argument passing changes

2023-10-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111267 --- Comment #3 from Roger Sayle --- This patch addresses the regression, but probably isn't the correct fix. The issue is that the backend now has a way of representing the concatenation of two registers (for example, TI is constructed for two

[Bug middle-end/101955] (signed<<

2023-10-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101955 --- Comment #8 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:e28869670c9879fe7c67caf6cc11af202509ef78 commit r14-4810-ge28869670c9879fe7c67caf6cc11af202509ef78 Author: Roger Sayle Date: Sat O

[Bug tree-optimization/106245] Failure to optimize (u8)(a << 7) >> 7 pattern to a & 1

2023-10-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106245 --- Comment #3 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:e28869670c9879fe7c67caf6cc11af202509ef78 commit r14-4810-ge28869670c9879fe7c67caf6cc11af202509ef78 Author: Roger Sayle Date: Sat O

[Bug c++/111905] New: -O3 vectorization terribly pessimizes the code for an already unrolled loop

2023-10-20 Thread kamkaz at windowslive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111905 Bug ID: 111905 Summary: -O3 vectorization terribly pessimizes the code for an already unrolled loop Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

[Bug c++/111905] -O3 vectorization terribly pessimizes the code for an already unrolled loop

2023-10-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111905 --- Comment #1 from Andrew Pinski --- Created attachment 56163 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56163&action=edit testcase Please next time put the testcase inline or attach it rather than just link godbolt.

[Bug target/111905] -O3 vectorization terribly pessimizes the code for an already unrolled loop

2023-10-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111905 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Component|

[Bug target/111857] RISC-V: Failed to vectorize small GNU vector if zvl4096b with fixed-vlmax

2023-10-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111857 --- Comment #2 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:66c26e5cfdf65ae024fcb658629dc5a9a10f3f85 commit r14-4812-g66c26e5cfdf65ae024fcb658629dc5a9a10f3f85 Author: Pan Li Date: Fri Oct 20 16:2

[Bug target/111857] RISC-V: Failed to vectorize small GNU vector if zvl4096b with fixed-vlmax

2023-10-20 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111857 JuzheZhong changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/111001] SH: ICE during RTL pass: sh_treg_combine2

2023-10-20 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111001 --- Comment #4 from Oleg Endo --- Created attachment 56164 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56164&action=edit sh_pr11001_fix.patch Can you please try this patch? It should solve the problem, but not sure if there could be a

[Bug target/111892] [SH] [13 Regression] internal compiler error: Illegal instruction when building e2fsprogs

2023-10-20 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111892 --- Comment #5 from Oleg Endo --- Adrian, can you please give it another go with the patch I've posted in PR 111001 ? https://gcc.gnu.org/bugzilla/attachment.cgi?id=56164

[Bug middle-end/111904] Miscompilation with -O3 -fharden-control-flow-redundancy?

2023-10-20 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111904 Alexandre Oliva changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/111897] Initialization of _Float16 with f.p. constant gives false warning

2023-10-20 Thread agner at agner dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111897 --- Comment #2 from Agner Fog --- Thank you Jonathan. The problem is that the C++ standard is becoming so complicated that nobody can master it, not even the persons who wrote the example in the proposal. `_Float16 A{1.0};` gives a warning, wh

[Bug tree-optimization/111520] [14 Regression] ICE: verify_flow_info failed (error: probability of edge 3->8 not initialized) with -O -fsignaling-nans -fharden-compares -fnon-call-exceptions

2023-10-20 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111520 Alexandre Oliva changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org

<    1   2