[Bug target/111313] RISC-V: Incorrect vsetvl code gen for 2 level loop

2023-09-07 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111313 Li Pan changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/111317] New: RISC-V: Incorrect COST model for RVV conversions

2023-09-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111317 Bug ID: 111317 Summary: RISC-V: Incorrect COST model for RVV conversions Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/83077] sso-string @ gnu-versioned-namespace.

2023-09-07 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077 --- Comment #13 from Iain Sandoe --- (In reply to Iain Sandoe from comment #12) > (In reply to Iain Sandoe from comment #11) > > (In reply to François Dumont from comment #10) > > > This is because you are facing the PR65762 issue. I just

[Bug c++/56289] Bad location for unused value warning with comma operator

2023-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56289 --- Comment #6 from Jonathan Wakely --- (In reply to Gayathri Gottumukkala from comment #5) > We cannot cast the two variables in single line using void. That's not what the code is trying to do. > Instead of that > we have to use void for two

[Bug target/111318] New: RISC-V: Redundant vsetvl instructions

2023-09-07 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111318 Bug ID: 111318 Summary: RISC-V: Redundant vsetvl instructions Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/111320] New: RISC-V: Failed combine extend + vfwredosum

2023-09-07 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111320 Bug ID: 111320 Summary: RISC-V: Failed combine extend + vfwredosum Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug go/111310] BITINT_TYPE unsupported in godump.cc

2023-09-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111310 --- Comment #3 from Jakub Jelinek --- Note, there is no guarantee that _BitInt(32) or _BitInt(64) are passed/returned/laid out exactly like int32_t or int64_t (ditto for 8 and 16 bits), but on the current single target which supports them it is

[Bug libstdc++/111315] libstdc++ stacktrace testsuite failures with --enable-default-pie

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111315 Xi Ruoyao changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/111321] Segmentation fault with associate construct

2023-09-07 Thread alexandre.poux at coria dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111321 --- Comment #1 from Alexandre Poux --- Created attachment 55848 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55848=edit a program triggering the segmentation fault

[Bug c/111319] Wrong code at -O2 on x86_64-linux-gnu

2023-09-07 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111319 --- Comment #4 from Shaohua Li --- (In reply to Xi Ruoyao from comment #3) > Please try not to create more reports with "not sure if there is UB" esp. > this UB should be obvious, and it's also detectable with > -fsanitize=undefined: > >

[Bug libstdc++/111323] New: [RISC_V] During Insmod "unknown relocation type 57" type in kernel space observed

2023-09-07 Thread akhilesh.k at samsung dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111323 Bug ID: 111323 Summary: [RISC_V] During Insmod "unknown relocation type 57" type in kernel space observed Product: gcc Version: 13.1.1 Status: UNCONFIRMED

[Bug middle-end/111324] New: More optimization about "(X * Y) / Y"

