[Bug c/107898] [11/12/13 Regression] ICE in irange_intersect, at value-range.cc:1640

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107898 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-11-29 Component|tree-opt

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

2022-11-29 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #28 from Florian Weimer --- (In reply to Peter Cordes from comment #27) > (In reply to Alexander Monakov from comment #26) > > Sure, the right course of action seems to be to simply document that atomic > > types and built-ins are me

[Bug c++/107906] Function template specialization given weak rather than local symbol

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107906 Richard Biener changed: What|Removed |Added Keywords||ABI Last reconfirmed|

[Bug c++/107907] New: weak integer constant not linked correctly

2022-11-29 Thread bseifert at gmx dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107907 Bug ID: 107907 Summary: weak integer constant not linked correctly Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug modula2/92336] cross compiling gcc fails in gm2

2022-11-29 Thread helmut at subdivi dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92336 --- Comment #3 from Helmut Grohne --- I suppose that your changes have migrated to gcc-12 now. The problem persists in exactly the same way. A current build failure can bee seen at: https://crossqa.debian.net/build/gcc-12_12.2.0-9_s390x_202211101

[Bug sanitizer/107908] New: A null pointer dereference bug was missed by UBsan at -O0

2022-11-29 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107908 Bug ID: 107908 Summary: A null pointer dereference bug was missed by UBsan at -O0 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/107906] linkage of template not taken into account

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107906 Andrew Pinski changed: What|Removed |Added Known to fail||4.1.2 Summary|Function templ

[Bug target/107515] MVE: Generic functions do not accept _Float16 scalars

2022-11-29 Thread kevin.bracey at alifsemi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107515 --- Comment #6 from Kevin Bracey --- Retesting the Godbolt on trunk, it's now worse - every line produces multiple not-very-informative errors: source>:7:9: error: '_Generic' specifies two compatible types 7 | x = vmulq(x, 0.5); // ok

[Bug tree-optimization/107413] Perf loss ~14% on 519.lbm_r SPEC cpu2017 benchmark with r8-7132-gb5b33e113434be

2022-11-29 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107413 --- Comment #14 from Rama Malladi --- This fix also improved performance of 538.imagick_r by 15%. Did you have a similar observation? Thank you.

[Bug sanitizer/107908] A null pointer dereference bug was missed by UBsan at -O0

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

[Bug sanitizer/107908] A null pointer dereference bug was missed by UBsan at -O0

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107908 --- Comment #2 from Andrew Pinski --- If you used -ftrivial-auto-var-init=zero you would get the runtime error: /app/example.cpp:6:5: runtime error: load of null pointer of type 'int' With -ftrivial-auto-var-init=pattern you get: /app/example.

[Bug debug/107909] New: [powerpc64le, debug] Incorrect call site location due to nop after call insn

2022-11-29 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107909 Bug ID: 107909 Summary: [powerpc64le, debug] Incorrect call site location due to nop after call insn Product: gcc Version: 7.5.0 Status: UNCONFIRMED Severity:

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-11-29 Thread brjd_epdjq36 at kygur dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #11 from Brjd --- Thank you. Best regards.

[Bug testsuite/107553] nested-func-1.m fails due to linker warning about executable stack

2022-11-29 Thread brjd_epdjq36 at kygur dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107553 --- Comment #5 from Brjd --- Thank you. Best regards.

[Bug target/107909] [powerpc64le, debug] Incorrect call site location due to nop after call insn

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107909 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/legacy-ml/gcc-patches/2010-08/txt00153.txt for the description of the call site dwarf.

[Bug target/107909] [powerpc64le, debug] Incorrect call site location due to nop after call insn

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107909 --- Comment #2 from Andrew Pinski --- Hmm, the nop is required by the ABI because the TOC might be different and replaced with a load during linking ... I am not 100% sure this is not just a definition of DW_TAG_GNU_call_site for powerpc64 ABIs

[Bug c++/107907] weak integer constant not used correctly

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

[Bug target/107909] [powerpc64le, debug] Incorrect call site location due to nop after call insn

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107909 --- Comment #3 from Andrew Pinski --- Oh wait DW_TAG_call_site is now part of dwarf5. maybe the powerpc ABI can define it that way then ...

