public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43811]  New: infinite & memory leak when using -O3 option
@ 2010-04-20  2:40 wuwei08 at iscas dot ac dot cn
  2010-04-20  2:41 ` [Bug middle-end/43811] " wuwei08 at iscas dot ac dot cn
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: wuwei08 at iscas dot ac dot cn @ 2010-04-20  2:40 UTC (permalink / raw)
  To: gcc-bugs

gcc 4.4.3 exhausted all memory(3.2G) and got stuck in an infinite loop:
gcc-4.4.3 -O3 MTest-1.c
while gcc-4.4.1 works fine with the same option.

gcc-4.4.3 config options:
^_^ $../../exe/bin/gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../src/configure
--prefix=/home/wuwei/testbed/gcc-4.4.3/obj/../exe --enable-languages=c
Thread model: posix
gcc version 4.4.3 (GCC) 

and config info of the compiler which compiled gcc 4.4.3:
^_^ $gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu9'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)


-- 
           Summary: infinite & memory leak when using -O3 option
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wuwei08 at iscas dot ac dot cn
 GCC build triplet: x86_32-Ubuntu-Linux
  GCC host triplet: x86_32-Ubuntu-Linux
GCC target triplet: x86_32-Ubuntu-Linux


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


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

* [Bug middle-end/43811] infinite & memory leak when using -O3 option
  2010-04-20  2:40 [Bug c/43811] New: infinite & memory leak when using -O3 option wuwei08 at iscas dot ac dot cn
@ 2010-04-20  2:41 ` wuwei08 at iscas dot ac dot cn
  2010-04-20  2:44 ` wuwei08 at iscas dot ac dot cn
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: wuwei08 at iscas dot ac dot cn @ 2010-04-20  2:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from wuwei08 at iscas dot ac dot cn  2010-04-20 02:41 -------
Created an attachment (id=20431)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20431&action=view)
the source file trigger the bug.


-- 


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


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

* [Bug middle-end/43811] infinite & memory leak when using -O3 option
  2010-04-20  2:40 [Bug c/43811] New: infinite & memory leak when using -O3 option wuwei08 at iscas dot ac dot cn
  2010-04-20  2:41 ` [Bug middle-end/43811] " wuwei08 at iscas dot ac dot cn
@ 2010-04-20  2:44 ` wuwei08 at iscas dot ac dot cn
  2010-04-20  2:48 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: wuwei08 at iscas dot ac dot cn @ 2010-04-20  2:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from wuwei08 at iscas dot ac dot cn  2010-04-20 02:44 -------
Created an attachment (id=20432)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20432&action=view)
another source file can trigger this bug.


-- 


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


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

* [Bug middle-end/43811] infinite & memory leak when using -O3 option
  2010-04-20  2:40 [Bug c/43811] New: infinite & memory leak when using -O3 option wuwei08 at iscas dot ac dot cn
  2010-04-20  2:41 ` [Bug middle-end/43811] " wuwei08 at iscas dot ac dot cn
  2010-04-20  2:44 ` wuwei08 at iscas dot ac dot cn
@ 2010-04-20  2:48 ` pinskia at gcc dot gnu dot org
  2010-04-20  2:49 ` pinskia at gcc dot gnu dot org
  2010-04-20  8:51 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-04-20  2:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2010-04-20 02:48 -------
Looks to get good in 4.5.0 and on the trunk:
 TOTAL                 :   0.98             0.02             1.41             
18816 kB


-- 


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


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

* [Bug middle-end/43811] infinite & memory leak when using -O3 option
  2010-04-20  2:40 [Bug c/43811] New: infinite & memory leak when using -O3 option wuwei08 at iscas dot ac dot cn
                   ` (2 preceding siblings ...)
  2010-04-20  2:48 ` pinskia at gcc dot gnu dot org
@ 2010-04-20  2:49 ` pinskia at gcc dot gnu dot org
  2010-04-20  8:51 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-04-20  2:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2010-04-20 02:49 -------
Most likely a dup of bug 43415.


-- 


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


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

* [Bug middle-end/43811] infinite & memory leak when using -O3 option
  2010-04-20  2:40 [Bug c/43811] New: infinite & memory leak when using -O3 option wuwei08 at iscas dot ac dot cn
                   ` (3 preceding siblings ...)
  2010-04-20  2:49 ` pinskia at gcc dot gnu dot org
@ 2010-04-20  8:51 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-20  8:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-04-20 08:51 -------
It is.

*** This bug has been marked as a duplicate of 43415 ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2010-04-20  8:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-20  2:40 [Bug c/43811] New: infinite & memory leak when using -O3 option wuwei08 at iscas dot ac dot cn
2010-04-20  2:41 ` [Bug middle-end/43811] " wuwei08 at iscas dot ac dot cn
2010-04-20  2:44 ` wuwei08 at iscas dot ac dot cn
2010-04-20  2:48 ` pinskia at gcc dot gnu dot org
2010-04-20  2:49 ` pinskia at gcc dot gnu dot org
2010-04-20  8:51 ` rguenth at gcc dot gnu dot 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).