[Bug fortran/30820] -Wno-error not necessary in Make-lang.in any more?

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 16 14:36:00 GMT 2007



------- Comment #2 from fxcoudert at gcc dot gnu dot org  2007-05-16 15:34 -------
On mainline, we currently require GMP >= 4.1, for which this transformation is
safe (the mpz_get_ui inline function in gmp.h was corrected to avoid this
warning). Thus, simply removing these lines should work fine:


Index: Make-lang.in
===================================================================
--- Make-lang.in        (revision 124460)
+++ Make-lang.in        (working copy)
@@ -48,13 +48,6 @@ GFORTRAN_TARGET_INSTALL_NAME := $(target
 # Use strict warnings for this front end.
 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
 # from the parse tree to GENERIC


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
           Keywords|                            |patch
   Last reconfirmed|2007-02-16 11:08:24         |2007-05-16 15:34:54
               date|                            |


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



More information about the Gcc-bugs mailing list