This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/37368] [4.4 Regression] Segfault in remove_unused_locals
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2008 10:25:34 -0000
- Subject: [Bug tree-optimization/37368] [4.4 Regression] Segfault in remove_unused_locals
- References: <bug-37368-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from tbm at cyrius dot com 2008-09-04 10:25 -------
Drop the "static" from the declaration of FindSmallestPitch() and you get:
(sid)1519:tbm@em64t: ~/delta/bin] /usr/lib/gcc-snapshot/bin/gcc -Wall -O -c
mini.c
mini.c: In function 'FindSmallestPitch':
mini.c:5: internal compiler error: in make_decl_rtl, at varasm.c:1297
Please submit a full bug report,
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37368