This is the mail archive of the
mailing list for the GCC project.
Your patch to alpha.md causes bootstrap failure
- To: rth at redhat dot com
- Subject: Your patch to alpha.md causes bootstrap failure
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 18 Oct 01 06:57:08 EDT
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
I can't find the message in the gcc-patches archive, but I'm talking about:
* alpha.c (current_file_function_operand): Don't fail for profiling.
* alpha-protos.h: Declare it.
* alpha.h (EXTRA_CONSTRAINT): Use it.
(PREDICATE_CODES): Add it.
* alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
* alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative
This causes serious problems. For one thing, the "jmp" produces a warning
that $at is used. Much more seriously, by not jumping to the ".ng" label,
gp isn't set properly.
How and where was this tested and how is this supposed to work?