[Bug fortran/47660] Retain warning text of -Wconversion messages when -Wconversion-extra is in effect

2019-04-03 Thread thenlich+gccbug at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47660

Thomas Henlich  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #3 from Thomas Henlich  ---
(In reply to Dominique d'Humieres from comment #2)
> > -Wconversion-extra
> > Warn about implicit conversions between different types and kinds.
> > This option does not imply -Wconversion.

This last sentence was added after 4.6.0 and renders the original complaint
obsolete. "-Wconversion -Wconversion-extra" works as expected. Closing as
Invalid.

[Bug fortran/47660] Retain warning text of -Wconversion messages when -Wconversion-extra is in effect

2019-04-02 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47660

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|NEW |WAITING

--- Comment #2 from Dominique d'Humieres  ---
> Note that the warning
>
> i = 0._8
> 1
> Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at 
> (1)
>
> is no longer issued with 5.0.

I meant with -Wconversion.

From the manual

> -Wconversion
> Warn about implicit conversions that are likely to change the value 
> of the expression after conversion. Implied by -Wall.
>
> -Wconversion-extra
> Warn about implicit conversions between different types and kinds.
> This option does not imply -Wconversion.

IMO the different warnings for the two options make sense. Without feedback
I'll close the PR as WONTFIX.

[Bug fortran/47660] Retain warning text of -Wconversion messages when -Wconversion-extra is in effect

2014-12-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47660

Dominique d'Humieres  changed:

   What|Removed |Added

   Keywords||diagnostic
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-21
 Ever confirmed|0   |1

--- Comment #1 from Dominique d'Humieres  ---
Still present at r218995. Note that the warning

i = 0._8
1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at
(1)

is no longer issued with 5.0.


[Bug fortran/47660] Retain warning text of -Wconversion messages when -Wconversion-extra is in effect

2011-02-09 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47660

kargl at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P5
 CC||kargl at gcc dot gnu.org