public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20025] New: Internal error while compiling
@ 2005-02-17 16:43 sjt at star dot sr dot bham dot ac dot uk
  2005-02-17 16:46 ` [Bug target/20025] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sjt at star dot sr dot bham dot ac dot uk @ 2005-02-17 16:43 UTC (permalink / raw)
  To: gcc-bugs

While compiling the routine datatypes.cpp in the GDL package, g++ generates an
internal error. This appears to be powerpc specific. 

Command line & Error messages follow.
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.3  -O2  -MT datatypes.o
-MD -MP -MF ".deps/datatypes.Tpo"   -c -o datatypes.o  datatypes.cpp -save-temps
In file included from /usr/include/python2.3/Python.h:8,
                 from basegdl.hpp:26,
                 from datatypes.hpp:31,
                 from dstructgdl.hpp:25,
                 from datatypes.cpp:27:
/usr/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/c++/3.3/powerpc-linux/bits/os_defines.h:39,
                 from /usr/include/c++/3.3/powerpc-linux/bits/c++config.h:35,
                 from /usr/include/c++/3.3/iomanip:45,
                 from datatypes.cpp:24:
/usr/include/features.h:131:1: warning: this is the location of the previous
definition
In file included from datatypes.cpp:40:
default_io.cpp: In function `std::istream& operator>>(std::istream&,
   Data_<Sp2>&) [with Sp2 = SpDFloat, Sp = SpDFloat]':
default_io.cpp:185: error: insn does not satisfy its constraints:
(insn 2857 445 511 12 (nil) (set (reg:SI 9 r9)
        (reg/f:SI 114 virtual-stack-vars)) 298 {*movsi_internal1} (nil)
    (nil))
default_io.cpp:185: internal compiler error: in reload_cse_simplify_operands,
   at reload1.c:8394
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.

Compiling the included default_io.cpp on its own does NOT generate the error. 
Removing the optimization flag genrates a segfault at the same location.
The datatypes.ii file is too large (1.5MB) to attach here and can be obtained
at:  ftp://ftp.sr.bham.ac.uk/pub/sjt/datatypes.ii
Since the machine doesn't have problems with other large compiles (e.g. the
Linux kernel) I don't think it's a hardware problem.

-- 
           Summary: Internal error while compiling
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sjt at star dot sr dot bham dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


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


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

* [Bug target/20025] Internal error while compiling
  2005-02-17 16:43 [Bug c++/20025] New: Internal error while compiling sjt at star dot sr dot bham dot ac dot uk
@ 2005-02-17 16:46 ` pinskia at gcc dot gnu dot org
  2005-02-22 23:56 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-17 16:46 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target


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


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

* [Bug target/20025] Internal error while compiling
  2005-02-17 16:43 [Bug c++/20025] New: Internal error while compiling sjt at star dot sr dot bham dot ac dot uk
  2005-02-17 16:46 ` [Bug target/20025] " pinskia at gcc dot gnu dot org
@ 2005-02-22 23:56 ` pinskia at gcc dot gnu dot org
  2005-04-05 17:08 ` dje at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-22 23:56 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug target/20025] Internal error while compiling
  2005-02-17 16:43 [Bug c++/20025] New: Internal error while compiling sjt at star dot sr dot bham dot ac dot uk
  2005-02-17 16:46 ` [Bug target/20025] " pinskia at gcc dot gnu dot org
  2005-02-22 23:56 ` pinskia at gcc dot gnu dot org
@ 2005-04-05 17:08 ` dje at gcc dot gnu dot org
  2005-07-15 21:01 ` pinskia at gcc dot gnu dot org
  2005-09-04 19:07 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-04-05 17:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dje at gcc dot gnu dot org  2005-04-05 17:08 -------
I cannot duplicate this with GCC 3.3.3 on AIX, GCC 3.3-hammer on SLES9, GCC 
3.4.4 on SLES9, or GCC 4.0 on SLES9.  This may have been introduced after GCC 
3.3.4 or 3.3.5, but it appears to have been fixed in more recent releases.

-- 


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


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

* [Bug target/20025] Internal error while compiling
  2005-02-17 16:43 [Bug c++/20025] New: Internal error while compiling sjt at star dot sr dot bham dot ac dot uk
                   ` (2 preceding siblings ...)
  2005-04-05 17:08 ` dje at gcc dot gnu dot org
@ 2005-07-15 21:01 ` pinskia at gcc dot gnu dot org
  2005-09-04 19:07 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-15 21:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-15 20:57 -------
Is this fixed in 3.4.x as 3.3.x is no longer supported.  And David could not reproduce this in 3.3.3 and 
3.3.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug target/20025] Internal error while compiling
  2005-02-17 16:43 [Bug c++/20025] New: Internal error while compiling sjt at star dot sr dot bham dot ac dot uk
                   ` (3 preceding siblings ...)
  2005-07-15 21:01 ` pinskia at gcc dot gnu dot org
@ 2005-09-04 19:07 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-04 19:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-04 19:07 -------
No feedback in 6 months.

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


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


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

end of thread, other threads:[~2005-09-04 19:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-17 16:43 [Bug c++/20025] New: Internal error while compiling sjt at star dot sr dot bham dot ac dot uk
2005-02-17 16:46 ` [Bug target/20025] " pinskia at gcc dot gnu dot org
2005-02-22 23:56 ` pinskia at gcc dot gnu dot org
2005-04-05 17:08 ` dje at gcc dot gnu dot org
2005-07-15 21:01 ` pinskia at gcc dot gnu dot org
2005-09-04 19:07 ` pinskia 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).