public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/63172] gccgo testcase cplx2.go execution provides incorrect answers on trunk for powerpc64, powerpc64le
       [not found] <bug-63172-4@http.gcc.gnu.org/bugzilla/>
@ 2014-09-11  7:47 ` vogt at linux dot vnet.ibm.com
  2014-09-11  7:48 ` vogt at linux dot vnet.ibm.com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: vogt at linux dot vnet.ibm.com @ 2014-09-11  7:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63172

--- Comment #1 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Created attachment 33468
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33468&action=edit
Test prog for Go

Run and watch for differences in the output lines.  They should be identical.


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

* [Bug go/63172] gccgo testcase cplx2.go execution provides incorrect answers on trunk for powerpc64, powerpc64le
       [not found] <bug-63172-4@http.gcc.gnu.org/bugzilla/>
  2014-09-11  7:47 ` [Bug go/63172] gccgo testcase cplx2.go execution provides incorrect answers on trunk for powerpc64, powerpc64le vogt at linux dot vnet.ibm.com
@ 2014-09-11  7:48 ` vogt at linux dot vnet.ibm.com
  2014-09-11  7:49 ` vogt at linux dot vnet.ibm.com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: vogt at linux dot vnet.ibm.com @ 2014-09-11  7:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63172

--- Comment #2 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Created attachment 33469
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33469&action=edit
Test prog for C

Run with "./mycplx2_c 5 6".


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

* [Bug go/63172] gccgo testcase cplx2.go execution provides incorrect answers on trunk for powerpc64, powerpc64le
       [not found] <bug-63172-4@http.gcc.gnu.org/bugzilla/>
  2014-09-11  7:47 ` [Bug go/63172] gccgo testcase cplx2.go execution provides incorrect answers on trunk for powerpc64, powerpc64le vogt at linux dot vnet.ibm.com
  2014-09-11  7:48 ` vogt at linux dot vnet.ibm.com
@ 2014-09-11  7:49 ` vogt at linux dot vnet.ibm.com
  2014-09-12  9:34 ` vogt at linux dot vnet.ibm.com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: vogt at linux dot vnet.ibm.com @ 2014-09-11  7:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63172

--- Comment #3 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
So the problem is that for some targets gcc's constant folding may yield a
different result for floating point calculations than the result if the
calculations were done on the target.  The attached test programs show this for
Go and C on s390, and maybe other platforms.


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

* [Bug go/63172] gccgo testcase cplx2.go execution provides incorrect answers on trunk for powerpc64, powerpc64le
       [not found] <bug-63172-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-09-11  7:49 ` vogt at linux dot vnet.ibm.com
@ 2014-09-12  9:34 ` vogt at linux dot vnet.ibm.com
  2014-10-02 14:52 ` boger at us dot ibm.com
  2014-10-02 15:11 ` boger at us dot ibm.com
  5 siblings, 0 replies; 6+ messages in thread
From: vogt at linux dot vnet.ibm.com @ 2014-09-12  9:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63172

--- Comment #4 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
On s390x, the option -fcx-limited-range "fixes" the deviation in the C test
program (tried with -O0 and -O3), but it has no effect for the Go test program.


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

* [Bug go/63172] gccgo testcase cplx2.go execution provides incorrect answers on trunk for powerpc64, powerpc64le
       [not found] <bug-63172-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-09-12  9:34 ` vogt at linux dot vnet.ibm.com
@ 2014-10-02 14:52 ` boger at us dot ibm.com
  2014-10-02 15:11 ` boger at us dot ibm.com
  5 siblings, 0 replies; 6+ messages in thread
From: boger at us dot ibm.com @ 2014-10-02 14:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63172

boger at us dot ibm.com changed:

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

--- Comment #5 from boger at us dot ibm.com ---
This is the same problem as described in 60181.

*** This bug has been marked as a duplicate of bug 60181 ***


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

* [Bug go/63172] gccgo testcase cplx2.go execution provides incorrect answers on trunk for powerpc64, powerpc64le
       [not found] <bug-63172-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-10-02 14:52 ` boger at us dot ibm.com
@ 2014-10-02 15:11 ` boger at us dot ibm.com
  5 siblings, 0 replies; 6+ messages in thread
From: boger at us dot ibm.com @ 2014-10-02 15:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63172

boger at us dot ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #6 from boger at us dot ibm.com ---
Comments for this bug will appear in 60181.


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

end of thread, other threads:[~2014-10-02 15:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-63172-4@http.gcc.gnu.org/bugzilla/>
2014-09-11  7:47 ` [Bug go/63172] gccgo testcase cplx2.go execution provides incorrect answers on trunk for powerpc64, powerpc64le vogt at linux dot vnet.ibm.com
2014-09-11  7:48 ` vogt at linux dot vnet.ibm.com
2014-09-11  7:49 ` vogt at linux dot vnet.ibm.com
2014-09-12  9:34 ` vogt at linux dot vnet.ibm.com
2014-10-02 14:52 ` boger at us dot ibm.com
2014-10-02 15:11 ` boger at us dot ibm.com

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