public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14584] New: ice on valid code.
@ 2004-03-15 17:21 pluto at ds14 dot agh dot edu dot pl
  2004-03-15 17:22 ` [Bug c/14584] " pluto at ds14 dot agh dot edu dot pl
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pluto at ds14 dot agh dot edu dot pl @ 2004-03-15 17:21 UTC (permalink / raw)
  To: gcc-bugs

# gcc -v 
Reading specs from /usr/lib/gcc/pentium3-pld-linux/3.4.0/specs 
Configured with: ../configure --prefix=/usr --libdir=/usr/lib 
--libexecdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man 
--enable-shared --enable-threads=posix --enable-__cxa_atexit 
--enable-languages=c,c++,f77,java --enable-c99 --enable-long-long 
--enable-multilib --enable-nls --with-gnu-as --with-gnu-ld --with-system-zlib 
--with-slibdir=/lib --without-x pentium3-pld-linux 
Thread model: posix 
gcc version 3.4.0 20040310 (prerelease) (PLD Linux) 
 
# testcase 
 
# LC_ALL="C" gcc -O2 sampleComp.ii -c 
 
sampleComp.cc: In function `void sampleConnectedComp(Real*, Real*, 
vertexArray*, Int, Int, vertexArray*, Int, Int, gridBoundaryChain*, 
gridBoundaryChain*, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, 
primStream*, rectBlockArray*)': 
sampleComp.cc:138: internal compiler error: Segmentation fault 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://bugs.pld-linux.org/> for instructions. 
 
# LC_ALL="C" gcc -O sampleComp.ii -c 
/ok/

-- 
           Summary: ice on valid code.
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at ds14 dot agh dot edu dot pl
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: pentium3-pld-linux
  GCC host triplet: pentium3-pld-linux
GCC target triplet: pentium3-pld-linux


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


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

* [Bug c/14584] ice on valid code.
  2004-03-15 17:21 [Bug c/14584] New: ice on valid code pluto at ds14 dot agh dot edu dot pl
@ 2004-03-15 17:22 ` pluto at ds14 dot agh dot edu dot pl
  2004-03-15 17:38 ` [Bug c++/14584] [3.4 Regression] " pinskia at gcc dot gnu dot org
  2004-03-16  2:36 ` reichelt at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pluto at ds14 dot agh dot edu dot pl @ 2004-03-15 17:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at ds14 dot agh dot edu dot pl  2004-03-15 17:22 -------
Created an attachment (id=5924)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5924&action=view)
valid source.


-- 


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


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

* [Bug c++/14584] [3.4 Regression] ice on valid code.
  2004-03-15 17:21 [Bug c/14584] New: ice on valid code pluto at ds14 dot agh dot edu dot pl
  2004-03-15 17:22 ` [Bug c/14584] " pluto at ds14 dot agh dot edu dot pl
@ 2004-03-15 17:38 ` pinskia at gcc dot gnu dot org
  2004-03-16  2:36 ` reichelt at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-15 17:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-15 17:38 -------
Most likely this is a dup of bug 14477, can you try a newer prelease?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |c++
           Keywords|                            |ice-on-valid-code
      Known to work|                            |3.5.0 3.3.1
            Summary|ice on valid code.          |[3.4 Regression] ice on
                   |                            |valid code.
   Target Milestone|---                         |3.4.1


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


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

* [Bug c++/14584] [3.4 Regression] ice on valid code.
  2004-03-15 17:21 [Bug c/14584] New: ice on valid code pluto at ds14 dot agh dot edu dot pl
  2004-03-15 17:22 ` [Bug c/14584] " pluto at ds14 dot agh dot edu dot pl
  2004-03-15 17:38 ` [Bug c++/14584] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-03-16  2:36 ` reichelt at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-03-16  2:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-03-16 02:36 -------
This boils down to

===================================
struct A
{
  A();
  void foo(A*);
};

void bar(A*, A* p)
{
  p->foo(new A);
}
===================================

which looks like PR 14477.

But even if it isn't a duplicate, the bug appears to be fixed,
as I can reproduce it with the 20040311 version, but not with
today's version.

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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE
   Target Milestone|3.4.1                       |3.4.0


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


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

end of thread, other threads:[~2004-03-16  2:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-15 17:21 [Bug c/14584] New: ice on valid code pluto at ds14 dot agh dot edu dot pl
2004-03-15 17:22 ` [Bug c/14584] " pluto at ds14 dot agh dot edu dot pl
2004-03-15 17:38 ` [Bug c++/14584] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-03-16  2:36 ` reichelt 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).