From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12777 invoked by alias); 27 Jan 2011 00:14:21 -0000 Received: (qmail 12767 invoked by uid 22791); 27 Jan 2011 00:14:19 -0000 X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Jan 2011 00:14:13 +0000 Received: from wpaz29.hot.corp.google.com (wpaz29.hot.corp.google.com [172.24.198.93]) by smtp-out.google.com with ESMTP id p0R0EAZm008463 for ; Wed, 26 Jan 2011 16:14:11 -0800 Received: from iyi42 (iyi42.prod.google.com [10.241.51.42]) by wpaz29.hot.corp.google.com with ESMTP id p0R0E8Vo024548 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 26 Jan 2011 16:14:09 -0800 Received: by iyi42 with SMTP id 42so1038037iyi.23 for ; Wed, 26 Jan 2011 16:14:08 -0800 (PST) Received: by 10.42.174.132 with SMTP id v4mr1328213icz.311.1296087248499; Wed, 26 Jan 2011 16:14:08 -0800 (PST) Received: from coign.google.com (dhcp-172-22-124-221.mtv.corp.google.com [172.22.124.221]) by mx.google.com with ESMTPS id f7sm11974506icq.5.2011.01.26.16.14.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 26 Jan 2011 16:14:08 -0800 (PST) From: Ian Lance Taylor To: charfi asma Cc: gcc-help@gcc.gnu.org Subject: Re: [Generic] change the value of an attribute References: <629860.92100.qm@web28514.mail.ukl.yahoo.com> Date: Thu, 27 Jan 2011 00:14:00 -0000 In-Reply-To: <629860.92100.qm@web28514.mail.ukl.yahoo.com> (charfi asma's message of "Wed, 26 Jan 2011 16:08:11 +0000 (GMT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg00385.txt.bz2 charfi asma writes: > Program received signal SIGSEGV, Segmentation fault. > size_binop_loc (loc=0, code=EXACT_DIV_EXPR, arg0=0x0, arg1=0xb7572680) > at ../../gcc-dev/gcc/fold-const.c:1414 > 1414 tree type = TREE_TYPE (arg0); Well, the problem is that arg0 is NULL. You should walk up the backtrace until you find where that is coming from, and then figure out how to fix it. Ian