[Bug tree-optimization/103744] New: [12 Regression] ICE in operator[], at vec.h:889

2021-12-16 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103744 Bug ID: 103744 Summary: [12 Regression] ICE in operator[], at vec.h:889 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug rtl-optimization/99199] [9/10/11/12 Regression] Very large boolean expression leads to quite a few return statements

2021-12-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99199 --- Comment #8 from Jakub Jelinek --- It doesn't trigger anymore since r12-3903-g0288527f47cec6698b31ccb3210816415506009e

[Bug tree-optimization/103741] [12 Regression] ICE in prepare_vec_mask, at tree-vect-stmts.c:1808

2021-12-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103741 Tamar Christina changed: What|Removed |Added Last reconfirmed||2021-12-16 Ever confirmed|0

[Bug tree-optimization/103741] [12 Regression] ICE in prepare_vec_mask, at tree-vect-stmts.c:1808

2021-12-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103741 --- Comment #2 from Tamar Christina --- AH! unit-size align:64 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type 0x7fdf17594738 precision:64 min max pointer_to_this > VNx2DI size

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-16 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #25 from Uroš Bizjak --- (In reply to Hongtao.liu from comment #22) > Yes, besides TARGET_VECTOR_MODE_SUPPORTED_P, other part in the attached > patch looks fine, the condition should be binded to real instructions but > not mode. OK

[Bug fortran/103694] [12 Regression] ICE in gfc_conv_expr_op, at fortran/trans-expr.c:3882 since r12-3993-gb19bbfb148250536

2021-12-16 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103694 --- Comment #3 from G. Steinmetz --- On my environment(s) a preceding ICE (see backtrace) disappeared for r10 between 20200412 (ICE) and 20200419 (Error) : $ gfortran-10-20200412 -c z1.f90 z1.f90:5:17: 5 |type(t) :: x((0.)/0) |

[Bug c++/103745] New: Warn on throwing an exception not derived from std::exception

2021-12-16 Thread antoshkka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103745 Bug ID: 103745 Summary: Warn on throwing an exception not derived from std::exception Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug fortran/103716] [10/11/12 Regression] ICE in gimplify_expr, at gimplify.c:15964 since r9-3803-ga5fbc2f36a291cbe

2021-12-16 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103716 --- Comment #3 from G. Steinmetz --- On my environment(s) the history for r9 is as follows : <= 20181028 : Error: Unexpected '%' for nonderived-type variable 'x' at (1) 20181104..20190824 : ICE in check_assumed_size_reference/gfc_format

[Bug c++/103745] Warn on throwing an exception not derived from std::exception

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103745 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew

[Bug tree-optimization/103744] [12 Regression] ICE in operator[], at vec.h:889

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

[Bug libfortran/98507] timezone is incorrect on last day of year for "TZ" hours

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98507 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug debug/103742] [12 Regression] '-fcompare-debug' failure (length) with -O2 -fnon-call-exceptions --param=early-inlining-insns=82 since r12-5301-g045206450386bcd7

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

[Bug tree-optimization/103744] [12 Regression] ICE in operator[], at vec.h:889

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

[Bug d/103739] Bootstrap broken on powerpc64-linux

2021-12-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103739 Iain Buclaw changed: What|Removed |Added Known to fail||9.3.1 Keywords|

[Bug c++/95564] GCC rejects lambda expression with "noexcept(1+1)"

2021-12-16 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95564 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #3 from Jiang

[Bug driver/103644] [OpenMP] -foffload= suggest also 'disable' (and 'default')

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103644 --- Comment #1 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:2c1ac0bf3d44e4ca6e32533d8b498c7d1dbd2425 commit r12-6012-g2c1ac0bf3d44e4ca6e32533d8b498c7d1dbd2425 Author: Tobias Burnus Date: T

[Bug driver/103644] [OpenMP] -foffload= suggest also 'disable' (and 'default')

2021-12-16 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103644 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/103744] [12 Regression] ICE in operator[], at vec.h:889 since r12-5612-g10833849b55401a52f2334eb032a70beb688e9fc

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

[Bug tree-optimization/103744] [12 Regression] ICE in operator[], at vec.h:889 since r12-5612-g10833849b55401a52f2334eb032a70beb688e9fc

2021-12-16 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103744 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 f

