------- Additional Comments From dberlin at gcc dot gnu dot org  2005-01-05 
15:59 -------
Subject: Re:  New: [4.0 regression] execute/921215-1.c fails
 with -fpic at -O3 -g



On Wed, 5 Jan 2005, ghazi at gcc dot gnu dot org wrote:

> When running the testsuite with -fpic/-fPIC, I get an additional failure in 
> the
> testsuite with mainline:
>
> FAIL: gcc.c-torture/execute/921215-1.c compilation,  -O3 -g
>
> The regression appeared sometime in the last day or so between these postings:
> http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00135.html
> http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00179.html
>
> The compilation dies like this:
>
> 921215-1.c:22: internal compiler error: in gen_subprogram_die, at
> dwarf2out.c:11207
>
> in the source we have:
> 11207             gcc_assert (errorcount);
>
>
> The problem is that errorcount is zero, so the gcc_assert() dies.

I'm about to submit a patch that will fix this.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19267

Reply via email to