public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45092]  New: internal compiler error regression bug in the latest trunk build of the gfortran compiler
@ 2010-07-26 23:26 clerman at fuse dot net
  2010-07-26 23:29 ` [Bug fortran/45092] " clerman at fuse dot net
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: clerman at fuse dot net @ 2010-07-26 23:26 UTC (permalink / raw)
  To: gcc-bugs

Hello,

  I am e-mailing to gcc-bugzilla@gcc.gnu.org file bug8.tar.gz. Please unpack it
and then invoke the shell script bug8.sh (the name of the compiler I'm
symbolically linked to is gfortran-trunk). The following message appears
compiling file functiontypeM.f90 (see file functiontypesM.xyz): 

norm@oxford:~/design/gfortran/bug8$ more functiontypesM.xyz
functiontypesM.f90:206.65:

    & [(0.0_DOUB_PREC, iPars = 1_TinyInteger, NUMBER_OF_TERM_PARS)], [" ", "
"])
                                                                 1
Warning: Possible change of value in conversion from INTEGER(4) to INTEGER(1)
at (1)
functiontypesM.f90:383:0: internal compiler error: in
output_constructor_regular_field, at varasm.c:5027
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

  This bug is a regression; versions 4.4 and 4.5 successfully compile the
routine.

  Please note that I question the warning message issued for line 206: All the
entities involved are of the same kind, so, I assume, no conversion should be
done.

  Thank you for your attention.

Yours truly,

Norman S. Clerman
consultant


-- 
           Summary: internal compiler error regression bug in the latest
                    trunk build of the gfortran compiler
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: clerman at fuse dot net


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


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

* [Bug fortran/45092] internal compiler error regression bug in the latest trunk build of the gfortran compiler
  2010-07-26 23:26 [Bug fortran/45092] New: internal compiler error regression bug in the latest trunk build of the gfortran compiler clerman at fuse dot net
@ 2010-07-26 23:29 ` clerman at fuse dot net
  2010-07-27  4:53 ` kargl at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: clerman at fuse dot net @ 2010-07-26 23:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from clerman at fuse dot net  2010-07-26 23:29 -------
Subject: gfortran bug 45092

Hello,

  Attached is the file, bug8.tar.gz needed to recreate the problem described in
bug 45092.

Norm Clerman


------- Comment #2 from clerman at fuse dot net  2010-07-26 23:29 -------
Created an attachment (id=21322)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21322&action=view)


-- 


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


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

* [Bug fortran/45092] internal compiler error regression bug in the latest trunk build of the gfortran compiler
  2010-07-26 23:26 [Bug fortran/45092] New: internal compiler error regression bug in the latest trunk build of the gfortran compiler clerman at fuse dot net
  2010-07-26 23:29 ` [Bug fortran/45092] " clerman at fuse dot net
@ 2010-07-27  4:53 ` kargl at gcc dot gnu dot org
  2010-07-27  4:54 ` kargl at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu dot org @ 2010-07-27  4:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from kargl at gcc dot gnu dot org  2010-07-27 04:53 -------
Created an attachment (id=21323)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21323&action=view)
Reduced testcase

Here's a reduced testcase.  


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21322|0                           |1
        is obsolete|                            |


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


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

* [Bug fortran/45092] internal compiler error regression bug in the latest trunk build of the gfortran compiler
  2010-07-26 23:26 [Bug fortran/45092] New: internal compiler error regression bug in the latest trunk build of the gfortran compiler clerman at fuse dot net
  2010-07-26 23:29 ` [Bug fortran/45092] " clerman at fuse dot net
  2010-07-27  4:53 ` kargl at gcc dot gnu dot org
@ 2010-07-27  4:54 ` kargl at gcc dot gnu dot org
  2010-07-27  6:08 ` [Bug fortran/45092] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:5016 burnus at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu dot org @ 2010-07-27  4:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from kargl at gcc dot gnu dot org  2010-07-27 04:54 -------
Reset severity to normal.  Fortran bugs are rarely anything but
normal.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal


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


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

* [Bug fortran/45092] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:5016
  2010-07-26 23:26 [Bug fortran/45092] New: internal compiler error regression bug in the latest trunk build of the gfortran compiler clerman at fuse dot net
                   ` (2 preceding siblings ...)
  2010-07-27  4:54 ` kargl at gcc dot gnu dot org
@ 2010-07-27  6:08 ` burnus at gcc dot gnu dot org
  2010-07-27  6:11 ` kargl at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-07-27  6:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from burnus at gcc dot gnu dot org  2010-07-27 06:08 -------
