[Bug tree-optimization/102494] Failure to optimize vector reduction properly especially when using OpenMP

2021-09-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102494 --- Comment #7 from Hongtao.liu --- After supporting v4hi reduce, gimple seems not optimal to convert v8qi to v8hi. 6 vector(4) short int vect__21.36; 7 vector(4) unsigned short vect__2.31; 8 int16_t stmp_r_17.17; 9 vector(8) short int

[Bug fortran/102500] [12 regression] Missing include for gfortran.dg/include_15.f90 in r12-3722

2021-09-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102500 Thomas Schwinge changed: What|Removed |Added Last reconfirmed||2021-09-28 Ever confirmed|0

[Bug testsuite/102509] [12 regression] new test case gcc.c-torture/compile/attr-complex-method.c is unresolved after r12-3901

2021-09-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102509 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/102511] [12 Regression] GCC produces incorrect code for -O3: first element of the array is skipped after r12-3903

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102511 Andrew Pinski changed: What|Removed |Added CC||aldyh at gcc dot gnu.org Sum

[Bug tree-optimization/102511] [12 Regression] GCC produces incorrect code for -O3: first element of the array is skipped

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102511 --- Comment #4 from Andrew Pinski --- So the difference between -O2 and -O3 that matters here is -ftree-vectorize but it is not the vectorizer that is making the difference but rather ch_vect. But I can't figure out what is going wrong. Also ad

[Bug tree-optimization/102511] [12 Regression] GCC produces incorrect code for -O3: first element of the array is skipped

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102511 --- Comment #3 from Andrew Pinski --- Here is one which aborts and shows the issue: char arr_15 [8]; __attribute__((noipa)) void test(signed char a, unsigned short b, unsigned long long c, unsigned short f) { for (int d = b - 8; d <

[Bug tree-optimization/102511] [12 Regression] GCC produces incorrect code for -O3: first element of the array is skipped

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

[Bug tree-optimization/102511] [12 Regression] GCC produces incorrect code for -O3: first element of the array is skipped

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102511 Andrew Pinski changed: What|Removed |Added Summary|GCC produces incorrect code |[12 Regression] GCC |

[Bug tree-optimization/102511] New: GCC produces incorrect code for -O3: first element of the array is skipped

2021-09-27 Thread vsevolod.livinskij at frtk dot ru via Gcc-bugs
nfigure --enable-multilib --prefix=/testing/gcc/bin --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210927 (51018dd1395c72b3681ae5f84eceb94320472922) (GCC)

[Bug target/102473] [12 Regression] 521.wrf_r 5% slower at -Ofast and generic x86_64 tuning after r12-3426-g8f323c712ea76c

2021-09-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102473 --- Comment #15 from Hongtao.liu --- (In reply to H.J. Lu from comment #14) > (In reply to Hongtao.liu from comment #13) > > (In reply to H.J. Lu from comment #12) > > > Are glibc regressions real? Please show the affected glibc assembly codes >

[Bug target/102473] [12 Regression] 521.wrf_r 5% slower at -Ofast and generic x86_64 tuning after r12-3426-g8f323c712ea76c

2021-09-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102473 --- Comment #14 from H.J. Lu --- (In reply to Hongtao.liu from comment #13) > (In reply to H.J. Lu from comment #12) > > Are glibc regressions real? Please show the affected glibc assembly codes > > before and after. > > Assembly codes is the s

[Bug target/102473] [12 Regression] 521.wrf_r 5% slower at -Ofast and generic x86_64 tuning after r12-3426-g8f323c712ea76c

2021-09-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102473 --- Comment #13 from Hongtao.liu --- (In reply to H.J. Lu from comment #12) > Are glibc regressions real? Please show the affected glibc assembly codes > before and after. Assembly codes is the same, but DSB coverage drop down. before my commit

[Bug fortran/102510] New: Function call has unnecessary aliasing check

2021-09-27 Thread dwwork at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102510 Bug ID: 102510 Summary: Function call has unnecessary aliasing check Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: f