2023-09-07 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111324 Bug ID: 111324 Summary: More optimization about "(X * Y) / Y" Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libgcc/111322] non-canonical reference to canonical protected function `__pthread_key_create'

2023-09-07 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111322 Waldemar Brodkorb changed: What|Removed |Added CC||wbx at openadk dot org --- Comment

[Bug c++/107800] confusing message with to_address in C++17

2023-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107800 --- Comment #5 from Jonathan Wakely --- What is not working?

[Bug target/111311] RISC-V regression testsuite errors with --param=riscv-autovec-preference=scalable

2023-09-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311 --- Comment #3 from JuzheZhong --- Confirm master GCC FAILs: gcc FAILs: 166 FAIL: gcc.c-torture/execute/pr53645-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) FAIL: gcc.c-torture/execute/pr53645.c -O2

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #111 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:18c90eaa25363d34b5bef444fbbad04f5da2522d commit r14-3774-g18c90eaa25363d34b5bef444fbbad04f5da2522d Author: Jakub Jelinek Date:

[Bug bootstrap/111325] New: config/acx.m4: _FOR_TARGET are not usable at top level

2023-09-07 Thread pexu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111325 Bug ID: 111325 Summary: config/acx.m4: _FOR_TARGET are not usable at top level Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/111319] New: Wrong code at -O2 on x86_64-linux-gnu

2023-09-07 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111319 Bug ID: 111319 Summary: Wrong code at -O2 on x86_64-linux-gnu Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/111321] New: Segmentation fault with associate construct

2023-09-07 Thread alexandre.poux at coria dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111321 Bug ID: 111321 Summary: Segmentation fault with associate construct Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/111319] Wrong code at -O2 on x86_64-linux-gnu

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111319 Xi Ruoyao changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug target/111252] LoongArch: Suboptimal code for (a & ~mask) | (b & mask) where mask is a constant with value ((1 << n) - 1) << m

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111252 Xi Ruoyao changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/109773] RISC-V: ICE when build RVV Intrinsic in Both GCC 13 && GCC 14

2023-09-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109773 Kito Cheng changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libstdc++/111323] [RISC_V]with CFLAGS +=-std=gnu11 "unknown relocation type 57" observed during Insmod

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111323 Xi Ruoyao changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug target/110560] internal compiler error: in extract_constrain_insn_cached, at recog.cc:2704

2023-09-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110560 Kito Cheng changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/111037] RISC-V: Invalid vsetvli fusion

2023-09-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111037 Kito Cheng changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/111074] RISC-V: segmentation fault during RTL pass: vsetvl

2023-09-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111074 Kito Cheng changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/110299] RISC-V: ICE when build RVV intrinsic widen with "-march=rv32gc_zve64d -mabi=ilp32d", both GCC 14 and 13.

2023-09-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110299 Kito Cheng changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/111326] New: [14 Regression] Dead Code Elimination Regression since r14-376-g47a76439911

2023-09-07 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111326 Bug ID: 111326 Summary: [14 Regression] Dead Code Elimination Regression since r14-376-g47a76439911 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug libgcc/111322] New: non-canonical reference to canonical protected function `__pthread_key_create'

2023-09-07 Thread judge.packham at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111322 Bug ID: 111322 Summary: non-canonical reference to canonical protected function `__pthread_key_create' Product: gcc Version: 13.2.0 Status: UNCONFIRMED

[Bug libstdc++/111315] libstdc++ stacktrace testsuite failures with --enable-default-pie

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111315 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #2

[Bug target/110277] RISC-V: ICE when build RVV intrinsic float reduction with "-march=rv32gc_zve64d -mabi=ilp32d", both GCC 14 and 13.

2023-09-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110277 Kito Cheng changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/111319] Wrong code at -O2 on x86_64-linux-gnu

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111319 --- Comment #2 from Andrew Pinski --- Also comparing unrelated addresses with >= is undefined.

[Bug libgcc/111322] non-canonical reference to canonical protected function `__pthread_key_create'

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111322 --- Comment #1 from Andrew Pinski --- uclibc should 100% not be defining __GLIBC__ at all ..

