[Bug target/104338] RISC-V: Subword atomics result in library calls

2022-02-02 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338 --- Comment #2 from Andreas Schwab --- This also causes a lot of packages to fail to build with undefined references to the libatomic libcalls.

[Bug target/104324] v850-elf-as regression: displacement is too large

2022-02-02 Thread gcc-v850-bugs at engineer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104324 --- Comment #3 from gcc-v850-bugs at engineer dot com --- Thanks for the response! I just managed to build gcc 4.9.2 (using binutils 2.25) and the issue is still present, which is obvious with your input. I will look in the binutils direction ins

[Bug tree-optimization/97821] [9/10/11/12 Regression] wrong code with -ftree-vectorize at -O1 on x86_64-pc-linux-gnu by r6-3608

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

[Bug middle-end/95115] RISC-V 64: inf/inf division optimized out, invalid operation not raised

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95115 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:9c9494533a78df07f2b32097fe1e78f68369dc94 commit r10-10432-g9c9494533a78df07f2b32097fe1e78f68369dc94 Author: Xi Ruoyao Date:

[Bug lto/104333] [11/12 Regression] ICE with -flto -Wl,-plugin-opt=debug

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

[Bug tree-optimization/104341] New: Bogus -Werror=array-bounds since r12-2582-gb9cbf8c9e0bc72f5

2022-02-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104341 Bug ID: 104341 Summary: Bogus -Werror=array-bounds since r12-2582-gb9cbf8c9e0bc72f5 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug target/104335] [12 regression] build failure if go is included in languages after r12-6747

2022-02-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104335 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/104341] Bogus -Werror=array-bounds since r12-2582-gb9cbf8c9e0bc72f5

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104341 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug lto/104333] [11/12 Regression] ICE with -flto -Wl,-plugin-opt=debug

2022-02-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104333 --- Comment #2 from Martin Liška --- I think the proper fix is reversion of the commit. What do you think Nathan?

[Bug lto/104333] [11/12 Regression] ICE with -flto -Wl,-plugin-opt=debug

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

[Bug fortran/104328] [12 Regression] ICE in resolve_omp_atomic, at fortran/openmp.cc:7760 (etc.) since r12-5793-g689407ef916503b2

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

[Bug fortran/104329] [12 Regression] ICE in resolve_omp_atomic, at fortran/openmp.cc:7827 (etc.) since r12-5793-g689407ef916503b2

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

[Bug c/104289] -fdiagnostics-parseable-fixits doesn't always generate fixit notes

2022-02-02 Thread eric.pouech at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104289 --- Comment #2 from eric.pouech at orange dot fr --- Thx for looking into it. For sake of completeness, clang supports it flawlessly. [eric]$ clang -fdiagnostics-parseable-fixits -c b2.c b2.c:9:28: warning: format specifies type 'int' but the ar

[Bug target/104335] [12 regression] build failure if go is included in languages after r12-6747

2022-02-02 Thread rdapp at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104335 rdapp at linux dot ibm.com changed: What|Removed |Added CC||rdapp at linux dot ibm.com

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation

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

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation

2022-02-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 Martin Liška changed: What|Removed |Added Keywords||needs-bisection --- Comment #4 from Mart

[Bug debug/104337] [9/10/11/12 Regression] ICE when compiling with optimize attribute and always_inline at -m32 -g3 -O0

2022-02-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104337 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Target|

[Bug debug/104337] [9/10/11/12 Regression] ICE when compiling with optimize attribute and always_inline at -m32 -g3 -O0

2022-02-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104337 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/104335] [12 regression] build failure if go is included in languages after r12-6747

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