[Bug middle-end/48784] #pragma pack(1) + -fstrict-volatile-bitfields = bad codegen

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48784 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/102498] [9/10/11/12 Regression] Long double constant and non-default rounding mode on x86

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102498 --- Comment #6 from Andrew Pinski --- (In reply to Vincent Lefèvre from comment #5) > (In reply to Andrew Pinski from comment #4) > > A regression since GCC 3.2 (r0-47863-g881b2a9652748ad). > > Always reproducible with GCC 5. But with GCC 4.7 t

[Bug target/102498] [9/10/11/12 Regression] Long double constant and non-default rounding mode on x86

2021-09-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102498 --- Comment #5 from Vincent Lefèvre --- (In reply to Andrew Pinski from comment #4) > A regression since GCC 3.2 (r0-47863-g881b2a9652748ad). Always reproducible with GCC 5. But with GCC 4.7 to 4.9, it seems that one needs -O1 to get fldpi gene

[Bug target/59602] ARM, __attribute__((interrupt("FIQ"))) causes internal compiler error with -O0

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59602 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/25755] ICE in testsuite/gcc.c-torture/execute/20050316-1.c

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25755 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug libstdc++/102499] [12 Regression] Noexcept not matching for std::filesystem::path. Compilation fails for clang

2021-09-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102499 --- Comment #4 from cqwrteur --- (In reply to Jonathan Wakely from comment #3) > There are no tests using clang. okay. i will report if I still see any issues with clang after the patch.

[Bug libstdc++/102499] [12 Regression] Noexcept not matching for std::filesystem::path. Compilation fails for clang

2021-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102499 --- Comment #3 from Jonathan Wakely --- There are no tests using clang.

[Bug libstdc++/102499] [12 Regression] Noexcept not matching for std::filesystem::path. Compilation fails for clang

2021-09-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102499 --- Comment #2 from cqwrteur --- (In reply to cqwrteur from comment #1) > noexcept is missing for begin() end(). That leads to problem that breaks > clang. > > I manually modify the header file and it works. https://github.com/gcc-mirror/gcc/c

[Bug testsuite/102509] New: [12 regression] new test case gcc.c-torture/compile/attr-complex-method.c is unresolved after r12-3901

2021-09-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102509 Bug ID: 102509 Summary: [12 regression] new test case gcc.c-torture/compile/attr-complex-method.c is unresolved after r12-3901 Product: gcc Version: 12.0

[Bug other/97911] [11 regression] make install issue undefined reference to std::__throw_bad_array_new_length after r11-5142

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97911 --- Comment #11 from Andrew Pinski --- (In reply to Luke Dalessandro from comment #10) > I'm seeing this wtih gcc-11.2 on an x86_64-pc-linux-gnu system (RHEL 8.4) > installed using spack. What is the right way for me to find out if this is > an a

[Bug other/97911] [11 regression] make install issue undefined reference to std::__throw_bad_array_new_length after r11-5142

2021-09-27 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97911 Luke Dalessandro changed: What|Removed |Added CC||ldalessandro at gmail dot com --- Com

[Bug target/102498] [9/10/11/12 Regression] Long double constant and non-default rounding mode on x86

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102498 Andrew Pinski changed: What|Removed |Added Known to work||3.2 Summary|Long double cons

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-27 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 Paul Clarke changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/101051] [10/11/12 Regression] ICE in splice_late_return_type with trailing return type on a conversion operator, caused by r10-6571

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101051 --- Comment #5 from Andrew Pinski --- Here are the testcases all together: template class Foo { constexpr operator T() -> T {} }; struct S { operator int() const -> double; }; class A { operator auto*() -> int; };

[Bug c++/101051] [10/11/12 Regression] ICE in splice_late_return_type with trailing return type on a conversion operator, caused by r10-6571

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101051 Andrew Pinski changed: What|Removed |Added CC||gs...@t-online.de --- Comment #4 from A

