[Bug target/104698] New: Inefficient code for DI to TI sign extend on power10

2022-02-25 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104698 Bug ID: 104698 Summary: Inefficient code for DI to TI sign extend on power10 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug bootstrap/42756] Build fails if gold is used as linker and some libraries reside is /usr/local/lib

2022-02-25 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42756 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c/18180] move special handling out functions into attributes

2022-02-25 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18180 Eric Gallager changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/104697] New: Memory leak with ALLOCATABLE COMPONENTS and SOURCE= expression and POINTER

2022-02-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104697 Bug ID: 104697 Summary: Memory leak with ALLOCATABLE COMPONENTS and SOURCE= expression and POINTER Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wro

[Bug fortran/104696] New: [12 Regression][OpenMP] Implicit mapping breaks struct mapping

2022-02-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104696 Bug ID: 104696 Summary: [12 Regression][OpenMP] Implicit mapping breaks struct mapping Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: openmp, wrong-c

[Bug target/103302] wrong code with -fharden-compares

2022-02-25 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103302 --- Comment #16 from Alexandre Oliva --- Created attachment 52518 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52518&action=edit Candidate patch The problem is in undo_optional_reloads. Here's a fix I'm testing.

[Bug target/100085] Bad code for union transfer from __float128 to vector types

2022-02-25 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100085 --- Comment #22 from Segher Boessenkool --- Well, we do not do anything AT here; but the patch is not on the GCC 11 branch either. Xiong Hu, does it backport there cleanly?

[Bug tree-optimization/104675] [9/10/11 Regression] ICE: in expand_expr_real_2, at expr.cc:9773 at -O with __real__ + __imag__ extraction

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104675 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11 Regression] ICE:

[Bug fortran/104350] ICE in gfc_array_dimen_size(): Bad dimension

2022-02-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104350 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/104675] [9/10/11/12 Regression] ICE: in expand_expr_real_2, at expr.cc:9773 at -O with __real__ + __imag__ extraction

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104675 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f62115c9b770a66c5378f78a2d5866243d560573 commit r12-7394-gf62115c9b770a66c5378f78a2d5866243d560573 Author: Jakub Jelinek Date: F

[Bug libquadmath/104695] different bit patterns in __builtin_nans and libquadmath::nanq

2022-02-25 Thread g.peterhoff--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104695 --- Comment #2 from g.peterh...@t-online.de --- Yes, that is very vaguely worded. However, the std functions or builtins must always return the same values on the same platform. quiet nan: libquadmath::nanq != __builtin_nanf128 signaling nan: __b

[Bug libquadmath/104695] different bit patterns in __builtin_nans and libquadmath::nanq

2022-02-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104695 Andrew Pinski changed: What|Removed |Added Component|c++ |libquadmath --- Comment #1 from Andrew

[Bug c++/104695] New: different bit patterns in __builtin_nans and libquadmath::nanq

2022-02-25 Thread g.peterhoff--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104695 Bug ID: 104695 Summary: different bit patterns in __builtin_nans and libquadmath::nanq Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/104618] [12 Regression] trunk 20220221 on x86_64-linux-gnu ICEs building sh.cc for sh4-linux-gnu (in build_call_a, at cp/call.cc:381)

2022-02-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104618 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug testsuite/104694] New test case g++.dg/pr104540.C has excess errors

2022-02-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104694 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug testsuite/104694] New: New test case g++.dg/pr104540.C has excess errors

2022-02-25 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104694 Bug ID: 104694 Summary: New test case g++.dg/pr104540.C has excess errors Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug middle-end/104692] Constant data at fixed address

2022-02-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104692 Martin Sebor changed: What|Removed |Added Last reconfirmed||2022-02-25 Ever confirmed|0

[Bug middle-end/104692] Constant data at fixed address

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

[Bug target/104681] [9/10/11 Regression] ppc64le -mabi=ieeelongdouble ICE since r9-6460

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104681 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Summary|[9/10/11/12 Regres

[Bug target/104681] [9/10/11/12 Regression] ppc64le -mabi=ieeelongdouble ICE since r9-6460

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104681 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3885a122f817a1b6dca4a84ba9e020d5ab2060af commit r12-7393-g3885a122f817a1b6dca4a84ba9e020d5ab2060af Author: Jakub Jelinek Date: F

[Bug c/104693] Can't disable "comparison between pointer and integer"

2022-02-25 Thread charles.nicholson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104693 --- Comment #1 from Charles Nicholson --- Oh, also, this warning appears to go all the way back to gcc 4.1.2, the earliest that godbolt still supports.

[Bug c/104693] New: Can't disable "comparison between pointer and integer"

2022-02-25 Thread charles.nicholson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104693 Bug ID: 104693 Summary: Can't disable "comparison between pointer and integer" Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/104691] SFINAE does not disable static_assert

2022-02-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104691 --- Comment #5 from Jonathan Wakely --- N.B. this has nothing to do with SFINAE. The static_assert fails when the template is first parsed *not* when instantiated. You can verify this easily: template typename T::bar f(T) { static_assert(false,

[Bug c/104692] New: Constant data at fixed address

2022-02-25 Thread henrique.coser at tex dot com.br via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104692 Bug ID: 104692 Summary: Constant data at fixed address Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug c++/104691] SFINAE does not disable static_assert

