http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46055

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-17 21:22:02 
UTC ---
(In reply to comment #2)
> I got
> 
> [...@gnu-32 prev-gcc]$ ./xgcc -B./ -O2  /tmp/foo.i -fuse-linker-plugin 
> -fwhopr=jobserver
> [...@gnu-32 prev-gcc]$ cat /tmp/foo.i
> char pstat_getstatic ();
> char (*f) () = pstat_getstatic;
> int
> main ()
> {
>   return f != pstat_getstatic;
> }

This test may not be compatible with -fwhopr. Can we
use

--
char pstat_getstatic ();
int
main ()
{
  return pstat_getstatic != (void *) 1;
}
--

instead?

Reply via email to