[Bug libgcc/111322] non-canonical reference to canonical protected function `__pthread_key_create'

2023-09-07 Thread judge.packham at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111322 --- Comment #2 from Chris Packham --- I don't disagree but it appears to have been that way for some time. There are other instances of the __GLIBC__ && !__UCLIBC__ in other corners

[Bug middle-end/111324] More optimization about "(X * Y) / Y"

2023-09-07 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111324 --- Comment #1 from Jiu Fu Guo --- In match.pd, there is a pattern: /* Simplify (t * 2) / 2) -> t. */ (for div (trunc_div ceil_div floor_div round_div exact_div) (simplify (div (mult:c @0 @1) @1) (if (ANY_INTEGRAL_TYPE_P (type)) (if

[Bug c++/107800] confusing message with to_address in C++17

2023-09-07 Thread amatuladeeba at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107800 Amatul Adeeba changed: What|Removed |Added CC||amatuladeeba at gmail dot com ---

[Bug libstdc++/108827] [C++23] Implement P2387R3, Pipe support for user-defined range adaptors

2023-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108827 --- Comment #4 from Jonathan Wakely --- The new bind_back call wrapper still needs to be added (which will need to be done before https://wg21.link/p2714r1 can be implemented for C++26).

[Bug c/111319] Wrong code at -O2 on x86_64-linux-gnu

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111319 --- Comment #1 from Andrew Pinski --- int *h = g; h--; is undefined right away ...

[Bug target/111252] LoongArch: Suboptimal code for (a & ~mask) | (b & mask) where mask is a constant with value ((1 << n) - 1) << m

2023-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111252 --- Comment #6 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:5b857e87201335148f23ec7134cf7fbf97c04c72 commit r14-3773-g5b857e87201335148f23ec7134cf7fbf97c04c72 Author: Xi Ruoyao Date: Tue Sep

[Bug fortran/111321] Segmentation fault with associate construct

2023-09-07 Thread kopper at iag dot uni-stuttgart.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111321 Patrick Kopper changed: What|Removed |Added CC||kopper at iag dot uni-stuttgart.de

[Bug libstdc++/83077] sso-string @ gnu-versioned-namespace.

2023-09-07 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077 --- Comment #15 from Iain Sandoe --- (In reply to Iain Sandoe from comment #13) > (In reply to Iain Sandoe from comment #12) > > (In reply to Iain Sandoe from comment #11) > > > (In reply to François Dumont from comment #10) > > > > This is

[Bug c++/111274] ice in fixup_blocks_walker with -O1 and -fopenmp

2023-09-07 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111274 --- Comment #12 from sandra at gcc dot gnu.org --- Improved and tested patch posted here: https://gcc.gnu.org/pipermail/gcc-patches/2023-September/629616.html IIUC the temporaries introduced in non-full-expressions are bound in a block that

[Bug libstdc++/111327] New: std::bind_front doesn't perfectly forward according to value category of the call wrapper object

2023-09-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111327 Bug ID: 111327 Summary: std::bind_front doesn't perfectly forward according to value category of the call wrapper object Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug middle-end/110773] [Aarch64] crash (SIGBUS) due to atomic instructions on under-aligned memory

2023-09-07 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110773 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #2 from

[Bug fortran/109948] [13/14 Regression] ICE(segfault) in gfc_expression_rank() from gfc_op_rank_conformable()

2023-09-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109948 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||alexandre.poux at coria dot

[Bug fortran/111321] Segmentation fault with associate construct

2023-09-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111321 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug target/95751] [aarch64] Consider using ldapr for __atomic_load_n(acquire) on ARMv8.3-RCPC

2023-09-07 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95751 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org Resolution|---

[Bug fortran/109948] [13/14 Regression] ICE(segfault) in gfc_expression_rank() from gfc_op_rank_conformable()

2023-09-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109948 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|13.2|13.3 --- Comment #23 from

[Bug libgomp/111044] [OpenMP] Use additional kinds of libmemkind for allocators; make libgomp.texi doc more explicit

2023-09-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111044 --- Comment #1 from Tobias Burnus --- Additionally: OpenMP states for omp_init_allocator: "if an allocator based on the requirements cannot be created then the special omp_null_allocator handle is returned." libgomp's routine currently only

[Bug libstdc++/83077] sso-string @ gnu-versioned-namespace.

2023-09-07 Thread fdumont at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077 --- Comment #17 from François Dumont --- (In reply to Iain Sandoe from comment #15) > > many of the c++ fails are of this form: > > contracts-tmpl-spec1.C:(.text+0x6f): undefined reference to >

[Bug tree-optimization/111326] [14 Regression] Dead Code Elimination Regression since r14-376-g47a76439911

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111326 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0

[Bug libstdc++/83077] sso-string @ gnu-versioned-namespace.

2023-09-07 Thread fdumont at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077 --- Comment #14 from François Dumont --- Good news then. On my side I only had some failures due to a faulty friend declaration in gnu-versioned-namespace mode in for which I've submitted a patch:

[Bug libstdc++/83077] sso-string @ gnu-versioned-namespace.

2023-09-07 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077 --- Comment #16 from Iain Sandoe --- (In reply to François Dumont from comment #14) > Good news then. > > On my side I only had some failures due to a faulty friend declaration in > gnu-versioned-namespace mode in for which I've submitted a

[Bug analyzer/110830] -Wanalyzer-use-of-uninitialized-value false negative due to use-after-free::supercedes_p.

2023-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110830 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Benjamin Priour : https://gcc.gnu.org/g:7d2274b9e346f44f8f6598b9dbb9fa95259274a2 commit r14-3794-g7d2274b9e346f44f8f6598b9dbb9fa95259274a2 Author: benjamin priour Date:

[Bug tree-optimization/111331] [11/12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu since

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111331 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2023-09-07 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #12 from qinzhao at gcc dot gnu.org --- (In reply to Kees Cook from comment #11) > The trouble with "optimize" is that it just doesn't work. The kernel has > banned its use because it results in all other optimization options being >

[Bug tree-optimization/111331] [11/12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu since

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111331 Andrew Pinski changed: What|Removed |Added Known to fail||14.0 --- Comment #5 from Andrew Pinski

[Bug target/111225] ICE in curr_insn_transform, unable to generate reloads for xor, since r14-2447-g13c556d6ae84be

2023-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111225 --- Comment #4 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:f7bca44d97ad01b39f9d6e7809df7bf517eeb2fb commit r14-3783-gf7bca44d97ad01b39f9d6e7809df7bf517eeb2fb Author: Vladimir N. Makarov

[Bug target/111263] test case gfortran.dg/ieee/comparisons_3.F90 fails

2023-09-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111263 --- Comment #2 from seurer at gcc dot gnu.org --- No, that is not failing.

[Bug c/111328] New: ICE: verify_flow_info failed since r14-3459-g0c78240fd7d

2023-09-07 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111328 Bug ID: 111328 Summary: ICE: verify_flow_info failed since r14-3459-g0c78240fd7d Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/83077] sso-string @ gnu-versioned-namespace.

2023-09-07 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077 --- Comment #18 from Iain Sandoe --- for changes to libstdc++ or the FE I usually run "make check-c++" which does the library (plus the libgomp and itm deps) and the FE. My guess is that the FE is referencing something that needs to have an

[Bug tree-optimization/111331] Wrong code at -O1 on x86_64-linux-gnu since

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111331 --- Comment #2 from Andrew Pinski --- For the trunk: ``` phiopt match-simplify trying: _3 > 28 ? _9 : 29 Applying pattern match.pd:5446, gimple-match-3.cc:3125 phiopt match-simplify back: _5 = MAX_EXPR <_9, 29>; result: _5 accepted the

