public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20971] New: gfortran - internal compiler error on bad program  -fdefault-integer-8
@ 2005-04-12 15:52 dir at lanl dot gov
  2005-04-12 16:09 ` [Bug fortran/20971] " kargl at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dir at lanl dot gov @ 2005-04-12 15:52 UTC (permalink / raw)
  To: gcc-bugs

I was trying to reduce a test case and I hit another error in the process -

[dranta:~/tests/gfortran] dir% gfortran -fdefault-integer-8 -o adini adini.f
adini.f: In function 'MAIN__':
adini.f:5: internal compiler error: in gfc_conv_string_tmp, at
fortran/trans-expr.c:736
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[dranta:~/tests/gfortran] dir% cat adini.f
      program main
      character*6 hed
      character*6 final
      data final /'stop' /
      if (hed(1).eq.final) stop
      stop
      end

-- 
           Summary: gfortran - internal compiler error on bad program  -
                    fdefault-integer-8
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dir at lanl dot gov
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-apple-darwin7.8.0


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


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

* [Bug fortran/20971] gfortran - internal compiler error on bad program  -fdefault-integer-8
  2005-04-12 15:52 [Bug fortran/20971] New: gfortran - internal compiler error on bad program -fdefault-integer-8 dir at lanl dot gov
@ 2005-04-12 16:09 ` kargl at gcc dot gnu dot org
  2005-04-12 16:57 ` giovannibajo at libero dot it
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-04-12 16:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kargl at gcc dot gnu dot org  2005-04-12 16:09 -------
(In reply to comment #0)
>       program main
>       character*6 hed
>       character*6 final
>       data final /'stop' /
>       if (hed(1).eq.final) stop

        if(hed(1:1).eq.final) stop

>       stop
>       end

ftnchek saystroutmask:sgk[221] ftnchek a.f

FTNCHEK Version 3.2 November 2002

File a.f:
 0 syntax errors detected in file a.f
Warning: Subprogram HED never defined
    Invoked in module MAIN line 6 file a.f
    (possibly it is an array which was not declared)

With the above modification, the program compiles fine.

Your original program does cause an ICE with 
-fdefault-integer-8, but it fails to link with
a missing subroutine hed_ with it.

troutmask:sgk[222] gfc41 -static -o z -fdefault-integer-8 a.f
a.f: In function 'MAIN__':
a.f:6: internal compiler error: in gfc_conv_string_tmp, at fortran/trans-expr.c:736
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

troutmask:sgk[223] gfc41 -static -o z a.f
/usr/home/sgk/tmp/ccj4VZrU.o(.text+0x17): In function `MAIN__':
: undefined reference to `hed_'
collect2: ld returned 1 exit status





-- 


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


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

* [Bug fortran/20971] gfortran - internal compiler error on bad program  -fdefault-integer-8
  2005-04-12 15:52 [Bug fortran/20971] New: gfortran - internal compiler error on bad program -fdefault-integer-8 dir at lanl dot gov
  2005-04-12 16:09 ` [Bug fortran/20971] " kargl at gcc dot gnu dot org
@ 2005-04-12 16:57 ` giovannibajo at libero dot it
  2005-04-13 10:04 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: giovannibajo at libero dot it @ 2005-04-12 16:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code


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


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

* [Bug fortran/20971] gfortran - internal compiler error on bad program  -fdefault-integer-8
  2005-04-12 15:52 [Bug fortran/20971] New: gfortran - internal compiler error on bad program -fdefault-integer-8 dir at lanl dot gov
                   ` (2 preceding siblings ...)
  2005-04-13 10:04 ` pinskia at gcc dot gnu dot org
@ 2005-04-13 10:04 ` pinskia at gcc dot gnu dot org
  2005-05-06 13:52 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-13 10:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-13 10:03 -------
*** Bug 20986 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |antoine dot letellier at
                   |                            |free dot fr


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


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

* [Bug fortran/20971] gfortran - internal compiler error on bad program  -fdefault-integer-8
  2005-04-12 15:52 [Bug fortran/20971] New: gfortran - internal compiler error on bad program -fdefault-integer-8 dir at lanl dot gov
  2005-04-12 16:09 ` [Bug fortran/20971] " kargl at gcc dot gnu dot org
  2005-04-12 16:57 ` giovannibajo at libero dot it
@ 2005-04-13 10:04 ` pinskia at gcc dot gnu dot org
  2005-04-13 10:04 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-13 10:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-13 10:03 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-13 10:03:48
               date|                            |


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


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

* [Bug fortran/20971] gfortran - internal compiler error on bad program  -fdefault-integer-8
  2005-04-12 15:52 [Bug fortran/20971] New: gfortran - internal compiler error on bad program -fdefault-integer-8 dir at lanl dot gov
                   ` (3 preceding siblings ...)
  2005-04-13 10:04 ` pinskia at gcc dot gnu dot org
@ 2005-05-06 13:52 ` pinskia at gcc dot gnu dot org
  2005-08-11 12:47 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06 13:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-06 13:52 -------
*** Bug 21415 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jiri dot pittner at jh-inst
                   |                            |dot cas dot cz


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


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

* [Bug fortran/20971] gfortran - internal compiler error on bad program  -fdefault-integer-8
  2005-04-12 15:52 [Bug fortran/20971] New: gfortran - internal compiler error on bad program -fdefault-integer-8 dir at lanl dot gov
                   ` (4 preceding siblings ...)
  2005-05-06 13:52 ` pinskia at gcc dot gnu dot org
@ 2005-08-11 12:47 ` pinskia at gcc dot gnu dot org
  2005-09-11 22:01 ` fxcoudert at gcc dot gnu dot org
  2005-09-12 15:22 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-11 12:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-11 12:47 -------
*** Bug 23323 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |georg dot denk at infineon
                   |                            |dot com


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


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

* [Bug fortran/20971] gfortran - internal compiler error on bad program  -fdefault-integer-8
  2005-04-12 15:52 [Bug fortran/20971] New: gfortran - internal compiler error on bad program -fdefault-integer-8 dir at lanl dot gov
                   ` (5 preceding siblings ...)
  2005-08-11 12:47 ` pinskia at gcc dot gnu dot org
@ 2005-09-11 22:01 ` fxcoudert at gcc dot gnu dot org
  2005-09-12 15:22 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-09-11 22:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-11 22:01 -------
Aren't these fixed? Trying to compile these testcases with an up-to-date
compiler, I don't get ICEs...

-- 


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


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

* [Bug fortran/20971] gfortran - internal compiler error on bad program  -fdefault-integer-8
  2005-04-12 15:52 [Bug fortran/20971] New: gfortran - internal compiler error on bad program -fdefault-integer-8 dir at lanl dot gov
                   ` (6 preceding siblings ...)
  2005-09-11 22:01 ` fxcoudert at gcc dot gnu dot org
@ 2005-09-12 15:22 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-12 15:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-12 15:21 -------
Fixed at least on the mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-12 15:52 [Bug fortran/20971] New: gfortran - internal compiler error on bad program -fdefault-integer-8 dir at lanl dot gov
2005-04-12 16:09 ` [Bug fortran/20971] " kargl at gcc dot gnu dot org
2005-04-12 16:57 ` giovannibajo at libero dot it
2005-04-13 10:04 ` pinskia at gcc dot gnu dot org
2005-04-13 10:04 ` pinskia at gcc dot gnu dot org
2005-05-06 13:52 ` pinskia at gcc dot gnu dot org
2005-08-11 12:47 ` pinskia at gcc dot gnu dot org
2005-09-11 22:01 ` fxcoudert at gcc dot gnu dot org
2005-09-12 15: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).