From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1510 invoked by alias); 24 May 2006 03:42:18 -0000 Received: (qmail 1488 invoked by uid 48); 24 May 2006 03:42:11 -0000 Date: Wed, 24 May 2006 03:42:00 -0000 Message-ID: <20060524034211.1487.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug preprocessor/27746] ICE on openmp code when using _Pragma from macro In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bowie dot owens at csiro dot au" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg02307.txt.bz2 List-Id: ------- Comment #8 from bowie dot owens at csiro dot au 2006-05-24 03:42 ------- I found out about _Pragma from the following page (at the bottom): http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Function-Attributes.html While it is not essential behaviour to allow _Pragma's to be generated from macros, there are cases where it would be very useful. In my case I would really like to be able to control the OpenMP directives that get included at a fine grained level without littering my code with #ifdef's. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27746