Patchwork [5/5] Remove the lambda framework and make -ftree-loop-linear an alias of -floop-interchange.

login
register
mail settings
Submitter Eric Botcazou
Date Jan. 26, 2011, 10:07 p.m.
Message ID <201101262307.48334.ebotcazou@adacore.com>
Download mbox | patch
Permalink /patch/80561/
State New
Headers show

Comments

Eric Botcazou - Jan. 26, 2011, 10:07 p.m.
> 2011-01-26  Richard Guenther  <rguenther@suse.de>
>
> 	PR bootstrap/47467
> 	* targext.c: Include config.h.
> 	* gcc-interface/Make-lang.in (ada/targext.o): Add $(CONFIG_H)
> 	dependency.

The file is also compiled for the target so we need the attached patchlet.

Tested on i586-suse-linux, applied on the mainline.


2011-01-26  Eric Botcazou  <ebotcazou@adacore.com>

	PR bootstrap/47467
	* targext.c: Include target files if IN_RTS is defined.

Patch

Index: targext.c
===================================================================
--- targext.c	(revision 169285)
+++ targext.c	(working copy)
@@ -6,7 +6,7 @@ 
  *                                                                          *
  *                          C Implementation File                           *
  *                                                                          *
- *        Copyright (C) 2005-2009  Free Software Foundation, Inc.           *
+ *        Copyright (C) 2005-2011, Free Software Foundation, Inc.           *
  *                                                                          *
  * GNAT is free software;  you can  redistribute it  and/or modify it under *
  * terms of the  GNU General Public License as published  by the Free Soft- *
@@ -33,8 +33,13 @@ 
 /*  extension for object and executable files. It is used by the compiler,  */
 /*  binder and tools.                                                       */
 
+#ifdef IN_RTS
+#include "tconfig.h"
+#include "tsystem.h"
+#else
 #include "config.h"
 #include "system.h"
+#endif
 #include "coretypes.h"
 #include "tm.h"