[Bug d/110516] core.volatile.volatileLoad discarded if result is unused

2023-07-01 Thread witold.baryluk+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110516 --- Comment #9 from Witold Baryluk --- Thank you for a quick fix Iain!

[Bug d/110516] core.volatile.volatileLoad discarded if result is unused

2023-07-01 Thread witold.baryluk+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110516 --- Comment #8 from Witold Baryluk --- I see. Point 1 is definitively incorrect. I interpreted asembler wrong: void example.actualRun(ubyte*): pushrbp mov rbp, rsp mov QWORD PTR [rbp-8], rdi nop

[Bug d/110516] core.volatile.volatileLoad discarded if result is unused

2023-07-01 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110516 ibuclaw at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug d/110516] core.volatile.volatileLoad discarded if result is unused

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110516 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:da7a10ea9245d7461253495698873891ffc20666 commit r11-10890-gda7a10ea9245d7461253495698873891ffc20666 Author: Iain Buclaw Dat

[Bug d/110516] core.volatile.volatileLoad discarded if result is unused

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110516 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:b224692084e40aabcba1e73166eedf55dfd7f563 commit r12-9749-gb224692084e40aabcba1e73166eedf55dfd7f563 Author: Iain Buclaw Date

[Bug d/110516] core.volatile.volatileLoad discarded if result is unused

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110516 --- Comment #4 from CVS Commits --- The releases/gcc-13 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:78e9bd776d559b4a2193d61dd074ee0880d43ec5 commit r13-7521-g78e9bd776d559b4a2193d61dd074ee0880d43ec5 Author: Iain Buclaw Date

[Bug d/110516] core.volatile.volatileLoad discarded if result is unused

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110516 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:80ae426a195a0d035640a6301da833564deade52 commit r14-2236-g80ae426a195a0d035640a6301da833564deade52 Author: Iain Buclaw Date: Sun J

[Bug d/110516] core.volatile.volatileLoad is broken

2023-07-01 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110516 --- Comment #2 from ibuclaw at gcc dot gnu.org --- (In reply to Witold Baryluk from comment #0) > I did not test volatileStore, but I would not be surprised it is also broken. volatileStore is fine, because that expands to an assignment, which is

[Bug c++/51066] [C++0x] warning about binding an rvalue-reference to an implicit conversion result

2023-07-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51066 --- Comment #5 from Eric Gallager --- (In reply to Jonathan Wakely from comment #3) > This warning would also help with this horror: > https://twitter.com/zygoloid/status/1367301323838812160 (In reply to Jonathan Wakely from comment #4) > And th

[Bug tree-optimization/109945] Escape analysis hates copy elision: different result with -O1 vs -O2

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

[Bug middle-end/110515] [12/13/14 Regression] llvm-15.0.7 possibly invalid code on -O3

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110515 Andrew Pinski changed: What|Removed |Added Keywords||alias --- Comment #5 from Andrew Pinski

[Bug d/110514] d: accesses of immutable arrays using constant index still bounds checked

2023-07-01 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110514 ibuclaw at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug d/110514] d: accesses of immutable arrays using constant index still bounds checked

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110514 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:750526ee180ae2af66ee07db95c9787e8d86ed4b commit r12-9747-g750526ee180ae2af66ee07db95c9787e8d86ed4b Author: Iain Buclaw Date

[Bug d/110514] d: accesses of immutable arrays using constant index still bounds checked

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110514 --- Comment #2 from CVS Commits --- The releases/gcc-13 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:3f43c19d0d40b82ecfd10f277322c1f786bcd76d commit r13-7519-g3f43c19d0d40b82ecfd10f277322c1f786bcd76d Author: Iain Buclaw Date

[Bug d/110514] d: accesses of immutable arrays using constant index still bounds checked

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110514 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:61b1c562f8c703bff045e91257120e42b7fae523 commit r14-2234-g61b1c562f8c703bff045e91257120e42b7fae523 Author: Iain Buclaw Date: Sat J

