[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2006-10-11 Thread bangerth at dealii dot org


--- Comment #19 from bangerth at dealii dot org  2006-10-12 01:06 ---
Since this is solved on mainline and nobody seems to have been able to
ever reproduce it anyway, there doesn't seem to be a chance of this
being actively worked on on older release branches. I'll therefore close
it. We can always re-open it if someone can come up with a testcase
that reproducibly crashes...

W.


-- 

bangerth at dealii dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2006-10-11 Thread bangerth at dealii dot org


-- 

bangerth at dealii dot org changed:

   What|Removed |Added

  Known to work||4.2.0
   Target Milestone|4.1.2   |4.2.0


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2006-07-05 Thread jason at gcc dot gnu dot org


--- Comment #18 from jason at gcc dot gnu dot org  2006-07-05 18:03 ---
Removing the 4.2 regression tag, since apparently it's fixed there.  I'm not
sure how this qualifies as a regression at all, since the bug was reported
against 3.4 and there's no report of it working better with a previous release.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[4.0/4.1/4.2 Regression]|[4.0/4.1 Regression]
   |internal compiler error:|internal compiler error:
   |Segmentation fault while|Segmentation fault while
   |compiling c++ file  |compiling c++ file


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2005-11-18 Thread mmitchel at gcc dot gnu dot org


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2005-11-11 Thread ron_hylton at hotmail dot com


--- Comment #10 from ron_hylton at hotmail dot com  2005-11-12 00:11 ---
Using gcc version 4.1.0 2005 (experimental) I still get a segfault for the
second test case with -O2.

$ gcc -c -O2 -v solveHestonVol2.ii
Using built-in specs.
Target: i686-pc-cygwin
Configured with: ../gcc/configure --prefix=/gcc-main
--enable-languages=c,c++,fo
rtran --verbose --enable-nls --without-included-gettext
--enable-version-specifi
c-runtime-libs --without-x --enable-libgcj --disable-java-awt
--with-system-zlib
 --enable-interpreter --disable-libgcj-debug --enable-threads=posix
--enable-jav
a-gc=boehm --disable-win32-registry --enable-sjlj-exceptions
--enable-hash-synch
ronization --enable-libstdcxx-debug --target=i686-pc-cygwin
--host=i686-pc-cygwi
n --build=i686-pc-cygwin
Thread model: posix
gcc version 4.1.0 2005 (experimental)
 /gcc-main/libexec/gcc/i686-pc-cygwin/4.1.0/cc1plus.exe -fpreprocessed
solveHest
onVol2.ii -quiet -dumpbase solveHestonVol2.ii -mtune=pentiumpro -auxbase
solveHe
stonVol2 -O2 -version -o /cygdrive/c/DOCUME~1/rhylton/LOCALS~1/Temp/ccS4UBKe.s
GNU C++ version 4.1.0 2005 (experimental) (i686-pc-cygwin)
compiled by GNU C version 4.1.0 2005 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: b9f10e21dd711d470dda05fed5b4384d
C:/packages/pooma/local/freepooma/src/Evaluator/ExpressionKernel.h: In
construct
or 'ExpressionKernelLHS, Op, RHS, EvalTag::ExpressionKernel(const LHS, const
Op, const RHS) [with LHS = Array2, double, CompFwdEngine2,
VolUtil::Diffusi
onCoefficients3, VolUtil::HestonVolTraits2::MaskTraits3, double,
BrickView
U, VolUtil::DiffusionComponentIndex0  , Op = OpAssign, RHS = Array2,
doubl
e, BrickViewU, EvalTag = InlineKernelTag]':
C:/packages/pooma/local/freepooma/src/Evaluator/ExpressionKernel.h:116:
internal
 compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.

With the forward declaration of class CloneWalker at line 50437 commented out
that build also gives a number of error messages followed by

C:/rah/Vc/CppLib/ADI2FwdStartSolver.h:148: internal compiler error: in
adjust_re
sult_of_qualified_name_lookup, at cp/search.c:1488


-- 


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2005-11-10 Thread janis at gcc dot gnu dot org


--- Comment #9 from janis at gcc dot gnu dot org  2005-11-10 21:22 ---
I can't reproduce the segfault using a cross compiler on a powerpc64-linux
system.  The second testcase compiles successfully there using several very
recent checkouts from the trunk, including the date the PR was filed.

Someone else will need to try this using a native i686-pc-cygwin compiler.


-- 


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2005-11-05 Thread ron_hylton at hotmail dot com


