NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/55668: can not build current on current
The following reply was made to PR toolchain/55668; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: toolchain/55668: can not build current on current
Date: Fri, 18 Sep 2020 14:26:06 +0200
This is trivially reproducable by the test below.
Just do:
cc -Wall -O2 test.c
./a.out
and watch it hang.
Martin
--8<--
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
double r;
char *ep;
char inp[] = "0002e308 R_ARM_ABS32 .debug_str";
r = strtod(inp, &ep);
printf("r: %.6f, ep: %s\n", r, ep);
return 0;
}
Home |
Main Index |
Thread Index |
Old Index