[Bug target/105213] New: Extend __builtin_{un,}pack_{longdouble,ibm128} valid for soft-float

2022-04-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105213 Bug ID: 105213 Summary: Extend __builtin_{un,}pack_{longdouble,ibm128} valid for soft-float Product: gcc Version: 12.0 URL:

Re: [PATCH, rs6000] Correct match pattern in pr56605.c

2022-04-10 Thread HAO CHEN GUI via Gcc-patches
Hi, On 9/4/2022 上午 3:36, Segher Boessenkool wrote: > Hi! > > On Mon, Feb 28, 2022 at 11:17:27AM +0800, HAO CHEN GUI wrote: >> This patch corrects the match pattern in pr56605.c. The former pattern >> is wrong and test case fails with GCC11. It should match following insn on >> each subtarget

[Bug target/105033] Suboptimal for vec_concat lower halves of two vectors.

2022-04-10 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105033 --- Comment #1 from Hongtao.liu --- Created attachment 52776 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52776=edit Patch pending for GCC13

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

2022-04-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103196 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[PATCH v2, pushed] rs6000/test: Adjust p9-vec-length-{full, epil}-7.c [PR103196]

2022-04-10 Thread Kewen.Lin via Gcc-patches
on 2022/4/8 10:34 PM, Segher Boessenkool wrote: > Hi! > > Thanks for investigating. > > On Fri, Apr 08, 2022 at 03:25:51PM +0800, Kewen.Lin wrote: >> on 2022/4/8 3:29 AM, Segher Boessenkool wrote: >>> On Thu, Apr 07, 2022 at 09:19:51AM -0500, will schmidt wrote: On Mon, 2022-02-28 at 13:37

[committed] Minor bfin codegen bugfix

2022-04-10 Thread Jeff Law via Gcc-patches
builtin-arith-overflow-3 has been failing on bfin-elf for a while. I've had a workaround installed on the tester for a few months and I finally got some time to dig into it over the weekend. Ultimately I was able to nail the problem down to the representation of the rotate left by one

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

2022-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103196 --- Comment #6 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:3ac111372ecb73cc2464ab27e3bad75dfe88a34b commit r12-8075-g3ac111372ecb73cc2464ab27e3bad75dfe88a34b Author: Kewen Lin Date: Sun Apr

Re: [PATCH, rs6000] Correct match pattern in pr56605.c

2022-04-10 Thread HAO CHEN GUI via Gcc-patches
Hi, On 9/4/2022 上午 12:48, will schmidt wrote: > On Mon, 2022-02-28 at 11:17 +0800, HAO CHEN GUI via Gcc-patches wrote: >> Hi, >> This patch corrects the match pattern in pr56605.c. The former pattern >> is wrong and test case fails with GCC11. It should match following insn on >> each subtarget

Avoid overflow in ipa-modref-tree.cc

2022-04-10 Thread Jan Hubicka via Gcc-patches
Hi, the testcase triggers ICE since computation overflows on two accesses that are very far away d->b[-144115188075855873] and d->b[144678138029277184]. This patch makes the relevant part of modref to use poly_offset_int. It is kind of weird to store bit offsets into poly_int64 but it is what

gcc-12-20220410 is now available

2022-04-10 Thread GCC Administrator via Gcc
Snapshot gcc-12-20220410 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-20220410/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 12 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug gcov-profile/105210] gcc/auto-profile.cc:391:11: warning: variable 'level' set but not used

2022-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105210 --- Comment #5 from Andrew Pinski --- (In reply to Eric Gallager from comment #4) > (In reply to Andrew Pinski from comment #3) > > (In reply to David Binderman from comment #2) > > > It seems that recent gcc trunk can't detect set-but-not-used

[Bug ada/105212] New: -gnatwu gives false error message for certain arrays.

2022-04-10 Thread service at totalplanlos dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105212 Bug ID: 105212 Summary: -gnatwu gives false error message for certain arrays. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug gcov-profile/105210] gcc/auto-profile.cc:391:11: warning: variable 'level' set but not used

