public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/46344] [OOP] ICE with allocatable CLASS components
Date: Sun, 07 Nov 2010 12:58:00 -0000	[thread overview]
Message-ID: <bug-46344-4-ap14rBUxa7@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-46344-4@http.gcc.gnu.org/bugzilla/>

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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code

--- Comment #1 from janus at gcc dot gnu.org 2010-11-07 12:58:32 UTC ---
Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000576077 in structure_alloc_comps (der_type=0x1914d40,
decl=0x7ffff6ba0300, dest=0x0, rank=0, purpose=1)
    at /home/jweil/gcc46/trunk/gcc/fortran/trans-array.c:6322
6322                  comp = fold_build3_loc (input_location, COMPONENT_REF,
(gdb) bt
#0  0x0000000000576077 in structure_alloc_comps (der_type=0x1914d40,
decl=0x7ffff6ba0300, dest=0x0, rank=0, purpose=1)
    at /home/jweil/gcc46/trunk/gcc/fortran/trans-array.c:6322
#1  0x00000000005766fd in gfc_deallocate_alloc_comp (der_type=0x1914d40,
decl=0x7ffff6ba0300, rank=0)
    at /home/jweil/gcc46/trunk/gcc/fortran/trans-array.c:6435
#2  0x0000000000561fdc in gfc_deallocate_scalar_with_status
(pointer=0x7ffff6b99a00, status=0x0, can_fail=1 '\001', expr=0x0, ts=...)
    at /home/jweil/gcc46/trunk/gcc/fortran/trans.c:1005
#3  0x00000000005760f7 in structure_alloc_comps (der_type=0x1915310,
decl=0x7ffff7f09828, dest=0x0, rank=1, purpose=1)
    at /home/jweil/gcc46/trunk/gcc/fortran/trans-array.c:6325
#4  0x0000000000575c8a in structure_alloc_comps (der_type=0x1915310,
decl=0x7ffff7fcb500, dest=0x0, rank=1, purpose=1)
    at /home/jweil/gcc46/trunk/gcc/fortran/trans-array.c:6251
#5  0x00000000005766fd in gfc_deallocate_alloc_comp (der_type=0x1915310,
decl=0x7ffff7fcb500, rank=1)
    at /home/jweil/gcc46/trunk/gcc/fortran/trans-array.c:6435
#6  0x0000000000576cba in gfc_trans_deferred_array (sym=0x1917610,
block=0x7fffffffde10) at /home/jweil/gcc46/trunk/gcc/fortran/trans-array.c:6564
#7  0x000000000058c6cc in gfc_trans_deferred_vars (proc_sym=0x1912340,
block=0x7fffffffde10) at /home/jweil/gcc46/trunk/gcc/fortran/trans-decl.c:3372
#8  0x00000000005913d0 in gfc_generate_function_code (ns=0x1911940) at
/home/jweil/gcc46/trunk/gcc/fortran/trans-decl.c:4703
#9  0x00000000005630f7 in gfc_generate_code (ns=0x1911940) at
/home/jweil/gcc46/trunk/gcc/fortran/trans.c:1510
#10 0x000000000050c989 in translate_all_program_units
(gfc_global_ns_list=0x1911940) at
/home/jweil/gcc46/trunk/gcc/fortran/parse.c:4243
#11 0x000000000050cf4a in gfc_parse_file () at
/home/jweil/gcc46/trunk/gcc/fortran/parse.c:4443
#12 0x0000000000551daf in gfc_be_parse_file (set_yydebug=0) at
/home/jweil/gcc46/trunk/gcc/fortran/f95-lang.c:250
#13 0x0000000000a307c5 in compile_file () at
/home/jweil/gcc46/trunk/gcc/toplev.c:919
#14 0x0000000000a32ceb in do_compile () at
/home/jweil/gcc46/trunk/gcc/toplev.c:2359
#15 0x0000000000a32e17 in toplev_main (argc=2, argv=0x7fffffffe228) at
/home/jweil/gcc46/trunk/gcc/toplev.c:2419
#16 0x00000000005e529c in main (argc=2, argv=0x7fffffffe228) at
/home/jweil/gcc46/trunk/gcc/main.c:36


  reply	other threads:[~2010-11-07 12:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-07 12:55 [Bug fortran/46344] New: " janus at gcc dot gnu.org
2010-11-07 12:58 ` janus at gcc dot gnu.org [this message]
2010-11-07 13:05 ` [Bug fortran/46344] [4.6 Regression] " janus at gcc dot gnu.org
2010-11-07 13:08 ` burnus at gcc dot gnu.org
2010-11-07 13:16 ` janus at gcc dot gnu.org
2010-11-07 13:22 ` janus at gcc dot gnu.org
2010-11-07 13:39 ` dominiq at lps dot ens.fr
2010-11-07 14:58 ` sfilippone at uniroma2 dot it
2010-11-07 20:41 ` janus at gcc dot gnu.org
2010-11-07 21:12 ` janus at gcc dot gnu.org
2010-11-08  9:04 ` janus at gcc dot gnu.org
2010-11-08  9:21 ` janus at gcc dot gnu.org
2010-11-08 13:50 ` jakub at gcc dot gnu.org
2010-11-08 14:39 ` janus at gcc dot gnu.org
2010-11-08 22:43 ` janus at gcc dot gnu.org
2010-11-08 22:46 ` janus at gcc dot gnu.org
2010-11-09 10:35 ` janus at gcc dot gnu.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=bug-46344-4-ap14rBUxa7@http.gcc.gnu.org/bugzilla/ \
    --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).