From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2060 invoked by alias); 15 Mar 2013 08:35:54 -0000 Received: (qmail 32018 invoked by uid 48); 15 Mar 2013 08:35:30 -0000 From: "hayder.alkhalissi at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug plugins/56622] -fopenmp with -fplugin conflicts Date: Fri, 15 Mar 2013 08:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: plugins X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hayder.alkhalissi at googlemail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-03/txt/msg01116.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56622 --- 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? Thanks