2022-04-10 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105210 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/50486] No warning at signed -> unsigned casting

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

[Bug c++/87403] [Meta-bug] Issues that suggest a new warning

2022-04-10 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 87983, which changed state. Bug 87983 Summary: Feature: Add a warning when case labels from a different enum than the one in switch(EXPR) are used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87983 What

[Bug c++/87404] Implement -Wenum-compare and -Wenum-compare-switch

2022-04-10 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87404 Eric Gallager changed: What|Removed |Added CC||avarab at gmail dot com --- Comment #7

[Bug c/87983] Feature: Add a warning when case labels from a different enum than the one in switch(EXPR) are used

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

[Bug gcov-profile/105210] gcc/auto-profile.cc:391:11: warning: variable 'level' set but not used

2022-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105210 Andrew Pinski changed: What|Removed |Added Component|c |gcov-profile CC|

[Bug rtl-optimization/105211] ICE: SIGSEGV in contains_struct_check (tree.h:3570) with -Os -ffast-math and __builtin_roundf()

2022-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105211 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug rtl-optimization/105211] New: ICE: SIGSEGV in contains_struct_check (tree.h:3570) with -Os -ffast-math and __builtin_roundf()

2022-04-10 Thread zsojka at seznam dot cz via Gcc-bugs
h-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-8072-20220410001634-g71cac7de8f1-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220410 (experimental) (GCC)

[Bug c/105210] gcc/auto-profile.cc:391:11: warning: variable 'level' set but not used

2022-04-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105210 --- Comment #2 from David Binderman --- It seems that recent gcc trunk can't detect set-but-not-used in this code: extern int g( int); void f( int m) { int n; n = 0; for (int i = 0; i < m; ++i) {

[Bug c/105210] gcc/auto-profile.cc:391:11: warning: variable 'level' set but not used

2022-04-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105210 --- Comment #1 from David Binderman --- It would appear that clang trunk is better at finding set-but-not-used variables than gcc. Here are some more cases: ./../trunk.git/gcc/genautomata.cc:5664:7: warning: variable 'alts_number' set but not

[Bug c/105210] New: gcc/auto-profile.cc:391:11: warning: variable 'level' set but not used

2022-04-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105210 Bug ID: 105210 Summary: gcc/auto-profile.cc:391:11: warning: variable 'level' set but not used Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/105209] New: internal compiler error: in store_data_bypass_p_1

2022-04-10 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105209 Bug ID: 105209 Summary: internal compiler error: in store_data_bypass_p_1 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/105208] New: incorrect -Wunused-but-set-variable for static const variables used in const expressions

2022-04-10 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105208 Bug ID: 105208 Summary: incorrect -Wunused-but-set-variable for static const variables used in const expressions Product: gcc Version: 11.2.0 Status: UNCONFIRMED

Gsoc

2022-04-10 Thread 20-cs Kunal Rajnish via Gcc
Dear Sir/Ma'am I beginners in coding but has lot's of interest in working with people like you and learning new skills as much as possible. I had a idea that why not "make a simple interface for user to create there own library and import them". This will attract more new coders so that they can

[Bug fortran/105138] [7,8,9,10,F95] Bogus error when function name does not shadow an intrinsic when RESULT clause is used

2022-04-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105138 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|[7,8,9,10,11,F95] Bogus |[7,8,9,10,F95] Bogus error

[Bug fortran/105138] [7,8,9,10,11,F95] Bogus error when function name does not shadow an intrinsic when RESULT clause is used

2022-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105138 --- Comment #14 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:fdaa6de39a5da45dccd06c18dd355893b4cf9060 commit r11-9806-gfdaa6de39a5da45dccd06c18dd355893b4cf9060 Author: Harald Anlauf

[Bug fortran/104228] [9/10/11 Regression] ICE in df_install_ref, at df-scan.cc:2294 since r8-3589-g707905d0773e5a8e

