This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: other/6955: collect2 says "core dumped" when there is no core
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: bangerth at ices dot utexas dot edu
- Cc: bruno at clisp dot org, gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, gdr at integrable-solutions dot net, mark at codesourcery dot com
- Date: Sun, 30 Mar 2003 14:07:12 -0500 (EST)
- Subject: Re: other/6955: collect2 says "core dumped" when there is no core
- References: <Pine.LNX.4.44.0303251046451.11938-100000@gandalf.ticam.utexas.edu>
> From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
>
> Let the patch go in! (I think it qualifies as "obvious".)
> Thanks
> Wolfgang
Well, "obvious" patches still should be tested somehow. I figured out
a way. After compiling gcc, I replaced "ld" with a shell script like
so, alternately replacing SEGV with TERM to control whether to
create a core from "ld".
> #!/bin/bash
> kill -SEGV $$
I verified that the current compiler's error message is wrong, and the
patch fixes it.
So I went ahead and installed it on the mainline as "obvious".
Since this PR is a regression (albeit a minor one regarding an error
message,) I'd like to get it into the branches if possible.
OK for 3.3 and 3.2?
http://gcc.gnu.org/ml/gcc-patches/2003-03/msg02151.html
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi at caip dot rutgers dot edu