public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/48866] New: gcc hangs when -g is set
@ 2011-05-04  8:56 siebert at aicas dot com
  2011-05-04 10:37 ` [Bug debug/48866] " paolo.carlini at oracle dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: siebert at aicas dot com @ 2011-05-04  8:56 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48866

           Summary: gcc hangs when -g is set
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: siebert@aicas.com


Created attachment 24178
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24178
Minimum C example I could produce.  The original code was generated C code.

gcc hangs when compiling the attached C source code (on Linux/x86) as follows

> gcc -O2 -c test.c -o test.o -g
[hangs forever...]
^C
> 

The problem disappears without -g or when using -O0. 

> gcc -O2 -c test.c -o test.o
> gcc -O0 -c test.c -o test.o -g
>


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-06-28  7:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-04  8:56 [Bug debug/48866] New: gcc hangs when -g is set siebert at aicas dot com
2011-05-04 10:37 ` [Bug debug/48866] " paolo.carlini at oracle dot com
2011-05-04 11:43 ` rguenth at gcc dot gnu.org
2011-05-04 12:08 ` jakub at gcc dot gnu.org
2011-05-04 14:28 ` jakub at gcc dot gnu.org
2011-05-05 11:56 ` aoliva at gcc dot gnu.org
2011-05-05 13:06 ` aoliva at gcc dot gnu.org
2011-05-05 13:55 ` jakub at gcc dot gnu.org
2011-05-06 14:45 ` aoliva at gcc dot gnu.org
2011-05-06 22:30 ` aoliva at gcc dot gnu.org
2011-05-07  6:16 ` jakub at gcc dot gnu.org
2011-05-07  6:37 ` jakub at gcc dot gnu.org
2012-04-13 15:57 ` aoliva at gcc dot gnu.org
2012-06-13 20:42 ` aoliva at gcc dot gnu.org
2012-06-28  7:40 ` aoliva at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).