[4.5.1,PR43888] Backport fix for PR43888 to 4.5 branch.

Dave Korn dave.korn.cygwin@gmail.com
Fri Jun 11 18:29:00 GMT 2010


    Hi,

  This patch is the combined fix for PR43888 with the follow-on patch for a
problem that Kai discovered it exposed on x64 targets.  As I reported in the
original thread(*), it resolves these FAILs on cygwin:

> -FAIL: g++.dg/eh/weak1.C execution test
> -FAIL: gcc.dg/alias-7.c execution test
> -FAIL: gcc.dg/tree-ssa/pr27781.c scan-tree-dump optimized "func \\(\\);"

and is a genuine regression since 4.3.4.

gcc/ChangeLog:

	PR target/43888
	* config/i386/winnt.c (i386_pe_binds_local_p): Handle weak decls,
	but not on x64.

  Bootstrapped and tested on i686-pc-cygwin, before(**) and after(***) test
results show no regressions.  Ok for branch?

    cheers,
      DaveK
--
(*)   - http://gcc.gnu.org/ml/gcc-patches/2010-04/threads.html#01899
(**)  - http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg00897.html
(***) - http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg01122.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr43888-backport.diff
Type: text/x-c
Size: 737 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100611/115ec2dd/attachment.bin>


More information about the Gcc-patches mailing list