[Bug target/103729] ls64 tests fail on aarch64 with -mabi=ilp32 and aarch64_be

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103729 --- Comment #2 from CVS Commits --- The master branch has been updated by Przemyslaw Wirkus : https://gcc.gnu.org/g:0a68862e782847752be0ea2b2a987278cdbefc9e commit r12-6013-g0a68862e782847752be0ea2b2a987278cdbefc9e Author: Przemyslaw Wirkus D

[Bug c++/103746] New: GCC 12 rejects code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" while gcc 11 and clang accepts it

2021-12-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 Bug ID: 103746 Summary: GCC 12 rejects code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" while gcc 11 and clang accepts

[Bug target/103709] ICE: 'global_options' are modified in local context

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103709 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Liška

[Bug c++/103696] pragma optimization is not applying to Lambdas

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103696 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Liška

[Bug target/103709] ICE: 'global_options' are modified in local context

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103709 --- Comment #3 from Martin Liška --- (In reply to Martin Liška from comment #2) > All right, I've got a patch candidate: > https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586999.html Sorry, wrong bug.

[Bug c++/103746] GCC 12 rejects code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" while gcc 11 and clang accepts it

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

[Bug tree-optimization/103741] [12 Regression] ICE in prepare_vec_mask, at tree-vect-stmts.c:1808 since r12-5772-g06f2e7d49fc6341ea0128ccd83fd13705dd2c523

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103741 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Summary|[12 Regression] ICE

[Bug c++/103746] GCC 12 rejects code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" while gcc 11 and clang accepts it

2021-12-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 --- Comment #2 from Jan Hubicka --- Created attachment 52013 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52013&action=edit Correct testcase Oops, uploaded inrrect testcase. This should be current one.

[Bug c++/103746] GCC 12 rejects code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" while gcc 11 and clang accepts it

2021-12-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 Jan Hubicka changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug c++/103746] [12 Regression] GCC 12 rejects code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" while gcc 11 and clang accepts it

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

[Bug c++/103746] [12 Regression] GCC 12 rejects code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" while gcc 11 and clang accepts it

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 --- Comment #3 from Martin Liška --- Started with r12-5256-g37326651b439bac5.

[Bug c++/103746] [12 Regression] Rejected code "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" since r12-5256-g37326651b439bac5

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/103729] ls64 tests fail on aarch64 with -mabi=ilp32 and aarch64_be

2021-12-16 Thread wirkus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103729 --- Comment #3 from Przemyslaw Wirkus --- ILP32 fix is still pending.

[Bug d/103739] Bootstrap broken on powerpc64-linux

2021-12-16 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103739 --- Comment #4 from Segher Boessenkool --- Thanks. But the point of this PR is that bootstrapping trunk is broken. That needs fixing some way.

[Bug c++/103746] [12 Regression] Rejected code "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" since r12-5256-g37326651b439bac5

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 --- Comment #4 from Martin Liška --- Reduced test-case: struct VectorType { void operator=(VectorType); }; template using V4 = VectorType; using Float = V4; struct vec3 { Float x; }; struct mat3 { vec3 data[3]; constexpr mat3() { data[

[Bug c++/103746] [12 Regression] GCC 12 rejects code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" while gcc 11 and clang accepts it

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Summary|[12 Regression] Re

[Bug c++/103746] [12 Regression] GCC 12 rejects code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" while gcc 11 and clang accepts it

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 --- Comment #6 from Martin Liška --- Note Clang and ICC accept the code, while GCC and MSVC reject it.

[Bug c++/103746] [12 Regression] Rejected code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" since r12-5256-g37326651b439bac5

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

[Bug target/103661] __builtin_cpu_supports returns a negative integer for avx512vbmi2

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103661 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Liska : https://gcc.gnu.org/g:43d67e5e75627ad1f5ba2e983a730f37547ba9b7 commit r11-9394-g43d67e5e75627ad1f5ba2e983a730f37547ba9b7 Author: Martin Liska Da

[Bug c++/103746] [12 Regression] Rejected code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" since r12-5256-g37326651b439bac5

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 --- Comment #8 from Andrew Pinski --- MSVC error: (12): error C3615: constexpr function 'mat3::mat3' cannot result in a constant expression (12): note: failure was caused by call of undefined function or one not declared 'constexpr' (12): note:

[Bug c++/103746] [12 Regression] Rejected code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" since r12-5256-g37326651b439bac5

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 --- Comment #9 from Andrew Pinski --- Oh it is IFNDR (Ill-formed, no diagnostic required) code too :). So accepting the code is fine so is rejecting it but it is still ill-formed.