--- Comment #7 from ron_hylton at hotmail dot com  2005-11-05 18:49 ---
(In reply to comment #5)
 I tried out a few cross compilers for i686-pc-cygwin over the last few
 months.  The code compiled cleanly on 20040607.  Sometime between then
 and 20040709 it started failing with a different ICE from what it gets now.
 For awhile (at least from 20040921-20051127) it got only:
 
 C:/rah/Vc/CppLib/RefCntUtil.h:119: error: declaration of
 `RefCntUtil::ucPtrT::operator T*() const'
 C:/rah/Vc/CppLib/RefCntUtil.h:101: error: conflicts with previous declaration
 `RefCntUtil::ucPtrT::operator X*() const'
 
 That error went away.  The current ICE and several of the other errors started
 sometime between 20050227-20050404.  Here's a testcase for one of them:
 
 class CloneableObject
 {
   friend class CloneWalker;
 public:
   virtual void WalkClone(CloneWalker) const = 0;
 };
 
 class CloneWalker
 {
   CloneWalker(int) {}
   CloneWalker(void) {}
 };
 
 It fails on powerpc-linux with error: ‘CloneWalker’ has not been declared,
 the first error that the large testcase gets, not the one that leads to
 the ICE.
 

There is a missing forward declaration for class CloneWalker in the supplied
test case (although I believe older versions of gcc did not require this).  I
have posted a revised test case where I added the declaration and fixed another
problem.  With this test case and gcc 4.1.0,

gcc -c  compiles
gcc -c -O2 gives a segmentation fault

If the forward declaration of class CloneWalker at line 50437 is commented out,
gcc -c (4.1.0) gives a number of error messages before 

C:/rah/Vc/CppLib/ADI2FwdStartSolver.h:148: internal compiler error: in
adjust_re
sult_of_qualified_name_lookup, at cp/search.c:1488


-- 


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2005-11-05 Thread ron_hylton at hotmail dot com


--- Comment #8 from ron_hylton at hotmail dot com  2005-11-05 18:51 ---
Created an attachment (id=10154)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10154action=view)
modified test case


-- 


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2005-11-04 Thread janis at gcc dot gnu dot org


--- Comment #5 from janis at gcc dot gnu dot org  2005-11-05 01:00 ---
I tried out a few cross compilers for i686-pc-cygwin over the last few
months.  The code compiled cleanly on 20040607.  Sometime between then
and 20040709 it started failing with a different ICE from what it gets now.
For awhile (at least from 20040921-20051127) it got only:

C:/rah/Vc/CppLib/RefCntUtil.h:119: error: declaration of
`RefCntUtil::ucPtrT::operator T*() const'
C:/rah/Vc/CppLib/RefCntUtil.h:101: error: conflicts with previous declaration
`RefCntUtil::ucPtrT::operator X*() const'

That error went away.  The current ICE and several of the other errors started
sometime between 20050227-20050404.  Here's a testcase for one of them:

class CloneableObject
{
  friend class CloneWalker;
public:
  virtual void WalkClone(CloneWalker) const = 0;
};

class CloneWalker
{
  CloneWalker(int) {}
  CloneWalker(void) {}
};

It fails on powerpc-linux with error: ‘CloneWalker’ has not been declared,
the first error that the large testcase gets, not the one that leads to
the ICE.


-- 


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2005-11-04 Thread janis at gcc dot gnu dot org


--- Comment #6 from janis at gcc dot gnu dot org  2005-11-05 01:31 ---
The submitter's testcase compiles cleanly with a i686-pc-cygwin cross
compiler using r92494 from 20041222.  It fails with lots of uses anonymous
type errors, but no ICE, with r92877 on 20050104.  I've got lots more builds
going to identify other ranges where changes happened.


-- 


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2005-11-03 Thread ron_hylton at hotmail dot com


--- Comment #4 from ron_hylton at hotmail dot com  2005-11-03 16:00 ---
The code compiles with Intel C++ for Windows.


-- 


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2005-11-02 Thread mmitchel at gcc dot gnu dot org


--- Comment #3 from mmitchel at gcc dot gnu dot org  2005-11-03 06:42 
---
Do we know whether this an ICE-on-valid or ICE-on-invalid?


-- 


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



[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2005-11-01 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to fail|4.1.0   |4.1.0 4.0.3
Summary|[4.1 Regression] internal   |[4.0/4.1 Regression]
   |compiler error: Segmentation|internal compiler error:
   |fault while compiling c++   |Segmentation fault while
   |file|compiling c++ file
   Target Milestone|4.1.0   |4.0.3


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