This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23180] [4.1 regression] Segfault on const initializer with bogus pointer arithmetics
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Aug 2005 14:36:17 -0000
- Subject: [Bug c++/23180] [4.1 regression] Segfault on const initializer with bogus pointer arithmetics
- References: <20050801142250.23180.falk@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-01 14:36 -------
Here is the backtrace:
#1 0x08423014 in expand_binop (mode=SImode, binoptab=0xb7cb4600, op0=0xb7cac360,
op1=0xb7cac0c0, target=0x0, unsignedp=1,
methods=OPTAB_LIB_WIDEN) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/optabs.c:1028
#2 0x082f9625 in expand_expr_addr_expr_1 (exp=Variable "exp" is not available.
) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/expr.c:6310
#3 0x082ec524 in expand_expr_real_1 (exp=0xb7d2b4c0, target=0x0, tmode=SImode,
modifier=Variable "modifier" is not available.
)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/expr.c:6349
#4 0x082f5cbe in expand_expr_real (exp=0xb7d2b4c0, target=0x0, tmode=VOIDmode,
modifier=EXPAND_INITIALIZER, alt_rtl=0x0)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/expr.c:6462
#5 0x084b6180 in output_constant (exp=0xb7d2b4c0, size=4, align=32) at expr.h:492
#6 0x084b5308 in output_constructor (exp=0xb7d4f900, size=12, align=32)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23180