public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type
Date: Tue, 17 Oct 2006 13:01:00 -0000	[thread overview]
Message-ID: <20061017130142.24902.qmail@sourceware.org> (raw)
In-Reply-To: <bug-29067-13243@http.gcc.gnu.org/bugzilla/>



------- 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


  parent reply	other threads:[~2006-10-17 13:01 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-13 20:10 [Bug fortran/29067] New: " mathieu dot courtois at free dot fr
2006-09-13 20:17 ` [Bug fortran/29067] " kargl at gcc dot gnu dot org
2006-09-13 20:18 ` mathieu dot courtois at free dot fr
2006-09-13 21:42 ` kargl at gcc dot gnu dot org
2006-09-13 21:44 ` kargl at gcc dot gnu dot org
2006-09-14  9:05 ` mathieu dot courtois at free dot fr
2006-09-14  9:08 ` mathieu dot courtois at free dot fr
2006-10-12 12:18 ` pault at gcc dot gnu dot org
2006-10-12 14:13 ` sgk at troutmask dot apl dot washington dot edu
2006-10-13  7:39 ` fxcoudert at gcc dot gnu dot org
2006-10-13  7:54 ` fxcoudert at gcc dot gnu dot org
2006-10-15  1:21 ` kargl at gcc dot gnu dot org
2006-10-15  1:53 ` kargl at gcc dot gnu dot org
2006-10-15  8:40 ` fxcoudert at gcc dot gnu dot org
2006-10-16 21:28 ` mathieu dot courtois at free dot fr
2006-10-17 12:43 ` pault at gcc dot gnu dot org
2006-10-17 13:01 ` fxcoudert at gcc dot gnu dot org [this message]
2006-10-30 16:46 ` fxcoudert at gcc dot gnu dot org
2006-10-31 20:15 ` fxcoudert at gcc dot gnu dot org
2006-11-03 12:29 ` [Bug fortran/29067] [4.1/4.2 only] " fxcoudert at gcc dot gnu dot org
2006-11-03 14:26 ` fxcoudert at gcc dot gnu dot org
2006-11-03 14:28 ` [Bug fortran/29067] " fxcoudert at gcc dot gnu dot org
2006-11-30 19:26 ` chaoyingfu at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061017130142.24902.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).