This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/22423] Warnings when building libgfortran
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2005 18:00:59 -0000
- Subject: [Bug libfortran/22423] Warnings when building libgfortran
- References: <bug-22423-10258@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-02 18:00 -------
(In reply to comment #1)
>
> ../../../gcc/libgfortran/io/read.c: In function 'read_f':
> ../../../gcc/libgfortran/io/read.c:624: warning: value computed is not used
>
> ../../../gcc/libgfortran/io/unit.c: In function 'get_array_unit_len':
> ../../../gcc/libgfortran/io/unit.c:264: warning: return makes integer from
> pointer without a cast
Those two were fixed by:
* io/unit.c (get_array_unit_len): Return 0 rather than NULL.
* io/read.c (read_f): Remove spurious pointer dereference.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22423