This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: illegally shared subreg


Kaveh R. Ghazi wrote:
Geoff/Stuart,


can't be right.  It causes these new warnings:

 > cse.c:1226: warning: comparison between pointer and integer
 > cse.c:1233: warning: assignment makes integer from pointer without a cast

Looking at the code I suspect these two lines just need to use REGNO macro so
that SUBREG_REG (foo) becomes REGNO (SUBREG_REG (foo))

Cheers
Graham



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