Thanks Tristan. I have not applied this patch. I will give it a try. Regards, Kannan
-----Original Message----- From: Tristan Gingold [mailto:ging...@adacore.com] Sent: Wednesday, May 30, 2012 1:46 PM To: Mailaripillai, Kannan Jeganathan Cc: gcc@gcc.gnu.org Subject: Re: regression due to r187199 explow.c? in target ia64-hp-hpux11.23. 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 >