[Bug tree-optimization/111331] [11/12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu since

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111331 --- Comment #3 from Andrew Pinski --- For the trunk the problem is in match (and phiopt) Match pattern: /* Optimize (a CMP CST1) ? max : a */ r6-7425-ga9fee7cdc3c62d0e51730b6a9814909c557d3070 most likely introduced it for GCC 6. For the

[Bug tree-optimization/111331] [11/12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu since

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111331 --- Comment #4 from Andrew Pinski --- Reduced testcase: ``` int a; int b; int main() { int d = b+30; { int t; if (d < 29) t = 29; else t = (d > 28) ? 28 : d; a = t; } volatile int t = a;

[Bug analyzer/110529] Analyzer fails to handle computed goto

2023-09-07 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110529 David Malcolm changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/111148] Missing boolean optimizations due to comparisons

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48 --- Comment #2 from Andrew Pinski --- The one which I had missed: _Bool f(int x, int y, int w, int z) { _Bool a = z == w; _Bool b = x == y; return (a & !b) | (a ^ b); // a ^ b }

[Bug tree-optimization/111331] Wrong code at -O1 on x86_64-linux-gnu since

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111331 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Ever confirmed|0

[Bug analyzer/110529] Analyzer fails to handle computed goto

2023-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110529 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:1b761fede44afac5fa72e77caced9beda93fb381 commit r14-3796-g1b761fede44afac5fa72e77caced9beda93fb381 Author: David Malcolm Date:

[Bug tree-optimization/111331] [11/12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu since

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111331 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | --- Comment #7 from Andrew Pinski

[Bug other/111329] [14 regression] gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails after r14-3745-g4f4fa2501186e4

2023-09-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111329 Jakub Jelinek changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org ---

[Bug analyzer/111329] [14 regression] gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails after r14-3745-g4f4fa2501186e4

2023-09-07 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111329 --- Comment #2 from David Malcolm --- Possibly another duplicate of bug 110483.

[Bug other/111329] New: [14 regression] gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails after r14-3745-g4f4fa2501186e4

2023-09-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111329 Bug ID: 111329 Summary: [14 regression] gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails after r14-3745-g4f4fa2501186e4 Product: gcc Version: 14.0

[Bug c++/111226] constexpr doesn't detect change of union to empty member

2023-09-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111226 Patrick Palka changed: What|Removed |Added Keywords||accepts-invalid, |

[Bug tree-optimization/110875] [14 Regression] Dead Code Elimination Regression since r14-2501-g285c9d042e9

2023-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110875 --- Comment #3 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:cf2ae3fff4ee9bf884b122ee6cd83bffd791a16f commit r14-3792-gcf2ae3fff4ee9bf884b122ee6cd83bffd791a16f Author: Andrew MacLeod Date:

[Bug analyzer/111329] [14 regression] gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails after r14-3745-g4f4fa2501186e4

2023-09-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111329 --- Comment #3 from seurer at gcc dot gnu.org --- It is the one that appears to trigger this failure, though. And as for being a duplicate of that other one I see this on both powerpc64 BE and LE. git bisect log git bisect start # good:

[Bug tree-optimization/110875] [14 Regression] Dead Code Elimination Regression since r14-2501-g285c9d042e9

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

[Bug c/111331] New: Wrong code at -O1 on x86_64-linux-gnu since

2023-09-07 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111331 Bug ID: 111331 Summary: Wrong code at -O1 on x86_64-linux-gnu since Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/111274] ice in fixup_blocks_walker with -O1 and -fopenmp

2023-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111274 --- Comment #13 from CVS Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:ab4bdad49716eb1c60e22e0e617d5eb56b0bac6f commit r14-3791-gab4bdad49716eb1c60e22e0e617d5eb56b0bac6f Author: Sandra Loosemore

[Bug tree-optimization/111328] ICE: verify_flow_info failed since r14-3459-g0c78240fd7d

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111328 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Component|c

[Bug middle-end/111324] More optimization about "(X * Y) / Y"

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111324 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/108957] Fortran FE memleak with interfaces

