https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #27 from CVS Commits ---
The master branch has been updated by Martin Liska :
https://gcc.gnu.org/g:44aa890d8fb4afa843cf6cb7452fd5d6f3dd61fe
commit r12-5959-g44aa890d8fb4afa843cf6cb7452fd5d6f3dd61fe
Author: Manfred Schwarb
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #26 from CVS Commits ---
The master branch has been updated by Martin Liska :
https://gcc.gnu.org/g:f1215db08126fbd2d69d971d65611508cf83b4ae
commit r12-5958-gf1215db08126fbd2d69d971d65611508cf83b4ae
Author: Manfred Schwarb
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #25 from Manfred Schwarb ---
Same issue for MAX1 and MIN1:
88 | ff=MAX1(a, a)
| 1
Warning: Change of value in conversion from 'REAL(4)' to 'INTEGER(4)' at (1)
[-Wconversion]
Surprisingly, I could not
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #24 from Manfred Schwarb ---
Sandra,
I will look into this. Probably streamlining the patch to only use *4 and *8
is appropriate.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #22 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Oct 5 14:27:26 2019
New Revision: 276626
URL: https://gcc.gnu.org/viewcvs?rev=276626=gcc=rev
Log:
2019-10-05 Steven G. Kargl
PR fortran/91497
*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
kargl at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #20 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Oct 3 20:46:26 2019
New Revision: 276532
URL: https://gcc.gnu.org/viewcvs?rev=276532=gcc=rev
Log:
2019-10-03 Steven G. Kargl
PR fortran/91497
*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #19 from Manfred Schwarb ---
Created attachment 46963
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46963=edit
extended patch from comment #4 to also cover gfc_simplify_dble and
gfc_simplify_sngl
Note, I do not have neither
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #18 from Steve Kargl ---
On Thu, Sep 12, 2019 at 09:23:54AM +, manfred99 at gmx dot ch wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
>
> --- Comment #17 from Manfred Schwarb ---
> Here is the documentation fallout
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #17 from Manfred Schwarb ---
Here is the documentation fallout I mentioned, previous attachment.
And probably a lot of
@multitable @columnfractions .20 .20 .20 .25
entries should be widened for the last column, as "Fortran 77 and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #16 from Manfred Schwarb ---
Created attachment 46873
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46873=edit
documentation changes for conversion intrinsics
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #15 from Steve Kargl ---
On Thu, Sep 12, 2019 at 12:10:21AM +, manfred99 at gmx dot ch wrote:
>
> c.f:4:15:
>
> 4 | ww=CMPLX(1.0_8, 1.0_8)
> | 1
> Warning: Conversion from REAL(8) to default-kind
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #14 from Manfred Schwarb ---
>FWIW, I briefly looked at conversions of complex variables
>and did not find any similar -Wconversion warnings for a patched compiler.
Well, I only looked at REAL,REALPART,AIMAG,IMAG,IMAGPART,DIMAG.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #13 from Manfred Schwarb ---
FWIW, I briefly looked at conversions of complex variables
and did not find any similar -Wconversion warnings for a patched compiler.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #12 from Steve Kargl ---
On Wed, Sep 11, 2019 at 11:08:52PM +, manfred99 at gmx dot ch wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
>
> --- Comment #11 from Manfred Schwarb ---
> >> !---LONG not allowed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #11 from Manfred Schwarb ---
>> !---LONG not allowed anymore in gfortran 10 (?):
>> !!ff=LONG(a)
>> !!ff=LONG(b)
>> !!ff=LONG(c)
>> !!ff=LONG(d)
>> !!ff=LONG(g)
>
>LONG was removed by by BOZ patch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #10 from Steve Kargl ---
On Wed, Sep 11, 2019 at 02:25:23PM +, manfred99 at gmx dot ch wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
>
> --- Comment #9 from Manfred Schwarb ---
> Hi Steve,
>
> I tried your patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #9 from Manfred Schwarb ---
Hi Steve,
I tried your patch in comment 4, it is a good starting point.
However, SNGL and DBLE still throw warnings:
real*4 a,aa
real*8 b,bb
real*10 c,cc
real*16 d
integer*2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #8 from Steve Kargl ---
On Tue, Aug 20, 2019 at 07:50:06PM +, manfred99 at gmx dot ch wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
>
> --- Comment #7 from Manfred Schwarb ---
> Hopefully this rings some bells:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #7 from Manfred Schwarb ---
Hopefully this rings some bells: The warnings happen
only for parameters:
real b
double precision a,c,d
PARAMETER(a=3.1415927d0)
DATA c /3.1415927d0/
d=3.1415927d0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #6 from Steve Kargl ---
On Tue, Aug 20, 2019 at 06:58:27PM +, tkoenig at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
>
> --- Comment #5 from Thomas Koenig ---
> (In reply to Steve Kargl from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #5 from Thomas Koenig ---
(In reply to Steve Kargl from comment #4)
> This diff will silence warnings for explicit conversion
> using REAL() and INT() for the -Wconversion option. It
> does not silence warnings for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #4 from Steve Kargl ---
On Tue, Aug 20, 2019 at 03:28:29PM +, kargl at gcc dot gnu.org wrote:
>
> --- Comment #1 from kargl at gcc dot gnu.org ---
> Unfortunately, -Wconversion has a problem with false positives.
> You can, of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #3 from Steve Kargl ---
On Tue, Aug 20, 2019 at 04:12:47PM +, manfred99 at gmx dot ch wrote:
>
> --- Comment #2 from Manfred Schwarb ---
> Of course. But not being able to silence such warnings renders
> this option rather
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
Manfred Schwarb changed:
What|Removed |Added
CC||tkoenig at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
kargl at gcc dot gnu.org changed:
What|Removed |Added
Priority|P3 |P5
CC|
27 matches
Mail list logo