This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fixes tree-loop-distribute-patterns issues


Thanks, that is much closer.

Though it's a "known fact" that there are no compilers that accept
-fno-tree-loop-distribute-patterns on the command line but do not accept
__attribute__ ((optimize ("-fno-tree-loop-distribute-patterns"))), it is
strange and unusual to have the configure test check for command-line
support when the actual thing we need to use is attribute support.  In a
less severe way, this too violates the principle of empirical tests in
configure checks.  Please change the configure check so that it tests the
syntax that we actually use.

The libc-symbols.h definition also needs clear comments about its purpose
and appropriate uses, as I mentioned before.

I think this patch will be fine with those two improvements.

Further, I think we should apply the macro to every simple_* function in
every string/ test (not just the ones we know today have an issue).  But
that could be a separate follow-up patch if you prefer.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]