This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/78188] [7 Regression] AIX Bootstrap broken by tree-vrp.c change
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 Nov 2016 09:36:59 +0000
- Subject: [Bug bootstrap/78188] [7 Regression] AIX Bootstrap broken by tree-vrp.c change
- Auto-submitted: auto-generated
- References: <bug-78188-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78188
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
So the error message at hand is
/* Sanity check user variables for flag changes. */
if (sect->named.decl != NULL
&& DECL_P (sect->named.decl)
&& decl != sect->named.decl)
{
if (decl != NULL && DECL_P (decl))
error ("%+D causes a section type conflict with %D",
decl, sect->named.decl);
which means we have a named section created for gimple_ops and we are
requesting the same section for vn_valueize but the section flags requested
are different.
Note vn_valueize is used as callback and thus may have its address taken
while gimple_ops usually will not.
I'll first dig into what are the flag mismatches (once I reproduced the
FAIL). I believe the issue should be reproducible with just preprocessed
source for tree-ssa-sccvn.c and thus we should be able to reduce a testcase
(and in turn make that less fragile with respect to inlining decisions).