[Bug c++/102506] [10/11/12 Regression] ICE in splice_late_return_type, at cp/pt.c:29946

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102506 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/101051] [10/11/12 Regression] ICE in splice_late_return_type with trailing return type on a conversion operator, caused by r10-6571

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101051 Andrew Pinski changed: What|Removed |Added CC||aaron at aaronballman dot com --- Comme

[Bug c++/101209] [10/11/12 Regression] ICE with trailing return type on a conversion operator

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101209 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/102506] [10/11/12 Regression] ICE in splice_late_return_type, at cp/pt.c:29946

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102506 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4

[Bug c++/101209] [10/11/12 Regression] ICE with trailing return type on a conversion operator

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101209 Andrew Pinski changed: What|Removed |Added Target Milestone|9.5 |10.4

[Bug d/102428] d: Set TREE_NOTHROW for nothrow functions and library calls

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102428 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug tree-optimization/102505] [10/11/12 Regression] ICE in verify_sra_access_forest, at tree-sra.c:2368

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102505 Andrew Pinski changed: What|Removed |Added CC||jamborm at gcc dot gnu.org Last recon

[Bug c++/102508] New: ICE on coroutine when awaiting inside a statement expression (in transform_local_var_uses, at cp/coroutines.cc:2102)

2021-09-27 Thread delleyves at gmx dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102508 Bug ID: 102508 Summary: ICE on coroutine when awaiting inside a statement expression (in transform_local_var_uses, at cp/coroutines.cc:2102) Product: gcc Version

[Bug tree-optimization/102466] -O3 -fsanitize=undefined causes warnings (writing 2 bytes into a region of size 0)

2021-09-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102466 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 --- Comment #12 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #9) A tentative patch which fixes the remaining issue is posted here: https://gcc.gnu.org/pipermail/fortran/2021-September/056584.html in the hope to learn more

[Bug libstdc++/102499] [12 Regression] Noexcept not matching for std::filesystem::path. Compilation fails for clang

2021-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102499 Jonathan Wakely changed: What|Removed |Added Known to work||11.2.1 Target Milestone|---

[Bug c++/98935] [coroutines] co_await on statement expressions causes ICE

2021-09-27 Thread delleyves at gmx dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98935 --- Comment #1 from Yves Delley --- The provided fail-case seems to compile fine on godbolt.org 10.2, but started to ICE with 10.3, as well as 11.1 and 11.2.

[Bug libstdc++/102499] Noexcept not matching for std::filesystem::path. Compilation fails for clang

2021-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102499 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug debug/102507] ICE in btf_finalize when compiling with -gbtf

2021-09-27 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102507 Indu Bhagat changed: What|Removed |Added Last reconfirmed||2021-09-27 Assignee|unassigned

[Bug c/102502] C11: _Static_assert disallows const int operand in -O0 while allows it in higher -O

2021-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102502 --- Comment #5 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #4) > (In reply to Jakub Jelinek from comment #2) > > Why do you think it is a bug? > > Because there were other bugs which were fixed where there was an > inconsiste

[Bug debug/102507] New: ICE in btf_finalize when compiling with -gbtf

2021-09-27 Thread ibhagatgnu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102507 Bug ID: 102507 Summary: ICE in btf_finalize when compiling with -gbtf Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: de

[Bug c/102504] [12 Regression] ICE in build_outer_var_ref, at omp-low.c:746

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102504 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c/102502] C11: _Static_assert disallows const int operand in -O0 while allows it in higher -O

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102502 --- Comment #4 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #2) > Why do you think it is a bug? Because there were other bugs which were fixed where there was an inconsistency, PR 66618, and PR 71983 for an example. There are

[Bug c/68764] C frontend does not fold away trivial expressions that refer to const variables

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68764 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c/69960] "initializer element is not constant"

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/102479] segfault when deducing class template arguments for tuple with libc++-14

2021-09-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102479 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:51018dd1395c72b3681ae5f84eceb94320472922 commit r12-3906-g51018dd1395c72b3681ae5f84eceb94320472922 Author: Patrick Palka Date: M

[Bug c++/102506] New: [10/11/12 Regression] ICE in splice_late_return_type, at cp/pt.c:29946

