mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <ibid.ag@gmail.com>
To: Anders Magnusson <ragge@ludd.ltu.se>
Cc: musl@lists.openwall.com, pcc@lists.ludd.ltu.se
Subject: Re: pcc i386 -fPIC compiler error on src/complex/catanf.c
Date: Sun, 4 Jan 2015 13:54:45 -0800	[thread overview]
Message-ID: <20150104215444.GA1945@newbook> (raw)
In-Reply-To: <20150104210403.GA1801@newbook>

[-- Attachment #1: Type: text/plain, Size: 705 bytes --]

Sorry for the noise, but the catanf.i.gz above was from a slightly modified
catanf.c (which had the same behavior as the original code).
I had changed this from upstream musl:
===
--- a/src/complex/catanf.c
+++ b/src/complex/catanf.c
@@ -61,12 +61,12 @@ static const double DP1 = 3.140625;
 static const double DP2 = 9.67502593994140625E-4;
 static const double DP3 = 1.509957990978376432E-7;
 
-static float _redupif(float xx)
+static float _redupif(float x)
 {
-	float x, t;
+	float t;
 	long i;
 
-	x = xx;
+	//x = xx;
 	t = x/(float)M_PI;
 	if (t >= 0.0f)
 		t += 0.5f;
===

The preprocessed code has a corresponding change; I'm attaching the gzip'd
result of the original code.

Thanks,
Isaac Dunham

[-- Attachment #2: catanf.i.gz --]
[-- Type: application/octet-stream, Size: 2637 bytes --]

[-- Attachment #3: Type: text/plain, Size: 141 bytes --]

_______________________________________________
Pcc mailing list
Pcc@lists.ludd.ltu.se
https://lists.ludd.ltu.se/cgi-bin/mailman/listinfo/pcc

  reply	other threads:[~2015-01-04 21:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-04  5:53 Isaac Dunham
2015-01-04 17:47 ` Iain Hibbert
2015-01-04 18:01   ` Re: [Pcc] " Rich Felker
2015-01-04 19:26     ` Jens Gustedt
2015-01-04 19:24   ` Anders Magnusson
2015-01-04 21:04     ` Isaac Dunham
2015-01-04 21:54       ` Isaac Dunham [this message]
2015-01-05 10:31       ` Anders Magnusson
2015-01-05 23:25         ` [Pcc] " Isaac Dunham
2015-01-06  3:27           ` Anders Magnusson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150104215444.GA1945@newbook \
    --to=ibid.ag@gmail.com \
    --cc=musl@lists.openwall.com \
    --cc=pcc@lists.ludd.ltu.se \
    --cc=ragge@ludd.ltu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).