[Bug c/107898] [11/12/13 Regression] ICE in irange_intersect, at value-range.cc:1640

2022-11-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107898 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9948daa4fd0f0ea0a9d56c2fefe1bca478554d27 commit r13-4385-g9948daa4fd0f0ea0a9d56c2fefe1bca478554d27 Author: Richard Biener Date:

[Bug c++/107897] [13 Regression] mangling conflicts with a previous mangle

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107897 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|ice-on-valid-co

[Bug c++/107897] [13 Regression] ICE in verify_curr_properties, at passes.cc:2201

2022-11-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107897 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:5894a8179687b7028d093584102d204af422cfd3 commit r13-4384-g5894a8179687b7028d093584102d204af422cfd3 Author: Richard Biener Date:

[Bug c/107898] [11/12 Regression] ICE in irange_intersect, at value-range.cc:1640

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107898 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Summary|[11/12/13

[Bug tree-optimization/107910] New: Missed optimization of struct members with mixed sizes

2022-11-29 Thread pionere at freemail dot hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107910 Bug ID: 107910 Summary: Missed optimization of struct members with mixed sizes Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug middle-end/107436] Is -fsignaling-nans still experimental?

2022-11-29 Thread florian.schanda at bmw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107436 Florian Schanda changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ada/107810] [13 regression] gnat.dg/unchecked_convert9.adb FAILs

2022-11-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107810 --- Comment #2 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:1ad898d82707376313d97bb81cf40c225b05bacf commit r13-4386-g1ad898d82707376313d97bb81cf40c225b05bacf Author: Eric Botcazou Date: T

[Bug ada/107810] [13 regression] gnat.dg/unchecked_convert9.adb FAILs

2022-11-29 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107810 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug testsuite/107171] New test case gcc.target/powerpc/pr105586.c fails after its introduction in r13-2525-gbec35caafae8db

2022-11-29 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107171 Surya Kumari Jangala changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNE

[Bug libstdc++/107850] [12 Regression] std::erase_if (map) forces predicate to takes a const value_type

2022-11-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107850 --- Comment #5 from Jonathan Wakely --- (In reply to Charles-Henri Gros from comment #4) > Looking into it further, there may be an implicit requirement that the > predicate does not modify its argument. > https://eel.is/c++draft/algorithms.requ

[Bug libstdc++/107850] [12 Regression] std::erase_if (map) forces predicate to takes a const value_type

2022-11-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107850 --- Comment #6 from Jonathan Wakely --- IMHO https://cplusplus.github.io/LWG/issue3031 should have applied to these functions too.

[Bug libstdc++/107850] [12 Regression] std::erase_if (map) forces predicate to takes a const value_type

2022-11-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107850 --- Comment #7 from Jonathan Wakely --- See also https://cplusplus.github.io/LWG/issue2542 which was another change in the same vein. Generally, we're getting stricter about rejecting predicates like yours, because reasoning about the program be

[Bug other/107911] New: Remove problematic language from libtool.m4

2022-11-29 Thread alakatos at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107911 Bug ID: 107911 Summary: Remove problematic language from libtool.m4 Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ot

[Bug other/55899] GCC should provide built-ins in data types flavor/version/variation

2022-11-29 Thread yann at droneaud dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55899 Yann Droneaud changed: What|Removed |Added CC||yann at droneaud dot fr --- Comment #2 f

