public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "kminola at eng dot umd dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/22267] New: C optimization error with string.h Date: Fri, 01 Jul 2005 12:43:00 -0000 [thread overview] Message-ID: <20050701124343.22267.kminola@eng.umd.edu> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1493 bytes --] /* C optimization error with string.h on ia64-unknown-linux-gnu (also occurs on alphaev56-unknown-linux-gnu, but not on other architectures that I have tried) % gcc -v Using built-in specs. Target: ia64-unknown-linux-gnu Configured with: /usr/local/gcc-4.0.0/src/gcc-4.0.0/configure --enable-languages=c --prefix=/usr/local/gcc-4.0.0/ia64-Linux Thread model: posix gcc version 4.0.0 % % gcc -O0 -c foo.c % % gcc -O1 -c foo.c In file included from /usr/include/bits/string2.h:1211, from /usr/include/string.h:375, from foo.c:8: /usr/include/stdlib.h:556: error: parse error before â token /usr/include/stdlib.h:556: error: parse error before â token % Bug also occurs if use gcc-4.0-20050623 or gcc-4.1-20050625. */ extern void *f_mem_malloc(); #define mem_malloc(n) f_mem_malloc((unsigned long)(n)) #define malloc mem_malloc #include <string.h> int main() { return(1); } -- Summary: C optimization error with string.h Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kminola at eng dot umd dot edu CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: ia64-unknown-linux-gnu GCC host triplet: ia64-unknown-linux-gnu GCC target triplet: ia64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22267
next reply other threads:[~2005-07-01 12:43 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-07-01 12:43 kminola at eng dot umd dot edu [this message] 2005-07-01 12:58 ` [Bug c/22267] " schwab at suse dot de
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=20050701124343.22267.kminola@eng.umd.edu \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).