This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix bootstrap with brig FE
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>, Richard Biener <rguenther at suse dot de>, Pekka Jääskeläinen <pekka at parmance dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 4 Jul 2017 13:36:09 +0200
- Subject: [PATCH] Fix bootstrap with brig FE
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jakub at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 5AFBF804F1
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5AFBF804F1
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
Seems tree-cfg.h now requires profile-count.h (or some header that includes
it like basic-block.h) to be included first (the flattened headers without
including their dependencies and without aggregate headers are really terrible
idea), so right now bootstrap fails in brig FE.
Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
trunk?
2017-07-04 Jakub Jelinek <jakub@redhat.com>
* brigfrontend/brig-function.cc: Include profile-count.h.
* brigfrontend/brig-to-generic.cc: Likewise.
--- gcc/brig/brigfrontend/brig-function.cc.jj 2017-01-26 09:15:50.000000000 +0100
+++ gcc/brig/brigfrontend/brig-function.cc 2017-07-04 11:07:10.899930814 +0200
@@ -38,6 +38,7 @@
#include "phsa.h"
#include "tree-pretty-print.h"
#include "dumpfile.h"
+#include "profile-count.h"
#include "tree-cfg.h"
#include "errors.h"
#include "function.h"
--- gcc/brig/brigfrontend/brig-to-generic.cc.jj 2017-02-01 16:25:19.000000000 +0100
+++ gcc/brig/brigfrontend/brig-to-generic.cc 2017-07-04 11:06:56.413106803 +0200
@@ -45,6 +45,7 @@
#include "phsa.h"
#include "tree-pretty-print.h"
#include "dumpfile.h"
+#include "profile-count.h"
#include "tree-cfg.h"
#include "errors.h"
#include "fold-const.h"
Jakub