]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: pass dg-options to module link
authorJason Merrill <jason@redhat.com>
Thu, 27 Oct 2022 01:37:09 +0000 (21:37 -0400)
committerJason Merrill <jason@redhat.com>
Fri, 28 Oct 2022 20:36:00 +0000 (16:36 -0400)
commitce5faeb1f533e2cdd4b0f45f18770e0a26f05182
tree9478e85df0a495f39eb686845d8d7221fe1d565c
parenta7a4a4ea950bed8f375f6fef8117a41cb238a1a2
c++: pass dg-options to module link

The link command needs to see -fcontracts for it to automatically add
-lstdc++exp.

gcc/testsuite/ChangeLog:

* g++.dg/modules/modules.exp: Pass dg-options to link command.
gcc/testsuite/g++.dg/modules/modules.exp