[Bug middle-end/113904] [OpenMP][5.0][5.1] Dynamic context selector 'user={condition(expr)}' not handled

2024-05-13 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113904 --- Comment #7 from sandra at gcc dot gnu.org --- My most recent metadirectives/dynamic selector patch set does include partial support for dynamic selectors. For C/C++ it handles expressions that reference variables/functions that are globally

[Bug other/115076] [OpenMP] "declare variant" scoping rules and visibility

2024-05-13 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115076 --- Comment #1 from sandra at gcc dot gnu.org --- Created attachment 58197 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58197=edit second test case

[Bug other/115076] New: [OpenMP] "declare variant" scoping rules and visibility

2024-05-13 Thread sandra at gcc dot gnu.org via Gcc-bugs
ty: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org CC: burnus at gcc dot gnu.org Target Milestone: --- Created attachment 58196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58196=e

[Bug middle-end/114596] [OpenMP] "declare variant" scoring seems incorrect for construct selectors

2024-05-13 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114596 --- Comment #8 from sandra at gcc dot gnu.org --- This bug is addressed in the metadirective/dynamic selector patch set I posted here: https://gcc.gnu.org/pipermail/gcc-patches/2024-May/650725.html

[Bug middle-end/113904] [OpenMP][5.0][5.1] Dynamic context selector 'user={condition(expr)}' not handled

2024-04-11 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113904 --- Comment #6 from sandra at gcc dot gnu.org --- On further investigation, it appears that both the C and C++ front ends are at least attempting to parse the context selectors in the correct scope, although C++ trips over a "use of para

[Bug middle-end/113904] [OpenMP][5.0][5.1] Dynamic context selector 'user={condition(expr)}' not handled

2024-04-10 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113904 --- Comment #5 from sandra at gcc dot gnu.org --- Per TR12, these are the rules for the scoping/evaluation of these expressions: "For the match clause of a declare variant directive, any argument of the base function that is refer

[Bug middle-end/114596] [OpenMP] "declare variant" scoring seems incorrect for construct selectors

2024-04-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114596 --- Comment #7 from sandra at gcc dot gnu.org --- OK, I will do no more work on the old implementation, adjust the broken testcases, and proceed with getting the my new implementation ready for stage 1 submission. I don't know if I'll be able

[Bug middle-end/114596] [OpenMP] "declare variant" scoring seems incorrect for construct selectors

2024-04-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114596 --- Comment #5 from sandra at gcc dot gnu.org --- Tobias, it looks to me like you missed the connection between the first half of item (1) in 7.3 (I'm still looking at the 5.2 spec): "Each trait selector for which the corresponding

[Bug middle-end/114596] [OpenMP] "declare variant" scoring seems incorrect for construct selectors

2024-04-04 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114596 --- Comment #1 from sandra at gcc dot gnu.org --- Created attachment 57883 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57883=edit patch to add instrumentation as diagnostic aid

[Bug middle-end/114596] New: [OpenMP] "declare variant" scoring seems incorrect for construct selectors

2024-04-04 Thread sandra at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org Target Milestone: --- Created attachment 57882 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57882=edit reduced test cas

[Bug middle-end/113904] [OpenMP][5.0][5.1] Dynamic context selector 'user={condition(expr)}' not handled

2024-02-13 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113904 --- Comment #4 from sandra at gcc dot gnu.org --- Dynamic selectors are completely broken on mainline, since the patches that at least partially implements this feature for metadirectives has not been approved or committed yet. I'm also very

[Bug libstdc++/79193] libstdc++ configure incorrectly decides linking works for cross-compiler

2024-01-24 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79193 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug c++/90463] Documentation: -Wunused not listed among the options enabled by -Wall

2024-01-22 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90463 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug c/89180] [meta-bug] bogus/missing -Wunused warnings

2024-01-22 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 90463, which changed state. Bug 90463 Summary: Documentation: -Wunused not listed among the options enabled by -Wall https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90463 What|Removed

