This is the mail archive of the gcc@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: Bug in cse? (Or in LABEL_PRESERVE_P?)


On Tue, Nov 13, 2001 at 03:25:12PM +0100, Adrian von Bidder wrote:
> For my embedded-pic for ARM gcc-3.0 project, I do the addressing of code
> pc relative. For this I generate additional labels in the code.

Do not do this.  Labels may be used only for control transfer
and debugging, and are only accurate when used for the former.

You'll have much better success if you emit the assembly labels
for the instructions in FINAL_SCAN_INSN or something.


r~


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