public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21393] New: Internal error: Segmentation Fault (program cc1plus) on a very long cout << ... << command
@ 2005-05-04 23:23 pavel dot petrovic at gmail dot com
  2005-05-04 23:25 ` [Bug c++/21393] " pavel dot petrovic at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: pavel dot petrovic at gmail dot com @ 2005-05-04 23:23 UTC (permalink / raw)
  To: gcc-bugs

Here is what happens, the program ola2.cpp and ola2.ii are
available from http://www.idi.ntnu.no/~petrovic/ola2.zip

--------------------------------------------------------------------------
furu$ g++ -v -save-temps -o ola2 ola2.cpp -O3 -Wall
Reading specs from /store/lib/gcc/sparc-sun-solaris2.9/3.4.3/specs
Configured with: /stores/stash/gcc/src-3.4.3-local/gcc-3.4.3/configure --with-
local-prefix=/store --prefix=/store --with-included-gettext --with-
libiconv=/store/lib
Thread model: posix
gcc version 3.4.3
 /store/libexec/gcc/sparc-sun-solaris2.9/3.4.3/cc1plus -E -quiet -v -
iprefix /stores/idislave/.gcc/ver-3.4.3/bin/../lib/gcc/sparc-sun-
solaris2.9/3.4.3/ ola2.cpp -mcpu=v7 -Wall -O3 -o ola2.ii
ignoring nonexistent directory "/stores/idislave/.gcc/ver-
3.4.3/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.3/../../../../include/c++/3.4.3"
ignoring nonexistent directory "/stores/idislave/.gcc/ver-
3.4.3/bin/../lib/gcc/sparc-sun-
solaris2.9/3.4.3/../../../../include/c++/3.4.3/sparc-sun-solaris2.9"
ignoring nonexistent directory "/stores/idislave/.gcc/ver-
3.4.3/bin/../lib/gcc/sparc-sun-
solaris2.9/3.4.3/../../../../include/c++/3.4.3/backward"
ignoring nonexistent directory "/stores/idislave/.gcc/ver-
3.4.3/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.3/include"
ignoring nonexistent directory "/stores/idislave/.gcc/ver-
3.4.3/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.3/../../../../sparc-sun-
solaris2.9/include"
ignoring nonexistent directory "/store/lib/gcc/sparc-sun-
solaris2.9/3.4.3/../../../../sparc-sun-solaris2.9/include"
#include "..." search starts here:
#include <...> search starts here:
 /store/lib/gcc/sparc-sun-solaris2.9/3.4.3/../../../../include/c++/3.4.3
 /store/lib/gcc/sparc-sun-solaris2.9/3.4.3/../../../../include/c++/3.4.3/sparc-
sun-solaris2.9
 /store/lib/gcc/sparc-sun-
solaris2.9/3.4.3/../../../../include/c++/3.4.3/backward
 /store/include
 /store/lib/gcc/sparc-sun-solaris2.9/3.4.3/include
 /usr/include
End of search list.
 /store/libexec/gcc/sparc-sun-solaris2.9/3.4.3/cc1plus -fpreprocessed ola2.ii -
quiet -dumpbase ola2.cpp -mcpu=v7 -auxbase ola2 -O3 -Wall -version -o ola2.s
GNU C++ version 3.4.3 (sparc-sun-solaris2.9)
        compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
g++: Internal error: Segmentation Fault (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--------------------------------------------------------------------------

-- 
           Summary: Internal error: Segmentation Fault (program cc1plus) on
                    a very long cout << ... << command
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pavel dot petrovic at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/21393] Internal error: Segmentation Fault (program cc1plus) on a very long cout << ... << command
  2005-05-04 23:23 [Bug c++/21393] New: Internal error: Segmentation Fault (program cc1plus) on a very long cout << ... << command pavel dot petrovic at gmail dot com
@ 2005-05-04 23:25 ` pavel dot petrovic at gmail dot com
  2005-05-05  0:01 ` pinskia at gcc dot gnu dot org
  2005-05-05  8:27 ` pavel dot petrovic at gmail dot com
  2 siblings, 0 replies; 5+ messages in thread
From: pavel dot petrovic at gmail dot com @ 2005-05-04 23:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pavel dot petrovic at gmail dot com  2005-05-04 23:25 -------
Created an attachment (id=8821)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8821&action=view)
the refered file that contains ola2.cpp and ola2.ii


-- 


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


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

* [Bug c++/21393] Internal error: Segmentation Fault (program cc1plus) on a very long cout << ... << command
  2005-05-04 23:23 [Bug c++/21393] New: Internal error: Segmentation Fault (program cc1plus) on a very long cout << ... << command pavel dot petrovic at gmail dot com
  2005-05-04 23:25 ` [Bug c++/21393] " pavel dot petrovic at gmail dot com
@ 2005-05-05  0:01 ` pinskia at gcc dot gnu dot org
  2005-05-05  8:27 ` pavel dot petrovic at gmail dot com
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-05  0:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-05 00:00 -------
This works for me with the mainline, 3.4.0, and 3.3.3 on i686-pc-linux-gnu, it might be just a stack 
size limit problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


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

* [Bug c++/21393] Internal error: Segmentation Fault (program cc1plus) on a very long cout << ... << command
  2005-05-04 23:23 [Bug c++/21393] New: Internal error: Segmentation Fault (program cc1plus) on a very long cout << ... << command pavel dot petrovic at gmail dot com
  2005-05-04 23:25 ` [Bug c++/21393] " pavel dot petrovic at gmail dot com
  2005-05-05  0:01 ` pinskia at gcc dot gnu dot org
@ 2005-05-05  8:27 ` pavel dot petrovic at gmail dot com
  2 siblings, 0 replies; 5+ messages in thread
From: pavel dot petrovic at gmail dot com @ 2005-05-05  8:27 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.4.3 3.3.5
      Known to work|                            |2.95.2 2.96


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


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

* [Bug c++/21393] Internal error: Segmentation Fault (program cc1plus) on a very long cout << ... << command
       [not found] <bug-21393-10573@http.gcc.gnu.org/bugzilla/>
@ 2007-11-15 16:39 ` manu at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-11-15 16:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from manu at gcc dot gnu dot org  2007-11-15 16:39 -------
It also works in GCC 4.3.0. 

If you still experience this issue, please, don't hesitate to reopen the bug.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


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


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

end of thread, other threads:[~2007-11-15 16:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-04 23:23 [Bug c++/21393] New: Internal error: Segmentation Fault (program cc1plus) on a very long cout << ... << command pavel dot petrovic at gmail dot com
2005-05-04 23:25 ` [Bug c++/21393] " pavel dot petrovic at gmail dot com
2005-05-05  0:01 ` pinskia at gcc dot gnu dot org
2005-05-05  8:27 ` pavel dot petrovic at gmail dot com
     [not found] <bug-21393-10573@http.gcc.gnu.org/bugzilla/>
2007-11-15 16:39 ` manu 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).