public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/13202] New: -O2 -std=c99 doesn't work
@ 2011-09-20 4:03 hjl.tools at gmail dot com
2011-09-20 4:04 ` [Bug math/13202] " hjl.tools at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2011-09-20 4:03 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13202
Bug #: 13202
Summary: -O2 -std=c99 doesn't work
Product: glibc
Version: 2.14
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: aj@suse.de
ReportedBy: hjl.tools@gmail.com
Classification: Unclassified
Target: x86_64
[hjl@gnu-mic-2 tmp]$ cat x.c
#include <math.h>
long int
foo (float x)
{
return lrintf (x);
}
[hjl@gnu-mic-2 tmp]$ gcc -O2 -std=c99 x.c -c
In file included from /usr/include/math.h:416:0,
from x.c:1:
/usr/include/bits/mathinline.h: In function \u2018lrintf\u2019:
/usr/include/bits/mathinline.h:74:26: error: expected \u2018)\u2019 before
\u2018:\u2019 token
/usr/include/bits/mathinline.h: In function \u2018lrint\u2019:
/usr/include/bits/mathinline.h:83:26: error: expected \u2018)\u2019 before
\u2018:\u2019 token
/usr/include/bits/mathinline.h: In function \u2018llrintf\u2019:
/usr/include/bits/mathinline.h:92:26: error: expected \u2018)\u2019 before
\u2018:\u2019 token
/usr/include/bits/mathinline.h: In function \u2018llrint\u2019:
/usr/include/bits/mathinline.h:99:26: error: expected \u2018)\u2019 before
\u2018:\u2019 token
[hjl@gnu-mic-2 tmp]$
asm should be replaced by __asm.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug math/13202] -O2 -std=c99 doesn't work
2011-09-20 4:03 [Bug math/13202] New: -O2 -std=c99 doesn't work hjl.tools at gmail dot com
@ 2011-09-20 4:04 ` hjl.tools at gmail dot com
2011-09-28 12:15 ` aj at suse dot de
2014-06-27 12:02 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2011-09-20 4:04 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13202
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.14 |unspecified
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug math/13202] -O2 -std=c99 doesn't work
2011-09-20 4:03 [Bug math/13202] New: -O2 -std=c99 doesn't work hjl.tools at gmail dot com
2011-09-20 4:04 ` [Bug math/13202] " hjl.tools at gmail dot com
@ 2011-09-28 12:15 ` aj at suse dot de
2014-06-27 12:02 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: aj at suse dot de @ 2011-09-28 12:15 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13202
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Andreas Jaeger <aj at suse dot de> 2011-09-28 12:14:33 UTC ---
This is fixed by:
commit bf972c9dfcda9f95e337c6d4586abcc3bdf46561
Author: Andreas Schwab <schwab@redhat.com>
Date: Mon Sep 26 13:29:01 2011 +0200
Fix parse error in bits/mathinline.h with --std=c99
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug math/13202] -O2 -std=c99 doesn't work
2011-09-20 4:03 [Bug math/13202] New: -O2 -std=c99 doesn't work hjl.tools at gmail dot com
2011-09-20 4:04 ` [Bug math/13202] " hjl.tools at gmail dot com
2011-09-28 12:15 ` aj at suse dot de
@ 2014-06-27 12:02 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 12:02 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=13202
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-27 12:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-20 4:03 [Bug math/13202] New: -O2 -std=c99 doesn't work hjl.tools at gmail dot com
2011-09-20 4:04 ` [Bug math/13202] " hjl.tools at gmail dot com
2011-09-28 12:15 ` aj at suse dot de
2014-06-27 12:02 ` fweimer at redhat dot 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).