summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErick Ochoa <erick.ochoa@theobroma-systems.com>2020-05-22 16:51:14 +0200
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-09-08 09:00:39 +0200
commit5892155acf51dd914359f6083ad9f1addf35f92f (patch)
tree2e8dbc4609f00efa5ec807748241b5d5bfc644df
parent551fce2c8b002c6ff65413b4527c430bc44b8ae0 (diff)
wip
-rwxr-xr-xbuild.sh2
-rw-r--r--gcc/ipa-hello-world.c7
2 files changed, 4 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index b91f9f950bb..620573c7b68 100755
--- a/build.sh
+++ b/build.sh
@@ -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;