2022-02-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104691 --- Comment #4 from Jonathan Wakely --- Reduced: template typename T::foo f(T) { } template typename T::bar f(T) { static_assert(false, ""); } struct X { using foo = void; }; int main() { X x; f(x); } All compilers reject this code. S

[Bug c++/104691] SFINAE does not disable static_assert

2022-02-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104691 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRME

[Bug target/104681] [9/10/11/12 Regression] ppc64le -mabi=ieeelongdouble ICE since r9-6460

2022-02-25 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104681 --- Comment #4 from Segher Boessenkool --- We also do the same in define_insn bodies, with a force_reg if needed. But we do indirect via rs6000_emit_move elsewhere, so let's do that here as well; it isn't a great idea, but consistency wins, cer

[Bug c++/104691] SFINAE does not disable static_assert

2022-02-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104691 --- Comment #2 from Andrew Pinski --- The unincluded source: #include #include #include template std::enable_if_t MakeFilled(const typename std::remove_reference::type & value) { TContainer result{}; std::fill(result.begin(), result.end

[Bug target/104637] [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) with -Og -fno-forward-propagate -mavx since r9-5221-gd8fcab689435a29d

2022-02-25 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104637 --- Comment #3 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #2) > If I change the testcase to following (so that it doesn't rely on > __builtin_convertvector), it started ICEing with > r0-122162-gb7aa4e9afcd3da4f09d6f982a663

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel CPUs with AVX

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #5 from Jakub Jelinek --- Of course, if AMD confirms the same, we could just revert the __libat_feat1_init change.

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel CPUs with AVX

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #4 from Jakub Jelinek --- Created attachment 52517 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52517&action=edit gcc12-pr104688.patch Untested patch to handle it so far on the libatomic side only. Not sure about what exactl

[Bug sanitizer/104690] UBSan does not detect undefined behavior on function without a specified return value

2022-02-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104690 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug sanitizer/104690] UBSan does not detect undefined behavior on function without a specified return value

2022-02-25 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104690 --- Comment #2 from Vincent Lefèvre --- (In reply to Jakub Jelinek from comment #1) > It requires that the callee tells the caller that it reached end of non-void > function without return and the callee checks if the value is actually used > th

[Bug c++/104691] SFINAE does not disable static_assert

2022-02-25 Thread github at quantconsulting dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104691 --- Comment #1 from Leengit --- Closely related bug: although not demonstrated in the supplied code, note that compilation should complete successfully even if the static_assert fails to compile because its first argument is not `constexpr` give

[Bug c++/104691] New: SFINAE does not disable static_assert

2022-02-25 Thread github at quantconsulting dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104691 Bug ID: 104691 Summary: SFINAE does not disable static_assert Product: gcc Version: og10 (devel/omp/gcc-10) Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug c/93432] variable is used uninitialized, but gcc shows no warning

2022-02-25 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93432 Vincent Lefèvre changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net --- Comm

[Bug target/104681] [9/10/11/12 Regression] ppc64le -mabi=ieeelongdouble ICE since r9-6460

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104681 --- Comment #3 from Jakub Jelinek --- No. /* The movmisalign pattern cannot fail, else the assignment would silently be omitted. */

[Bug target/104681] [9/10/11/12 Regression] ppc64le -mabi=ieeelongdouble ICE since r9-6460

2022-02-25 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104681 --- Comment #2 from Segher Boessenkool --- Could you just change the insn condition to test if at least one of the operands is a reg?

[Bug target/100085] Bad code for union transfer from __float128 to vector types

2022-02-25 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100085 --- Comment #21 from Steven Munroe --- Yes I was told by Peter Bergner that the fix from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100085#c15 had been back ported top AT15.0-1. But when ran this test with AT15.0-1 I saw: :

[Bug target/101908] [12 regression] cray regression with -O2 -ftree-slp-vectorize compared to -O2