[Bug c++/103747] New: Passing parameter pack expansion to alias template with one argument fails as function return type

2021-12-16 Thread info--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103747 Bug ID: 103747 Summary: Passing parameter pack expansion to alias template with one argument fails as function return type Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug d/103528] [12 regression] d21 doesn't build on Solaris

2021-12-16 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from Iain Buclaw --- > (In reply to Rainer Orth from comment #0) >> * toplevel configure needs to make certain that the bootstrap gdc can compile >> *and link* some t

[Bug c++/103747] Passing parameter pack expansion to alias template with one argument fails as function return type

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103747 --- Comment #1 from Andrew Pinski --- CWG DR 1430 does look similar to this issue really: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1430 template type alias is a mess.

[Bug c++/96533] ICE with three-way comparison when error occurs in templated operator< overload and -Wunused-parameter

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96533 --- Comment #3 from Andrew Pinski --- Reducing

[Bug c++/103746] [12 Regression] Rejected code on "call to non-‘constexpr’ function ‘glsl::vec3& glsl::vec3::operator=(glsl::vec3&&)’" since r12-5256-g37326651b439bac5

2021-12-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746 Jan Hubicka changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #10 from Jan Hubicka -

[Bug target/103661] __builtin_cpu_supports returns a negative integer for avx512vbmi2

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103661 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Liska : https://gcc.gnu.org/g:a2af3581cba0e7fa662bd8bed7e3b90451ef6a94 commit r10-10341-ga2af3581cba0e7fa662bd8bed7e3b90451ef6a94 Author: Martin Liska D

[Bug target/103661] __builtin_cpu_supports returns a negative integer for avx512vbmi2

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103661 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug d/103739] Bootstrap broken on powerpc64-linux

2021-12-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103739 --- Comment #5 from Iain Buclaw --- (In reply to Segher Boessenkool from comment #4) > Thanks. But the point of this PR is that bootstrapping trunk is broken. > That needs fixing some way. It's working when you use gcc-10 or later as the basel

[Bug driver/101238] [9/10 only] backport r11-8147 to gcc-10 and gcc-9: Driver won't find cc1/cc1plus on MinGW, CXXFLAGS need -D__USE_MINGW_ACCESS

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

[Bug tree-optimization/103733] Missed optimization: defaulted op== for trivially comparable types worse than memcmp

2021-12-16 Thread jengelh at inai dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103733 --- Comment #4 from Jan Engelhardt --- Is there a way to convey that it is safe to access every and all parts of S, e.g. by initializing S::b at construction time?

[Bug middle-end/103735] [12 Regression] Extra glibc "make check" failures

2021-12-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/96533] ICE with three-way comparison when error occurs in templated operator< overload and -Wunused-parameter

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96533 --- Comment #4 from Andrew Pinski --- Created attachment 52014 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52014&action=edit Reduced as I can get it right now

[Bug c++/96533] ICE with three-way comparison when error occurs in templated operator< overload and -Wunused-parameter

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96533 Andrew Pinski changed: What|Removed |Added Known to work|12.0| --- Comment #5 from Andrew Pinski ---

[Bug tree-optimization/103741] [12 Regression] ICE in prepare_vec_mask, at tree-vect-stmts.c:1808 since r12-5772-g06f2e7d49fc6341ea0128ccd83fd13705dd2c523

2021-12-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103741 --- Comment #4 from Tamar Christina --- Patch missing a check on vec_mode, testing a fix.

[Bug c++/96533] ICE with three-way comparison when error occurs in templated operator< overload and -Wunused-parameter

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96533 Andrew Pinski changed: What|Removed |Added Attachment #52014|0 |1 is obsolete|

[Bug c++/96533] ICE with three-way comparison when error occurs in templated operator< overload and -Wunused-parameter

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96533 Andrew Pinski changed: What|Removed |Added Attachment #52015|0 |1 is obsolete|

[Bug c++/96533] ICE with three-way comparison when error occurs in templated operator< overload and -Wunused-parameter

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96533 --- Comment #8 from Andrew Pinski --- 0xccadfb do_warn_unused_parameter(tree_node*) /home/apinski/src/upstream-gcc/gcc/gcc/c-family/c-warn.c:2414 0xa74de1 finish_function(bool) /home/apinski/src/upstream-gcc/gcc/gcc/cp/decl.c:1781