[Bug tree-optimization/107852] [12/13 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/107852] [12/13 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 Richard Biener changed: What|Removed |Added Component|tree-optimization |libstdc++ --- Comment #5 from Richard

[Bug tree-optimization/106995] [13 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.cc:2720 with -O2 since r13-1598-g0a7e721a6499a42f

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106995 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/106995] [13 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.cc:2720 with -O2 since r13-1598-g0a7e721a6499a42f

2022-11-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106995 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:063ba138eaa15ceecf23a24906e0e19be98d509d commit r13-4388-g063ba138eaa15ceecf23a24906e0e19be98d509d Author: Richard Biener Date:

[Bug libstdc++/107852] [12/13 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2022-11-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 --- Comment #6 from Jonathan Wakely --- As Martin S. suggested a few times, it would be nice if we had an attribute or something that could say that no members of 'this' are clobbered like that. It would be UB for the vector's allocator (whether

[Bug libstdc++/107852] [12/13 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 --- Comment #7 from Richard Biener --- Ontop of the patch I am testing the following fixes the diagnostics: diff --git a/libstdc++-v3/include/bits/vector.tcc b/libstdc++-v3/include/bits/vector.tcc index 33faabf2eae..aab87b94882 100644 --- a/lib

[Bug demangler/107884] H8/300: cp-demangle.c fix warning related demangle.h

2022-11-29 Thread uaa at mx5 dot nisiq.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107884 --- Comment #6 from SASANO Takayoshi --- Created attachment 53980 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53980&action=edit rewrite int options -> int32_t options

[Bug sanitizer/107912] New: UBsan at -O0 missed a signed integer overflow

2022-11-29 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107912 Bug ID: 107912 Summary: UBsan at -O0 missed a signed integer overflow Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sa

[Bug c++/107913] New: Bogus unused variable warning if used in if constexpr false in lambda with default capture by ref

2022-11-29 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107913 Bug ID: 107913 Summary: Bogus unused variable warning if used in if constexpr false in lambda with default capture by ref Product: gcc Version: unknown Status: UNCONFIRM

[Bug tree-optimization/106786] [12/13 Regression] SRA regression causes extra instructions sometimes

2022-11-29 Thread chfast at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106786 --- Comment #4 from Paweł Bylica --- Any update on this? I've identified some other similar cases where this hurting the performance.

[Bug fortran/107914] New: Finalization errors

2022-11-29 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107914 Bug ID: 107914 Summary: Finalization errors Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Componen

[Bug fortran/107914] Finalization errors

2022-11-29 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107914 --- Comment #1 from Paul Thomas --- Created attachment 53982 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53982&action=edit Subsidiary program for testcase As promised, here is the subsidiary program. Paul

[Bug tree-optimization/107413] Perf loss ~14% on 519.lbm_r SPEC cpu2017 benchmark with r8-7132-gb5b33e113434be

2022-11-29 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107413 --- Comment #15 from Wilco --- (In reply to Rama Malladi from comment #14) > This fix also improved performance of 538.imagick_r by 15%. Did you have a > similar observation? Thank you. No, but I was using -mcpu=neoverse-n1 as my baseline. It's

[Bug tree-optimization/107699] [12/13 Regression] False positive -Warray-bounds, non-existent offset reported by GCC

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 --- Comment #4 from Richard Biener --- At the point of the diagnostic we see [local count: 1073741824]: data._M_elems[0] = 3; data._M_elems[1] = 2; data._M_elems[2] = 1; _8 = getCount (); _1 = _8 * 4; _2 = &data._M_elems + _1; if (&data._M_ele

[Bug target/107515] MVE: Generic functions do not accept _Float16 scalars

2022-11-29 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107515 --- Comment #7 from Stam Markianos-Wright --- (In reply to Kevin Bracey from comment #6) > Retesting the Godbolt on trunk, it's now worse - every line produces > multiple not-very-informative errors: > > source>:7:9: error: '_Generic' specifies

[Bug target/107515] MVE: Generic functions do not accept _Float16 scalars

2022-11-29 Thread kevin.bracey at alifsemi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107515 --- Comment #8 from Kevin Bracey --- I'm only testing on the Linux trunk because it's what Godbolt has. If it has bare-metal, I'm not seeing it. Actual real development system is bare-metal using Arm's embedded GCC releases, and I don't have a

[Bug middle-end/107677] -Warray-bounds: unclear what exactly it's meant to detect

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107677 --- Comment #6 from Richard Biener --- If you supply a runtime index or pointer offset GCC tries to constrain that value. If it can constrain the index or pointer offset such that the access would always be out of the bounds of an array that is

[Bug libstdc++/107852] [12/13 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2022-11-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fd8dd6c0384969170e594be34da278a072d5eb76 commit r13-4389-gfd8dd6c0384969170e594be34da278a072d5eb76 Author: Richard Biener Date:

[Bug libstdc++/107852] [12/13 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2022-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 --- Comment #9 from Richard Biener --- My part is done, libstdc++ adjustment missing.

[Bug tree-optimization/107699] [12/13 Regression] False positive -Warray-bounds, non-existent offset reported by GCC

2022-11-29 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 --- Comment #5 from Carlos Galvez --- > is not good programming practice. Sure. In the real world, we have asserts for this. However this is a problem when we build for Release mode, in which asserts are disabled and thus this warning pops up.

[Bug tree-optimization/107699] [12/13 Regression] False positive -Warray-bounds, non-existent offset reported by GCC

2022-11-29 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 --- Comment #6 from Carlos Galvez --- A similar case in the real world would be this: NumberSmallerThan3 getCount(); std::sort(data.begin(), data.begin() + static_cast(getCount())); The "NumberSmallerThan3" class holds and checks the invarian

[Bug other/107915] New: new test case g++.dg/contracts/contracts-tmpl-spec2.C in r13-4160-g2efb237ffc68ec fails

2022-11-29 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107915 Bug ID: 107915 Summary: new test case g++.dg/contracts/contracts-tmpl-spec2.C in r13-4160-g2efb237ffc68ec fails Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/107835] [13 Regression] ICE in build2, at tree.cc:5020 since r13-254-gdd3c7873a61019e9

2022-11-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107835 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c/107898] [11/12 Regression] ICE in irange_intersect, at value-range.cc:1640

2022-11-29 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107898 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug tree-optimization/107835] [13 Regression] ICE in build2, at tree.cc:5020 since r13-254-gdd3c7873a61019e9

2022-11-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107835 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/107916] New: PPC VSX code generation for OpenZFS

2022-11-29 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107916 Bug ID: 107916 Summary: PPC VSX code generation for OpenZFS Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: targ

[Bug target/107916] PPC VSX code generation for OpenZFS

2022-11-29 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107916 David Edelsohn changed: What|Removed |Added Last reconfirmed||2022-11-29 Ever confirmed|0

[Bug target/107748] [13 Regression] Isn't _mm_cvtsbh_ss incorrect?

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

[Bug c/107917] New: [13 regression?] Size of enum type doesn't match size of enum value

2022-11-29 Thread luis.machado at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107917 Bug ID: 107917 Summary: [13 regression?] Size of enum type doesn't match size of enum value Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug go/107491] Gccgo stack not resizing on Solaris

2022-11-29 Thread jakub.kulik at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107491 --- Comment #12 from Jakub Kulik --- One thing that is still slightly limiting is that the stack size cannot be changed e.g. for individual tests when running the libgo test suite. It might be nice to have some exported interface, such as the a

[Bug middle-end/107916] vector_size(32) is inefficient for VSX on powerpc64

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107916 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Summary|

[Bug c++/107864] [10/11/12/13 Regression] ICE (seg fault) in check_return_expr or instantiate_body with concepts and specialized version

2022-11-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107864 --- Comment #8 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:36cabc257dfb7dd4f7625896891f6c5b195a0241 commit r13-4390-g36cabc257dfb7dd4f7625896891f6c5b195a0241 Author: Patrick Palka Date: T

[Bug middle-end/107916] vector_size(32) is inefficient for VSX on powerpc64

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107916 --- Comment #3 from Andrew Pinski --- aarch64 has a similar issue too: .L3: add w1, w1, 1 add v0.4s, v5.4s, v2.4s add v1.4s, v4.4s, v3.4s mov v2.16b, v0.16b mov v3.16b, v1.16b c

[Bug c/107917] [13 regression?][arm] Size of enum type doesn't match size of enum value

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107917 --- Comment #1 from Andrew Pinski --- C23 fix

[Bug c/107917] [13 regression?][arm] Size of enum type doesn't match size of enum value

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

[Bug c/107405] [13 Regression] enum change causing Linux kernel to fail to build due to Linux depending on old behavior

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107405 Andrew Pinski changed: What|Removed |Added CC||luis.machado at arm dot com --- Comment

[Bug c/107917] [13 regression?][arm] Size of enum type doesn't match size of enum value

2022-11-29 Thread luis.machado at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107917 --- Comment #3 from Luis Machado --- Thanks for linking it Andrew.

[Bug c++/107864] [10/11/12 Regression] ICE (seg fault) in check_return_expr or instantiate_body with concepts and specialized version

2022-11-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107864 Patrick Palka changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11/12 Regression] ICE

[Bug middle-end/107916] vector_size(32) is inefficient for VSX on powerpc64

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107916 --- Comment #4 from Andrew Pinski --- Reduced even further just compile with `-O2 -mvsx` is enough to show the issue really: ``` typedef unsigned u32x8 __attribute__ ((vector_size (32))); void f(int n, u32x8 *a, u32x8 *b) { u32x8 c = {0}; f

[Bug c/107846] [13 Regression] error: result of '8000 << 8' requires 22 bits to represent, but 'short int' only has 16 bits

2022-11-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107846 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/100157] Support `__type_pack_element` like Clang