2022-02-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101908 --- Comment #25 from H.J. Lu --- (In reply to cuilili from comment #24) > (In reply to cuilili from comment #23) > > (In reply to Richard Biener from comment #17) > > > I do wonder though how CLX is fine with such access pattern ;) (did you >

[Bug sanitizer/104690] UBSan does not detect undefined behavior on function without a specified return value

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104690 --- Comment #1 from Jakub Jelinek --- Unlike C++ where ubsan does detect it because the language makes it easy to do so, I really don't see how ubsan could detect this. It requires that the callee tells the caller that it reached end of non-void

[Bug sanitizer/104690] New: UBSan does not detect undefined behavior on function without a specified return value

2022-02-25 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104690 Bug ID: 104690 Summary: UBSan does not detect undefined behavior on function without a specified return value Product: gcc Version: 12.0 Status: UNCONFIRMED Se

[Bug target/104689] New: aarch64: libgcc: DW_CFA_val_expression is not supported for RA_SIGN_SATE register

2022-02-25 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104689 Bug ID: 104689 Summary: aarch64: libgcc: DW_CFA_val_expression is not supported for RA_SIGN_SATE register Product: gcc Version: 10.1.0 Status: UNCONFIRMED Seve

[Bug target/104144] [12 Regression] build fails due to: Error: unknown architecture `armv9-a'

2022-02-25 Thread przemyslaw.wirkus at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104144 --- Comment #8 from Przemyslaw Wirkus --- > Subject: [Bug target/104144] [12 Regression] build fails due to: Error: > unknown > architecture `armv9-a' > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104144 > > --- Comment #7 from Martin Liška

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #14 from Jonathan Wakely --- (In reply to Florian Weimer from comment #11) > Clang does not appear to treat this pragma as a statement. Is this also the > MSVC behavior? Yes, I think so. I'll check that my patch is consistent.

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #13 from Jonathan Wakely --- (In reply to rsand...@gcc.gnu.org from comment #12) > Jeff said at the end of the thread that he wouldn't mind > if someone else approves it, so it's probably worth posting > again. OK, will do. I think

[Bug target/104683] -march=haswell generates invalid instructions on Celeron Haswell CPUs

2022-02-25 Thread pc-gcc22 at crowcastle dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104683 --- Comment #4 from Preston Crow --- I can see how it's documented, but many people reading that won't realize that the instruction sets don't match all Haswell chips. Simply adding a line below that to say "Note: Some lower-end Haswell process

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel CPUs with AVX

2022-02-25 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #3 from Florian Weimer --- I feel we should give AMD some time to comment here. If they can commit supporting it like Intel did, that alters the design space somewhat.

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel CPUs with AVX

2022-02-25 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 Xi Ruoyao changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel CPUs with AVX

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug target/104688] New: gcc and libatomic can use SSE for 128-bit atomic loads on Intel CPUs with AVX

2022-02-25 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 Bug ID: 104688 Summary: gcc and libatomic can use SSE for 128-bit atomic loads on Intel CPUs with AVX Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug testsuite/104687] gcc.dg/lto/20090717_[01].c is an invalid execution test

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

[Bug testsuite/104687] gcc.dg/lto/20090717_[01].c is an invalid execution test

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104687 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:219a8826cd5d7ee91165491034795b8876811817 commit r12-7391-g219a8826cd5d7ee91165491034795b8876811817 Author: Martin Liska Date: Fri

[Bug testsuite/104687] gcc.dg/lto/20090717_[01].c is an invalid execution test

2022-02-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104687 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug testsuite/104687] New: gcc.dg/lto/20090717_[01].c is an invalid execution test

2022-02-25 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104687 Bug ID: 104687 Summary: gcc.dg/lto/20090717_[01].c is an invalid execution test Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prior

[Bug target/104637] [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) with -Og -fno-forward-propagate -mavx since r9-5221-gd8fcab689435a29d

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104637 --- Comment #2 from Jakub Jelinek --- If I change the testcase to following (so that it doesn't rely on __builtin_convertvector), it started ICEing with r0-122162-gb7aa4e9afcd3da4f09d6f982a663ea2094b1f2cf typedef short __attribute__((__vector_si

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 --- Comment #10 from Richard Biener --- diff --git a/gcc/ira-int.h b/gcc/ira-int.h index 957604b22e9..7465af72e98 100644 --- a/gcc/ira-int.h +++ b/gcc/ira-int.h @@ -1379,8 +1379,9 @@ ira_object_conflict_iter_cond (ira_object_conflict_iterator *i