[Bug c++/90463] Documentation: -Wunused not listed among the options enabled by -Wall

2024-01-21 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90463 --- Comment #2 from sandra at gcc dot gnu.org --- A quick look through the lists of -Wall and -Wextra options turned up some others that are missing, too. I'm trying to do a more thorough patch.

[Bug c/89180] [meta-bug] bogus/missing -Wunused warnings

2024-01-21 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 90464, which changed state. Bug 90464 Summary: Documentation: incorrect description of -Wunused https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90464 What|Removed |Added

[Bug c++/90464] Documentation: incorrect description of -Wunused

2024-01-21 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90464 sandra at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug c/109708] [c, doc] wdangling-pointer example broken

2024-01-20 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109708 sandra at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug c/109708] [c, doc] wdangling-pointer example broken

2024-01-20 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109708 --- Comment #2 from sandra at gcc dot gnu.org --- I was wondering if some subsequent patch might have caused the first example to regress rather than this being a documentation bug, but it did not give a diagnostic at the time the -Wdangling

[Bug c/102998] Wrong documentation for -Warray-parameter

2024-01-20 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102998 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status

[Bug c/102998] Wrong documentation for -Warray-parameter

2024-01-19 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102998 --- Comment #4 from sandra at gcc dot gnu.org --- Hmmm, I ran into PR113515 with this example.

[Bug c/113515] New: Wrong documentation for -Wstringop-overflow

2024-01-19 Thread sandra at gcc dot gnu.org via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org Target Milestone: --- This is essentially the example for -Warray-parameter=1 in the manual (see PR102998): #include void f (int[static 4]); void f (int[]); // warning 1 void g (void) { int *p

[Bug c/102998] Wrong documentation for -Warray-parameter

2024-01-19 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102998 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2024-01-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 104355, which changed state. Bug 104355 Summary: Misleading -Warray-bounds documentation says "always out of bounds" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104355 What|Removed

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

2024-01-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104355 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status

[Bug c++/102397] Documentation of attribute syntax does not discuss C++11 / C23 attribute syntax

2024-01-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102397 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug c/110029] more precise documentation for cleanup attribute

2024-01-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110029 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug ipa/108470] Missing documentation for alternate uses of __attribute__((noinline))

2024-01-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108470 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug other/111287] doc: "strict ISO mode" definition is not up-to-date

2024-01-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111287 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug target/108521] gcc/doc/invoke.texi contains remnants of Cygwin options removed in 2010-10-07

2024-01-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108521 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug c/26154] [11/12/13/14 Regression] OpenMP extensions to the C language is not documented or doumented in the wrong spot

2024-01-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26154 sandra at gcc dot gnu.org changed: What|Removed |Added CC||burnus at gcc dot gnu.org

[Bug c/107942] [11/12/13/14 Regression] Documentation of the volatile style for noreturn is gone and const style for const attribute is gone

2024-01-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107942 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug middle-end/110847] [13/14 Regression] Inaccurate GCC documentation about -Wtsan and -Wxor-used-as-pow warnings

2024-01-17 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110847 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug middle-end/111659] document that -Wstrict-flex-arrays depends on -ftree-vrp

2024-01-17 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111659 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug c/111693] -Wuse-after-free is documented in the wrong location

2024-01-16 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111693 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug target/112973] Documentation for __builtin_preserve_access_index is not wrapped in extend.texi

2024-01-16 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112973 sandra at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug tree-optimization/112468] [14 Regression] Missed phi-opt after recent change (phi-opt-24.c)

2023-12-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112468 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug tree-optimization/110279] [14 Regression] Regressions on aarch64 cause by handing FMA in reassoc (510.parest_r, 508.namd_r)

2023-12-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110279 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug c++/111274] ice in fixup_blocks_walker with -O1 and -fopenmp

2023-09-07 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111274 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug c++/111274] ice in fixup_blocks_walker with -O1 and -fopenmp

