OSDN Git Service

* Make-lang.in (fortran-warn): Remove -Wno-error.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Mar 2005 01:48:22 +0000 (01:48 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Mar 2005 01:48:22 +0000 (01:48 +0000)
(expr.o-warn, resolve.o-warn, simplify.o-warn,
trans-common.o-warn): Specify -Wno-error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96714 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fortran/ChangeLog
gcc/fortran/Make-lang.in

index 314d79f..cddb358 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Make-lang.in (fortran-warn): Remove -Wno-error.
+       (expr.o-warn, resolve.o-warn, simplify.o-warn,
+       trans-common.o-warn): Specify -Wno-error.
+
 2005-03-17  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
 
        * trans-array.c (gfc_trans_static_array_pointer,
index 8419973..8551e06 100644 (file)
@@ -49,7 +49,14 @@ GFORTRAN_CROSS_NAME := $(shell echo gfortran|sed '$(program_transform_cross_name
 #^L
 
 # Use strict warnings for this front end.
-fortran-warn = $(STRICT_WARN) -Wno-error
+fortran-warn = $(STRICT_WARN)
+
+# These files get warnings from an inline function in GMP saying:
+# "control may reach end of non-void function '__gmpz_get_ui' being inlined"
+fortran/expr.o-warn = -Wno-error
+fortran/resolve.o-warn = -Wno-error
+fortran/simplify.o-warn = -Wno-error
+fortran/trans-common.o-warn = -Wno-error
 
 # These are the groups of object files we have.  The F95_PARSER_OBJS are
 # all the front end files, the F95_OBJS are the files for the translation