[Bug target/104637] [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) with -Og -fno-forward-propagate -mavx since r9-5221-gd8fcab689435a29d

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104637 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |9.5 CC|

[Bug target/104144] [12 Regression] build fails due to: Error: unknown architecture `armv9-a'

2022-02-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104144 --- Comment #7 from Martin Liška --- (In reply to Przemyslaw Wirkus from comment #6) > Yes, I will update docs, cheers! Any update on this, please?

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-25 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 Richard Biener changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Commen

[Bug fortran/104684] [9/10/11/12 Regression] ICE: 'verify_gimple' failed (Error: non-trivial conversion in 'component_ref') since r7-5771-gde91486c745d5ff6

2022-02-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104684 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 Martin Liška changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #8

[Bug libbacktrace/104463] Split debug info not loaded from .debug/ if .gnu_debuglink points to binary itself

2022-02-25 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104463 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 --- Comment #7 from Martin Liška --- (In reply to Richard Biener from comment #6) > Both revisions affect vectorizer cost modeling only. With > -fno-vect-cost-model it compiles faster for me but still a slow 30s and 91% > in RA. There are numb

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 --- Comment #6 from Richard Biener --- Both revisions affect vectorizer cost modeling only. With -fno-vect-cost-model it compiles faster for me but still a slow 30s and 91% in RA.

[Bug gcov-profile/104685] multiple common of `__gcov_var'

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104685 --- Comment #2 from Richard Biener --- Using link-time optimization is a more reliable way of detecting real errors here btw: rguenther@ryzen:/tmp> cat t1.c int i; rguenther@ryzen:/tmp> cat t2.c float i; int main() { return i; } rguenther@ry

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 --- Comment #5 from Martin Liška --- Created attachment 52515 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52515&action=edit Partially reduced test-case For the test-case I get: Bisecting latest revisions a9e2ebe839d56416(24 Feb 2022

[Bug gcov-profile/104685] multiple common of `__gcov_var'

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104685 --- Comment #1 from Richard Biener --- I suppose your setup will warn for t.c --- int i; t2.c --- int i; as well. -Wl,--warn-common isn't something I'd recommend, esp. the 'multiple common of ' kind is prone to false positives. It does catc

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 --- Comment #4 from Martin Liška --- > > 2) r12-7319-g90d693bdc9d71841 to 57s

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/103037] [11 Regression] Wrong code with -O2 since r11-6100-gd41b097350d3c5d0

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103037 Richard Biener changed: What|Removed |Added Summary|[11/12 Regression] Wrong|[11 Regression] Wrong code

[Bug tree-optimization/103037] [11/12 Regression] Wrong code with -O2 since r11-6100-gd41b097350d3c5d0

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103037 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e25dce501334053239dcc433e4c46ecbddbcb13e commit r12-7389-ge25dce501334053239dcc433e4c46ecbddbcb13e Author: Richard Biener Date:

[Bug tree-optimization/102819] [11 Regression] IFN_COMPLEX_MUL matches things that it shouldn't

2022-02-25 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102819 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 Richard Biener changed: What|Removed |Added Keywords||ra --- Comment #2 from Richard Biener

[Bug tree-optimization/102819] [11 Regression] IFN_COMPLEX_MUL matches things that it shouldn't

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102819 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:7d713d56ec32b8c7101066619b4852b797955e24 commit r11-9623-g7d713d56ec32b8c7101066619b4852b797955e24 Author: Tamar Christi

[Bug tree-optimization/103169] [12 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:7d713d56ec32b8c7101066619b4852b797955e24 commit r11-9623-g7d713d56ec32b8c7101066619b4852b797955e24 Author: Tamar Christ

[Bug tree-optimization/103169] [12 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:6bb338eab3debf7742b1455146dd556b3ce3737c commit r11-9622-g6bb338eab3debf7742b1455146dd556b3ce3737c Author: Tamar Christi

[Bug tree-optimization/102819] [11 Regression] IFN_COMPLEX_MUL matches things that it shouldn't

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102819 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:6bb338eab3debf7742b1455146dd556b3ce3737c commit r11-9622-g6bb338eab3debf7742b1455146dd556b3ce3737c Author: Tamar Christi

[Bug tree-optimization/103169] [12 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:876e7c7f0fe47bae7c1922e2683ccb5e6e3ec9fe commit r11-9621-g876e7c7f0fe47bae7c1922e2683ccb5e6e3ec9fe Author: Tamar Christi

[Bug tree-optimization/102819] [11 Regression] IFN_COMPLEX_MUL matches things that it shouldn't

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102819 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:876e7c7f0fe47bae7c1922e2683ccb5e6e3ec9fe commit r11-9621-g876e7c7f0fe47bae7c1922e2683ccb5e6e3ec9fe Author: Tamar Christi

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 --- Comment #1 from Richard Biener --- Created attachment 52514 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52514&action=edit preprocessed source

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Target Milestone|---

[Bug target/104686] New: [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 Bug ID: 104686 Summary: [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug gcov-profile/104685] New: multiple common of `__gcov_var'