[Bug fortran/103748] New: [PDT] Variable declaration with PDT syntax when the type is not a PDT fails to trigger a syntax error

2021-12-16 Thread b.j.braams at cwi dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103748 Bug ID: 103748 Summary: [PDT] Variable declaration with PDT syntax when the type is not a PDT fails to trigger a syntax error Product: gcc Version: 10.3.1 Status: UNCONF

[Bug target/103743] PPC: Inefficient equality compare for large 64-bit constants having only 16-bit relevant bits in high part

2021-12-16 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103743 Peter Bergner changed: What|Removed |Added CC||pthaugen at gcc dot gnu.org --- Comment

[Bug c++/96533] ICE with three-way comparison when error occurs in templated operator< overload and -Wunused-parameter

2021-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96533 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-12-16 Status|UNCONFIRME

[Bug libquadmath/78214] nanq() does not return a quiet NaN

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78214 Francois-Xavier Coudert changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|--

[Bug libquadmath/88306] lgammaq_r

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88306 Francois-Xavier Coudert changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--

[Bug c++/103749] New: Misleading error message on template/non-template conflict

2021-12-16 Thread drepper.fsp+rhbz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103749 Bug ID: 103749 Summary: Misleading error message on template/non-template conflict Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/103749] Misleading error message on template/non-template conflict

2021-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103749 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/103749] Misleading error message on template/non-template conflict

2021-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103749 --- Comment #2 from Marek Polacek --- Same case: template struct bar; struct bar { int baz; }; bar var; Maybe xref_tag could detect this. The other way round it's a bit better: struct bar; template struct bar {}; bar var; 103749-2.C:

[Bug target/103750] New: [i386] GCC schedules KMOV instructions that destroys performance in loop

2021-12-16 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103750 Bug ID: 103750 Summary: [i386] GCC schedules KMOV instructions that destroys performance in loop Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug middle-end/103751] New: FAIL: gcc.dg/Warray-bounds-48.c (test for excess errors)

2021-12-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103751 Bug ID: 103751 Summary: FAIL: gcc.dg/Warray-bounds-48.c (test for excess errors) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[Bug testsuite/102944] Many gcc.dg/Wstringop-overflow-*.c failures

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

[Bug sanitizer/84250] Symbol collision when using both Address and Undefined Behavior sanitizers (-fsanitize=address,undefined)

2021-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84250 --- Comment #9 from Marek Polacek --- Maxim, any updates?

[Bug libfortran/101255] FLUSH statement - error should be negative

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101255 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug libfortran/98507] timezone is incorrect on last day of year for "TZ" hours

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98507 Francois-Xavier Coudert changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/103696] pragma optimization is not applying to Lambdas

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103696 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:5b8f5a50a93c5fd44fa1ecb6f431fee1df267571 commit r12-6018-g5b8f5a50a93c5fd44fa1ecb6f431fee1df267571 Author: Martin Liska Date: Wed

[Bug target/103709] ICE: 'global_options' are modified in local context

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103709 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:54e6d3ef5021d7df936132ba961f9c360239e717 commit r12-6019-g54e6d3ef5021d7df936132ba961f9c360239e717 Author: Martin Liska Date: Thu

[Bug target/103709] ICE: 'global_options' are modified in local context

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

[Bug c++/103696] pragma optimization is not applying to Lambdas

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103696 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/54367] [meta-bug] lambda expressions

2021-12-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 103696, which changed state. Bug 103696 Summary: pragma optimization is not applying to Lambdas https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103696 What|Removed |Added --

[Bug c++/103752] New: [12 Regression][ICE][modules] with import

2021-12-16 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103752 Bug ID: 103752 Summary: [12 Regression][ICE][modules] with import Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/103690] [12 Regression] ICE: in build2, at tree.c:4985 with -g -O2 -fno-tree-dce -fno-tree-dse -fno-tree-fre --param=max-jump-thread-duplication-stmts=94 since r12-2591-g2e96b5f

2021-12-16 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103690 --- Comment #5 from Aldy Hernandez --- (In reply to Andrew Pinski from comment #2) > (gdb) p debug_gimple_stmt(stmt) > _67 = _14 + _66; > > > Before pre had: > intD.9 * __trans_tmp_1D.2946; > > # RANGE [1, 9223372036854775807] NONZERO

[Bug fortran/103716] [10/11/12 Regression] ICE in gimplify_expr, at gimplify.c:15964 since r9-3803-ga5fbc2f36a291cbe

