public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/28959]  New: ICE on derived type with host association
@ 2006-09-06  9:44 sfilippone at uniroma2 dot it
  2006-09-06  9:45 ` [Bug fortran/28959] " sfilippone at uniroma2 dot it
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sfilippone at uniroma2 dot it @ 2006-09-06  9:44 UTC (permalink / raw)
  To: gcc-bugs

THe attached code produces the ICE.
[sfilippo@localhost TEMP]$ gfortran -v 
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gcc42
--enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.2.0 20060905 (experimental)
[sfilippo@localhost TEMP]$ gfortran -c bug-fold.f90 
bug-fold.f90: In function 'inner_sub':
bug-fold.f90:54: internal compiler error: in fold_convert, at fold-const.c:2098
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE on derived type with host association
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sfilippone at uniroma2 dot it
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug fortran/28959] ICE on derived type with host association
  2006-09-06  9:44 [Bug fortran/28959] New: ICE on derived type with host association sfilippone at uniroma2 dot it
@ 2006-09-06  9:45 ` sfilippone at uniroma2 dot it
  2006-09-06 10:00 ` sfilippone at uniroma2 dot it
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: sfilippone at uniroma2 dot it @ 2006-09-06  9:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from sfilippone at uniroma2 dot it  2006-09-06 09:45 -------
Created an attachment (id=12195)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12195&action=view)
TEst case


-- 


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


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

* [Bug fortran/28959] ICE on derived type with host association
  2006-09-06  9:44 [Bug fortran/28959] New: ICE on derived type with host association sfilippone at uniroma2 dot it
  2006-09-06  9:45 ` [Bug fortran/28959] " sfilippone at uniroma2 dot it
@ 2006-09-06 10:00 ` sfilippone at uniroma2 dot it
  2006-09-09 14:18 ` pault at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: sfilippone at uniroma2 dot it @ 2006-09-06 10:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from sfilippone at uniroma2 dot it  2006-09-06 10:00 -------
The patch proposed in http://gcc.gnu.org/ml/fortran/2006-09/msg00020.html seems
to work for me, both in the reduced test case and in my original applicatin
code.


-- 


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


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

* [Bug fortran/28959] ICE on derived type with host association
  2006-09-06  9:44 [Bug fortran/28959] New: ICE on derived type with host association sfilippone at uniroma2 dot it
  2006-09-06  9:45 ` [Bug fortran/28959] " sfilippone at uniroma2 dot it
  2006-09-06 10:00 ` sfilippone at uniroma2 dot it
@ 2006-09-09 14:18 ` pault at gcc dot gnu dot org
  2006-09-10 17:18 ` pault at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-09-09 14:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pault at gcc dot gnu dot org  2006-09-09 14:18 -------
I have just posted the patch to the list.

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pault at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-09-09 14:18:40
               date|                            |


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


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

* [Bug fortran/28959] ICE on derived type with host association
  2006-09-06  9:44 [Bug fortran/28959] New: ICE on derived type with host association sfilippone at uniroma2 dot it
                   ` (2 preceding siblings ...)
  2006-09-09 14:18 ` pault at gcc dot gnu dot org
@ 2006-09-10 17:18 ` pault at gcc dot gnu dot org
  2006-09-10 17:32 ` pault at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-09-10 17:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pault at gcc dot gnu dot org  2006-09-10 17:18 -------
Subject: Bug 28959

Author: pault
Date: Sun Sep 10 17:17:57 2006
New Revision: 116816

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116816
Log:
2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/28959
        trans-types.c (gfc_get_derived_type): Use the parent namespace of
        the procedure if the type's own namespace does not have a parent.


2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/28959
        gfortran.dg/used_types_10: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/used_types_10.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-types.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug fortran/28959] ICE on derived type with host association
  2006-09-06  9:44 [Bug fortran/28959] New: ICE on derived type with host association sfilippone at uniroma2 dot it
                   ` (3 preceding siblings ...)
  2006-09-10 17:18 ` pault at gcc dot gnu dot org
@ 2006-09-10 17:32 ` pault at gcc dot gnu dot org
  2006-09-10 19:44 ` pault at gcc dot gnu dot org
  2006-09-12  5:22 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-09-10 17:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pault at gcc dot gnu dot org  2006-09-10 17:32 -------
Subject: Bug 28959

Author: pault
Date: Sun Sep 10 17:32:22 2006
New Revision: 116819

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116819
Log:
2006-09-09  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/28923
        expr.c (find_array_section): Only use the array lower and upper
        bounds for the start and end of the sections, where the expr is
        NULL.

        PR fortran/28959
        trans-types.c (gfc_get_derived_type): Use the parent namespace of
        the procedure if the type's own namespace does not have a parent.


2006-09-09  Paul Thomas  <pault@gcc.gnu.org>

        PR libfortran/28947
        * m4/matmul.m4: For the case where the second input argument is
        transposed, ensure that the case with rank (a) == 1 is
        correctly calculated.
        * generated/matmul_r4.c: Regenerate.
        * generated/matmul_r8.c: Regenerate.
        * generated/matmul_r10.c: Regenerate.
        * generated/matmul_r16.c: Regenerate.
        * generated/matmul_c4.c: Regenerate.
        * generated/matmul_c8.c: Regenerate.
        * generated/matmul_c10.c: Regenerate.
        * generated/matmul_c16.c: Regenerate.
        * generated/matmul_i4.c: Regenerate.
        * generated/matmul_i8.c: Regenerate.
        * generated/matmul_i16.c: Regenerate.


2006-09-09  Paul Thomas  <pault@gcc.gnu.org>

        PR libfortran/28923
        gfortran.dg/array_initializer_2.f90: Fill in missing index start value.
        gfortran.dg/array_initializer_3.f90: New test.

        PR libfortran/28947
        gfortran.dg/matmul_4.f90: New test.

        PR fortran/28959
        gfortran.dg/used_types_10: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/array_initializer_3.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/matmul_4.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/used_types_10.f90


-- 


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


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

* [Bug fortran/28959] ICE on derived type with host association
  2006-09-06  9:44 [Bug fortran/28959] New: ICE on derived type with host association sfilippone at uniroma2 dot it
                   ` (4 preceding siblings ...)
  2006-09-10 17:32 ` pault at gcc dot gnu dot org
@ 2006-09-10 19:44 ` pault at gcc dot gnu dot org
  2006-09-12  5:22 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-09-10 19:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pault at gcc dot gnu dot org  2006-09-10 19:44 -------
Fixed on trunk and 4.1

Paul


-- 

pault at gcc dot gnu dot org changed:

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


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


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

* [Bug fortran/28959] ICE on derived type with host association
  2006-09-06  9:44 [Bug fortran/28959] New: ICE on derived type with host association sfilippone at uniroma2 dot it
                   ` (5 preceding siblings ...)
  2006-09-10 19:44 ` pault at gcc dot gnu dot org
@ 2006-09-12  5:22 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-12  5:22 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.2


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


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

end of thread, other threads:[~2006-09-12  5:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-06  9:44 [Bug fortran/28959] New: ICE on derived type with host association sfilippone at uniroma2 dot it
2006-09-06  9:45 ` [Bug fortran/28959] " sfilippone at uniroma2 dot it
2006-09-06 10:00 ` sfilippone at uniroma2 dot it
2006-09-09 14:18 ` pault at gcc dot gnu dot org
2006-09-10 17:18 ` pault at gcc dot gnu dot org
2006-09-10 17:32 ` pault at gcc dot gnu dot org
2006-09-10 19:44 ` pault at gcc dot gnu dot org
2006-09-12  5:22 ` pinskia at gcc dot gnu dot 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).