This is the mail archive of the gcc-patches@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] |
The following patch copies just DECL_INTERFACE_KNOWN which is enough to fix this bug and didn't cause any make check-g++ or make check-libstdc++-v3 failure, but I wonder if we shouldn't copy DECL_NOT_REALLY_EXTERN as well, or if DECL_INTERFACE_KNOWN can be copied over unconditionally.
+ if (! TREE_PUBLIC (decl) && DECL_INTERFACE_KNOWN (tmpl_func)) + DECL_INTERFACE_KNOWN (decl) = 1;
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |