This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc 2.18 freeze!
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>, libc-alpha at sourceware dot org
- Date: Wed, 12 Jun 2013 14:16:31 -0700 (PDT)
- Subject: Re: glibc 2.18 freeze!
- References: <51ACFE36 dot 5000603 at redhat dot com> <CAAKybw9ZuOKSpXgCGb5mFVHkKmrnUCKAdStg+i7+_ckUM9Qp2g at mail dot gmail dot com> <51ADFC0B dot 1060907 at linux dot vnet dot ibm dot com> <20130611183029 dot B62D52C0A2 at topped-with-meat dot com> <51B78382 dot 6000403 at linux dot vnet dot ibm dot com> <20130611213211 dot EA4E12C09F at topped-with-meat dot com> <51B893F9 dot 6010401 at linux dot vnet dot ibm dot com> <20130612184717 dot GA179 at winnix> <51B8D6D2 dot 2080906 at redhat dot com> <51B8DA3F dot 30808 at linux dot vnet dot ibm dot com> <51B8DF94 dot 7090306 at redhat dot com>
> If __attribute__ ((optimize ("no-tree-loop-distribute-patterns"))) works
> on older compilers with nor warning or error then that should also work.
> I forgot we could use an attribute here.
You need a configure check. e.g. 4.4 supports __attribute__ ((optimize))
but doesn't grok that particular option, so it says:
o.c:2: error: unrecognized command line option "-fno-tree-loop-distribute-patterns"
for:
__attribute__ ((optimize ("no-tree-loop-distribute-patterns")))
void foo (void) {}