public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/17999] New: libfortran: uses some C99 functions (snprintf)
@ 2004-10-14 14:28 pinskia at gcc dot gnu dot org
  2004-10-15 15:43 ` [Bug libfortran/17999] " tobi at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-14 14:28 UTC (permalink / raw)
  To: gcc-bugs

The most ovbious fix here is to link in libiberty.a which has snprintf.

-- 
           Summary: libfortran: uses some C99 functions (snprintf)
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: *-*-solaris2.5.1


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


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

* [Bug libfortran/17999] libfortran: uses some C99 functions (snprintf)
  2004-10-14 14:28 [Bug libfortran/17999] New: libfortran: uses some C99 functions (snprintf) pinskia at gcc dot gnu dot org
@ 2004-10-15 15:43 ` tobi at gcc dot gnu dot org
  2004-10-29 13:55 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-10-15 15:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-10-15 15:43 -------
This is possible: libiberty/snprintf.c is GPL+exception

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-15 15:43:38
               date|                            |


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


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

* [Bug libfortran/17999] libfortran: uses some C99 functions (snprintf)
  2004-10-14 14:28 [Bug libfortran/17999] New: libfortran: uses some C99 functions (snprintf) pinskia at gcc dot gnu dot org
  2004-10-15 15:43 ` [Bug libfortran/17999] " tobi at gcc dot gnu dot org
@ 2004-10-29 13:55 ` ebotcazou at gcc dot gnu dot org
  2004-11-15 12:06 ` [Bug libfortran/17999] [4.0 Regression] " ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-10-29 13:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-10-29 13:54 -------
This affects Solaris 2.5.1 (once the library is built).


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org


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


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

* [Bug libfortran/17999] [4.0 Regression] libfortran: uses some C99 functions (snprintf)
  2004-10-14 14:28 [Bug libfortran/17999] New: libfortran: uses some C99 functions (snprintf) pinskia at gcc dot gnu dot org
  2004-10-15 15:43 ` [Bug libfortran/17999] " tobi at gcc dot gnu dot org
  2004-10-29 13:55 ` ebotcazou at gcc dot gnu dot org
@ 2004-11-15 12:06 ` ebotcazou at gcc dot gnu dot org
  2004-11-17 13:57 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-15 12:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-15 12:05 -------
This is a regression wrt to the Fortran 77 compiler.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|libfortran: uses some C99   |[4.0 Regression] libfortran:
                   |functions (snprintf)        |uses some C99 functions
                   |                            |(snprintf)
   Target Milestone|---                         |4.0.0


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


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

* [Bug libfortran/17999] [4.0 Regression] libfortran: uses some C99 functions (snprintf)
  2004-10-14 14:28 [Bug libfortran/17999] New: libfortran: uses some C99 functions (snprintf) pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-11-15 12:06 ` [Bug libfortran/17999] [4.0 Regression] " ebotcazou at gcc dot gnu dot org
@ 2004-11-17 13:57 ` ebotcazou at gcc dot gnu dot org
  2004-11-20 13:16 ` cvs-commit at gcc dot gnu dot org
  2004-11-20 13:21 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-17 13:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-17 13:57 -------
Fixing.


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


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


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

* [Bug libfortran/17999] [4.0 Regression] libfortran: uses some C99 functions (snprintf)
  2004-10-14 14:28 [Bug libfortran/17999] New: libfortran: uses some C99 functions (snprintf) pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-11-17 13:57 ` ebotcazou at gcc dot gnu dot org
@ 2004-11-20 13:16 ` cvs-commit at gcc dot gnu dot org
  2004-11-20 13:21 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-20 13:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-20 13:15 -------
Subject: Bug 17999

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2004-11-20 13:15:17

Modified files:
	libgfortran    : ChangeLog acinclude.m4 config.h.in configure 
	                 configure.ac libgfortran.h 
	libgfortran/intrinsics: date_and_time.c 
	libgfortran/io : write.c 

Log message:
	PR target/16135
	* acinclude.m4 (LIBGFOR_TARGET_ILP32): New check.
	* configure.ac: Include LIBGFOR_TARGET_ILP32.
	* configure: Regenerate.
	* config.h.in: Likewise.
	* libgfortran.h: Provide default definitions for C99 types
	on ILP32 targets that don't have them.
	
	PR target/17999
	* configure.ac: Check for snprintf.
	* configure: Regenerate.
	* config.h.in: Likewise.
	* intrinsics/date_and_time.c (date_and_time): Do not
	use snprinf if it is not available.
	* io/write.c (output_float): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.111&r2=1.112
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/acinclude.m4.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/config.h.in.diff?cvsroot=gcc&r1=1.11&r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/configure.diff?cvsroot=gcc&r1=1.19&r2=1.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/configure.ac.diff?cvsroot=gcc&r1=1.14&r2=1.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/libgfortran.h.diff?cvsroot=gcc&r1=1.13&r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/date_and_time.c.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/write.c.diff?cvsroot=gcc&r1=1.16&r2=1.17



-- 


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


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

* [Bug libfortran/17999] [4.0 Regression] libfortran: uses some C99 functions (snprintf)
  2004-10-14 14:28 [Bug libfortran/17999] New: libfortran: uses some C99 functions (snprintf) pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-11-20 13:16 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-20 13:21 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-20 13:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-20 13:21 -------
See http://gcc.gnu.org/ml/fortran/2004-11/msg00127.html


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


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


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

end of thread, other threads:[~2004-11-20 13:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-14 14:28 [Bug libfortran/17999] New: libfortran: uses some C99 functions (snprintf) pinskia at gcc dot gnu dot org
2004-10-15 15:43 ` [Bug libfortran/17999] " tobi at gcc dot gnu dot org
2004-10-29 13:55 ` ebotcazou at gcc dot gnu dot org
2004-11-15 12:06 ` [Bug libfortran/17999] [4.0 Regression] " ebotcazou at gcc dot gnu dot org
2004-11-17 13:57 ` ebotcazou at gcc dot gnu dot org
2004-11-20 13:16 ` cvs-commit at gcc dot gnu dot org
2004-11-20 13:21 ` ebotcazou 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).