>From the error location it looks like a duplicate of PR 44857.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|internal compiler error     |[4.6 Regression] ICE in
                   |regression bug in the latest|output_constructor_regular_f
                   |trunk build of the gfortran |ield, at varasm.c:5016
                   |compiler                    |
   Target Milestone|---                         |4.6.0


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


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

* [Bug fortran/45092] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:5016
  2010-07-26 23:26 [Bug fortran/45092] New: internal compiler error regression bug in the latest trunk build of the gfortran compiler clerman at fuse dot net
                   ` (3 preceding siblings ...)
  2010-07-27  6:08 ` [Bug fortran/45092] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:5016 burnus at gcc dot gnu dot org
@ 2010-07-27  6:11 ` kargl at gcc dot gnu dot org
  2010-07-27  6:15 ` kargl at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu dot org @ 2010-07-27  6:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from kargl at gcc dot gnu dot org  2010-07-27 06:11 -------
Here's an even shorter testcase.

MODULE FunctionTypes

  IMPLICIT NONE

  integer, parameter :: OpconNameLength = 4

  TYPE, PUBLIC :: TTermDefinition
    CHARACTER (OpconNameLength) :: termName(2)    
  END TYPE TTermDefinition

  TYPE (TTermDefinition), PARAMETER :: e = TTermDefinition ([" ", " "])

end module FunctionTypes


-- 


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


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

* [Bug fortran/45092] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:5016
  2010-07-26 23:26 [Bug fortran/45092] New: internal compiler error regression bug in the latest trunk build of the gfortran compiler clerman at fuse dot net
                   ` (4 preceding siblings ...)
  2010-07-27  6:11 ` kargl at gcc dot gnu dot org
@ 2010-07-27  6:15 ` kargl at gcc dot gnu dot org
  2010-07-27 13:33 ` hjl dot tools at gmail dot com
  2010-08-03 14:35 ` burnus at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu dot org @ 2010-07-27  6:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from kargl at gcc dot gnu dot org  2010-07-27 06:15 -------
(In reply to comment #5)
> From the error location it looks like a duplicate of PR 44857.
> 

Yes, I think you're right.  I've reduced it further in 
comment #6.  The code compiles if the array constructor is
changed.  That is, this compiles

MODULE FunctionTypes

  IMPLICIT NONE

  integer, parameter :: OpconNameLength = 4

  TYPE, PUBLIC :: TTermDefinition
    CHARACTER (OpconNameLength) :: termName(2)    
  END TYPE TTermDefinition

  TYPE (TTermDefinition), PARAMETER :: e = TTermDefinition (["    ", "    "])

end module FunctionTypes


-- 


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


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

* [Bug fortran/45092] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:5016
  2010-07-26 23:26 [Bug fortran/45092] New: internal compiler error regression bug in the latest trunk build of the gfortran compiler clerman at fuse dot net
                   ` (5 preceding siblings ...)
  2010-07-27  6:15 ` kargl at gcc dot gnu dot org
@ 2010-07-27 13:33 ` hjl dot tools at gmail dot com
  2010-08-03 14:35 ` burnus at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-27 13:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from hjl dot tools at gmail dot com  2010-07-27 13:33 -------
It is caused by revision 158253:

http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00357.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-27 13:33:34
               date|                            |


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


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

* [Bug fortran/45092] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:5016
  2010-07-26 23:26 [Bug fortran/45092] New: internal compiler error regression bug in the latest trunk build of the gfortran compiler clerman at fuse dot net
                   ` (6 preceding siblings ...)
  2010-07-27 13:33 ` hjl dot tools at gmail dot com
@ 2010-08-03 14:35 ` burnus at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-08-03 14:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from burnus at gcc dot gnu dot org  2010-08-03 14:35 -------
Mark as duplicate of PR 44857 as it is seemingly the same. As bonus, I might
have a patch.


*** This bug has been marked as a duplicate of 44857 ***


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2010-08-03 14:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-26 23:26 [Bug fortran/45092] New: internal compiler error regression bug in the latest trunk build of the gfortran compiler clerman at fuse dot net
2010-07-26 23:29 ` [Bug fortran/45092] " clerman at fuse dot net
2010-07-27  4:53 ` kargl at gcc dot gnu dot org
2010-07-27  4:54 ` kargl at gcc dot gnu dot org
2010-07-27  6:08 ` [Bug fortran/45092] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:5016 burnus at gcc dot gnu dot org
2010-07-27  6:11 ` kargl at gcc dot gnu dot org
2010-07-27  6:15 ` kargl at gcc dot gnu dot org
2010-07-27 13:33 ` hjl dot tools at gmail dot com
2010-08-03 14:35 ` burnus 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).