2023-09-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108957 --- Comment #4 from anlauf at gcc dot gnu.org --- Mikael, are you still onto it?

[Bug libstdc++/83077] sso-string @ gnu-versioned-namespace.

2023-09-07 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077 --- Comment #19 from Iain Sandoe --- (In reply to François Dumont from comment #17) > (In reply to Iain Sandoe from comment #15) Your proposed patch for the friend issue does fix the libstdc++ cases for my Darwin patchset. > > many of the c++

[Bug fortran/97122] Spurious FINAL ... must be in the specification part of a MODULE

2023-09-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97122 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[Bug analyzer/111329] [14 regression] gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails after r14-3745-g4f4fa2501186e4

2023-09-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111329 Jakub Jelinek changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org ---

[Bug modula2/111330] New: [13 Regression] Bootstrap failure building SeqFile.lo

2023-09-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111330 Bug ID: 111330 Summary: [13 Regression] Bootstrap failure building SeqFile.lo Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/111274] ice in fixup_blocks_walker with -O1 and -fopenmp

2023-09-07 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111274 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/111332] Using GCC7.3.0 and GCC10.3.0 to compile the same test case, assembler file instructions are different and performance fallback is obvious.

2023-09-07 Thread d_vampile at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111332 --- Comment #2 from d_vampile --- gcc7.3.0 program use vmovups and vmovups instructions , but gcc10.3.0 program only use vmovups instructions.In addition, the order of the two assembly instructions is not consistent.

