public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/54091] New: internal compiler error in class method with many string objects
@ 2012-07-25 11:24 bugzilla-gcc at thewrittenword dot com
  2012-07-25 11:35 ` [Bug c++/54091] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2012-07-25 11:24 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54091
           Summary: internal compiler error in class method with many
                    string objects
    Classification: Unclassified
           Product: gcc
           Version: 4.4.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bugzilla-gcc@thewrittenword.com


Created attachment 27870
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27870
output of g++ -save-temps command from description...

$ g++ -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: /opt/build/gcc-4.4.6/configure --enable-nls
--with-included-gettext --enable-shared --enable-threads
--with-local-prefix=/opt/TWWfsw/gcc44 --with-gmp=/opt/TWWfsw/libgmp43
--with-mpfr=/opt/TWWfsw/libmpfr30 --with-gmp-ldflags='-Wl,-brtl
-Wl,-blibpath:/opt/TWWfsw/libgmp43/lib:/usr/lib' --with-mpfr-ldflags='-Wl,-brtl
-Wl,-blibpath:/opt/TWWfsw/libmpfr30/lib:/usr/lib'
--enable-languages=ada,c,c++,fortran --datadir=/opt/TWWfsw/gcc44/share
--with-gxx-include-dir=/opt/TWWfsw/gcc44/include/c++ --prefix=/opt/TWWfsw/gcc44
Thread model: aix
gcc version 4.4.6 [TWW] (GCC) 
$ g++ -save-temps
-I/opt/TWWfsw/libwxgtk28/lib/gcc44/wx/include/gtk2-unicode-release-2.8
-I/opt/TWWfsw/libwxgtk28/include/gcc44 -D__WXGTK__ -O2 -c ice.cpp
: In member function 'void Ice::Segv()':
:1139: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

ice.ii attached.

Data points:

 * This bug was found when compiling code blocks-10.05 against wxGTK-2.8.12, in
the file src/plugins/contrib/headerfixup/defaults.cpp, but I removed the
majority of noise except '#include <wx/wxString.h>' which is needed to trip the
bug.
 * Preprocessing the file separately, and then compiling the output works
correctly.
 * Removing a single one of the 1126 identical lines in Ice:Segv changes the
error to an out of memory fault.
 * Reducing optimisation to -O1 allows the compile to succeed.
 * Trying to factor away the wxString type (replacing L"x" with "x" and
wxString with string) allows compilation to succeed.


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

* [Bug c++/54091] internal compiler error in class method with many string objects
  2012-07-25 11:24 [Bug c++/54091] New: internal compiler error in class method with many string objects bugzilla-gcc at thewrittenword dot com
@ 2012-07-25 11:35 ` redi at gcc dot gnu.org
  2012-10-05 21:27 ` paolo.carlini at oracle dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2012-07-25 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-25 11:35:00 UTC ---
Have you tried with a current release, 4.6 or 4.7?

The 4.4 release series is closed and no longer maintained.


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

* [Bug c++/54091] internal compiler error in class method with many string objects
  2012-07-25 11:24 [Bug c++/54091] New: internal compiler error in class method with many string objects bugzilla-gcc at thewrittenword dot com
  2012-07-25 11:35 ` [Bug c++/54091] " redi at gcc dot gnu.org
@ 2012-10-05 21:27 ` paolo.carlini at oracle dot com
  2012-10-05 21:37 ` bugzilla-gcc at thewrittenword dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-10-05 21:27 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu.org

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-05 21:27:04 UTC ---
I'm tempted to close this for lack of feedback, but, being an AIX target, let's
add David in CC, his call.


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

* [Bug c++/54091] internal compiler error in class method with many string objects
  2012-07-25 11:24 [Bug c++/54091] New: internal compiler error in class method with many string objects bugzilla-gcc at thewrittenword dot com
  2012-07-25 11:35 ` [Bug c++/54091] " redi at gcc dot gnu.org
  2012-10-05 21:27 ` paolo.carlini at oracle dot com
@ 2012-10-05 21:37 ` bugzilla-gcc at thewrittenword dot com
  2012-10-12  8:47 ` paolo.carlini at oracle dot com
  2012-11-13 11:28 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2012-10-05 21:37 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from The Written Word <bugzilla-gcc at thewrittenword dot com> 2012-10-05 21:36:42 UTC ---
(In reply to comment #1)
> Have you tried with a current release, 4.6 or 4.7?
> 
> The 4.4 release series is closed and no longer maintained.

Sorry, missed this. I'll try to build 4.7 and retest.


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

* [Bug c++/54091] internal compiler error in class method with many string objects
  2012-07-25 11:24 [Bug c++/54091] New: internal compiler error in class method with many string objects bugzilla-gcc at thewrittenword dot com
                   ` (2 preceding siblings ...)
  2012-10-05 21:37 ` bugzilla-gcc at thewrittenword dot com
@ 2012-10-12  8:47 ` paolo.carlini at oracle dot com
  2012-11-13 11:28 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-10-12  8:47 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-10-12
     Ever Confirmed|0                           |1


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

* [Bug c++/54091] internal compiler error in class method with many string objects
  2012-07-25 11:24 [Bug c++/54091] New: internal compiler error in class method with many string objects bugzilla-gcc at thewrittenword dot com
                   ` (3 preceding siblings ...)
  2012-10-12  8:47 ` paolo.carlini at oracle dot com
@ 2012-11-13 11:28 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-11-13 11:28 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-13 11:28:28 UTC ---
Feedback not forthcoming.


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

end of thread, other threads:[~2012-11-13 11:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-25 11:24 [Bug c++/54091] New: internal compiler error in class method with many string objects bugzilla-gcc at thewrittenword dot com
2012-07-25 11:35 ` [Bug c++/54091] " redi at gcc dot gnu.org
2012-10-05 21:27 ` paolo.carlini at oracle dot com
2012-10-05 21:37 ` bugzilla-gcc at thewrittenword dot com
2012-10-12  8:47 ` paolo.carlini at oracle dot com
2012-11-13 11:28 ` paolo.carlini at oracle dot com

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).