2022-11-29 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100157 Peter Dimov changed: What|Removed |Added CC||pdimov at gmail dot com --- Comment #11 f

[Bug sanitizer/107912] shorterning causes a missing signed integer overflow

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

[Bug other/107911] Remove problematic language from libtool.m4

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

[Bug tree-optimization/107910] Missed optimization of struct members with mixed sizes

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107910 --- Comment #1 from Andrew Pinski --- The problem is an interaction between the SLP vectorizer and store merging.

[Bug tree-optimization/106199] [12/13 Regression] incorrect warning: memcpy writing 1 or more bytes into a region of size 0 overflows the destination with std::vector::insert

2022-11-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106199 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/100366] [11/12/13 Regression] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

2022-11-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366 --- Comment #15 from Jonathan Wakely --- *** Bug 106199 has been marked as a duplicate of this bug. ***

[Bug c++/107918] New: P2468R2 and operator ambiguity

2022-11-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107918 Bug ID: 107918 Summary: P2468R2 and operator ambiguity Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/107850] [12 Regression] std::erase_if (map) forces predicate to takes a const value_type

2022-11-29 Thread chgros at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107850 --- Comment #8 from Charles-Henri Gros --- Thanks for all the comments. I agree that for consistency this should be rejected, though my preference would still be to make remove_if/erase_if more useful in practical cases (this happens dozens of t

[Bug c++/107918] P2468R2 and operator ambiguity

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107918 --- Comment #1 from Andrew Pinski --- /* Ambiguity between normal and reversed comparison operators with the same parameter types. P2468 decided not to go with this approach to resolving the ambig

[Bug c++/107919] New: Possibly false-positive "maybe-uninitialized" with GCC 12 on complex variant-variant-tuple-unique_ptr types

2022-11-29 Thread freddie_chopin at op dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107919 Bug ID: 107919 Summary: Possibly false-positive "maybe-uninitialized" with GCC 12 on complex variant-variant-tuple-unique_ptr types Product: gcc Version: 12.1.0 Status:

[Bug c++/107138] [12/13 regression] std::variant triggers false-positive 'may be used uninitialized' warning

2022-11-29 Thread freddie_chopin at op dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107138 Freddie Chopin changed: What|Removed |Added CC||freddie_chopin at op dot pl --- Commen

[Bug libstdc++/107850] [12 Regression] std::erase_if (map) forces predicate to takes a const value_type

2022-11-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107850 --- Comment #9 from Jonathan Wakely --- The problem with side effects is not that they happen more than once, but that they happen at all. The algorithm is called "erase_if" so it's surprising if it actually mutates the remaining elements, rathe

[Bug c++/107918] P2468R2 and operator ambiguity

2022-11-29 Thread dacamara.cameron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107918 Cameron changed: What|Removed |Added CC||dacamara.cameron at gmail dot com --- Commen

[Bug c++/106363] [13 Regression] [modules] ICE using-declaration of imported name in the same namespace

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106363 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/107919] Possibly false-positive "maybe-uninitialized" with GCC 12 on complex variant-variant-tuple-unique_ptr types

