From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25994 invoked by alias); 12 Dec 2006 08:44:44 -0000 Received: (qmail 25970 invoked by uid 48); 12 Dec 2006 08:44:31 -0000 Date: Tue, 12 Dec 2006 08:44:00 -0000 Message-ID: <20061212084431.25969.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/30167] OpenMP can produce invalid gimple (for indirect references) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" 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: 2006-12/txt/msg01009.txt.bz2 ------- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-12 08:44 ------- Here is another testcase (a C one this time): int x, *p = &x; g (int n) { int i = 1, j, sum = 0; #pragma omp parallel reduction(+: sum) num_threads(2) { f1 (&j); sum += i + j + *p + n; } } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30167