[Bug tree-optimization/104341] [12 Regression] Bogus -Werror=array-bounds since r12-2582-gb9cbf8c9e0bc72f5

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

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #5 from Andrew Pinski --- If there is a way to test adding -fno-ipa-modref to the bootstrap. That or -fno-tree-vectorize. I suspect it is one of those two since those were the areas that changed the most for the trunk.

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #6 from Jakub Jelinek --- So, in the debugger the difference is in the range_operator::wi_fold_in_parts function (with: enum class A { A0, A1, A2, A3 }; int x; void baz (); struct B { unsigned b : 2; A foo () const { r

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

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 --- Comment #4 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:55d83cdf23b5f284b4e0bd0a6d1af3d947b2e7c3 commit r12-6993-g55d83cdf23b5f284b4e0bd0a6d1af3d947b2e7c3 Author: Tamar Christina Date:

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

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102819 --- Comment #3 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:55d83cdf23b5f284b4e0bd0a6d1af3d947b2e7c3 commit r12-6993-g55d83cdf23b5f284b4e0bd0a6d1af3d947b2e7c3 Author: Tamar Christina Date:

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

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102819 --- Comment #4 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:ab95fe61fea38fbac7f4e00abd32c2530532351a commit r12-6994-gab95fe61fea38fbac7f4e00abd32c2530532351a Author: Tamar Christina Date:

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

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 --- Comment #5 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:ab95fe61fea38fbac7f4e00abd32c2530532351a commit r12-6994-gab95fe61fea38fbac7f4e00abd32c2530532351a Author: Tamar Christina Date:

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

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102819 --- Comment #5 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:9f6f411f63f3aceddd846e4b0d27202a6e13d42c commit r12-6995-g9f6f411f63f3aceddd846e4b0d27202a6e13d42c Author: Tamar Christina Date:

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

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 --- Comment #6 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:9f6f411f63f3aceddd846e4b0d27202a6e13d42c commit r12-6995-g9f6f411f63f3aceddd846e4b0d27202a6e13d42c Author: Tamar Christina Date:

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

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

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

2022-02-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102819 Tamar Christina changed: What|Removed |Added Summary|[11/12 Regression] |[11 Regression] |IF

[Bug target/94372] pthread doesn't define _REENTRANT in preprocessor on OpenRISC

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94372 --- Comment #3 from CVS Commits --- The master branch has been updated by Stafford Horne : https://gcc.gnu.org/g:cac2f69cdad434ad5cb60f5fe931d45cd82ef476 commit r12-6996-gcac2f69cdad434ad5cb60f5fe931d45cd82ef476 Author: Bernd Kuhls Date: Fri

[Bug target/94372] pthread doesn't define _REENTRANT in preprocessor on OpenRISC

2022-02-02 Thread shorne at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94372 Stafford Horne changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/103006] [9/10/11/12 Regression] wrong code at -O1 or -O2 on x86_64-linux-gnu by r7-7101

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

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation

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

[Bug target/104327] [12 Regression] Inlining error on s390x since r12-1039

2022-02-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104327 --- Comment #3 from Martin Liška --- So target specific option mismatch is caused by: static const struct default_options s390_option_optimization_table[] = { ... /* Use MVCLE instructions to decrease code size if requested. */ { OPT

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #8 from Jakub Jelinek --- Now verified, in the LTO case both wi::gt_p/wi::gtu_p and wi::lt_p/wi::ltu_p are inlined and do: 0x0191600e <_ZNK14range_operator16wi_fold_in_partsER6irangeP9tree_nodeRK16generic_wide_intI16wide_i

[Bug ada/104342] New: ICE with -gnata -fcallgraph-info=su

2022-02-02 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104342 Bug ID: 104342 Summary: ICE with -gnata -fcallgraph-info=su Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug target/100428] [nvptx, GOMP_NVPTX_JIT=-O0] FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/reduction-7.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 execution test

2022-02-02 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100428 Tom de Vries changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation

2022-02-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #9 from rsandifo at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #7) > The difference might be in: > 1938/* Optimize comparisons with constants. */ > 1939if (STATIC_CONSTANT_P (yi.len == 1 && yi.val[0] >= 0))

[Bug target/100678] [OpenACC/nvptx] 'libgomp.oacc-c-c++-common/private-atomic-1.c' FAILs (differently) in certain configurations

2022-02-02 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100678 --- Comment #3 from Tom de Vries --- This testcase should be passing since commit https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e0451f93d9faa13495132f4e246e9bef30b51417 ([nvptx] Add some support for .local atomics). It's possible that we'll put

[Bug target/100678] [OpenACC/nvptx] 'libgomp.oacc-c-c++-common/private-atomic-1.c' FAILs (differently) in certain configurations

2022-02-02 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100678 Tom de Vries changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation

2022-02-02 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #10 from rguenther at suse dot de --- On Wed, 2 Feb 2022, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 > > --- Comment #9 from rsandifo at gcc dot gnu.org > --- > (In reply to Jakub Jel

[Bug target/99932] OpenACC/nvptx offloading execution regressions starting with CUDA 11.2-era Nvidia Driver 460.27.04

2022-02-02 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99932 Tom de Vries changed: What|Removed |Added Keywords||testsuite-fail Resolution|---

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #11 from Jakub Jelinek --- > And another question is, the 2, 3, 4 cases handling seems like an > optimization, > so wi_fold at line 192 should give the right answer, but it > doesn't. Actually no, I misunderstood, with -O0 or non-

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

