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]

Re: [patch c++]: Fix PR/61198: Crash when selecting specializations through aliases.


On 12/18/2014 10:10 AM, Kai Tietz wrote:
+      if (TMPL_ARGS_DEPTH (args) > TMPL_PARMS_DEPTH (tmpl_parms))
+    args = get_innermost_template_args
+        (args, TMPL_PARMS_DEPTH (tmpl_parms));

It seems unlikely to be correct to arbitrarily strip off outer template args. Where did the mismatch come from?

Jason


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