2022-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104228 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:6b4e07251c685430e00d6b3f3dee41012c41ca26 commit r11-9805-g6b4e07251c685430e00d6b3f3dee41012c41ca26 Author: Mikael Morin

[Bug fortran/104570] [12 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.cc:3681 since r12-7217-g57da34939703a6e6

2022-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104570 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:6b4e07251c685430e00d6b3f3dee41012c41ca26 commit r11-9805-g6b4e07251c685430e00d6b3f3dee41012c41ca26 Author: Mikael Morin

[Bug fortran/104228] [9/10/11 Regression] ICE in df_install_ref, at df-scan.cc:2294 since r8-3589-g707905d0773e5a8e

2022-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104228 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:3b0f715744d7919ee729d370155a68d5fa97cba9 commit r11-9804-g3b0f715744d7919ee729d370155a68d5fa97cba9 Author: Mikael Morin

[Bug fortran/105184] ICE in gfc_array_init_size, at fortran/trans-array.cc:5841

2022-04-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105184 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/105184] ICE in gfc_array_init_size, at fortran/trans-array.cc:5841

2022-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105184 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:54c5e064cc3dc3c9b3dff12b6d48dc3efd482b07 commit r12-8073-g54c5e064cc3dc3c9b3dff12b6d48dc3efd482b07 Author: Harald Anlauf Date:

[Bug libstdc++/101527] The implementation of std::common_iterator and std::counted_iterator's operator== seems to be wrong

2022-04-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101527 --- Comment #4 from 康桓瑋 --- MSVC has fixed this issue through https://github.com/microsoft/STL/pull/2066/commits.

Re: [PATCH v3] MIPS: IPL is 8bit in Cause and Status registers if TARGET_MCU

2022-04-10 Thread Maciej W. Rozycki
On Tue, 15 Mar 2022, YunQiang Su wrote: > If MIPS MCU extension is enable, the IPL section in Cause and Status > registers has been expand to 8bit instead of 6bit. > > In Cause: the bits are 10-17. > In Status: the bits are 10-16 and 18. > > MD00834-2B-MUCON-AFP-01.03.pdf: P49 and P61. I can

[Bug libstdc++/105031] wrong constexpr if statement in basic_stacktrace::operator=(basic_stacktrace&&)

2022-04-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105031 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/105031] wrong constexpr if statement in basic_stacktrace::operator=(basic_stacktrace&&)

2022-04-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105031 --- Comment #1 from 康桓瑋 --- Hey, Jonathan, would you mind taking a look?

[Bug fortran/105182] [11/12 Regression] compiling NJOY21 causes a ICE segmentation fault: 11

2022-04-10 Thread kermitnuc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105182 --- Comment #18 from Kermit Bunde --- The latest GIT pull fixed the issue

New Swedish PO file for 'gcc' (version 12.1-b20220403)

2022-04-10 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the Swedish team of translators. The file is available at: https://translationproject.org/latest/gcc/sv.po (This file,

Re: [PATCH, v2] PR fortran/105184 - ICE in gfc_array_init_size, at fortran/trans-array.cc:5841

2022-04-10 Thread Thomas Koenig via Gcc-patches
Hi Harald, Regtested again with no new failures.  OK for mainline? Looks good to me. Thanks for the patch! Best regards Thomas

Re: [PATCH, v2] PR fortran/105184 - ICE in gfc_array_init_size, at fortran/trans-array.cc:5841

2022-04-10 Thread Paul Richard Thomas via Gcc-patches
Hi Harald, It looks good to me - OK for mainline. Thanks Paul On Fri, 8 Apr 2022 at 21:45, Harald Anlauf via Fortran wrote: > Dear all, > > Am 06.04.22 um 22:30 schrieb Harald Anlauf via Fortran: > > Dear all, > > > > the logic for checking the allocate-coshape-spec in an ALLOCATE > >

[Bug target/105197] [12 Regression] SVE: wrong code with -O -ftree-vectorize

2022-04-10 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105197 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED