This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: wrong assertion in caller-save.c


> I think I found a bug in gcc 4.7.3 in gcc/caller-save.c at line 158 :
>
>      gcc_assert (cached_reg_save_code[reg][mode]);
>
> should be :
>
>      gcc_assert (cached_reg_save_code[reg][mode] != -1);
>
> because cached_reg_save_code contains INSN_CODES that can be equal to 0

This is PR55036.


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]