From patchwork Mon Aug 30 10:54:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [fortran] Dependencies for frontend-passes.c Date: Mon, 30 Aug 2010 00:54:34 -0000 From: FX X-Patchwork-Id: 63017 Message-Id: To: Fortran List , gcc-patches@gcc.gnu.org > I have two testsuite failures on x86_64-darwin: trim_optimize_1.f90 and widechar_intrinsics_5.f90. I don't know how they could possibly be related, but my baseline testsuite run is still running. Now I understand why I had these failures... When the file frontend-passes.c was added to the Fortran front-end, its dependencies were not clearly indicated in Make-lang.in... not even its dependency on gfortran.h, which is rather annoying and can get build in mixed states (in my case, frontend-passes.c values for intrinsic symbol IDs were off by one due to the introduction of the new EXECUTE_COMMAND_LINE in my patch). So, I propose the following patch: 2010-08-30 Francois-Xavier Coudert * Make-lang.in: Add frontend-passes.o dependencies. Built on x64_64-linux. OK to commit? FX Index: Make-lang.in =================================================================== --- Make-lang.in (revision 163620) +++ Make-lang.in (working copy) @@ -339,6 +339,7 @@ libfuncs.h expr.h fortran/scanner.o: toplev.h fortran/cpp.h fortran/convert.o: $(GFORTRAN_TRANS_DEPS) +fortran/frontend-passes.o: $(GFORTRAN_TRANS_DEPS) fortran/trans.o: $(GFORTRAN_TRANS_DEPS) tree-iterator.h fortran/trans-decl.o: $(GFORTRAN_TRANS_DEPS) gt-fortran-trans-decl.h \ $(CGRAPH_H) $(TARGET_H) $(FUNCTION_H) $(FLAGS_H) $(RTL_H) $(GIMPLE_H) \