https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
andysem at mail dot ru changed:
What|Removed |Added
CC||andysem at mail dot ru
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
Thomas Koenig changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
--- Comment #31 from Thomas Koenig ---
(In reply to Dominique d'Humieres from comment #30)
> Fixed by revision r256284?
r256284 is OK, r256283 fails.
We cannot backport r256284 because this is the ABI change for
long string lengths.
So, this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
--- Comment #30 from Dominique d'Humieres ---
Fixed by revision r256284?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
--- Comment #29 from Thomas Koenig ---
Author: tkoenig
Date: Sun Mar 18 09:20:37 2018
New Revision: 258630
URL: https://gcc.gnu.org/viewcvs?rev=258630=gcc=rev
Log:
2018-03-18 Thomas Koenig
PR fortran/79929
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
janus at gcc dot gnu.org changed:
What|Removed |Added
Summary|[7/8 Regression] Bogus |[7 Regression] Bogus
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
Jeffrey A. Law changed:
What|Removed |Added
Priority|P3 |P4
Component|middle-end
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
--- Comment #6 from Dominique d'Humieres ---
Likely caused by revision r243419. Note that I don't get the warning with the C
code in comment 4.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
--- Comment #5 from Martin Sebor ---
Thanks for the C test case. In it, the warning is a false positive caused by
GCC's failure to eliminate the excessive memset at -O1. The call is emitted by
the ccp1 pass at all optimization levels. At -O2,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
--- Comment #4 from Thomas Koenig ---
Here's equivlalent C code:
$ cat bug.c
#include
#include
char * foo(char *c, int len)
{
char *p, *n;
n = malloc(len + 5);
p = c + 5;
memmove (c, n, p-c);
if (p < c)
memset (n + 5, 32, c-p);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
--- Comment #3 from Harald Anlauf ---
I've slightly reduced the example to the following:
% cat gfcbug138c.f90
subroutine gfcbug138 (yerrmsg)
character(kind=1,len=*) :: yerrmsg
yerrmsg = 1_"bug: " // yerrmsg
end subroutine gfcbug138
The
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
Jeffrey A. Law changed:
What|Removed |Added
Priority|P3 |P4
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
Richard Biener changed:
What|Removed |Added
Keywords||diagnostic
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
--- Comment #1 from Harald Anlauf ---
Possibly related to PR78758, which is already fixed.
14 matches
Mail list logo