2023-09-07 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111274 --- Comment #12 from sandra at gcc dot gnu.org --- Improved and tested patch posted here: https://gcc.gnu.org/pipermail/gcc-patches/2023-September/629616.html IIUC the temporaries introduced in non-full-expressions are bound in a block

[Bug c++/111274] ice in fixup_blocks_walker with -O1 and -fopenmp

2023-09-04 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111274 --- Comment #11 from sandra at gcc dot gnu.org --- OK, I've been digging around in the code. do_poplevel() only fills in BIND_EXPR_BLOCK if stmts_are_full_exprs_p() is true. I haven't figured out the control flow that affects the latter

[Bug c++/111274] ice in fixup_blocks_walker with -O1 and -fopenmp

2023-09-02 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111274 --- Comment #9 from sandra at gcc dot gnu.org --- The problem is that it's tripping over a BIND_EXPR with a null BIND_EXPR_BLOCK. The attached patch stops the testcase from ICE'ing but hasn't been otherwise tested yet. I'm not sure what a null

[Bug c++/111274] ice in fixup_blocks_walker with -O1 and -fopenmp

2023-09-02 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111274 --- Comment #8 from sandra at gcc dot gnu.org --- Created attachment 55832 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55832=edit first attempt at fix

[Bug c++/111274] ice in fixup_blocks_walker with -O1 and -fopenmp

2023-09-02 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111274 sandra at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2023-09-02

[Bug fortran/109467] New: inconsistent formatting/case of keywords in error messages in Fortran front end

2023-04-10 Thread sandra at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org Target Milestone: --- I've noted that calls to gfc_error in the Fortran front end use a mix of conventions for language keywords. Some

[Bug tree-optimization/94920] Failure to optimize abs pattern from arithmetic with selected operands based on comparisons with 0

2023-03-04 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94920 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug c++/108399] New: wrong locations generated for OMP_FOR

2023-01-13 Thread sandra at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org Target Milestone: --- Created attachment 54268 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54268=edit WIP patch While working on some other changes to the "omp for" directi

[Bug libfortran/108056] [12/13 Regression] backward compatibility issue between 11 and 12

2022-12-11 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108056 --- Comment #7 from sandra at gcc dot gnu.org --- I've swapped out just about all the details on this work after more than a year, but we shouldn't be trying to create a CFI descriptor with BT_ASSUMED at all, should we? If the compiler

[Bug middle-end/106548] New: ICE in #pragma openmp parallel for simd linear with long long variables

2022-08-07 Thread sandra at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org Target Milestone: --- Test case is reduced from libgomp.c/linear-1.c, with "simd" added to the loop: int a[256]; __attribute__

[Bug middle-end/106492] New: ICE in #pragma omp for simd

2022-07-31 Thread sandra at gcc dot gnu.org via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org Target Milestone: --- This is similar to PR106449; adding the simd keyword to an existing omp for test case causes an ICE related to incompatible types. Test case is derived from g++.dg/gomp/pr95063.C: // PR

[Bug middle-end/106449] New: ICE in #pragma omp parallel for simd

2022-07-26 Thread sandra at gcc dot gnu.org via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org Target Milestone: --- Test case is derived from c-c++-common/gomp/loop-8.c, with "simd" added: void foo (void) { int a[1024]; int *p, *q; #pragma omp parallel for simd collapse(2) f

[Bug fortran/98342] Allocatable component in call to assumed-rank routine causes invalid pointer

2022-01-25 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98342 sandra at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug fortran/103695] [12 Regression][OpenMP] affinity clause - ICE: verify_ssa failed since r12-1108-g9a5de4d5af1c10a8

2022-01-20 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103695 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug fortran/103695] [12 Regression][OpenMP] affinity clause - ICE: verify_ssa failed since r12-1108-g9a5de4d5af1c10a8

2022-01-20 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103695 --- Comment #6 from sandra at gcc dot gnu.org --- *** Bug 102621 has been marked as a duplicate of this bug. ***

