This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: regression due to r187199 explow.c? in target ia64-hp-hpux11.23.
- From: Tristan Gingold <gingold at adacore dot com>
- To: "Mailaripillai, Kannan Jeganathan" <kannanmj at hp dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 30 May 2012 10:15:38 +0200
- Subject: Re: regression due to r187199 explow.c? in target ia64-hp-hpux11.23.
- References: <AA6ADB5A789EDD4DA355F183E8ECDFA64EF67E74@G9W0339.americas.hpqcorp.net>
Hi,
did you try with this patch:
http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00970.html
Tristan.
On May 29, 2012, at 12:23 PM, Mailaripillai, Kannan Jeganathan wrote:
> Hi,
>
> This modification (assertion) is causing failure in ia64-hp-hpux11.23:
>
> r187199 | rsandifo | 2012-05-05 10:41:49 -0700 (Sat, 05 May 2012) | 247 lines
> Changed paths:
> M /trunk/gcc/explow.c
> * explow.c (plus_constant, plus_constant_mode): Likewise. Assert that
> the mode is sensible.
>
> Haven't analyzed the issue. Thought of checking, if it is a known issue.
>
> Error:
> ------
> test.c: In function 'main':
> test.c:5:7: internal compiler error: in plus_constant, at explow.c:88
> boo (&iarr[1]);
> ^
>
> Testcase (test.c):
> ------------------
> int iarr[2];
> extern int boo(int *);
>
> int main(void) {
> boo (&iarr[1]);
> return 0;
> }
>
> Compilation command:
> --------------------
> gcc -c test.c
> ^ This compiler is built out of revision 187199 (trunk). Error attached above.
>
> Configuration:
> --------------
> COLLECT_GCC=.../build-ia64-hp-hpux11.23-trunk/obj_gcc/gcc/xgcc
> Target: ia64-hp-hpux11.23
> Configured with: ...gcc/src/configure --host=ia64-hp-hpux11.23
> --build=ia64-hp-hpux11.23 --prefix=.../gcc-ia64-hp-hpux11.23-trunk \
> --with-local-prefix=.../gcc-ia64-hp-hpux11.23-trunk --disable-nls \
> --with-gmp=.../ia64-hp-hpux11.23 --with-mpfr=.../ia64-hp-hpux11.23 \
> --with-mpc=.../ia64-hp-hpux11.23 --with-libelf=.../ia64-hp-hpux11.23 \
> --disable-libmudflap --enable-libunwind-exceptions SED=/usr/bin/sed \
> --enable-languages=c,c++,fortran
> Thread model: posix
> gcc version 4.8.0 20120505 (experimental) (GCC)
> COLLECT_GCC_OPTIONS='-B' '/.../build-ia64-hp-hpux11.23-trunk/obj_gcc/gcc/' '-c' '-v'
> GNU C (GCC) version 4.8.0 20120505 (experimental) (ia64-hp-hpux11.23)
> compiled by GNU C version 4.5.1, GMP version 4.2.4, MPFR version 2.4.1, MPC version 0.8
> GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
>
> Regards,
> Kannan
>