[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #5 from gnassre at earthlink dot net 2005-12-06 19:45 --- (In reply to comment #1) > The C standard says that if a function is not declared (prototyped) then > implicately it returns the type of int. > ok thanks, that makes sense =) -- http://gcc.gnu.org

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #4 from gnassre at earthlink dot net 2005-12-06 19:41 --- Created an attachment (id=10424) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10424&action=view) main() function definition file from gcc --save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #3 from gnassre at earthlink dot net 2005-12-06 19:41 --- Created an attachment (id=10423) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10423&action=view) testo() function definition file from gcc --save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #2 from gnassre at earthlink dot net 2005-12-06 19:40 --- Created an attachment (id=10422) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10422&action=view) output of gcc -v -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284

[Bug c/25284] New: incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
main(). Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gnassre at earthlink dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284