[Bug fortran/99139] ICE: gfc_get_default_type(): Bad symbol '__tmp_UNKNOWN_0_rank_1'

2021-10-23 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99139 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug testsuite/102910] cf-descriptor-5-c.c fails to build

2021-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|fortran

[Bug c++/102802] Selection of inherited operator contrary to `using` clause in C++ when using lambda type

2021-10-23 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102802 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #3 from TC

[Bug c/102909] Missing -Wunused-but-set-variable warning

2021-10-23 Thread mytbk920423 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102909 --- Comment #3 from Iru Cai --- Looks like this kind of things are detected in the front-end. The GNAT front-end can warn on the similar things: procedure Main is A : Integer; B : constant Integer := 1; begin A := 0;

[Bug c/102909] Missing -Wunused-but-set-variable warning

2021-10-23 Thread mytbk920423 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102909 --- Comment #2 from Iru Cai --- So it looks something like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677 GCC thinks ``a`` is set but not used in ``a = 1 + b;``, but is used in ``a = 1; a += b;``.

[Bug sanitizer/102911] AddressSanitizer: CHECK failed: asan_malloc_linux.cpp:46

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

[Bug c/102867] [12 Regression] -Waddress from macro expansion in readelf.c

2021-10-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102867 Martin Sebor changed: What|Removed |Added Summary|[12 Regression] Waddress|[12 Regression] -Waddress

[Bug sanitizer/102911] New: AddressSanitizer: CHECK failed: asan_malloc_linux.cpp:46

2021-10-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102911 Bug ID: 102911 Summary: AddressSanitizer: CHECK failed: asan_malloc_linux.cpp:46 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102910] cf-descriptor-5-c.c fails to build

2021-10-23 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 --- Comment #1 from kargl at gcc dot gnu.org --- This fixes the issue. The assumption that alloca.h is available on all systems is likely not a good idea. The function alloca() lives in stdlib.h on at least FreeBSD. diff --git

[Bug fortran/102910] cf-descriptor-5-c.c fails to build

2021-10-23 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 kargl at gcc dot gnu.org changed: What|Removed |Added Target||x86_64-*-freebsd Target

[Bug fortran/102910] New: cf-descriptor-5-c.c fails to build

2021-10-23 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 Bug ID: 102910 Summary: cf-descriptor-5-c.c fails to build Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/102641] Bogus error for intent(out) dummy that is a polymorphic assumed-rank array

2021-10-23 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102641 Bug 102641 depends on bug 102729, which changed state. Bug 102729 Summary: Assumed rank: ICE when passing noncontiguous to CONTIGUOUS assume rank (assumed-rank loop handling) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102729 What

[Bug fortran/100194] [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351

2021-10-23 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100194 sandra at gcc dot gnu.org changed: What|Removed |Added CC||burnus at gcc dot gnu.org

[Bug fortran/102729] Assumed rank: ICE when passing noncontiguous to CONTIGUOUS assume rank (assumed-rank loop handling)

2021-10-23 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102729 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug fortran/37131] inline matmul for small matrix sizes

2021-10-23 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37131 Bug 37131 depends on bug 65819, which changed state. Bug 65819 Summary: overzealous checking in gfc_check_dependency for identical=true https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65819 What|Removed |Added

[Bug fortran/36854] [meta-bug] fortran front-end optimization

2021-10-23 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36854 Bug 36854 depends on bug 65819, which changed state. Bug 65819 Summary: overzealous checking in gfc_check_dependency for identical=true https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65819 What|Removed |Added

[Bug fortran/65819] overzealous checking in gfc_check_dependency for identical=true

2021-10-23 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65819 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug fortran/71703] [9/10/11/12 Regression] [OOP] ICE in wide_int_to_tree, at tree.c:1488

2021-10-23 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71703 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug fortran/84007] [OOP] ICE with SAME_TYPE_AS and CLASS(*) entity

2021-10-23 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84007 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug testsuite/102904] go testsuite does not always cause a timeout

2021-10-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102904 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/102908] [12 Regression] go.test/test/fixedbugs/issue16095.go hangs again

2021-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102908 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > This might be a bug in simple_dce_from_worklist which does not check > stmt_unremovable_because_of_non_call_eh_p . > > Let me check if that solves the issue.

[Bug tree-optimization/102908] [12 Regression] go.test/test/fixedbugs/issue16095.go hangs again

2021-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102908 Andrew Pinski changed: What|Removed |Added Component|go |tree-optimization Keywords|

[Bug go/102908] [12 Regression] go.test/test/fixedbugs/issue16095.go hangs again

2021-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102908 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 --- Comment #13 from H.J. Lu --- Created attachment 51659 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51659=edit A patch Please try this.

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-23 Thread gerald at pfeifer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 --- Comment #12 from Gerald Pfeifer --- Created attachment 51658 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51658=edit $WRKDIR/i586-unknown-freebsd11.4/libsanitizer/sanitizer_common/Makefile

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-23 Thread gerald at pfeifer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 --- Comment #11 from Gerald Pfeifer --- Created attachment 51657 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51657=edit $WRKDIR/i586-unknown-freebsd11.4/libsanitizer/Makefile

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #10 from H.J. Lu ---

