[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran, sejmp

2008-09-04 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2008-09-04 21:04 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRM

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran, sejmp

2008-09-04 Thread hjl at gcc dot gnu dot org
--- Comment #8 from hjl at gcc dot gnu dot org 2008-09-04 19:03 --- Subject: Bug 37359 Author: hjl Date: Thu Sep 4 19:02:33 2008 New Revision: 139996 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139996 Log: 2008-09-04 Vladimir Makarov <[EMAIL PROTECTED]> PR middle-

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran, sejmp

2008-09-03 Thread hjl at gcc dot gnu dot org
--- Comment #7 from hjl at gcc dot gnu dot org 2008-09-04 04:51 --- Subject: Bug 37359 Author: hjl Date: Thu Sep 4 04:50:19 2008 New Revision: 139971 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139971 Log: 2008-09-03 Vladimir Makarov <[EMAIL PROTECTED]> PR middle-

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran, sejmp

2008-09-03 Thread vmakarov at redhat dot com
--- Comment #6 from vmakarov at redhat dot com 2008-09-04 01:18 --- H.J, thanks for the investigation. You are right about REG_LIVE_LENGTH. I'll submit the patch soon. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37359

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran, sejmp

2008-09-03 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2008-09-04 00:43 --- regstat_compute_ri has /* See the setjmp comment in regstat_ri_bb_compute. */ EXECUTE_IF_SET_IN_BITMAP (setjmp_crosses, FIRST_PSEUDO_REGISTER, regno, bi) { REG_BASIC_BLOCK (regno) = REG_BLOCK_UNKNOWN

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran, sejmp

2008-09-03 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2008-09-03 23:16 --- I suspect IRA may not properly use DF when dealing with setjmp. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37359

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran, sejmp

2008-09-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |blocker Keywords||ra Target

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran, sejmp

2008-09-03 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2008-09-03 22:35 --- [EMAIL PROTECTED] ira-2]$ cat foo.c #include extern jmp_buf eof_jump; extern bar (void *); void foo (void *p) { if (setjmp (eof_jump)) bar (p); } [EMAIL PROTECTED] ira-2]$ /export/build/gnu/gcc-ira/build-ia

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran, sejmp

2008-09-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |blocker Summary|[4.4 Regression] IRA|[4.4 Regressi

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran

2008-09-03 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-09-03 20:57 --- IRA doesn't handle setjmp properly. For if (setjmp (eof_jump)) { generate_error (&dtp->common, LIBERROR_END, NULL); return; } IRA generates .L594: .loc 1 2859 0 .mmi

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran

2008-09-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug middle-end/37359] [4.4 Regression] IRA miscompiled transfer.o in libgfortran

2008-09-03 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2008-09-03 20:03 --- The failures are +FAIL: gfortran.dg/list_read_8.f90 -O0 execution test +FAIL: gfortran.dg/list_read_8.f90 -O1 execution test +FAIL: gfortran.dg/list_read_8.f90 -O2 execution test +FAIL: gfortran.dg/list_read_8