public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45783] New: [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77
@ 2010-09-24 19:36 anlauf at gmx dot de
  2010-09-24 19:56 ` [Bug fortran/45783] " dominiq at lps dot ens.fr
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: anlauf at gmx dot de @ 2010-09-24 19:36 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE in gfc_add_component_ref, at
                    fortran/class.c:77
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: anlauf@gmx.de


Created attachment 21876
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=21876
Reduced example

Hi all,

very recently the attached code broke, leading to:

 gfcbug110.f90:56.16:

       p2 =>    v%inquire_inner_product()
                1
Error: Type mismatch in argument 'this' at (1); passed CLASS(vector_class) to
CLASS(gradient_class)
gfcbug110.f90:33:0: internal compiler error: in gfc_add_component_ref, at
fortran/class.c:77


The code compiles fine with 4.5, nagfor 5.2, xlf 13.

Cheers,
-ha

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug fortran/45783] [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77
  2010-09-24 19:36 [Bug fortran/45783] New: [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77 anlauf at gmx dot de
@ 2010-09-24 19:56 ` dominiq at lps dot ens.fr
  2010-09-24 21:34 ` mikael at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-09-24 19:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-09-24 19:51:51 UTC ---
Confirmed on x86_64-apple-darwin10 with revision 164583, the test compiles with
r164232.

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug fortran/45783] [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77
  2010-09-24 19:36 [Bug fortran/45783] New: [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77 anlauf at gmx dot de
  2010-09-24 19:56 ` [Bug fortran/45783] " dominiq at lps dot ens.fr
@ 2010-09-24 21:34 ` mikael at gcc dot gnu.org
  2010-09-26  1:12 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mikael at gcc dot gnu.org @ 2010-09-24 21:34 UTC (permalink / raw)
  To: gcc-bugs

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

Mikael Morin <mikael at gcc dot gnu.org> changed:

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

--- Comment #2 from Mikael Morin <mikael at gcc dot gnu.org> 2010-09-24 21:26:41 UTC ---
r164338 (2010-09-16) works.

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug fortran/45783] [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77
  2010-09-24 19:36 [Bug fortran/45783] New: [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77 anlauf at gmx dot de
  2010-09-24 19:56 ` [Bug fortran/45783] " dominiq at lps dot ens.fr
  2010-09-24 21:34 ` mikael at gcc dot gnu.org
@ 2010-09-26  1:12 ` dominiq at lps dot ens.fr
  2010-09-26 14:04 ` domob at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-09-26  1:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-09-25 21:21:46 UTC ---
pr45795 is very likely a duplicate of this one.


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

* [Bug fortran/45783] [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77
  2010-09-24 19:36 [Bug fortran/45783] New: [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77 anlauf at gmx dot de
                   ` (2 preceding siblings ...)
  2010-09-26  1:12 ` dominiq at lps dot ens.fr
@ 2010-09-26 14:04 ` domob at gcc dot gnu.org
  2010-09-27  4:40 ` domob at gcc dot gnu.org
  2010-09-27  6:16 ` domob at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: domob at gcc dot gnu.org @ 2010-09-26 14:04 UTC (permalink / raw)
  To: gcc-bugs

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

Daniel Kraft <domob at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.09.26 08:05:10
               date|                            |
                 CC|                            |domob at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |domob at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #4 from Daniel Kraft <domob at gcc dot gnu.org> 2010-09-26 08:05:10 UTC ---
Taking this also, when working on PR 45795.


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

* [Bug fortran/45783] [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77
  2010-09-24 19:36 [Bug fortran/45783] New: [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77 anlauf at gmx dot de
                   ` (3 preceding siblings ...)
  2010-09-26 14:04 ` domob at gcc dot gnu.org
@ 2010-09-27  4:40 ` domob at gcc dot gnu.org
  2010-09-27  6:16 ` domob at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: domob at gcc dot gnu.org @ 2010-09-27  4:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Daniel Kraft <domob at gcc dot gnu.org> 2010-09-26 19:25:55 UTC ---
Author: domob
Date: Sun Sep 26 19:25:52 2010
New Revision: 164638

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164638
Log:
2010-09-26  Daniel Kraft  <d@domob.eu>

    PR fortran/45783
    PR fortran/45795
    * resolve.c (resolve_select_type): Clarify code.
    (resolve_assoc_var): Only set typespec if it is currently unknown.

2010-09-26  Daniel Kraft  <d@domob.eu>

    PR fortran/45783
    PR fortran/45795
    * gfortran.dg/select_type_18.f03: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/select_type_18.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug fortran/45783] [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77
  2010-09-24 19:36 [Bug fortran/45783] New: [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77 anlauf at gmx dot de
                   ` (4 preceding siblings ...)
  2010-09-27  4:40 ` domob at gcc dot gnu.org
@ 2010-09-27  6:16 ` domob at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: domob at gcc dot gnu.org @ 2010-09-27  6:16 UTC (permalink / raw)
  To: gcc-bugs

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

Daniel Kraft <domob at gcc dot gnu.org> changed:

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

--- Comment #6 from Daniel Kraft <domob at gcc dot gnu.org> 2010-09-26 19:31:28 UTC ---
Fixed.


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

end of thread, other threads:[~2010-09-26 19:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-24 19:36 [Bug fortran/45783] New: [4.6 Regression] ICE in gfc_add_component_ref, at fortran/class.c:77 anlauf at gmx dot de
2010-09-24 19:56 ` [Bug fortran/45783] " dominiq at lps dot ens.fr
2010-09-24 21:34 ` mikael at gcc dot gnu.org
2010-09-26  1:12 ` dominiq at lps dot ens.fr
2010-09-26 14:04 ` domob at gcc dot gnu.org
2010-09-27  4:40 ` domob at gcc dot gnu.org
2010-09-27  6:16 ` domob at gcc dot gnu.org

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