This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/47889] [4.6/4.7 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Jul 2011 21:17:33 +0000
- Subject: [Bug lto/47889] [4.6/4.7 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228
- Auto-submitted: auto-generated
- References: <bug-47889-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-07-12 21:17:31 UTC ---
(In reply to comment #2)
> Confirmed. We should diagnose this.
We do:
t.c:1:13: warning: type of âsâ does not match original declaration [enabled by
default]
t1.c:1:14: note: previously declared here
--- CUT ---
But we don't error out.