public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33073]  New: New ICE that did not occur in 7-30 Windows build
@ 2007-08-14 21:15 awgreynolds at earthlink dot net
  2007-08-14 21:33 ` [Bug fortran/33073] " fxcoudert at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: awgreynolds at earthlink dot net @ 2007-08-14 21:15 UTC (permalink / raw)
  To: gcc-bugs

subroutine PropagateGrid(wavl,grid,field)
  parameter (KR=8); implicit real(KR) (a-h,o-z)
  intent(in) wavl; intent(inout) grid; dimension grid(0:3,0:3)
  complex(KR),intent(inout) :: field(*)
    call PropagateField(wavl,nint(grid(0,1:)),field) !causes ICE
!    call PropagateField(wavl,int(grid(0,1:)),field) !doesn't
  return
end

C:\gfc\geloe>gfortran -v -c bug.f90
Using built-in specs.
Target: i386-pc-mingw32
Configured with: ../trunk/configure --prefix=/mingw
--enable-languages=c,fortran --with-gmp=/home/FX/local --
Thread model: win32
gcc version 4.3.0 20070813 (experimental)
 c:/program files/gfortran/bin/../libexec/gcc/i386-pc-mingw32/4.3.0/f951.exe
bug.f90 -quiet -dumpbase bug.f90
GNU F95 version 4.3.0 20070813 (experimental) (i386-pc-mingw32)
        compiled by GNU C version 4.3.0 20070813 (experimental), GMP version
4.2.1, MPFR version 2.2.1-p5.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
bug.f90: In function 'propagategrid':
bug.f90:2: internal compiler error: in gfc_add_modify, at fortran/trans.c:159


-- 
           Summary: New ICE that did not occur in 7-30 Windows build
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: awgreynolds at earthlink dot net


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


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

* [Bug fortran/33073] New ICE that did not occur in 7-30 Windows build
  2007-08-14 21:15 [Bug fortran/33073] New: New ICE that did not occur in 7-30 Windows build awgreynolds at earthlink dot net
@ 2007-08-14 21:33 ` fxcoudert at gcc dot gnu dot org
  2007-08-14 21:47 ` [Bug fortran/33073] [4.3 regression] Type mismatch in build_fixbound_expr() fxcoudert at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-08-14 21:33 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1474 bytes --]



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2007-08-14 21:33 -------
Confirmed on x86_64-linux with -m32:

$ cat a.f90 
  real x(1)
  call foo(nint(x))
  end
$ gfortran a.f90 -m32
a.f90: In function ‘MAIN__’:
a.f90:1: internal compiler error: in gfc_add_modify, at fortran/trans.c:159


This comes from a mistake I made when I rewrote the NINT translation. It's easy
to fix and the patch is currently under testing, I expect to commit it later
tonight. Updated binaries will come at the end of the week or the beginning of
next week. (PS: the 2007-07-30 binaries are still available here:
http://quatramaran.ens.fr/~coudert/gfortran/gfortran-windows-20070730.exe)


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-08-14 21:33:41
               date|                            |


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


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

* [Bug fortran/33073] [4.3 regression] Type mismatch in build_fixbound_expr()
  2007-08-14 21:15 [Bug fortran/33073] New: New ICE that did not occur in 7-30 Windows build awgreynolds at earthlink dot net
  2007-08-14 21:33 ` [Bug fortran/33073] " fxcoudert at gcc dot gnu dot org
@ 2007-08-14 21:47 ` fxcoudert at gcc dot gnu dot org
  2007-08-14 22:40 ` fxcoudert at gcc dot gnu dot org
  2007-08-14 22:44 ` fxcoudert at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-08-14 21:47 UTC (permalink / raw)
  To: gcc-bugs



-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.3.0
      Known to work|                            |4.2.1 4.1.3
            Summary|New ICE that did not occur  |[4.3 regression] Type
                   |in 7-30 Windows build       |mismatch in
                   |                            |build_fixbound_expr()
   Target Milestone|---                         |4.3.0


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


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

* [Bug fortran/33073] [4.3 regression] Type mismatch in build_fixbound_expr()
  2007-08-14 21:15 [Bug fortran/33073] New: New ICE that did not occur in 7-30 Windows build awgreynolds at earthlink dot net
  2007-08-14 21:33 ` [Bug fortran/33073] " fxcoudert at gcc dot gnu dot org
  2007-08-14 21:47 ` [Bug fortran/33073] [4.3 regression] Type mismatch in build_fixbound_expr() fxcoudert at gcc dot gnu dot org
@ 2007-08-14 22:40 ` fxcoudert at gcc dot gnu dot org
  2007-08-14 22:44 ` fxcoudert at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-08-14 22:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from fxcoudert at gcc dot gnu dot org  2007-08-14 22:40 -------
Subject: Bug 33073

Author: fxcoudert
Date: Tue Aug 14 22:40:00 2007
New Revision: 127494

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127494
Log:
        PR fortran/33073
        * trans-intrinsic.c (build_fixbound_expr): Convert to result type
        in all cases.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-intrinsic.c


-- 


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


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

* [Bug fortran/33073] [4.3 regression] Type mismatch in build_fixbound_expr()
  2007-08-14 21:15 [Bug fortran/33073] New: New ICE that did not occur in 7-30 Windows build awgreynolds at earthlink dot net
                   ` (2 preceding siblings ...)
  2007-08-14 22:40 ` fxcoudert at gcc dot gnu dot org
@ 2007-08-14 22:44 ` fxcoudert at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-08-14 22:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2007-08-14 22:43 -------
Fixed, thanks for the bug report!


-- 

fxcoudert at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-08-14 22:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-14 21:15 [Bug fortran/33073] New: New ICE that did not occur in 7-30 Windows build awgreynolds at earthlink dot net
2007-08-14 21:33 ` [Bug fortran/33073] " fxcoudert at gcc dot gnu dot org
2007-08-14 21:47 ` [Bug fortran/33073] [4.3 regression] Type mismatch in build_fixbound_expr() fxcoudert at gcc dot gnu dot org
2007-08-14 22:40 ` fxcoudert at gcc dot gnu dot org
2007-08-14 22:44 ` fxcoudert 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).