re PR d/88990 (ICE in get_symbol_decl, at d/decl.cc:1097)
authorIain Buclaw <ibuclaw@gcc.gnu.org>
Fri, 15 Mar 2019 13:37:07 +0000 (13:37 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Fri, 15 Mar 2019 13:37:07 +0000 (13:37 +0000)
commitd2025512b3fb357768d85ccde8e21f571481d00f
treea04703639df3705833fbef5bae764e713747decf
parentec15654627d34bf9fb4f7624c7659ac4912bef17
re PR d/88990 (ICE in get_symbol_decl, at d/decl.cc:1097)

    PR d/88990
d/dmd: Merge upstream dmd 8d4c876c6

The extern storage class flag was wrongly propagated to function scope
when starting the semantic pass on the body.

Fixes https://gcc.gnu.org/PR88990

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

From-SVN: r269708
gcc/d/dmd/MERGE
gcc/d/dmd/declaration.c
gcc/d/dmd/func.c
gcc/testsuite/gdc.test/runnable/test19734.d [new file with mode: 0644]
gcc/testsuite/gdc.test/runnable/test19735.d [new file with mode: 0644]