public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/22423] New: Warnings when building libgfortran
@ 2005-07-12  3:27 fengwang at gcc dot gnu dot org
  2005-09-24 13:14 ` [Bug libfortran/22423] " fxcoudert at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: fengwang at gcc dot gnu dot org @ 2005-07-12  3:27 UTC (permalink / raw)
  To: gcc-bugs

There are warnings when build libgfortran:

$grep warning buildlog
[snip]
../../../gcc/libgfortran/generated/matmul_i4.c:102: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i8.c:102: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_i8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r4.c:102: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r8.c:102: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_r8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c4.c:102: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c4.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c8.c:102: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/matmul_c8.c:185: warning: passing argument 1
../../../gcc/libgfortran/generated/transpose_i4.c:66: warning: passing argument
../../../gcc/libgfortran/generated/transpose_i8.c:66: warning: passing argument
../../../gcc/libgfortran/generated/transpose_c4.c:66: warning: passing argument
../../../gcc/libgfortran/generated/transpose_c8.c:66: warning: passing argument
../../../gcc/libgfortran/generated/eoshift1_4.c:61: warning: 'soffset' may be 
us
../../../gcc/libgfortran/generated/eoshift1_4.c:73: warning: 'len' may be used 
u
../../../gcc/libgfortran/generated/eoshift1_4.c:55: warning: 'roffset' may be 
us
../../../gcc/libgfortran/generated/eoshift1_8.c:61: warning: 'soffset' may be 
us
../../../gcc/libgfortran/generated/eoshift1_8.c:73: warning: 'len' may be used 
u
../../../gcc/libgfortran/generated/eoshift1_8.c:55: warning: 'roffset' may be 
us
../../../gcc/libgfortran/generated/eoshift3_4.c:75: warning: 'len' may be used 
u
../../../gcc/libgfortran/generated/eoshift3_4.c:59: warning: 'soffset' may be 
us
../../../gcc/libgfortran/generated/eoshift3_4.c:53: warning: 'roffset' may be 
us
../../../gcc/libgfortran/generated/eoshift3_8.c:75: warning: 'len' may be used 
u
../../../gcc/libgfortran/generated/eoshift3_8.c:59: warning: 'soffset' may be 
us
../../../gcc/libgfortran/generated/eoshift3_8.c:53: warning: 'roffset' may be 
us
../../../gcc/libgfortran/io/list_read.c:2187: warning: missing braces around 
ini
../../../gcc/libgfortran/io/list_read.c:2187: warning: (near initialization for
../../../gcc/libgfortran/io/list_read.c:2188: warning: missing braces around 
ini
../../../gcc/libgfortran/io/list_read.c:2188: warning: (near initialization for
../../../gcc/libgfortran/io/list_read.c:2025: warning: 'first_nl' may be used 
un
../../../gcc/libgfortran/io/list_read.c:2026: warning: 'root_nl' may be used 
uni
../../../gcc/libgfortran/intrinsics/eoshift0.c:50: warning: 'roffset' may be 
use
../../../gcc/libgfortran/intrinsics/eoshift0.c:64: warning: 'len' may be used 
un
../../../gcc/libgfortran/intrinsics/eoshift0.c:56: warning: 'soffset' may be 
use
../../../gcc/libgfortran/intrinsics/eoshift2.c:68: warning: 'len' may be used 
un
../../../gcc/libgfortran/intrinsics/eoshift2.c:56: warning: 'soffset' may be 
use
../../../gcc/libgfortran/intrinsics/eoshift2.c:50: warning: 'roffset' may be 
use
../../../gcc/libgfortran/intrinsics/spread_generic.c:48: warning: 'rdelta' may 
b
../../../gcc/libgfortran/intrinsics/rename.c:61: warning: implicit declaration 
o
../../../gcc/libgfortran/intrinsics/rename.c:61: warning: incompatible implicit
../../../gcc/libgfortran/intrinsics/rename.c:68: warning: implicit declaration 
o
../../../gcc/libgfortran/intrinsics/rename.c:94: warning: incompatible implicit
../../../gcc/libgfortran/intrinsics/unpack_generic.c:194: warning: passing 
argum
[snip]

-- 
           Summary: Warnings when building libgfortran
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fengwang at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22423


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libfortran/22423] Warnings when building libgfortran
  2005-07-12  3:27 [Bug libfortran/22423] New: Warnings when building libgfortran fengwang at gcc dot gnu dot org
@ 2005-09-24 13:14 ` fxcoudert at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-09-24 13:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-24 13:14 -------
The list of warnings is not that long any more:

../../../gcc/libgfortran/io/list_read.c: In function 'list_formatted_read':
../../../gcc/libgfortran/io/list_read.c:1289: warning: argument 'len' might be
clobbered by 'longjmp' or 'vfork'

../../../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

There are also warnings due to PR 18452:
cc1: warning: command line option "-fno-repack-arrays" is valid for Fortran but
not for C

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-24 13:14:40
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22423


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-24 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-12  3:27 [Bug libfortran/22423] New: Warnings when building libgfortran fengwang at gcc dot gnu dot org
2005-09-24 13:14 ` [Bug libfortran/22423] " fxcoudert at gcc dot gnu dot org

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).