]> git.ipfire.org Git - thirdparty/gcc.git/commit
d: __FUNCTION__ doesn't work in core.stdc.stdio functions without cast (PR101441)
authorIain Buclaw <ibuclaw@gdcproject.org>
Mon, 26 Jul 2021 13:24:12 +0000 (15:24 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Wed, 28 Jul 2021 11:13:05 +0000 (13:13 +0200)
commit1a2306ffe79df89389cc850ce85c586d0f1c8264
treec8d07586450afdd859cf8f8ae6c71eda45da2675
parentb2f6e1de242fff5713763cd3146dcf3f9dee51ca
d: __FUNCTION__ doesn't work in core.stdc.stdio functions without cast (PR101441)

Backports fix from upstream to allow __FUNCTION__ and
__PRETTY_FUNCTION__ to be used as C string literals.

Reviewed-on: https://github.com/dlang/dmd/pull/12923

PR d/101441

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd f8c1ca928.
gcc/d/dmd/MERGE
gcc/d/dmd/expression.c
gcc/testsuite/gdc.test/compilable/b19002.d [new file with mode: 0644]