[Bug d/110516] core.volatile.volatileLoad is broken

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

[Bug d/110516] New: core.volatile.volatileLoad is broken

2023-07-01 Thread witold.baryluk+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110516 Bug ID: 110516 Summary: core.volatile.volatileLoad is broken Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d

[Bug middle-end/110515] [12/13/14 Regression] llvm-15.0.7 possibly invalid code on -O3

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110515 --- Comment #4 from Andrew Pinski --- Right away I can say it is not phiopt that is causing the issue: That is: doing `__attribute__((optimize(3, "no-ssa-phiopt")))` (instead of just 3) still fails. Turning off SRA allows it to work but I suspe

[Bug middle-end/110515] llvm-15.0.7 possibly invalid code on -O3

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110515 Andrew Pinski changed: What|Removed |Added Summary|[14 Regression] llvm-15.0.7 |llvm-15.0.7 possibly

[Bug middle-end/110004] large increase in profile mismatches on tramp3d

2023-07-01 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110004 --- Comment #2 from Jan Hubicka --- Linkes the statistics for outedges (that probabilities sums to 100). Here are statistic for inedges. We track mismatches after alignments RTL pass since it is last one, so it cummulates all the mismatches thr

[Bug middle-end/110515] [12/13/14 Regression] llvm-15.0.7 possibly invalid code on -O3

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110515 Andrew Pinski changed: What|Removed |Added Summary|llvm-15.0.7 possibly|[12/13/14 Regression]

[Bug middle-end/110515] [14 Regression] llvm-15.0.7 possibly invalid code on -O3

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

[Bug middle-end/110515] [14 Regression] llvm-15.0.7 possibly invalid code on -O3

2023-07-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110515 --- Comment #1 from Sergei Trofimovich --- I tried reverting r14-1597-g64d90d06d2db43 in hopes to sidestep PR110228. It did not help.

[Bug middle-end/110515] New: [14 Regression] llvm-15.0.7 possibly invalid code on -O3

2023-07-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110515 Bug ID: 110515 Summary: [14 Regression] llvm-15.0.7 possibly invalid code on -O3 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Prio

[Bug middle-end/110228] [13/14 Regression] llvm-16 miscompiled due to an maybe uninitialized variable

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 --- Comment #23 from Andrew Pinski --- (In reply to Andrew Pinski from comment #22) > (In reply to Zhendong Su from comment #21) > > Another very likely related reproducer. > Yes: >[local count: 82077551]: > a.0_1 = a; > _27 = a.0_1 == 0

[Bug driver/77576] gcc-ar doesn't work if all options are read from file

2023-07-01 Thread costas.argyris at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77576 --- Comment #7 from Costas Argyris --- Implemented what Andrew said: "I suspect we should expand the @file and then put it in a temp file and do the correct thing." Attached patch here but also sending to gcc-patches ML.

[Bug middle-end/110228] [13/14 Regression] llvm-16 miscompiled due to an maybe uninitialized variable

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 --- Comment #22 from Andrew Pinski --- (In reply to Zhendong Su from comment #21) > Another very likely related reproducer. Yes: [local count: 82077551]: a.0_1 = a; _27 = a.0_1 == 0; _5 = (int) _27; _28 = _5 | i_14; pretmp_45 = b; .

[Bug driver/77576] gcc-ar doesn't work if all options are read from file

2023-07-01 Thread costas.argyris at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77576 Costas Argyris changed: What|Removed |Added CC||costas.argyris at gmail dot com --- Com

[Bug middle-end/110228] [13/14 Regression] llvm-16 miscompiled due to an maybe uninitialized variable

2023-07-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
compression algorithms: zlib gcc version 14.0.0 20230701 (experimental) [master r14-924-gd709841ae0f] (GCC) [629] % [629] % gcctk -O3 small.c [630] % for i in $(seq 1 10); do > echo $i > ./a.out > done 1 Floating point exception 2 Floating point exception 3 Floating point exception 4 Float

