This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix Pascal build failure on s390 and powerpc
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Matthias Klose <doko at cs dot tu-berlin dot de>
- Cc: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>, gcc-patches at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>, Frank Heckenbach <frank at g-n-u dot de>
- Date: 30 Mar 2004 12:49:35 +0200
- Subject: Re: [PATCH] Fix Pascal build failure on s390 and powerpc
- Organization: Integrable Solutions
- References: <200403250215.DAA14552@faui1d.informatik.uni-erlangen.de><16486.47898.910434.460507@gargle.gargle.HOWL>
Matthias Klose <doko@cs.tu-berlin.de> writes:
| Ulrich Weigand writes:
| > Hello,
| >
| > building the Pascal front end for gcc 3.3 on s390 fails due to
| > an unrecognized insn. This turns out to be the fault of
| > store_constructor which generates a CONST_INT that doesn't
| > fit in the appropriate mode, because it isn't properly sign-
| > extended.
| >
| > This patch fixes the problem by using gen_int_mode.
|
| fixes the same error for powerpc-linux as well.
|
| > Bootstrapped/regtested on s390-ibm-linux and s390x-ibm-linux.
| > OK (for 3.3/3.4./3.5)?
|
| I assume for 3.4.1, ok for 3.3.4?
Yes. Thanks!
-- Gaby