public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19308] New: compiler claims to accept variables of selected_integer_kind(30), I/O leads to internal error
@ 2005-01-07 10:25 Thomas dot Koenig at online dot de
  2005-01-07 13:57 ` [Bug libfortran/19308] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Thomas dot Koenig at online dot de @ 2005-01-07 10:25 UTC (permalink / raw)
  To: gcc-bugs

$ cat sel.f90
program sel
  integer(kind=selected_int_kind(30)) :: j
  j = 42
  print *,j
end
$ gfortran sel.f90
$ ./a.out
At line 4 of file sel.f90
Internal Error: bad integer kind
 $ gfortran -v
Using built-in specs.
Configured with: ../gcc-4.0-20050102/configure --prefix=/home/zfkts
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20050102 (experimental)
$ gfortran -dumpmachine
ia64-unknown-linux-gnu

I don't know wether 128-bit integers are supposed to work or not,
so this is either a library or a compiler bug.

-- 
           Summary: compiler claims to accept variables of
                    selected_integer_kind(30), I/O leads to internal error
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug libfortran/19308] compiler claims to accept variables of selected_integer_kind(30), I/O leads to internal error
  2005-01-07 10:25 [Bug fortran/19308] New: compiler claims to accept variables of selected_integer_kind(30), I/O leads to internal error Thomas dot Koenig at online dot de
@ 2005-01-07 13:57 ` pinskia at gcc dot gnu dot org
  2005-06-01  9:56 ` [Bug libfortran/19308] I/O library should support more real and integer kinds fxcoudert at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-07 13:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-07 13:57 -------
Confirmed, the bug is in the library which should support 128bit integers.
On targets where the register size is 32, we don't support 128bit integers inside the compiler aka we 
error out.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
          Component|fortran                     |libfortran
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-07 13:57:28
               date|                            |


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


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

* [Bug libfortran/19308] I/O library should support more real and integer kinds
  2005-01-07 10:25 [Bug fortran/19308] New: compiler claims to accept variables of selected_integer_kind(30), I/O leads to internal error Thomas dot Koenig at online dot de
  2005-01-07 13:57 ` [Bug libfortran/19308] " pinskia at gcc dot gnu dot org
@ 2005-06-01  9:56 ` fxcoudert at gcc dot gnu dot org
  2005-09-24  5:35 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-01  9:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-01 09:56 -------
This bug is a lot more general. I/O library should really support all available
kinds of integers and reals. I'm working on that...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
            Summary|compiler claims to accept   |I/O library should support
                   |variables of                |more real and integer kinds
                   |selected_integer_kind(30),  |
                   |I/O leads to internal error |


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


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

* [Bug libfortran/19308] I/O library should support more real and integer kinds
  2005-01-07 10:25 [Bug fortran/19308] New: compiler claims to accept variables of selected_integer_kind(30), I/O leads to internal error Thomas dot Koenig at online dot de
  2005-01-07 13:57 ` [Bug libfortran/19308] " pinskia at gcc dot gnu dot org
  2005-06-01  9:56 ` [Bug libfortran/19308] I/O library should support more real and integer kinds fxcoudert at gcc dot gnu dot org
@ 2005-09-24  5:35 ` pinskia at gcc dot gnu dot org
  2005-09-24  7:57 ` fxcoudert at gcc dot gnu dot org
  2005-09-24 17:42 ` kargl at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-24  5:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-24 05:35 -------
Assigning this to FX since he was working on it.  FX is this fixed or does this bug still need to stay 
open?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug libfortran/19308] I/O library should support more real and integer kinds
  2005-01-07 10:25 [Bug fortran/19308] New: compiler claims to accept variables of selected_integer_kind(30), I/O leads to internal error Thomas dot Koenig at online dot de
                   ` (2 preceding siblings ...)
  2005-09-24  5:35 ` pinskia at gcc dot gnu dot org
@ 2005-09-24  7:57 ` fxcoudert at gcc dot gnu dot org
  2005-09-24 17:42 ` kargl at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-09-24  7:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-24 07:57 -------
It's a work in progress, and I guess that it will stay open for a long time.
Right now, we have medium front-end support and bad library support for large
kinds. I have a patch that is half-accepted (by Steve Kargl) and I'm working on
cleaning the other half (my recent "C99 complex cleanup" patch is an effort in
that direction). When all this is done (probably a few weeks), we will have good
front-end support, and good library support on all platforms except ia64-hpux.

-- 


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


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

* [Bug libfortran/19308] I/O library should support more real and integer kinds
  2005-01-07 10:25 [Bug fortran/19308] New: compiler claims to accept variables of selected_integer_kind(30), I/O leads to internal error Thomas dot Koenig at online dot de
                   ` (3 preceding siblings ...)
  2005-09-24  7:57 ` fxcoudert at gcc dot gnu dot org
@ 2005-09-24 17:42 ` kargl at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-09-24 17:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kargl at gcc dot gnu dot org  2005-09-24 17:42 -------
To add to FX's eplanation, I know libm on at least {Net,Open,Free}BSD do not
have a complete set of C99 long double functions (e.g., logl).  We
need to map logl to log with a note in gfortran.info that the intrinsics
for REAL(10) may not span their full domain due to problems with libm.
I read through FX's complex cleanup patch and will test it today.  I'm
hoping that we can get this cleared up this week.

-- 


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


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

end of thread, other threads:[~2005-09-24 17:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-07 10:25 [Bug fortran/19308] New: compiler claims to accept variables of selected_integer_kind(30), I/O leads to internal error Thomas dot Koenig at online dot de
2005-01-07 13:57 ` [Bug libfortran/19308] " pinskia at gcc dot gnu dot org
2005-06-01  9:56 ` [Bug libfortran/19308] I/O library should support more real and integer kinds fxcoudert at gcc dot gnu dot org
2005-09-24  5:35 ` pinskia at gcc dot gnu dot org
2005-09-24  7:57 ` fxcoudert at gcc dot gnu dot org
2005-09-24 17:42 ` kargl 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).