[RFC] Do refactoring of attribute functions and move them to attribs.[hc].

Submitted by Tom de Vries on Aug. 8, 2017, 9:14 a.m.

Details

Message ID ff887912-f997-c8bd-9709-57ad4bc8c417@mentor.com
State New
Headers show

Commit Message

Tom de Vries Aug. 8, 2017, 9:14 a.m.
On 08/08/2017 06:36 AM, Martin Liška wrote:
> Hello.
> 
> I'm sending final version that I'm going to install. Compared to the previous version I tested
> all targets in contrib/config-list.mk.
> 

I ran into a build breaker for an nvptx offloading compiler (where the 
ACCEL_COMPILER-guarded code is enabled).

Retrying with patch below.

Thanks,
- Tom

jobserver.  */

Patch hide | download patch | download mbox

diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index a3b4d13..31d1488 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -53,6 +53,7 @@  along with GCC; see the file COPYING3.  If not see
  #include "lto-symtab.h"
  #include "stringpool.h"
  #include "fold-const.h"
+#include "attribs.h"


  /* Number of parallel tasks to run, -1 if we want to use GNU Make