This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/37156] Hangwith -g -O2 (or higher) (discovered with malloc.c in sqlite3)
- From: "cw at f00f dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2008 22:37:17 -0000
- Subject: [Bug debug/37156] Hangwith -g -O2 (or higher) (discovered with malloc.c in sqlite3)
- References: <bug-37156-14805@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from cw at f00f dot org 2008-08-18 22:37 -------
(sorry, this should have been clarified earlier)
-O1 -g is fine
-O2 is fine
-O2 -g HANGS
dropping __attribute__((warning...) also makes the hang go away --- so
interaction with that an debugging?
gcc 4.1 is fine
gcc 4.2 is fine
gcc 4.4 untested
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37156