[Bug target/111333] New: Runtime failure for fcmulcph instrinsic

2023-09-07 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111333 Bug ID: 111333 Summary: Runtime failure for fcmulcph instrinsic Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/111333] Runtime failure for fcmulcph instrinsic

2023-09-07 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111333 --- Comment #1 from Hongtao.liu --- fmulcph/fmaddcph is commutative for operands[1] and operands[2], but fcmulcph/fcmaddcph is not, since it's Complex conjugate operations. Below change fixes the issue. diff --git a/gcc/config/i386/sse.md

[Bug target/111332] Using GCC7.3.0 and GCC10.3.0 to compile the same test case, assembler file instructions are different and performance fallback is obvious.

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111332 Andrew Pinski changed: What|Removed |Added Known to work||6.4.0 Known to fail|

[Bug c/111334] ICE is reported during the combine pass optimization

2023-09-07 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #1 from chenglulu --- $ gcc test.c -o - -S -O1 test.c: 在函数‘add_startpgm’中: test.c:33:1: 编译器内部错误:在 simplify_subreg 中,于 simplify-rtx.cc:7538 33 | } | ^ 0x13506f4 simplify_context::simplify_subreg(machine_mode, rtx_def*,

[Bug target/111334] ICE is reported during the combine pass optimization

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/111334] ICE is reported during the combine pass optimization

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #6 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #5) > (In reply to chenglulu from comment #3) > > This involves the template di3_fake: > > (define_insn "di3_fake" > > [(set (match_operand:DI 0 "register_operand" "=r,,")

[Bug tree-optimization/111331] [11/12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu since

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111331 --- Comment #10 from Andrew Pinski --- And here is the fix for phiopt: ``` diff --git a/gcc/tree-ssa-phiopt.cc b/gcc/tree-ssa-phiopt.cc index 9993bbe5b76..9b44ca9758a 100644 --- a/gcc/tree-ssa-phiopt.cc +++ b/gcc/tree-ssa-phiopt.cc @@ -2073,7

[Bug target/111335] New: fmaddpch seems not commutative for operands[1] and operands[2] due to precision loss

2023-09-07 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111335 Bug ID: 111335 Summary: fmaddpch seems not commutative for operands[1] and operands[2] due to precision loss Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/111333] Runtime failure for fcmulcph instrinsic

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111333 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/111306] [12,13] macro-fusion makes error on conjugate complex multiplication fp16

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111306 Andrew Pinski changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment

[Bug target/111333] Runtime failure for fcmulcph instrinsic

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111333 --- Comment #3 from Andrew Pinski --- Isn't this a dup of bug 111306 ?

[Bug target/111306] [12,13] macro-fusion makes error on conjugate complex multiplication fp16

2023-09-07 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111306 --- Comment #3 from Hongtao.liu --- A patch is posted at https://gcc.gnu.org/pipermail/gcc-patches/2023-September/629650.html

[Bug c/111334] ICE is reported during the combine pass optimization

2023-09-07 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #2 from chenglulu --- This problem occurred after adding the r14-3511 optimization. However, during the debugging process, it was discovered that it was due to the attempt to generate rtx during the combine pass optimization. (set

  1   2   >