This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: libiberty configure fails on svr4/svr5 native


Joern Rennecke <amylaar@cygnus.co.uk> writes:

|> Would this test suceed?
|> 
|> #include <assert.h>
|> 
|> int main()
|> {
|>   char memcpy();
|>   char (*f)() = memcpy;
|>   return 0;
|> }

I think the assignment should use a global variable, otherwise an
optimising compiler could completely omit it.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org


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