public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/94925] New: Undesired runtime warning message @ 2020-05-02 18:05 siteg at mathalacarte dot com 2020-05-04 6:42 ` [Bug fortran/94925] " rguenth at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: siteg at mathalacarte dot com @ 2020-05-02 18:05 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 Bug ID: 94925 Summary: Undesired runtime warning message Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: siteg at mathalacarte dot com Target Milestone: --- Just upgraded to GNU Fortran (GCC) 10.0.1 20200328 (Red Hat 10.0.1-0.11), and am getting this warning at runtime: "Fortran runtime warning: An array temporary was created" This did not happen in the past. I have tried adding the flags -fcheck=no-array-temps -Wno-array-temporaries to no effect. These occur in a large program where these temporary arrays are used for debugging information that would not be used in production. I have not managed to create a small program that illustrates the problem. I'm hoping that the fact that this problem occurred between the 9.3.1 compiler and the current one may help in getting it tracked down. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/94925] Undesired runtime warning message 2020-05-02 18:05 [Bug fortran/94925] New: Undesired runtime warning message siteg at mathalacarte dot com @ 2020-05-04 6:42 ` rguenth at gcc dot gnu.org 2020-05-04 14:08 ` siteg at mathalacarte dot com ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2020-05-04 6:42 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The code printing this diagnostic is guarded with if (gfc_option.rtcheck & GFC_RTCHECK_ARRAY_TEMPS) { char * msg; if (fsym && proc_name) msg = xasprintf ("An array temporary was created for argument " "'%s' of procedure '%s'", fsym->name, proc_name); and thus -fcheck-array-temporaries ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/94925] Undesired runtime warning message 2020-05-02 18:05 [Bug fortran/94925] New: Undesired runtime warning message siteg at mathalacarte dot com 2020-05-04 6:42 ` [Bug fortran/94925] " rguenth at gcc dot gnu.org @ 2020-05-04 14:08 ` siteg at mathalacarte dot com 2020-05-18 8:41 ` tkoenig at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: siteg at mathalacarte dot com @ 2020-05-04 14:08 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 --- Comment #2 from Fred Krogh <siteg at mathalacarte dot com> --- I'm unclear on comment 1. Are you saying the code is such that this diagnostic can not be turned off and that is the way it should be, or that there is an a problem in gfortran with the if that is guarding the diagnostic. And if the latter, why not mark the status as confirmed. Thanks. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/94925] Undesired runtime warning message 2020-05-02 18:05 [Bug fortran/94925] New: Undesired runtime warning message siteg at mathalacarte dot com 2020-05-04 6:42 ` [Bug fortran/94925] " rguenth at gcc dot gnu.org 2020-05-04 14:08 ` siteg at mathalacarte dot com @ 2020-05-18 8:41 ` tkoenig at gcc dot gnu.org 2020-05-18 14:10 ` siteg at mathalacarte dot com 2020-07-30 15:25 ` dominiq at lps dot ens.fr 4 siblings, 0 replies; 6+ messages in thread From: tkoenig at gcc dot gnu.org @ 2020-05-18 8:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org Status|UNCONFIRMED |WAITING Last reconfirmed| |2020-05-18 Ever confirmed|0 |1 --- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Please provide a self-contained example and the complete command line that you use. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/94925] Undesired runtime warning message 2020-05-02 18:05 [Bug fortran/94925] New: Undesired runtime warning message siteg at mathalacarte dot com ` (2 preceding siblings ...) 2020-05-18 8:41 ` tkoenig at gcc dot gnu.org @ 2020-05-18 14:10 ` siteg at mathalacarte dot com 2020-07-30 15:25 ` dominiq at lps dot ens.fr 4 siblings, 0 replies; 6+ messages in thread From: siteg at mathalacarte dot com @ 2020-05-18 14:10 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 --- Comment #4 from Fred Krogh <siteg at mathalacarte dot com> --- Before submitting this I tried to make a small test case to show the problem. It did not show the problem. I was hoping that the fact that the message just started and there were no options that would turn it off would be sufficient. Sorry. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/94925] Undesired runtime warning message 2020-05-02 18:05 [Bug fortran/94925] New: Undesired runtime warning message siteg at mathalacarte dot com ` (3 preceding siblings ...) 2020-05-18 14:10 ` siteg at mathalacarte dot com @ 2020-07-30 15:25 ` dominiq at lps dot ens.fr 4 siblings, 0 replies; 6+ messages in thread From: dominiq at lps dot ens.fr @ 2020-07-30 15:25 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- You should not get the warning if you don't ask for. Without reproducer there is nothing that ca be done. Closing. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-07-30 15:25 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-05-02 18:05 [Bug fortran/94925] New: Undesired runtime warning message siteg at mathalacarte dot com 2020-05-04 6:42 ` [Bug fortran/94925] " rguenth at gcc dot gnu.org 2020-05-04 14:08 ` siteg at mathalacarte dot com 2020-05-18 8:41 ` tkoenig at gcc dot gnu.org 2020-05-18 14:10 ` siteg at mathalacarte dot com 2020-07-30 15:25 ` dominiq at lps dot ens.fr
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).