public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/47970] New: c99_functions.c:611:5: warning: implicit declaration of function 'round'
@ 2011-03-03 14:23 danglin at gcc dot gnu.org
2011-03-03 14:29 ` [Bug libfortran/47970] " rguenth at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-03-03 14:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47970
Summary: c99_functions.c:611:5: warning: implicit declaration
of function 'round'
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: danglin@gcc.gnu.org
Host: hppa1.1-hp-hpux10*
Target: hppa1.1-hp-hpux10*
Build: hppa1.1-hp-hpux10*
libtool: compile: /xxx/gnu/gcc/objdir/./gcc/xgcc -B/xxx/gnu/gcc/objdir/./gcc/
-
B/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/bin/
-B/opt/gnu/gcc/gcc-4.6/hppa1.1-h
p-hpux10.20/lib/ -isystem /opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/include
-isy
stem /opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/sys-include -DHAVE_CONFIG_H -I.
-
I../../../../gcc/libgfortran -iquote../../../../gcc/libgfortran/io
-I../../../..
/gcc/libgfortran/../gcc -I../../../../gcc/libgfortran/../gcc/config
-I../../../.
./gcc/libgfortran/../libquadmath -I../../.././gcc -D_GNU_SOURCE -std=gnu99
-Wall
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra
-Wwrite
-strings -fcx-fortran-rules -g -O2 -threads -MT c99_functions.lo -MD -MP -MF
.de
ps/c99_functions.Tpo -c ../../../../gcc/libgfortran/intrinsics/c99_functions.c
-fPIC -DPIC -o .libs/c99_functions.o
../../../../gcc/libgfortran/intrinsics/c99_functions.c: In function 'roundl':
../../../../gcc/libgfortran/intrinsics/c99_functions.c:611:5: warning: implicit
declaration of function 'round' [-Wimplicit-function-declaration]
../../../../gcc/libgfortran/intrinsics/c99_functions.c:611:12: warning:
incompat
ible implicit declaration of built-in function 'round' [enabled by default]
Target does not have `round' and round implementation follows use.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libfortran/47970] c99_functions.c:611:5: warning: implicit declaration of function 'round'
2011-03-03 14:23 [Bug libfortran/47970] New: c99_functions.c:611:5: warning: implicit declaration of function 'round' danglin at gcc dot gnu.org
@ 2011-03-03 14:29 ` rguenth at gcc dot gnu.org
2011-11-08 7:42 ` fxcoudert at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-03 14:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47970
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.03.03 14:29:24
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-03 14:29:24 UTC ---
Confirmed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libfortran/47970] c99_functions.c:611:5: warning: implicit declaration of function 'round'
2011-03-03 14:23 [Bug libfortran/47970] New: c99_functions.c:611:5: warning: implicit declaration of function 'round' danglin at gcc dot gnu.org
2011-03-03 14:29 ` [Bug libfortran/47970] " rguenth at gcc dot gnu.org
@ 2011-11-08 7:42 ` fxcoudert at gcc dot gnu.org
2011-11-08 10:32 ` fxcoudert at gcc dot gnu.org
2011-11-08 10:34 ` fxcoudert at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-11-08 7:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47970
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |fxcoudert at gcc dot
|gnu.org |gnu.org
--- Comment #2 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-08 06:47:16 UTC ---
Created attachment 25749
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25749
Patch
Moving the round() implementation before that of roundl() should fix it. Please
confirm that it does.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libfortran/47970] c99_functions.c:611:5: warning: implicit declaration of function 'round'
2011-03-03 14:23 [Bug libfortran/47970] New: c99_functions.c:611:5: warning: implicit declaration of function 'round' danglin at gcc dot gnu.org
2011-03-03 14:29 ` [Bug libfortran/47970] " rguenth at gcc dot gnu.org
2011-11-08 7:42 ` fxcoudert at gcc dot gnu.org
@ 2011-11-08 10:32 ` fxcoudert at gcc dot gnu.org
2011-11-08 10:34 ` fxcoudert at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-11-08 10:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47970
--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-08 10:31:11 UTC ---
Author: fxcoudert
Date: Tue Nov 8 10:31:04 2011
New Revision: 181153
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181153
Log:
PR libfortran/47970
* intrinsics/c99_functions.c (round): Move higher in the file.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/intrinsics/c99_functions.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libfortran/47970] c99_functions.c:611:5: warning: implicit declaration of function 'round'
2011-03-03 14:23 [Bug libfortran/47970] New: c99_functions.c:611:5: warning: implicit declaration of function 'round' danglin at gcc dot gnu.org
` (2 preceding siblings ...)
2011-11-08 10:32 ` fxcoudert at gcc dot gnu.org
@ 2011-11-08 10:34 ` fxcoudert at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-11-08 10:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47970
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-08 10:32:31 UTC ---
Fixed on trunk, thanks for reporting the issue!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-11-08 10:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-03 14:23 [Bug libfortran/47970] New: c99_functions.c:611:5: warning: implicit declaration of function 'round' danglin at gcc dot gnu.org
2011-03-03 14:29 ` [Bug libfortran/47970] " rguenth at gcc dot gnu.org
2011-11-08 7:42 ` fxcoudert at gcc dot gnu.org
2011-11-08 10:32 ` fxcoudert at gcc dot gnu.org
2011-11-08 10:34 ` fxcoudert at gcc dot gnu.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).