openssl reveals a problem

Dima Volodin dvv@egca.dvv.org
Fri Dec 31 20:54:00 GMT 1999


It doesn't fix the original problem, see attachment, lines 4762-4763 of
11.i and corresponding code in 11.s. Again, to reproduce the problem,
the compilation flags have to be "-O2 -fomit-frame-pointer".

Cheers!

Dima

On Tue, 14 Dec 1999 12:38:55 +0000 (GMT), you wrote:

>On Tue, 14 Dec 1999, Roger W. Brown wrote:
>
>> make[2]: Leaving directory `/Main/Pending/OPEN_SSH/openssl-0.9.4/apps'
>> ./destest
>> Doing cbcm
>> make[1]: *** [test_des] Segmentation fault (core dumped)
>
>This is due to a misguided attempt to make reload run faster.  I will
>commit the following patch as an obvious bugfix; it undoes that part of
>my reload patch.
>
>Bernd
>        
>	* reload1.c (reload): Can't avoid select_reload_regs/finish_spills
>	if something changed.  Back out that part of yesterday's changes.
>
>Index: reload1.c
>===================================================================
>RCS file: /cvs/gcc/egcs/gcc/reload1.c,v
>retrieving revision 1.185
>diff -c -p -r1.185 reload1.c
>*** reload1.c	1999/12/13 13:21:34	1.185
>--- reload1.c	1999/12/14 12:26:19
>*************** reload (first, global, dumpfile)
>*** 948,965 ****
>  	    }
>        }
>  
>!       /* No point in trying to select reload registers if we know we're
>! 	 going to re-run everything again.  */
>!       if (! something_changed)
>! 	{
>! 	  select_reload_regs (dumpfile);
>  
>! 	  if (failure)
>! 	    goto failed;
>  
>- 	  if (insns_need_reload != 0 || did_spill)
>- 	    something_changed |= finish_spills (global, dumpfile);
>- 	}
>        if (! something_changed)
>  	break;
>  
>--- 948,960 ----
>  	    }
>        }
>  
>!       select_reload_regs (dumpfile);
>!       if (failure)
>! 	goto failed;
>  
>!       if (insns_need_reload != 0 || did_spill)
>! 	something_changed |= finish_spills (global, dumpfile);
>  
>        if (! something_changed)
>  	break;
>  
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 11.tar.bz2
Type: application/x-bzip2
Size: 13248 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19991231/3d9a63cf/attachment.bz2>


More information about the Gcc-bugs mailing list