This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Yet another location_t pre-patch
- From: "Ulrich Weigand" <Ulrich dot Weigand at de dot ibm dot com>
- To: nathan at codesourcery dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 2 Jul 2003 18:10:41 +0200
- Subject: Re: [PATCH]: Yet another location_t pre-patch
- Sensitivity:
Nathan Sidwell wrote:
+ rtx
+ emit_note_copy (orig)
+ rtx orig;
+ {
[snip]
+ note = rtx_alloc (NOTE);
+
+ INSN_UID (note) = cur_insn_uid++;
+ NOTE_DATA (note) = NOTE_DATA (orig);
This breaks bootstrap on s390x-ibm-linux (and it probably wrong for other
64-bit platforms), because this always copies only a 32-bit value, even if
the actual contents of the fourth rtx field of the note occupies 64 bits
(e.g. for a character pointer in the case of a line number note).
Mit freundlichen Gruessen / Best Regards
Ulrich Weigand
--
Dr. Ulrich Weigand
Linux for S/390 Design & Development
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
Phone: +49-7031/16-3727 --- Email: Ulrich.Weigand@de.ibm.com