2022-02-25 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104685 Bug ID: 104685 Summary: multiple common of `__gcov_var' Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile

[Bug target/104681] [9/10/11/12 Regression] ppc64le -mabi=ieeelongdouble ICE since r9-6460

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104681 --- Comment #1 from Jakub Jelinek --- Created attachment 52513 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52513&action=edit gcc12-pr104681.patch Patch I'm testing right now.

[Bug target/104674] [11 Regression] i686 sse2: The two results of __divmoddi4 are mixed up

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104674 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 Regression] i686 |[11 Regression] i686 sse2:

[Bug fortran/104684] New: ICE: 'verify_gimple' failed (Error: non-trivial conversion in 'component_ref')

2022-02-25 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104684 Bug ID: 104684 Summary: ICE: 'verify_gimple' failed (Error: non-trivial conversion in 'component_ref') Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug target/104674] [11/12 Regression] i686 sse2: The two results of __divmoddi4 are mixed up

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104674 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:eabf7bbe601f2c0d87bd0a1012d7a602df2037da commit r12-7388-geabf7bbe601f2c0d87bd0a1012d7a602df2037da Author: Jakub Jelinek Date: F

[Bug tree-optimization/104675] [9/10/11/12 Regression] ICE: in expand_expr_real_2, at expr.cc:9773 at -O with __real__ + __imag__ extraction

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104675 --- Comment #8 from Jakub Jelinek --- Created attachment 52512 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52512&action=edit gcc12-pr104675-2.patch Untested fix for the issue Marc mentioned above. In theory we could handle also integra

[Bug target/104683] -march=haswell generates invalid instructions on Celeron Haswell CPUs

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104683 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug target/104683] -march=haswell generates invalid instructions on Celeron Haswell CPUs

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104683 --- Comment #2 from Richard Biener --- Same for -march=broadwell and -march=skylake (G3900) btw (just browsing Intel Ark database). Can't figure what's the "celeron/pentium" successor to the skylake family is to check if even newer SKUs are aff

[Bug middle-end/104679] [12 Regression] ICE in connect_traces, at dwarf2cfi.c:3071 since r12-6637-g463d9108766dcbb6

2022-02-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104679 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/104679] [12 Regression] ICE in connect_traces, at dwarf2cfi.c:3071 since r12-6637-g463d9108766dcbb6

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104679 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:526fbcfa636fb7e544c1ad69101dbccecbee8b28 commit r12-7386-g526fbcfa636fb7e544c1ad69101dbccecbee8b28 Author: Jakub Jelinek Date: F

[Bug tree-optimization/104675] [9/10/11/12 Regression] ICE: in expand_expr_real_2, at expr.cc:9773 at -O with __real__ + __imag__ extraction

2022-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104675 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:758671b88b78d7629376b118ec6ca6bcfbabbd36 commit r12-7385-g758671b88b78d7629376b118ec6ca6bcfbabbd36 Author: Jakub Jelinek Date: F

[Bug libstdc++/68350] std::uninitialized_copy overly restrictive for trivially_copyable types

2022-02-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68350 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/103196] [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c

2022-02-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103196 Kewen Lin changed: What|Removed |Added Last reconfirmed||2022-02-25 Status|UNCONFIRMED

[Bug target/101908] [12 regression] cray regression with -O2 -ftree-slp-vectorize compared to -O2

2022-02-25 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101908 --- Comment #24 from cuilili --- (In reply to cuilili from comment #23) > (In reply to Richard Biener from comment #17) > > I do wonder though how CLX is fine with such access pattern ;) (did you > > test > > with just -O2?) > Sorry, correct

[Bug bootstrap/84554] make check: FAIL: tversion: ERROR! The versions of gmp.h (5.0.5) and libgmp (4.3.1) do not match.

2022-02-25 Thread krishnanarayanan132002 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84554 --- Comment #9 from Krishna --- x86_64 GNU/Linux: I am doing this for the gcc-11.2.0 ../gcc-11.2.0/configure -v --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --prefix=/usr/local/gcc-11.2.0 --enable-checking=release --

[Bug target/104683] -march=haswell generates invalid instructions on Celeron Haswell CPUs

2022-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104683 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

  1   2   >