http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48440
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48440
--- Comment #5 from hjl at gcc dot gnu.org 2011-04-08
00:23:05 UTC ---
Author: hjl
Date: Fri Apr 8 00:23:02 2011
New Revision: 172156
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172156
Log:
Properly get inner mode for constant op0.
2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48440
--- Comment #4 from Richard Guenther 2011-04-05
11:02:50 UTC ---
- static const short int ar[2] = {0, (short unsigned int) &l2 - (short
unsigned int) &l1};
+ static const short int ar[2] = {0, (short int) ((short unsigned int) (int)
&l2 - (shor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48440
H.J. Lu changed:
What|Removed |Added
URL||http://gcc.gnu.org/ml/gcc-p
|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48440
--- Comment #2 from H.J. Lu 2011-04-04 22:15:54
UTC ---
This patch:
diff --git a/gcc/cgraphbuild.c b/gcc/cgraphbuild.c
index 3948cf6..c80d7ab 100644
--- a/gcc/cgraphbuild.c
+++ b/gcc/cgraphbuild.c
@@ -56,7 +56,10 @@ record_reference (tree *tp, i
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48440
--- Comment #1 from H.J. Lu 2011-04-04 22:05:30
UTC ---
The record_reference change remove the cast, which is needed for
Pmode != ptr_mode:
diff -upr bad/x.i.143r.expand good/x.i.143r.expand
--- bad/x.i.143r.expand2011-04-04 15:02:05.6524582