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] |
+ /* Be as conservative as possible on variable offsets. */ + if (TREE_OPERAND (exp, 2) +&& !host_integerp (TREE_OPERAND (exp, 2), 1)) + { + *byte_offset = TREE_OPERAND (exp, 2); + *maxbits = BITS_PER_UNIT; + return; + }
shouldn't this be at the very beginning of the function? Because you've set *bit_offset to an offset that was _not_ calculated relative
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |