public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45746] [OOP] ICE in fold_convert_loc: pointer to allocatable array with select type
       [not found] <bug-45746-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-01  5:37 ` burnus at gcc dot gnu.org
  2010-10-02 14:44 ` janus at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-10-01  5:37 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-10-01 05:37:29 UTC ---
(In reply to comment #3)
> I do not see the error on x86_64-unknown-linux-gnu at r164767. Can anyone
> confirm that?

Ditto for my 4.6.0 20100930 built also on x86_64-unknown-linux-gnu; I tried it
using valgrind.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/45746] [OOP] ICE in fold_convert_loc: pointer to allocatable array with select type
       [not found] <bug-45746-4@http.gcc.gnu.org/bugzilla/>
  2010-10-01  5:37 ` [Bug fortran/45746] [OOP] ICE in fold_convert_loc: pointer to allocatable array with select type burnus at gcc dot gnu.org
@ 2010-10-02 14:44 ` janus at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: janus at gcc dot gnu.org @ 2010-10-02 14:44 UTC (permalink / raw)
  To: gcc-bugs

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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from janus at gcc dot gnu.org 2010-10-02 14:44:33 UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> > I do not see the error on x86_64-unknown-linux-gnu at r164767. Can anyone
> > confirm that?
> 
> Ditto for my 4.6.0 20100930 built also on x86_64-unknown-linux-gnu; I tried it
> using valgrind.

Ok, so I guess we can close this one (supposedly it was fixed by some
middle-end patch). Hans, if you encounter the issue after all, please feel free
to re-open.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/45746] [OOP] ICE in fold_convert_loc: pointer to allocatable array with select type
  2010-09-22  8:20 [Bug fortran/45746] New: " boschmann at tp1 dot physik dot uni-siegen dot de
  2010-09-22  8:36 ` [Bug fortran/45746] " burnus at gcc dot gnu dot org
@ 2010-09-22  8:41 ` dominiq at lps dot ens dot fr
  1 sibling, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-09-22  8:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dominiq at lps dot ens dot fr  2010-09-22 08:41 -------
Confirmed as a regression: no ICE for branch fortran-exp revision 158215, ICE
for branch fortran-dev revision 163718.


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/45746] [OOP] ICE in fold_convert_loc: pointer to allocatable array with select type
  2010-09-22  8:20 [Bug fortran/45746] New: " boschmann at tp1 dot physik dot uni-siegen dot de
@ 2010-09-22  8:36 ` burnus at gcc dot gnu dot org
  2010-09-22  8:41 ` dominiq at lps dot ens dot fr
  1 sibling, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-09-22  8:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2010-09-22 08:35 -------
Fails in gfc_trans_scalar_assign for the line:

      gfc_add_modify (&block, lse->expr,
                           fold_convert (TREE_TYPE (lse->expr), rse->expr));

as   switch (TREE_CODE (type)) in fold_convert reaches gcc_unreachable.

Hereby,
(gdb) p lse->expr->common.type->base->code
$1 = RECORD_TYPE
(gdb) p rse->expr->common.type->base->code
$2 = RECORD_TYPE

And both types are different, cf.
(gdb) p rse->expr->common.type
$4 = (tree) 0x2aaaad533e70
(gdb) p lse->expr->common.type
$5 = (tree) 0x2aaaad538000


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-02 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45746-4@http.gcc.gnu.org/bugzilla/>
2010-10-01  5:37 ` [Bug fortran/45746] [OOP] ICE in fold_convert_loc: pointer to allocatable array with select type burnus at gcc dot gnu.org
2010-10-02 14:44 ` janus at gcc dot gnu.org
2010-09-22  8:20 [Bug fortran/45746] New: " boschmann at tp1 dot physik dot uni-siegen dot de
2010-09-22  8:36 ` [Bug fortran/45746] " burnus at gcc dot gnu dot org
2010-09-22  8:41 ` dominiq at lps dot ens dot fr

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