This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [Generic] change the value of an attribute
- From: Ian Lance Taylor <iant at google dot com>
- To: charfi asma <charfiasma at yahoo dot fr>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 26 Jan 2011 16:14:06 -0800
- Subject: Re: [Generic] change the value of an attribute
- References: <629860.92100.qm@web28514.mail.ukl.yahoo.com>
charfi asma <charfiasma@yahoo.fr> 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