2021-12-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103716 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to G. Steinmetz from comment #3) > On my environment(s) the history for r9 is as follows : > ><= 20181028 : Error: Unexpected '%' for nonderived-type variable 'x' > at (1) > 201

[Bug libfortran/98507] timezone is incorrect on last day of year for "TZ" hours

2021-12-16 Thread urbanjost at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98507 --- Comment #4 from urbanjost at comcast dot net --- Thanks! nice to have this fixed!

[Bug d/103528] [12 regression] d21 doesn't build on Solaris

2021-12-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #7 from Iain Buclaw --- Created attachment 52018 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52018&action=edit configure check compiler driver understands D How does this patch look? Because the module name is not "object"

[Bug libfortran/95177] error: array subscript has type char

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org -

[Bug d/103528] [12 regression] d21 doesn't build on Solaris

2021-12-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #8 from Iain Buclaw --- (In reply to Iain Buclaw from comment #7) > Created attachment 52018 [details] > configure check compiler driver understands D > > How does this patch look? > > Because the module name is not "object", it bo

[Bug middle-end/103751] FAIL: gcc.dg/Warray-bounds-48.c (test for excess errors)

2021-12-16 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103751 --- Comment #1 from Andreas Schwab --- char buf_p2[sizeof (struct A1) + 2 * sizeof (int16_t)]; This has space for 1 * int32_t and 3 * int16_t, so the warning is correct.

[Bug fortran/102106] Freeing unallocated memory, with associate to derived type with polymorphic component

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102106 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug fortran/102106] Freeing unallocated memory, with associate to derived type with polymorphic component

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102106 --- Comment #2 from Francois-Xavier Coudert --- There is only one call to free() generated, and it is called on an address that does not point to allocated memory, so it should not be too hard to determine what is happening.

[Bug middle-end/103735] [12 Regression] Extra glibc "make check" failures by r12-4764

2021-12-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735 H.J. Lu changed: What|Removed |Added Summary|[12 Regression] Extra glibc |[12 Regression] Extra glibc

[Bug libfortran/54878] libgfortran issues found by the Coverity scanner

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54878 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org -

[Bug middle-end/102722] [Disgnostic]Xpass for gcc.dg/Wstringop-overflow-68.c after O2 vectorization.

2021-12-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102722 Martin Sebor changed: What|Removed |Added Resolution|--- |DUPLICATE Target|

[Bug middle-end/101475] missing -Wstringop-overflow storing a compound literal

2021-12-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101475 Martin Sebor changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2021-12-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 102722, which changed state. Bug 102722 Summary: [Disgnostic]Xpass for gcc.dg/Wstringop-overflow-68.c after O2 vectorization. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102722 What|Removed

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #26 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:271e36d9d5b3a75e7f1a927e594477e6a5dd6fc0 commit r12-6021-g271e36d9d5b3a75e7f1a927e594477e6a5dd6fc0 Author: Uros Bizjak Date: Thu

[Bug c++/83035] Using decltype fails with an operator using non-ADL lookup

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83035 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:bb2a7f80a98de3febefbb32b1e4898062bdb6af8 commit r12-6022-gbb2a7f80a98de3febefbb32b1e4898062bdb6af8 Author: Patrick Palka Date: Th

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #22 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:bb2a7f80a98de3febefbb32b1e4898062bdb6af8 commit r12-6022-gbb2a7f80a98de3febefbb32b1e4898062bdb6af8 Author: Patrick Palka Date: T

[Bug c++/100465] Overloading operator+= and including filesystem causes conflicting overload compilation error

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100465 --- Comment #8 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:bb2a7f80a98de3febefbb32b1e4898062bdb6af8 commit r12-6022-gbb2a7f80a98de3febefbb32b1e4898062bdb6af8 Author: Patrick Palka Date: T

[Bug c++/100465] Overloading operator+= and including filesystem causes conflicting overload compilation error

2021-12-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100465 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-12-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/99692] Lookup for operator<< skips global scope

2021-12-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99692 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/87208] dependent name resolution selects a function it should have NEVER considered

2021-12-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87208 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 CC|

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-16 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #27 from Uroš Bizjak --- (In reply to Hongtao.liu from comment #17) > (In reply to Hongtao.liu from comment #16) > > There're already testcases for vec_extract/vec_set/vec_duplicate, but those > > testcases are written under TARGET_A

  1   2   3   >