2021-09-27 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102506 Bug ID: 102506 Summary: [10/11/12 Regression] ICE in splice_late_return_type, at cp/pt.c:29946 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/102502] C11: _Static_assert disallows const int operand in -O0 while allows it in higher -O

2021-09-27 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102502 --- Comment #3 from Fangrui Song --- OK, Andrew asked me to file it :) I just wanted to fix glibc and run away from the GCC inconsistency. I know that https://www.iso-9899.info/n1570.html#6.6 p10 says "An implementation may accept other forms o

[Bug c/102504] [12 Regression] ICE in build_outer_var_ref, at omp-low.c:746

2021-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102504 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c/102505] [10/11/12 Regression] ICE in verify_sra_access_forest, at tree-sra.c:2368

2021-09-27 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102505 --- Comment #1 from G. Steinmetz --- $ cat z2.cc struct A { A(): i(42) { } int i; int f() { return i; } }; struct D : A { long double pad; }; struct B : virtual D { int j = i + f(); int k = A::i + A::f(); }; struct C: B { int pad;

[Bug c/102505] New: [10/11/12 Regression] ICE in verify_sra_access_forest, at tree-sra.c:2368

2021-09-27 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102505 Bug ID: 102505 Summary: [10/11/12 Regression] ICE in verify_sra_access_forest, at tree-sra.c:2368 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug c/102504] New: [12 Regression] ICE in build_outer_var_ref, at omp-low.c:746

2021-09-27 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102504 Bug ID: 102504 Summary: [12 Regression] ICE in build_outer_var_ref, at omp-low.c:746 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102503] New: ICE in gfc_conv_array_bound, at fortran/trans-types.c:1224

2021-09-27 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102503 Bug ID: 102503 Summary: ICE in gfc_conv_array_bound, at fortran/trans-types.c:1224 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/102454] ICE in gimplify_var_or_parm_decl, at gimplify.c:2958

2021-09-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102454 --- Comment #3 from Iain Sandoe --- https://gcc.gnu.org/pipermail/gcc-patches/2021-September/580328.html

[Bug c++/99909] The value of 'std::is_integral_v' is not usable in a constant expression

2021-09-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99909 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug testsuite/101269] [12 Regression] new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852

2021-09-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101269 seurer at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug debug/101283] Several tests fail on Darwin with -gctf/gbtf

2021-09-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101283 --- Comment #21 from Iain Sandoe --- (In reply to Indu Bhagat from comment #20) > Commit https://gcc.gnu.org/g:f007a638a86e4b59bef0a0d8efa5bb8c5e5b200a added > support for targets to opt out of CTF/BTF support. I think that from the Darwin pers

[Bug debug/101283] Several tests fail on Darwin with -gctf/gbtf

2021-09-27 Thread ibhagatgnu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101283 --- Comment #20 from Indu Bhagat --- Commit https://gcc.gnu.org/g:f007a638a86e4b59bef0a0d8efa5bb8c5e5b200a added support for targets to opt out of CTF/BTF support.

[Bug c/102502] C11: _Static_assert disallows const int operand in -O0 while allows it in higher -O

2021-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102502 --- Comment #2 from Jakub Jelinek --- Why do you think it is a bug? This is not valid C11 code, and as an extension gcc when optimizations enabled in some cases will accept in constant expressions even something that it doesn't have to. With -pe

[Bug c++/86689] [9/10/11/12 Regression] Some combination of SFINAE, overloading, and type deduction showing version inconsistency

2021-09-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86689 Patrick Palka changed: What|Removed |Added Summary|Some combination of SFINAE, |[9/10/11/12 Regression]

[Bug testsuite/101269] [12 Regression] new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852

2021-09-27 Thread ibhagatgnu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101269 Indu Bhagat changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment #3

[Bug c/102502] C11: _Static_assert disallows const int operand in -O0 while allows it in higher -O

2021-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102502 --- Comment #1 from Andrew Pinski --- Can you attach the preprocessed source?