[Bug tree-optimization/110499] malloc branch predictor is broken

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

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

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

[Bug tree-optimization/110450] [14 Regression] Dead Code Elimination Regression at -O2 since r14-261-g0ef3756adf0

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

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2023-07-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2023-07-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #1 from Jonathan Wakely --- I think this is the correct behaviour according to the standard. We have other bug reports about C++20 iterators used with STL algos and containers, which again, are working as required by the standard.

[Bug d/110514] New: d: accesses immutable arrays using constant index still bounds checked

2023-07-01 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110514 Bug ID: 110514 Summary: d: accesses immutable arrays using constant index still bounds checked Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110513] Invalid use of incomplete type std::bool_constant inside requires expression

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110513 --- Comment #3 from Andrew Pinski --- The underlaying problem here is most likely the same issue as the one in PR 94332 .

[Bug c++/110513] Invalid use of incomplete type std::bool_constant inside requires expression

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110513 --- Comment #2 from Andrew Pinski --- Reduced slightly more: ``` template struct bool_const1 {}; struct B { bool b = true; }; // error in GCC static_assert( requires() { bool_const1{}; } ); ```

[Bug c++/110513] Invalid use of incomplete type std::bool_constant inside requires expression

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

[Bug c++/110513] New: Invalid use of incomplete type std::bool_constant inside requires expression

2023-07-01 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110513 Bug ID: 110513 Summary: Invalid use of incomplete type std::bool_constant inside requires expression Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity:

[Bug c++/110463] [13/14 Regression] Mutable subobject is usable in a constant expression

2023-07-01 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110463 --- Comment #5 from Fedor Chelnokov --- Thanks a lot for a very quick fix!

[Bug middle-end/110510] ggc infinite recursion

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

[Bug libstdc++/110512] New: C++20 random access iterators run sequentially with PSTL

2023-07-01 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 Bug ID: 110512 Summary: C++20 random access iterators run sequentially with PSTL Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Prio

[Bug middle-end/110510] ggc infinite recursion

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110510 --- Comment #2 from Andrew Pinski --- >+struct GTY((chain_next(%h.next_lp))) eh_landing_pad_d Should have been: +struct GTY((chain_next("%h.next_lp"))) eh_landing_pad_d

[Bug middle-end/110510] ggc infinite recursion

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110510 --- Comment #1 from Andrew Pinski --- It does not look like an infinite recursion but rather the chain of eh_landing_pad_d is not mentioned to the GC so it does not do an inline-tail call. This might fix the issue: diff --git a/gcc/except.h b/

[Bug tree-optimization/61502] == comparison on "one-past" pointer gives wrong result

2023-07-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502 --- Comment #47 from Eric Gallager --- (In reply to Andrew Pinski from comment #46) > Note this came up on twitter the other day: > https://twitter.com/rep_stosq_void/status/1461635511009828864 Wayback Machine link, since the original has been d

[Bug d/103944] [12/13/14 Regression] Testsuite hang due to libphobos/testsuite/libphobos.gc/forkgc2.d

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103944 --- Comment #13 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:fca6d9c12f5bf06469cf9f7db8c42f66ef792fd2 commit r14-2233-gfca6d9c12f5bf06469cf9f7db8c42f66ef792fd2 Author: Iain Sandoe Date: Su

[Bug d/110471] d: Don't generate code that throws exceptions when compiling with `-fno-exceptions'

2023-07-01 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110471 ibuclaw at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug d/110471] d: Don't generate code that throws exceptions when compiling with `-fno-exceptions'

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110471 --- Comment #2 from CVS Commits --- The releases/gcc-13 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:6e7909191ada316a426739eab88139d63194e05a commit r13-7518-g6e7909191ada316a426739eab88139d63194e05a Author: Iain Buclaw Date

