This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/52785] Compile with -O fails in gcc 4.7
- From: "sergio at serjux dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Mar 2012 02:13:44 +0000
- Subject: [Bug rtl-optimization/52785] Compile with -O fails in gcc 4.7
- Auto-submitted: auto-generated
- References: <bug-52785-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52785
--- Comment #3 from SÃrgio Basto <sergio at serjux dot com> 2012-03-30 02:13:44 UTC ---
Created attachment 27041
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27041
preprocessed source with -O1
/usr/include/xorg/os.h:496:55: error: expected identifier or â(â before
â__extension__â
line 496 is:
extern _X_EXPORT char * strndup(const char *str, size_t n);
we have just 3 strndup in teste.i
don't see anything wrong