[Bug debug/19267] New: [4.0 regression] execute/921215-1.c fails with -fpic at -O3 -g
Daniel Berlin
dberlin@dberlin.org
Wed Jan 5 15:59:00 GMT 2005
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.
More information about the Gcc-bugs
mailing list