[Bug d/110471] d: Don't generate code that throws exceptions when compiling with `-fno-exceptions'

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110471 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:da108c75ad386b3f1f47abb2265296e4b61d578a commit r14-2232-gda108c75ad386b3f1f47abb2265296e4b61d578a Author: Iain Buclaw Date: Sat J

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467 --- Comment #5 from Marek Polacek --- (In reply to Eric Botcazou from comment #4) > > You were CC'd here: > > , FWIW. > > I totally missed it, sorry about that. :-( No problem, so

[Bug d/110511] d: internal compiler error: in setValue, at d/dmd/dinterpret.c:7013

2023-07-01 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110511 ibuclaw at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|AS

[Bug libstdc++/110432] macOS: Segmentation fault when using stdlibc++ from gcc 13.1 in combination with clang-16

2023-07-01 Thread sascha.scandella at dentsplysirona dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110432 --- Comment #15 from Sascha Scandella --- For Darwin and GCC 13.1 I've openend a PR with the band-aid fix as proposed by Jonathan. https://github.com/Homebrew/homebrew-core/pull/135530

[Bug d/110511] d: internal compiler error: in setValue, at d/dmd/dinterpret.c:7013

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110511 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:a44fb702058974cc7592e8f8a81260f6ab35bece commit r10-11485-ga44fb702058974cc7592e8f8a81260f6ab35bece Author: Iain Buclaw Dat

[Bug d/110511] d: internal compiler error: in setValue, at d/dmd/dinterpret.c:7013

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110511 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:066385c918485d4cef5c243d3b0691193df382de commit r11-10888-g066385c918485d4cef5c243d3b0691193df382de Author: Iain Buclaw Dat

[Bug d/110511] d: internal compiler error: in setValue, at d/dmd/dinterpret.c:7013

2023-07-01 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110511 ibuclaw at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed

[Bug d/110511] New: d: internal compiler error: in setValue, at d/dmd/dinterpret.c:7013

2023-07-01 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110511 Bug ID: 110511 Summary: d: internal compiler error: in setValue, at d/dmd/dinterpret.c:7013 Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/25623] jump threading/cfg cleanup messes up "incoming counts" for some BBs

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25623 --- Comment #11 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:ee4d85b3a8b76328df6bccc1026d62dff5f827ce commit r14-2231-gee4d85b3a8b76328df6bccc1026d62dff5f827ce Author: Jan Hubicka Date: Sat J

[Bug middle-end/110510] New: ggc infinite recursion

2023-07-01 Thread franckbehaghel_gcc at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110510 Bug ID: 110510 Summary: ggc infinite recursion Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assi

[Bug tree-optimization/25623] jump threading/cfg cleanup messes up "incoming counts" for some BBs

2023-07-01 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25623 --- Comment #10 from Jan Hubicka --- testcase from Comment #1 is wontfix (there is really not much to do at the threading time since profile was not estimated realistically). Original fortran testcase now works (after fix g:7e904d6c7f252ee947c23

[Bug middle-end/52070] missing integer comparison optimization

2023-07-01 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52070 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug tree-optimization/110506] [14 Regression] Ice: tree check: expected none of vector_type, have vector_type in get_value_for_expr, at tree-ssa-ccp.cc:686

2023-07-01 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110506 --- Comment #4 from David Binderman --- This C code might be related: typedef unsigned uint32_t; typedef uint32_t uint32x4 __attribute__((vector_size(16))); typedef struct { uint32x4 b, d } prng_t; prng_t prng_rand_128_r_x; main_flags; main()

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-07-01 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #44 from Jürgen Reuter --- (In reply to anlauf from comment #43) > Mabye the fprem issue was a red herring from the beginning, pointing to a > problem in a different place. > > I recompiled each module in a loop with -O0 until the F

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-07-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #43 from anlauf at gcc dot gnu.org --- Mabye the fprem issue was a red herring from the beginning, pointing to a problem in a different place. I recompiled each module in a loop with -O0 until the FPE went away. instances_sub.f90 se

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #12 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:02460c0b8c9000359a09440f9532664a7835f158 commit r14-2228-g02460c0b8c9000359a09440f9532664a7835f158 Author: Jan Hubicka Date: Sat