2022-02-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 Martin Liška changed: What|Removed |Added Summary|[12 Regression] Ranger/dom |[12 Regression] Ranger/dom

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #13 from Jakub Jelinek --- So, I think one way is to punt on these small precision types, like: --- range-op.cc.jj1 2022-01-13 22:29:15.345831749 +0100 +++ range-op.cc 2022-02-02 13:44:05.813637820 +0100 @@ -148,11 +148,13 @@ ran

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

2022-02-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #14 from Martin Liška --- I can just confirm that using tree-vrp.o from stage1 fixes the issue.

[Bug lto/104333] [11/12 Regression] ICE with -flto -Wl,-plugin-opt=debug

2022-02-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104333 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/104343] New: Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread ethouris at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 Bug ID: 104343 Summary: Too many arguments error reported for a variadic-argument function if std::endl is passed Product: gcc Version: 7.5.0 Status: UNCONFIRMED

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

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

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

2022-02-02 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #16 from Andrew Macleod --- (In reply to Jakub Jelinek from comment #13) > So, I think one way is to punt on these small precision types, like: > --- range-op.cc.jj1 2022-01-13 22:29:15.345831749 +0100 > +++ range-op.cc 2022-

[Bug middle-end/104076] bogus -Wdangling-pointer on a conditional

2022-02-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org ---

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

2022-02-02 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #17 from rguenther at suse dot de --- On Wed, 2 Feb 2022, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 > > Jakub Jelinek changed: > >What|Removed |Added

[Bug tree-optimization/104344] New: Suboptimal -Os code for manually unrolled loop

2022-02-02 Thread charles.nicholson at gmail dot com via Gcc-bugs
COLLECT_GCC=/opt/compiler-explorer/gcc-snapshot/bin/gcc Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20220202/configure --prefix=/opt/compiler-explorer/gcc-build/staging --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap --enable-multiarch --with

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #18 from Jakub Jelinek --- I think to_widest only works with INTEGER_CSTs, to do the comparisons (or have ?h_range be widest_int), we'd need to use widest_int::from I think. Anyway, with the above patch I've built so far stage2 cc1p

[Bug middle-end/95115] RISC-V 64: inf/inf division optimized out, invalid operation not raised

2022-02-02 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95115 --- Comment #12 from Xi Ruoyao --- Should be fixed in trunk, and gcc-10 & 11 branch.

[Bug target/104345] New: nvptx: "regression" after "nvptx: Transition nvptx backend to STORE_FLAG_VALUE = 1"

2022-02-02 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104345 Bug ID: 104345 Summary: nvptx: "regression" after "nvptx: Transition nvptx backend to STORE_FLAG_VALUE = 1" Product: gcc Version: 12.0 Status: UNCONFIRMED Keyw

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #19 from Jakub Jelinek --- Created attachment 52329 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52329&action=edit gcc12-pr104334.patch Patch doing ?h_range and related comparisons in widest_int.

[Bug tree-optimization/104344] Suboptimal -Os code for manually unrolled loop

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

[Bug c++/104343] Too many arguments error reported for a variadic-argument function if std::endl is passed

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

[Bug tree-optimization/104344] Suboptimal -Os code for manually unrolled loop

2022-02-02 Thread charles.nicholson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344 --- Comment #2 from Charles Nicholson --- For whatever it's worth, clang does recognize both forms and emit optimal assembly at -Os: https://gcc.godbolt.org/z/sehxYb97E cast_through_char_unrolled: # @cast_through_char_unrolled movd eax, xmm0

[Bug target/104345] nvptx: "regression" after "nvptx: Transition nvptx backend to STORE_FLAG_VALUE = 1"

2022-02-02 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104345 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug tree-optimization/104344] Suboptimal -Os code for manually unrolled loop

2022-02-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344 --- Comment #3 from Richard Biener --- (In reply to Charles Nicholson from comment #2) > For whatever it's worth, clang does recognize both forms and emit optimal > assembly at -Os: > > https://gcc.godbolt.org/z/sehxYb97E > > cast_through_char

[Bug analyzer/104270] -Wanalyzer-use-of-uninitialized-value is incorrectly suppressed by -ftrivial-auto-var-init=

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104270 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:9b4eee5fd158c4ee75d1f1000debbf5082fb9b56 commit r12-6997-g9b4eee5fd158c4ee75d1f1000debbf5082fb9b56 Author: David Malcolm Date: F