[Bug fortran/102621] ICE in convert_nonlocal_reference_op, at tree-nested.c:1166 since r12-1108-g9a5de4d5af1c10a8

2022-01-20 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102621 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug fortran/103695] [12 Regression][OpenMP] affinity clause - ICE: verify_ssa failed since r12-1108-g9a5de4d5af1c10a8

2022-01-19 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103695 sandra at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |sandra at gcc dot

[Bug fortran/104100] Passing an allocated array to a C bind function alters the bounds

2022-01-19 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104100 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug middle-end/103163] [12 Regression] stack_limit_rtx is created too early causing nregs field on REG to be zero (gcc.target/nios2/nios2-stack-check-1.c and gcc.target/powerpc/stack-limit.c)

2022-01-18 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103163 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug fortran/103695] [12 Regression][OpenMP] affinity clause - ICE: verify_ssa failed since r12-1108-g9a5de4d5af1c10a8

2022-01-15 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103695 --- Comment #4 from sandra at gcc dot gnu.org --- Ooops, I meant AFFINITY clause in the message above, not ASSOCIATED.

[Bug fortran/103695] [12 Regression][OpenMP] affinity clause - ICE: verify_ssa failed since r12-1108-g9a5de4d5af1c10a8

2022-01-15 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103695 --- Comment #3 from sandra at gcc dot gnu.org --- It appears that the wrong-scope problem is introduced in gfc_finish_var_decl, in this block of code: /* Chain this decl to the pending declarations. Don't do pushdecl() because

[Bug fortran/103695] [12 Regression][OpenMP] affinity clause - ICE: verify_ssa failed since r12-1108-g9a5de4d5af1c10a8

2022-01-11 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103695 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-06 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug fortran/103287] [12 Regression] ICE in argument_rank_mismatch, at fortran/interface.c:2240

2022-01-06 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103287 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-06 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 --- Comment #8 from sandra at gcc dot gnu.org --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2022-January/057293.html

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 sandra at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |sandra at gcc dot

[Bug fortran/102708] Improve ''array temporary was created for argument" diagnostic

