This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/78188] [7 Regression] AIX Bootstrap broken by tree-vrp.c change


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).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]