[Bug plugins/56622] -fopenmp with -fplugin conflicts

hayder.alkhalissi at googlemail dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 15 08:35:00 GMT 2013


--- Comment #3 from hayder.alkhalissi at googlemail dot com 2013-03-15 08:35:29 UTC ---
(In reply to comment #2)
> >join_on_bb_function_call, at aop-pc-fun-call.c:246
> This is a bug in your plugin code and not in GCC.  Please report it to the
> place where you got the plugin.

Thanks for fast response.
I found the code in aop_pc_fun_call.c:

gimple stmt = gsi_stmt (gsi)  /* gimple_stmt_iterator gsi; */

/* At this stage, there should be no GIMPLE statements with sub-statements. */
gcc-assert(!gimple_has_substatements (stmt));       <------line 246

As explained above, the error in using  gcc-assert().

Do you know why? and how could avoided?


More information about the Gcc-bugs mailing list