[Bug fortran/102901] ICE (segfault) when compiling pdt_13.f03 with -fcheck=all in gfc_check_pdt_dummy -> structure_alloc_comps

2021-10-23 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102901 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2021-10-23 Ever confirmed|0

[Bug fortran/102900] ICE via gfc_class_data_get with alloc_comp_class_4.f03 or proc_ptr_52.f90 using -fcheck=all

2021-10-23 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102900 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-23 Thread gerald at pfeifer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 --- Comment #9 from Gerald Pfeifer --- (In reply to H.J. Lu from comment #8) > Does sanitizer_common/sanitizer_platform_limits_freebsd.cpp need any header > files from GCC? >From what I found, that does not appear to be the case. > If yes,

[Bug fortran/102903] Invalid gfortran.dg testcases or wrong-code with -fcheck=all -fsanitize=undefined

2021-10-23 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102903 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2021-10-23

[Bug c/102909] Missing -Wunused-but-set-variable warning

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

[Bug c/102909] New: Missing -Wunused-but-set-variable warning

2021-10-23 Thread mytbk920423 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102909 Bug ID: 102909 Summary: Missing -Wunused-but-set-variable warning Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/102891] Passing real part of complex type component using w%z%re to a subroutine gives erroneous value of dummy argument

2021-10-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102891 --- Comment #2 from anlauf at gcc dot gnu.org --- Adding to main the lines print *, size (transfer ( w%z%re ,[1.0_dp])) print *, size (transfer ([w%z%re],[1.0_dp])) prints 4 2 whereas e.g. print *, size (transfer

[Bug fortran/102716] ICE in gfc_validate_kind(): Got bad kind

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

[Bug fortran/102716] ICE in gfc_validate_kind(): Got bad kind

2021-10-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102716 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bec9e43e1611b62732bf29763c3e8bddea480f62 commit r10-10231-gbec9e43e1611b62732bf29763c3e8bddea480f62 Author: Harald Anlauf

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 --- Comment #8 from H.J. Lu --- Does sanitizer_common/sanitizer_platform_limits_freebsd.cpp need any header files from GCC? If yes, why aren't they needed in compiler-rt? If no, can you filter out these -I options in Makefile?

[Bug go/102908] New: [12 Regression] go.test/test/fixedbugs/issue16095.go hangs again

2021-10-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102908 Bug ID: 102908 Summary: [12 Regression] go.test/test/fixedbugs/issue16095.go hangs again Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/9262] [3.3 regression] ICE on false case label

2021-10-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9262 --- Comment #12 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d891ab1bc87bc5d855f6ee18337e517a2a90d759 commit r12-4640-gd891ab1bc87bc5d855f6ee18337e517a2a90d759 Author: H.J. Lu Date: Sat Oct 23

[Bug tree-optimization/102892] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-10-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892 Aldy Hernandez changed: What|Removed |Added Last reconfirmed||2021-10-23

[Bug testsuite/102857] [12 regression] r12-4526 caused regressions on ssa-dom-thread-7.c

2021-10-23 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102857 --- Comment #12 from Aldy Hernandez --- Thank you for your help on this (and the myriad of other PRs ;-)). I'll submit upstream. On Sat, Oct 23, 2021 at 11:06 AM pinskia at gcc dot gnu.org wrote: > >

[Bug testsuite/102857] [12 regression] r12-4526 caused regressions on ssa-dom-thread-7.c

2021-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102857 --- Comment #11 from Andrew Pinski --- (In reply to Aldy Hernandez from comment #10) > Created attachment 51656 [details] > proposed patch 2 > > How about this? I can confirm the patch works on aarch64-linux-gnu and x86_64-linux-gnu.

[Bug testsuite/102857] [12 regression] r12-4526 caused regressions on ssa-dom-thread-7.c

2021-10-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102857 --- Comment #9 from Aldy Hernandez --- (In reply to Andrew Pinski from comment #7) > (In reply to Aldy Hernandez from comment #6) > > Created attachment 51654 [details] > > proposed patch > > > > Does this fix the problem on aarch64? > > I

[Bug testsuite/102857] [12 regression] r12-4526 caused regressions on ssa-dom-thread-7.c

2021-10-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102857 Aldy Hernandez changed: What|Removed |Added Attachment #51654|0 |1 is obsolete|

[Bug testsuite/102857] [12 regression] r12-4526 caused regressions on ssa-dom-thread-7.c

2021-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102857 --- Comment #8 from Andrew Pinski --- Created attachment 51655 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51655=edit Dump files for aarch64

[Bug testsuite/102857] [12 regression] r12-4526 caused regressions on ssa-dom-thread-7.c

2021-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102857 --- Comment #7 from Andrew Pinski --- (In reply to Aldy Hernandez from comment #6) > Created attachment 51654 [details] > proposed patch > > Does this fix the problem on aarch64? I get: Running

[Bug testsuite/102857] [12 regression] r12-4526 caused regressions on ssa-dom-thread-7.c

2021-10-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102857 --- Comment #6 from Aldy Hernandez --- Created attachment 51654 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51654=edit proposed patch Does this fix the problem on aarch64?