[Bug c++/102454] ICE in gimplify_var_or_parm_decl, at gimplify.c:2958

2021-09-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102454 Iain Sandoe changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |iains at gcc dot gnu.org --- Comme

[Bug c/102502] New: C11: _Static_assert disallows const int operand in -O0 while allows it in higher -O

2021-09-27 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102502 Bug ID: 102502 Summary: C11: _Static_assert disallows const int operand in -O0 while allows it in higher -O Product: gcc Version: 11.0 Status: UNCONFIRMED Seve

[Bug target/100340] Bootstrap fails with Clang 12.0.5 (XCode 12.5)

2021-09-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340 --- Comment #25 from Iain Sandoe --- (In reply to Matt Thompson from comment #24) > (In reply to Iain Sandoe from comment #23) > > so fixed on master, but needed on the open branches - so leaving the PR open > > for now. > > Iain, a query: Is t

[Bug other/102501] New: [12 regression] several test case failures after r12-3876

2021-09-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102501 Bug ID: 102501 Summary: [12 regression] several test case failures after r12-3876 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug target/100340] Bootstrap fails with Clang 12.0.5 (XCode 12.5)

2021-09-27 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340 --- Comment #24 from Matt Thompson --- (In reply to Iain Sandoe from comment #23) > so fixed on master, but needed on the open branches - so leaving the PR open > for now. Iain, a query: Is the `--without-build-config` flag still needed for XCo

[Bug c++/32562] -Wunused/-Wunused-function doesn't warn about static function only called by itself (recursive)

2021-09-27 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32562 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug target/102498] wrong output of printf with long double constant (pi) and non-default rounding mode

2021-09-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102498 --- Comment #3 from Vincent Lefèvre --- (In reply to Jakub Jelinek from comment #2) > Created attachment 51512 [details] > gcc12-pr102498.patch I could test that this fixes the issue on my testcase at Comment 1.

[Bug fortran/102500] New: [12 regression] Missing include for gfortran.dg/include_15.f90 in r12-3722

2021-09-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102500 Bug ID: 102500 Summary: [12 regression] Missing include for gfortran.dg/include_15.f90 in r12-3722 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: nor

[Bug libstdc++/102499] Noexcept not matching fgor std::filesystem::path. Compilation fails for clang

2021-09-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102499 --- Comment #1 from cqwrteur --- noexcept is missing for begin() end(). That leads to problem that breaks clang. I manually modify the header file and it works.

[Bug libstdc++/102499] New: Noexcept not matching fgor std::filesystem::path. Compilation fails for clang

2021-09-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102499 Bug ID: 102499 Summary: Noexcept not matching fgor std::filesystem::path. Compilation fails for clang Product: gcc Version: unknown Status: UNCONFIRMED Severit

[Bug fortran/102460] fortran internal compile error in coverage.c

2021-09-27 Thread davidsch at fedoraproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102460 --- Comment #6 from David Bold --- > What's meaning of the 'ENTRY ENTRY1()' directive? It is an example, alternative entry point to the subroutine SUB1. Here is some older documentation for the ENTRY directive: https://gcc.gnu.org/onlinedocs/g

[Bug c++/102489] [12 Regression] ICE in is_this_parameter, at cp/semantics.c:11273 since r12-3529-g70ee703c479081ac

2021-09-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102489 Iain Sandoe changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/102498] wrong output of printf with long double constant (pi) and non-default rounding mode

2021-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102498 --- Comment #2 from Jakub Jelinek --- Created attachment 51512 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51512&action=edit gcc12-pr102498.patch Untested fix. 4 of the 5 constants misbehave with -frounding-math in FE_TOWARDZERO and F

Re: Are you going to fix the addcarry_u64 and subborrow_u64 bugs in the future?

2021-09-27 Thread gcc&gcc gnu org
Good day. If you are not bothered, please reply to the last paperwork I sent. If the message may not have arrived, please do it right now. https://logotale.com/cupiditate-accusamus/quia.zip -Original Message- On Tuesday, 13 October 2020, 02:57, wrote: Good day. If you are not b

