public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11829] New: nanl problem
@ 2003-08-06  9:21 marksni at delvron dot us
  2003-08-06 12:46 ` [Bug c/11829] " pinskia at physics dot uc dot edu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marksni at delvron dot us @ 2003-08-06  9:21 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: nanl problem
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marksni at delvron dot us
                CC: gcc-bugs at gcc dot gnu dot org

The following code compiled with gcc v3.2.2 or v3.3 produce "Memory fault" on 
Slackware 9:

#include <math.h>

int main(){
 long double a = nanl(0);

 return 0;
}


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

* [Bug c/11829] nanl problem
  2003-08-06  9:21 [Bug c/11829] New: nanl problem marksni at delvron dot us
@ 2003-08-06 12:46 ` pinskia at physics dot uc dot edu
  2003-08-06 13:23 ` schwab at suse dot de
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06 12:46 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-06 12:45 -------
nanl takes a string as an agurment, you want to pass "0" instead of just plain 0.


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

* [Bug c/11829] nanl problem
  2003-08-06  9:21 [Bug c/11829] New: nanl problem marksni at delvron dot us
  2003-08-06 12:46 ` [Bug c/11829] " pinskia at physics dot uc dot edu
@ 2003-08-06 13:23 ` schwab at suse dot de
  2003-08-06 13:28 ` pinskia at physics dot uc dot edu
  2003-08-06 13:43 ` schwab at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: schwab at suse dot de @ 2003-08-06 13:23 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


------- Additional Comments From schwab at suse dot de  2003-08-06 13:23 -------
I cannot find any requirement in the C standard that the argument of nan must 
be non-NULL.  There is not even a requirement that the argument must be a 
string when non-NULL, but that looks like a defect in the standard.


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

* [Bug c/11829] nanl problem
  2003-08-06  9:21 [Bug c/11829] New: nanl problem marksni at delvron dot us
  2003-08-06 12:46 ` [Bug c/11829] " pinskia at physics dot uc dot edu
  2003-08-06 13:23 ` schwab at suse dot de
@ 2003-08-06 13:28 ` pinskia at physics dot uc dot edu
  2003-08-06 13:43 ` schwab at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06 13:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-06 13:28 -------
It still not GCC's fault that the glibc is busted.
It works for me on powerpc-appled-darwin6.6 so it is glibc problem, report it there.


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

* [Bug c/11829] nanl problem
  2003-08-06  9:21 [Bug c/11829] New: nanl problem marksni at delvron dot us
                   ` (2 preceding siblings ...)
  2003-08-06 13:28 ` pinskia at physics dot uc dot edu
@ 2003-08-06 13:43 ` schwab at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: schwab at suse dot de @ 2003-08-06 13:43 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From schwab at suse dot de  2003-08-06 13:43 -------
Sorry, I was thinking about the nan builtins.


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

end of thread, other threads:[~2003-08-06 13:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-06  9:21 [Bug c/11829] New: nanl problem marksni at delvron dot us
2003-08-06 12:46 ` [Bug c/11829] " pinskia at physics dot uc dot edu
2003-08-06 13:23 ` schwab at suse dot de
2003-08-06 13:28 ` pinskia at physics dot uc dot edu
2003-08-06 13:43 ` schwab at suse dot de

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).