[Bug debug/48853] [4.7 Regression] Wrong DWARF codegen when Pmode != ptr_mode
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed May 4 20:04:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48853
--- Comment #15 from H.J. Lu <hjl.tools at gmail dot com> 2011-05-04 19:55:15 UTC ---
(In reply to comment #14)
> (In reply to comment #13)
> > Created attachment 24184 [details]
> > gcc47-pr48853.patch
> >
> > So like this? CONST_DOUBLEs really shouldn't appear in the addresses...
>
> It looks much better. I am retesting everything now. Thanks.
Now I got
FAIL: gcc.dg/guality/inline-params.c -O1 execution test
FAIL: gcc.dg/guality/pr43051-1.c -O1 line 39 c == &a[0]
FAIL: gcc.dg/guality/pr45882.c -O1 line 16 d == 112
FAIL: gcc.dg/guality/pr45882.c -O1 line 16 e == 142
FAIL: gcc.dg/guality/pr45882.c -O2 -flto -flto-partition=none line 16 d ==
112
FAIL: gcc.dg/guality/pr45882.c -O2 -flto -flto-partition=none line 16 e ==
142
FAIL: gcc.dg/guality/pr45882.c -O2 -flto line 16 d == 112
FAIL: gcc.dg/guality/pr45882.c -O2 -flto line 16 e == 142
FAIL: gcc.dg/guality/pr45882.c -O2 line 16 d == 112
FAIL: gcc.dg/guality/pr45882.c -O2 line 16 e == 142
FAIL: gcc.dg/guality/pr45882.c -O3 -fomit-frame-pointer line 16 d == 112
FAIL: gcc.dg/guality/pr45882.c -O3 -fomit-frame-pointer line 16 e == 142
FAIL: gcc.dg/guality/pr45882.c -O3 -g line 16 d == 112
FAIL: gcc.dg/guality/pr45882.c -O3 -g line 16 e == 142
FAIL: gcc.dg/guality/pr45882.c -Os line 16 d == 112
FAIL: gcc.dg/guality/pr45882.c -Os line 16 e == 142
It is much better. Can we fix them? I merged revision 173210 with
x32 work, which is on hjl/x32/pr48853 branch at
http://git.kernel.org/?p=devel/gcc/hjl/x86.git;a=summary
You can build it on Linux/x86-64 and compare assembly outputs
from commit c27cd7a93c80ab39ef997f6ca447763f64e6a0bc and commit
84af042f2832c4b5fa5767a6169ed690bd5da301.
More information about the Gcc-bugs
mailing list