Re: Autoconf tests, libtool symlist files, undefined behavior, and LTO

2010-03-31 Thread Ralf Wildenhues
* Richard Guenther wrote on Wed, Mar 31, 2010 at 11:02:39AM CEST: > On Tue, Mar 30, 2010 at 8:52 PM, Ralf Wildenhues wrote: > > 1) Autoconf-generated configure tests often fake the prototype of some > > function; e.g., AC_CHECK_FUNC([func]) uses > >  char func(); > > > > and tries to link that.  Us

Re: Autoconf tests, libtool symlist files, undefined behavior, and LTO

2010-03-31 Thread Richard Guenther
On Tue, Mar 30, 2010 at 8:52 PM, Ralf Wildenhues wrote: > Hello gcc and libtool lists, > > Summary: both Autoconf-generated configure tests as well as some Libtool > construct invoke undefined behavior.  Question is how to deal with it, > and whether GCC, as QoI, may want to define behavior in the