[Bug analyzer/104270] -Wanalyzer-use-of-uninitialized-value is incorrectly suppressed by -ftrivial-auto-var-init=

2022-02-02 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104270 David Malcolm changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/104333] [11/12 Regression] ICE with -flto -Wl,-plugin-opt=debug

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104333 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:9a92e46c0e9a75cd14125493b8826d3e33dd0f67 commit r12-7002-g9a92e46c0e9a75cd14125493b8826d3e33dd0f67 Author: Martin Liska Date: Wed

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

2022-02-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #20 from rsandifo at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #19) > Created attachment 52329 [details] > gcc12-pr104334.patch > > Patch doing ?h_range and related comparisons in widest_int. Looks like a good app

[Bug lto/104333] [11/12 Regression] ICE with -flto -Wl,-plugin-opt=debug

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104333 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Liska : https://gcc.gnu.org/g:fb812e0417adc20cac72986df3bf422ed007743c commit r11-9533-gfb812e0417adc20cac72986df3bf422ed007743c Author: Martin Liska Da

[Bug lto/104333] [11/12 Regression] ICE with -flto -Wl,-plugin-opt=debug

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

[Bug c++/104255] parsing function signature fails when it uses a function parameter outside of an unevaluated context

2022-02-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104255 --- Comment #5 from Patrick Palka --- (In reply to qingzhe huang from comment #4) > (In reply to Patrick Palka from comment #2) > > > > > error: use of parameter outside function body before ‘)’ token > > > > due to 'e' being used outside o

[Bug fortran/104328] [12 Regression] ICE in resolve_omp_atomic, at fortran/openmp.cc:7760 (etc.) since r12-5793-g689407ef916503b2

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104328 --- Comment #2 from Jakub Jelinek --- The first 2 testcases can be fixed with --- openmp.cc.jj2 2022-01-21 11:01:12.458449420 +0100 +++ openmp.cc 2022-02-02 16:21:36.813563894 +0100 @@ -7757,6 +7757,7 @@ resolve_omp_atomic (gfc_code *cod

[Bug c/84052] Using Randomizing structure layout plugin in linux kernel compilation doesn't generate proper debuginfo

2022-02-02 Thread mivicaf210 at mxclip dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84052 Jordan Beaubien changed: What|Removed |Added CC||mivicaf210 at mxclip dot com --- Comme

[Bug fortran/104346] New: Problem with overloaded assignment when LHS is allocatable array

2022-02-02 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104346 Bug ID: 104346 Summary: Problem with overloaded assignment when LHS is allocatable array Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104347] New: internal compiler error- default template arguments - missing angle brackets

2022-02-02 Thread dev at gutoehrlein dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104347 Bug ID: 104347 Summary: internal compiler error- default template arguments - missing angle brackets Product: gcc Version: unknown Status: UNCONFIRMED Severit

[Bug c++/104343] Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 --- Comment #2 from Jonathan Wakely --- Your code is invalid. std::endl is an overloaded function, so you can't pass it as an argument like that. The template argument cannot be deduced. GCC's error could be improved though.

[Bug c++/104348] New: Incorrect sorting in constexpr constructor

2022-02-02 Thread asorenji at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104348 Bug ID: 104348 Summary: Incorrect sorting in constexpr constructor Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/104343] Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|WAITING

[Bug fortran/104346] Problem with overloaded assignment when LHS is allocatable array

2022-02-02 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104346 --- Comment #1 from Vivek Rao --- It is explained at https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-overloaded-assignment-when-LHS-is-allocatable-array/m-p/1356757/highlight/true#M159812 that the code is not conforming, so th

[Bug c++/104348] Incorrect sorting in constexpr constructor

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

[Bug c++/99859] constexpr evaluation with member function is incorrect

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99859 Jonathan Wakely changed: What|Removed |Added CC||asorenji at gmail dot com --- Comment

[Bug c++/104343] Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 --- Comment #4 from Jonathan Wakely --- Further reduced: void endl(char); void endl(wchar_t); template inline void Sprint(Args&&...) { } int main() { Sprint("B: off=", 2, " now=", 3, endl); }

[Bug c++/104343] Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 --- Comment #5 from Jonathan Wakely --- Clang gives: x.C:11:3: error: no matching function for call to 'Sprint' Sprint("B: off=", 2, " now=", 3, endl); ^~ x.C:5:13: note: candidate template ignored: substitution failure: deduced incompl

[Bug c++/104079] [9/10/11/12 Regression] internal compiler error: in nothrow_spec_p, at cp/except.c:1192 since r9-4662-g0d699def39bb937e

