<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63658>63658</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
ScopBuilder.cpp: with g++-7 `error: 'ArgMem' is not a member of 'llvm::MemoryEffects`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
build-problem,
polly
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
sylvestre
</td>
</tr>
</table>
<pre>
```
/usr/bin/g++-7 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/polly/lib -I/build/source/polly/lib -Itools/polly/include -I/build/source/polly/lib/External -I/build/source/polly/lib/External/pet/include -I/build/source/polly/lib/External/isl/include -Itools/polly/lib/External/isl/include -I/build/source/polly/include -Iinclude -I/build/source/llvm/include -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/source/build-llvm=build-llvm -fdebug-prefix-map=/build/source/= -no-canonical-prefixes -no-canonical-prefixes -fno-common -Woverloaded-virtual -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -fno-exceptions -fno-rtti -O3 -DNDEBUG -fno-exceptions -funwind-tables -std=c++1z -MD -MT tools/polly/lib/CMakeFiles/obj.Polly.dir/Analysis/ScopBuilder.cpp.o -MF tools/polly/lib/CMakeFiles/obj.Polly.dir/Analysis/ScopBuilder.cpp.o.d -o tools/polly/lib/CMakeFiles/obj.Polly.dir/Analysis/ScopBuilder.cpp.o -c /build/source/polly/lib/Analysis/ScopBuilder.cpp
/build/source/polly/lib/Analysis/ScopBuilder.cpp: In member function 'bool polly::ScopBuilder::buildAccessCallInst(polly::MemAccInst, polly::ScopStmt*)':
/build/source/polly/lib/Analysis/ScopBuilder.cpp:1652:52: error: 'ArgMem' is not a member of 'llvm::MemoryEffects {aka llvm::MemoryEffectsBase<llvm::IRMemLocation>}'
ModRefInfo ArgMR = ME.getModRef(MemoryEffects::ArgMem);
^~~~~~
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-unused-command-line-argument'
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVstu2zoTfhp6Q9CwyPi28EK2rMJAnRR2CuNfBRQ5ktlSpH6SSuIuzrMfUHLipE0vp4gROOZcvrlyONx7VRmABRov0Tgb8DYcrVv4k74HHxwMCitPCzQZnf9GGRqliOatd4jmhTKI5hWiS0SXZIpJdvfh-vPd_ubzbrWOp7v9bba6W91c72_T69u7bbra3ewvjPxmt01_JH_cbDcX6iZYqz2ieWO1PiGaa1VgsonmW6Ulorm3rRPwg8T3esoI3Ur4vS6i-foxgDNc_yfhyIDwl5aimtevlN8I_NcKv7J2kfq1vNb39Uvx0gcuvpLG2QAiWEd8cNZUmBxK62oeMDmAc9YhlvUE4kG0ToUTJgdjSWtaD5IIW9fcSKKVAcJd1dZgoq7kAUhQNcTy5ze7203-v3MDIZZRTMpPmxUmpbHEQ81NUIIoE8A11qugrMGkvFdeFUqrcCLKRAOeHJWUYF749sJOxNKqhHgi0gMmB651lH0Mjr_yuuGO1xDAYXJ4cCpAjF6ZymNyENwH8v829kjUqJX3ylSkVKAlUUYFxbX6Bs5j0oDsPO8ltTVV94XJQdWNVkIFUnKtw9HZtjqe8fipANKaC5LsGcbCo4AmkHBqou8SNAQgxhpyr1xouSYyWNcLx7T3ie5d1MBl9FIZCSbwcwKl4pWxPijhibA6Kpdla0Rkx3LG_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