diff options
author | Erick Ochoa <erick.ochoa@theobroma-systems.com> | 2020-05-22 16:51:14 +0200 |
---|---|---|
committer | Erick Ochoa <erick.ochoa@theobroma-systems.com> | 2020-09-08 09:00:39 +0200 |
commit | 5892155acf51dd914359f6083ad9f1addf35f92f (patch) | |
tree | 2e8dbc4609f00efa5ec807748241b5d5bfc644df | |
parent | 551fce2c8b002c6ff65413b4527c430bc44b8ae0 (diff) |
wip
-rwxr-xr-x | build.sh | 2 | ||||
-rw-r--r-- | gcc/ipa-hello-world.c | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -10,5 +10,5 @@ pushd $HOME/code/gcc-build${suffix}/ $OLDPWD/configure --disable-bootstrap --disable-libsanitizer --enable-__cxa_atexit --enable-shared --disable-libsanitizer --enable-languages=c,c++,fortran --enable-lto --enable-gold --enable-linker-build-id --with-cpu-emag --prefix="$HOME/code/gcc-inst${suffix}/" make -j `nproc` make install -j `nproc` -./$HOME/code/${OLDPWD}/test.sh +make check-gcc RUNTESTFLAGS="ipa.exp" popd diff --git a/gcc/ipa-hello-world.c b/gcc/ipa-hello-world.c index 0c0685b1336..68e152a5d81 100644 --- a/gcc/ipa-hello-world.c +++ b/gcc/ipa-hello-world.c @@ -437,10 +437,9 @@ calculate_escaping_types_from_call_rhs(ptrset_t &types, typemap &calc, undefset tree decl_name = DECL_NAME(fn); const char* identifier = IDENTIFIER_POINTER(decl_name); - log("call rhs %s\n", identifier); - const bool is_builtin = fndecl_built_in_p(fn); - // gcov... - if (is_builtin) return; + + // What about gcov? + Reason reason {}; reason.is_escaping = is_undefined; reason.parameter_is_visible = is_undefined; |