2022-01-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102708 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug fortran/103366] [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

2022-01-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103366 --- Comment #7 from sandra at gcc dot gnu.org --- The proposed patch looks reasonable to me.

[Bug fortran/95879] [10/11/12 Regression] ICE in gfc_resolve_formal_arglist, at fortran/resolve.c:313

2022-01-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95879 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug fortran/103258] [12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1114 since r12-4979-gee11be7f2d788e60

2022-01-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103258 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2022-01-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status

[Bug fortran/103258] [12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1114 since r12-4979-gee11be7f2d788e60

2022-01-04 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103258 --- Comment #5 from sandra at gcc dot gnu.org --- The previous hacky patch had some testsuite regressions. I've posted a less hacky one that doesn't trigger new failures here: https://gcc.gnu.org/pipermail/gcc-patches/2022-January/587632.html

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-03 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 --- Comment #4 from sandra at gcc dot gnu.org --- This is probably related to my rewrite of the size/shape/ubound/lbound intrinsics back in mid-November. I can add this one to my queue, but I've already got 3 or 4 other issues already waiting

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2022-01-03 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 --- Comment #9 from sandra at gcc dot gnu.org --- Without a test case, I can't tell if the error in comment 7 was due to this bug or a different one. It doesn't really look the same as the other failures I looked at in this issue, as the source

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2022-01-02 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 --- Comment #6 from sandra at gcc dot gnu.org --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2022-January/057249.html

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2022-01-01 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 --- Comment #5 from sandra at gcc dot gnu.org --- Created attachment 52107 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52107=edit -fdump-tree-original output from second test case Well, this is nuts. Unmodified code is generatin

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2021-12-30 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 --- Comment #4 from sandra at gcc dot gnu.org --- I thought I had a fix for this that involved making gfc_is_simply_contiguous smarter about intrinsics and other function calls, but after writing more test cases I found that this one still ICEs

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2021-12-13 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 --- Comment #3 from sandra at gcc dot gnu.org --- Created attachment 51994 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51994=edit -fdump-tree-original output from test case Here's the full output from -fdump-tree-original for the t

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

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

[Bug fortran/103287] [12 Regression] ICE in argument_rank_mismatch, at fortran/interface.c:2240

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

[Bug fortran/103258] [12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1114 since r12-4979-gee11be7f2d788e60

2021-12-12 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103258 --- Comment #4 from sandra at gcc dot gnu.org --- Created attachment 51980 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51980=edit hacky patch Attached patch has not been regression tested, but it does seem to fix the original testc

[Bug fortran/103258] [12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1114 since r12-4979-gee11be7f2d788e60

2021-12-12 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103258 --- Comment #3 from sandra at gcc dot gnu.org --- This looks like an existing bug in error checking that was exposed by my patch to do... more error checking. :-S The problem is that gfc_set_default_type in symbol.c is setting sym

[Bug lto/91288] [9/10/11/12 Regression] ICE in add_symbol_to_partition_1, at lto/lto-partition.c:153 since r249224

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

[Bug fortran/103258] [12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1114 since r12-4979-gee11be7f2d788e60

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

[Bug libstdc++/103166] [12 regression] wrong dependency on getentropy on newlib-based targets

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

[Bug tree-optimization/92879] [10/11 Regression] incorrect warning of __builtin_memset offset is out of the bounds on zero-size allocation and initialization

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

[Bug middle-end/101674] gcc.dg/uninit-pred-9_b.c fails after jump threading rewrite

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

[Bug other/103163] New: stack_limit_rtx is created too early

2021-11-09 Thread sandra at gcc dot gnu.org via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org Target Milestone: --- stack_limit_rtx is initialized in init_emit_once() before init_reg_modes_target() is called to fill in the table for hard_regno_nregs. For -fstack-limit-register, this means the REG

[Bug fortran/101337] gfortran doesn't diagnose all operands with constraint violations

2021-11-07 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101337 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug fortran/89078] [meta-bug] Improve the gfortran manual

2021-11-07 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89078 --- Comment #2 from sandra at gcc dot gnu.org --- I did look over the entire list of still-open issues and did not see any further low-hanging fruit. It also seemed to me that some of the issues on the list are cases where it appears

[Bug fortran/35930] -pedantic: Check for -std=f95/f2003/f2008

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

[Bug fortran/89078] [meta-bug] Improve the gfortran manual

2021-11-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89078 Bug 89078 depends on bug 35276, which changed state. Bug 35276 Summary: Doc should described how to compile mixed-language programs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276 What|Removed |Added

[Bug fortran/35276] Doc should described how to compile mixed-language programs

2021-11-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug fortran/101337] gfortran doesn't diagnose all operands with constraint violations

2021-11-04 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101337 sandra at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |sandra at gcc dot

[Bug fortran/35276] Doc should described how to compile mixed-language programs

2021-11-03 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276 sandra at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |sandra at gcc dot

[Bug fortran/99250] [F2018] coshape intrinsic is missing

2021-10-29 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99250 --- Comment #2 from sandra at gcc dot gnu.org --- Hmmm. I've been going through the list at https://gcc.gnu.org/wiki/Fortran2018Status and there really are a large number of unimplemented F2018 features, not just this one. :-( Anyway, I

[Bug fortran/91497] -Wconversion warns when doing explicit type conversion

2021-10-27 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497 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-26 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

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

2021-10-25 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 --- Comment #11 from sandra at gcc dot gnu.org --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-October/056807.html

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

2021-10-25 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 --- Comment #9 from sandra at gcc dot gnu.org --- I will rewrite this testcase not to use alloca. This particular case was originally XFAIL'ed at runtime because the functionality it was supposed to test (assumed-length character

[Bug fortran/79330] gfortran 5.4.0/6.3.0/7.0.0 misinterpret type of character literal bind(C,name=...)

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

  1   2   3   4   5   >