2022-02-02 Thread turningtides at outlook dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104079 --- Comment #7 from Martin Turski --- ETA?

[Bug fortran/104349] New: ICE in (tree_to_uhwi) gfc_conv_array_initializer, at fortran/trans-array.cc:6337

2022-02-02 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104349 Bug ID: 104349 Summary: ICE in (tree_to_uhwi) gfc_conv_array_initializer, at fortran/trans-array.cc:6337 Product: gcc Version: 12.0 Status: UNCONFIRMED Severit

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

2022-02-02 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104350 Bug ID: 104350 Summary: ICE in gfc_array_dimen_size(): Bad dimension Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: for

[Bug fortran/104351] New: ICE in gfc_generate_initializer, at fortran/expr.cc:5140

2022-02-02 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104351 Bug ID: 104351 Summary: ICE in gfc_generate_initializer, at fortran/expr.cc:5140 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[Bug fortran/104351] ICE in gfc_generate_initializer, at fortran/expr.cc:5140

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

[Bug fortran/104352] New: ICE in gfc_conv_intrinsic_anyall, at fortran/trans-intrinsic.cc:4481 (etc.)

2022-02-02 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104352 Bug ID: 104352 Summary: ICE in gfc_conv_intrinsic_anyall, at fortran/trans-intrinsic.cc:4481 (etc.) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: no

[Bug fortran/104352] ICE in gfc_conv_intrinsic_anyall, at fortran/trans-intrinsic.cc:4481 (etc.)

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

[Bug middle-end/104076] bogus -Wdangling-pointer on a conditional

2022-02-02 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076 --- Comment #5 from Martin Sebor --- Unlike the false positive -Wuse-after-free in pr104232, the instance of -Wdangling-pointer in this case (a PHI argument) is intentional so that we diagnose problems like those in the request for it (pr63272),

[Bug target/104090] [10/11/12 Regression] powerpc: asm machine directive wrong for FSL processors

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104090 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Sebastian Huber : https://gcc.gnu.org/g:3cb53c10831be59d967d9dce8e7980fee4703500 commit r11-9534-g3cb53c10831be59d967d9dce8e7980fee4703500 Author: Sebastian Hub

[Bug fortran/104328] [12 Regression] ICE in resolve_omp_atomic, at fortran/openmp.cc:7760 (etc.) since r12-5793-g689407ef916503b2

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

[Bug c/104353] New: ppc64le: Apparent reliance on undefined behavior of xvcvdpsxws

2022-02-02 Thread ckk at kvr dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104353 Bug ID: 104353 Summary: ppc64le: Apparent reliance on undefined behavior of xvcvdpsxws Product: gcc Version: 11.2.0 URL: https://github.com/numpy/numpy/issues/20964#i

[Bug fortran/104328] [12 Regression] ICE in resolve_omp_atomic, at fortran/openmp.cc:7760 (etc.) since r12-5793-g689407ef916503b2

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104328 --- Comment #3 from Jakub Jelinek --- Created attachment 52332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52332&action=edit gcc12-pr104328.patch Untested fix.

[Bug fortran/104331] [10/11 Regression] ICE in gfc_simplify_eoshift, at fortran/simplify.cc:2590

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104331 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f4aa5a3e95ba106f3149157a0278616f7a5fd192 commit r11-9535-gf4aa5a3e95ba106f3149157a0278616f7a5fd192 Author: Harald Anlauf

[Bug fortran/104331] [10/11 Regression] ICE in gfc_simplify_eoshift, at fortran/simplify.cc:2590

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104331 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:323e72a83d417b230c2d93455fa09a4b66614c2a commit r10-10433-g323e72a83d417b230c2d93455fa09a4b66614c2a Author: Harald Anlauf

[Bug fortran/104331] [10/11 Regression] ICE in gfc_simplify_eoshift, at fortran/simplify.cc:2590

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

[Bug ada/104354] New: ICE with Partition_Elaboration_Policy (Sequential)

2022-02-02 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104354 Bug ID: 104354 Summary: ICE with Partition_Elaboration_Policy (Sequential) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug middle-end/104355] New: Misleading -Warray-bounds documentation says "always out of bounds"

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104355 Bug ID: 104355 Summary: Misleading -Warray-bounds documentation says "always out of bounds" Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: documentat

[Bug ada/104354] ICE with Partition_Elaboration_Policy (Sequential)

2022-02-02 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104354 --- Comment #1 from simon at pushface dot org --- Created attachment 52334 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52334&action=edit GCC 12-compatible RTS

  1   2   >