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: [PATCH] Fix DW_OP_bit_piece on big-endian


On 05/18/2010 11:35 AM, Jakub Jelinek wrote:
+	      && ((unsigned HOST_WIDE_INT) INTVAL (MEM_SIZE (varloc))
+		  * BITS_PER_UNIT) != bitsize)
+	    {
+	      unsigned HOST_WIDE_INT memsize
+		= INTVAL (MEM_SIZE (varloc)) * BITS_PER_UNIT;

I'd prefer to compute this once, before the if. OK with that change.


Jason



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