This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/19613] New: s390x (64 bit) macro expansion WCOREDUMP and others
- From: "planrichi at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 11 Feb 2016 15:07:38 +0000
- Subject: [Bug libc/19613] New: s390x (64 bit) macro expansion WCOREDUMP and others
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19613
Bug ID: 19613
Summary: s390x (64 bit) macro expansion WCOREDUMP and others
Product: glibc
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: planrichi at gmail dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Hi,
the macro expansion still uses "union wait" even for newer s390x machines.
I was redirected here on the gcc-help mailing list.
See my mail with description here:
https://gcc.gnu.org/ml/gcc-help/2016-02/msg00040.html
And the answer here:
https://gcc.gnu.org/ml/gcc-help/2016-02/msg00041.html
In a nutshell: (s390x red hat linux 7.2)
Expanding WCOREDUMP((long)128L) expands to (((__extension__ (((union {
__typeof((long)128L) __in; int __i; }) {
.__in = ((long)128L) }).__i)).
Since it is a big endian machine, it will always return 0.
Richard
--
You are receiving this mail because:
You are on the CC list for the bug.