2022-11-29 Thread freddie_chopin at op dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107919 --- Comment #1 from Freddie Chopin --- More possibly imporant notes: 1. The warning appears only with -O1 or -O2, with 0, s, g or 3 the warning is gone. 2. Adding -fsanitize=undefined to compiler invocation makes the warning go away as well - no

[Bug c++/105221] [10/11/12/13 Regression] gcc rejects true ? [](auto) noexcept {} : [](int) {} in C++17+ (works for C++14)

2022-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105221 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5

[Bug libstdc++/107852] [12/13 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2022-11-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 --- Comment #10 from Jonathan Wakely --- With that compiler patch for the missed-optimization one of the two bogus warnings goes away. The second one goes away with this change: --- a/libstdc++-v3/include/bits/stl_vector.h +++ b/libstdc++-v3/in

[Bug tree-optimization/107920] New: [13 Regression] ICE in execute_todo, at passes.cc:2140

2022-11-29 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107920 Bug ID: 107920 Summary: [13 Regression] ICE in execute_todo, at passes.cc:2140 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: norma

[Bug tree-optimization/100366] [11/12/13 Regression] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

2022-11-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366 --- Comment #16 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cca06f0d6d76b08ed4ddb7667eda93e2e9f2589e commit r13-4393-gcca06f0d6d76b08ed4ddb7667eda93e2e9f2589e Author: Jonathan Wakely Date

[Bug tree-optimization/106199] [12/13 Regression] incorrect warning: memcpy writing 1 or more bytes into a region of size 0 overflows the destination with std::vector::insert

2022-11-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106199 --- Comment #8 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cca06f0d6d76b08ed4ddb7667eda93e2e9f2589e commit r13-4393-gcca06f0d6d76b08ed4ddb7667eda93e2e9f2589e Author: Jonathan Wakely Date:

[Bug libstdc++/107852] [12/13 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2022-11-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 --- Comment #11 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cca06f0d6d76b08ed4ddb7667eda93e2e9f2589e commit r13-4393-gcca06f0d6d76b08ed4ddb7667eda93e2e9f2589e Author: Jonathan Wakely Date

[Bug c++/107138] [12/13 regression] std::variant triggers false-positive 'may be used uninitialized' warning

2022-11-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107138 --- Comment #10 from Jonathan Wakely --- (In reply to Marco Clemencic from comment #8) > But the warning is not issued in -O0 builds, which I believe means the code > is correct by itself, That's not a valid assumption. -Wmaybe-uninitialized do

[Bug libstdc++/107921] New: Overflow warnings in libsupc++/hash_bytes.cc for msp430-elf -mlarge

2022-11-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107921 Bug ID: 107921 Summary: Overflow warnings in libsupc++/hash_bytes.cc for msp430-elf -mlarge Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: build

[Bug fortran/107922] New: ICE in gfc_simplify_unpack, at fortran/simplify.cc:8473

2022-11-29 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107922 Bug ID: 107922 Summary: ICE in gfc_simplify_unpack, at fortran/simplify.cc:8473 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prior

[Bug tree-optimization/107699] [12/13 Regression] False positive -Warray-bounds, non-existent offset reported by GCC

2022-11-29 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 --- Comment #7 from rguenther at suse dot de --- On Tue, 29 Nov 2022, carlosgalvezp at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 > > --- Comment #5 from Carlos Galvez --- > > is not good programming practice.

[Bug fortran/107923] New: ICE in lookup_function_fuzzy_find_candidates / check_interface0

2022-11-29 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107923 Bug ID: 107923 Summary: ICE in lookup_function_fuzzy_find_candidates / check_interface0 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/107923] ICE in lookup_function_fuzzy_find_candidates / check_interface0

2022-11-29 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107923 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from

[Bug tree-optimization/107699] [12/13 Regression] False positive -Warray-bounds, non-existent offset reported by GCC

2022-11-29 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 --- Comment #8 from Carlos Galvez --- I see! In that case may I suggest to split the diagnostic into "Warray-bounds" and "Wmaybe-array-bounds"? That way we could enable the first and disable the second. The way it is today, we need to disable W

  1   2   >