(In reply to ak from comment #18)
> How about just making it a warning and ignore? In most cases this is not
> fatal. The only exception would be options that are required for correctness.
> 
> This patch fixes the simple test case, except it can't figure out the
> location and the warning is printed multiple times. Still better than a ICE
> however.
Ah yeah,  OPTIMIZATION_NODE trees don't have a location... We would need to 
obtain the location from the containing tree I think.  To avoid printing the 
warning multiple times we could only print it when streaming_p().

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1945364

Title:
  C++-20 module: internal compiler error

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1945364/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to