[Bug lto/47889] [4.7/4.8/4.9 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228
aldyh at redhat dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 9 23:47:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889
--- Comment #12 from Aldy Hernandez <aldyh at redhat dot com> ---
On 01/09/14 15:43, d.g.gorbachev at gmail dot com wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889
>
> --- Comment #11 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> ---
> GCC 4.7 still crashes on the testcase from attachment 25620:
>
> $ gcc -r -nostdlib -flto 1.c 2.c
> In file included from 1.c:5:0,
> from :0:
> 2.c:5:17: warning: type of 's' does not match original declaration [enabled by
> default]
> In file included from :0:0:
> 1.c:5:10: note: previously declared here
> In file included from 1.c:5:0,
> from :1:
> 2.c: In function 'foo':
> 2.c:10:5: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
>
Which version of 4.7?
So in essence, 4.8 and 4.9 do not exhibit this behavior. I will remove
the 4.8 and 4.9 tags.
More information about the Gcc-bugs
mailing list