------- Comment #16 from fxcoudert at gcc dot gnu dot org  2006-10-17 13:01 
-------
Hurray! I can now also reproduce this on x86_64-linux with ElectricFence. Run
f951 inside gdb and preload ElectricFence (in gdb: set environment LD_PRELOAD
/usr/lib64/libefence.so). The segfault backtrace is:

Program received signal SIGSEGV, Segmentation fault.
0x0000003ff2471890 in memcpy () from /lib64/tls/libc.so.6
(gdb) where
#0  0x0000003ff2471890 in memcpy () from /lib64/tls/libc.so.6
#1  0x0000000000418ab7 in gfc_copy_expr (p=0x2a98d0cf68)
    at ../../trunk/gcc/fortran/expr.c:454
#2  0x0000000000442935 in gfc_match_rvalue (result=0x7fbfffea58)
    at ../../trunk/gcc/fortran/primary.c:2005
#3  0x00000000004356f4 in match_mult_operand (result=0x7fbfffeab0)
    at ../../trunk/gcc/fortran/matchexp.c:163
#4  0x000000000043594c in match_add_operand (result=0x7fbfffeb00)
    at ../../trunk/gcc/fortran/matchexp.c:382
#5  0x0000000000435bc3 in match_level_2 (result=0x7fbfffeb48)
    at ../../trunk/gcc/fortran/matchexp.c:501
#6  0x0000000000435cfa in match_level_3 (result=0x7fbfffeba8)
    at ../../trunk/gcc/fortran/matchexp.c:572
#7  0x0000000000435e0a in match_and_operand (result=0x7fbfffebf8)
    at ../../trunk/gcc/fortran/matchexp.c:620
#8  0x000000000043602a in match_or_operand (result=0x7fbfffec38)
    at ../../trunk/gcc/fortran/matchexp.c:735
#9  0x000000000043611a in match_equiv_operand (result=0x7fbfffec80)
    at ../../trunk/gcc/fortran/matchexp.c:778
#10 0x00000000004361fb in match_level_5 (result=0x7fbfffece8)
    at ../../trunk/gcc/fortran/matchexp.c:824
#11 0x0000000000436309 in gfc_match_expr (result=0x7fbfffee88)
    at ../../trunk/gcc/fortran/matchexp.c:883
#12 0x000000000043240a in gfc_match (target=0x965976 " if ( %e")
    at ../../trunk/gcc/fortran/match.c:663
#13 0x000000000043478e in gfc_match_if (if_type=0x7fbfffeedc)
    at ../../trunk/gcc/fortran/match.c:980


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|i486-linux-gnu              |
   Last reconfirmed|2006-09-13 21:44:02         |2006-10-17 13:01:41
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29067

Reply via email to