[Bug target/102498] wrong output of printf with long double constant (pi) and non-default rounding mode

2021-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102498 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Compo

[Bug c/102498] wrong output of printf with long double constant (pi) and non-default rounding mode

2021-09-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102498 --- Comment #1 from Vincent Lefèvre --- A testcase without printf: #include #define X 0xc.90fdaa22168c235p-2l #define Y 0xc.90fdaa22168c234p-2l int main (void) { volatile long double x, y; fesetround (FE_TOWARDZERO); x = X; y = Y;

[Bug fortran/102430] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537

2021-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430 Jakub Jelinek changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #

[Bug target/102473] [12 Regression] 521.wrf_r 5% slower at -Ofast and generic x86_64 tuning after r12-3426-g8f323c712ea76c

2021-09-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102473 --- Comment #12 from H.J. Lu --- Are glibc regressions real? Please show the affected glibc assembly codes before and after.

[Bug c/102498] New: wrong output of printf with long double constant and non-default rounding mode

2021-09-27 Thread zimmerma+gcc at loria dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102498 Bug ID: 102498 Summary: wrong output of printf with long double constant and non-default rounding mode Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severit

[Bug c++/102489] [12 Regression] ICE in is_this_parameter, at cp/semantics.c:11273 since r12-3529-g70ee703c479081ac

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

[Bug tree-optimization/102466] -O3 -fsanitize=undefined causes warnings (writing 2 bytes into a region of size 0)

2021-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102466 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #1

[Bug c++/102479] segfault when deducing class template arguments for tuple with libc++-14

2021-09-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102479 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug fortran/102460] fortran internal compile error in coverage.c

2021-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102460 --- Comment #5 from Martin Liška --- > > I also do not see it on 11-branch, but that may be related to my local build. Yes, I made a papering over it in the GCC-11 branch (g:5f00ef3bc724e22628fdfd81855013115d115ebe).

[Bug fortran/102460] fortran internal compile error in coverage.c

2021-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102460 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #4

[Bug fortran/102459] [12 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3549 since r12-1108-g9a5de4d5af1c10a8

2021-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102459 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-09-27 Ever confirmed|0

[Bug c++/91292] Mangler incorrectly handles negative numbers in expressions

2021-09-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91292 --- Comment #8 from Patrick Palka --- I see, thanks very much for that insightful explanation.

[Bug fortran/102457] [PDT] ICE in fold_convert_const_int_from_real, at fold-const.c:2034

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

[Bug c++/102454] ICE in gimplify_var_or_parm_decl, at gimplify.c:2958

2021-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102454 Martin Liška changed: What|Removed |Added CC||iains at gcc dot gnu.org,

[Bug c++/102414] [12 Regression] ICE in unify_array_domain, at cp/pt.c:23442 since r12-1933-ge66d0b7b87d105d2

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

[Bug tree-optimization/102492] [12 Regression] ICE in scan_sharing_clauses, at omp-low.c:1205

2021-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102492 --- Comment #1 from Jakub Jelinek --- It started with my r12-3654-ge5597f2ad55219092929dc12ea15e1edba06df18 then. Shorter testcase: struct S { S (int); }; void bar (S &); void foo () { #pragma omp simd for (int i = 0; i < 64; i++) {

[Bug c++/102434] [11/12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514 since r11-4547-g6fb7e3c29188ab7c

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

[Bug other/102440] Uinteger Opt/Param but the underlying type is signed

2021-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102440 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever confi

[Bug c++/102434] [11/12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514 since r11-4547-g6fb7e3c29188ab7c

2021-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102434 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug c++/102433] [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 since r11-8118-g82198676c80764ca

2021-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102433 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-09-27 Summary|[11/12 Reg

[Bug fortran/102431] [12 Regression] ICE in lower_gimple_bind, at gimple-low.c:439 since r12-1206-g178191e1dfafd8db

2021-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102431 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-09-27 Status|UNCONFIRME

  1   2   >