An problematic interaction between a call created by gimple_build_call and inlining

2020-06-30 Thread Gary Oblock via Gcc
I'm trying to generate calls to "free" on the fly at ipa time. I've tried several things (given below) but they both fail in expand_call_inline in tree-inline.c on this gcc_checking_assert: cg_edge = id->dst_node->get_edge (stmt); gcc_checking_assert (cg_edge); Now, I've tried using the buil

Re: [OMPD] Library Functions

2020-06-30 Thread Jakub Jelinek via Gcc
On Tue, Jun 30, 2020 at 06:50:54PM -0400, y2s1982 . via Gcc wrote: > 2020-06-30 Tony Sim > > libgomp/ChangeLog: > > * libgompd.h : Add gompd_callbacks variable. No space before :, but generally, you should be exact on what changed. So * libgompd.h: Include omp-tools.h. (

[OMPD] Library Functions

2020-06-30 Thread y2s1982 . via Gcc
Hello everyone, For this week, I wanted to complete the OMPD library-wide functions, namely the ompd_initialize and ompd_finalize. I took notes from: - https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5.0.pdf , - https://github.com/OpenMPToolsInterface/LLVM-openmp/blob/ompd-test

Re: Emit a variable defined in gcc

2020-06-30 Thread Harshit Sharma via Gcc
Hey Martin, Thanks for your reply. Actually I am trying to have a callback function allowing gcc to fetch shadow offset from runtime code. In order to make sure that my users have applied this patch before using asan feature, I want to define a variable in gcc (could be an integer) which will be

Re: gcc-changelog: Support git revert commit messages

2020-06-30 Thread Jakub Jelinek via Gcc
On Tue, Jun 30, 2020 at 10:45:27AM +0200, Martin Liška wrote: > Hello. > > After a brief discussion with Jakub, I was convinced to support 'git revert' > where > a ChangeLog is created from the commit the was reverted. Ok. Jakub

gcc-changelog: Support git revert commit messages

2020-06-30 Thread Martin Liška
Hello. After a brief discussion with Jakub, I was convinced to support 'git revert' where a ChangeLog is created from the commit the was reverted. One example: $ git gcc-verify 2635f9e5086318f4560997d9741fdda496b9c801 -p Checking 2635f9e5086318f4560997d9741fdda496b9c801: OK -- libstdc++-v3

Re: Emit a variable defined in gcc

2020-06-30 Thread Martin Liška
On 6/30/20 7:55 AM, Harshit Sharma via Gcc wrote: Hello, I am working on a gcc patch for asan. Hey. Good to hear, what kind of feature is that? The patch is almost ready except one thing. To make sure that the user has applied this patch before using asan feature, I want to declare an additi

gcc-changelog - Revert commits

2020-06-30 Thread Martin Liška
Hey. Apparently git-hooks skip all verification hooks for Revert commits: https://github.com/AdaCore/git-hooks#revert-commits I guess it's undesirable for us as we want to generate ChangeLog entries. Thus I recommend to disable the bail out (attached patch). And I'm sending a patch to gcc-chang