public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43087] New: ICE
@ 2010-02-16 2:48 jeffrey dot donner at gmail dot com
2010-02-16 2:51 ` [Bug c++/43087] ICE jeffrey dot donner at gmail dot com
` (22 more replies)
0 siblings, 23 replies; 24+ messages in thread
From: jeffrey dot donner at gmail dot com @ 2010-02-16 2:48 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2597 bytes --]
jd@shade:~/software/itk/InsightToolkit-3.16.0/Testing/Code/BasicFilters$
/usr/local/gcc-svn/bin/c++ -v -save-temps -ftemplate-depth-50 -Wall -Wextra
-Wno-deprecated -msse2 -g -c itkBasicFiltersPrintTest.i
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-svn/bin/c++
COLLECT_LTO_WRAPPER=/usr/local/gcc-svn/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gcc-svn
--with-gmp=/usr/local/gmp --with-mpfr=/usr/local/mpfr --with-mpc=/usr/local/mpc
--disable-multilib --enable-languages=c,c++
Thread model: posix
gcc version 4.5.0 20100214 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftemplate-depth-50' '-Wall' '-Wextra'
'-Wno-deprecated' '-msse2' '-g' '-c' '-shared-libgcc' '-mtune=generic'
/usr/local/gcc-svn/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/cc1plus
-fpreprocessed itkBasicFiltersPrintTest.i -quiet -dumpbase
itkBasicFiltersPrintTest.i -msse2 -mtune=generic -auxbase
itkBasicFiltersPrintTest -g -Wall -Wextra -Wno-deprecated -version
-ftemplate-depth-50 -o itkBasicFiltersPrintTest.s
GNU C++ (GCC) version 4.5.0 20100214 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.5.0 20100214 (experimental), GMP version
4.3.2, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (GCC) version 4.5.0 20100214 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.5.0 20100214 (experimental), GMP version
4.3.2, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: f29f0d47dc304f45577b6b757a338046
/home/jd/software/itk/InsightToolkit-3.16.0/Testing/Code/BasicFilters/itkBasicFiltersPrintTest.cxx:
In function int itkBasicFiltersPrintTest(int, char**):
/home/jd/software/itk/InsightToolkit-3.16.0/Testing/Code/BasicFilters/itkBasicFiltersPrintTest.cxx:375:54:
internal compiler error: tree check: accessed elt 3 of tree_vec with 2 elts in
tsubst, at cp/pt.c:9923
Please submit a full bug report,
--
Summary: ICE
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jeffrey dot donner at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] ICE
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
@ 2010-02-16 2:51 ` jeffrey dot donner at gmail dot com
2010-02-16 5:04 ` hjl dot tools at gmail dot com
` (21 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: jeffrey dot donner at gmail dot com @ 2010-02-16 2:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jeffrey dot donner at gmail dot com 2010-02-16 02:51 -------
Created an attachment (id=19885)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19885&action=view)
bz2 of pre-processed offending code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] ICE
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
2010-02-16 2:51 ` [Bug c++/43087] ICE jeffrey dot donner at gmail dot com
@ 2010-02-16 5:04 ` hjl dot tools at gmail dot com
2010-02-16 5:05 ` [Bug c++/43087] [4.5 Regression] ICE hjl dot tools at gmail dot com
` (20 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-16 5:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl dot tools at gmail dot com 2010-02-16 05:04 -------
It is caused by revision 155363:
http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00507.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dseketel at redhat dot com
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-02-16 05:04:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
2010-02-16 2:51 ` [Bug c++/43087] ICE jeffrey dot donner at gmail dot com
2010-02-16 5:04 ` hjl dot tools at gmail dot com
@ 2010-02-16 5:05 ` hjl dot tools at gmail dot com
2010-02-16 10:31 ` [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923 dodji at gcc dot gnu dot org
` (19 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-16 5:05 UTC (permalink / raw)
To: gcc-bugs
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE |[4.5 Regression] ICE
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (2 preceding siblings ...)
2010-02-16 5:05 ` [Bug c++/43087] [4.5 Regression] ICE hjl dot tools at gmail dot com
@ 2010-02-16 10:31 ` dodji at gcc dot gnu dot org
2010-02-16 19:55 ` pinskia at gcc dot gnu dot org
` (18 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dodji at gcc dot gnu dot org @ 2010-02-16 10:31 UTC (permalink / raw)
To: gcc-bugs
--
dodji at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dodji at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2010-02-16 05:04:28 |2010-02-16 10:31:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (3 preceding siblings ...)
2010-02-16 10:31 ` [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923 dodji at gcc dot gnu dot org
@ 2010-02-16 19:55 ` pinskia at gcc dot gnu dot org
2010-02-17 17:42 ` mmitchel at gcc dot gnu dot org
` (17 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-16 19:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2010-02-16 19:54 -------
Reducing a testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (4 preceding siblings ...)
2010-02-16 19:55 ` pinskia at gcc dot gnu dot org
@ 2010-02-17 17:42 ` mmitchel at gcc dot gnu dot org
2010-02-18 0:17 ` pinskia at gcc dot gnu dot org
` (16 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2010-02-17 17:42 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (5 preceding siblings ...)
2010-02-17 17:42 ` mmitchel at gcc dot gnu dot org
@ 2010-02-18 0:17 ` pinskia at gcc dot gnu dot org
2010-02-18 15:40 ` hjl dot tools at gmail dot com
` (15 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-18 0:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2010-02-18 00:17 -------
This works with revision 156834.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (6 preceding siblings ...)
2010-02-18 0:17 ` pinskia at gcc dot gnu dot org
@ 2010-02-18 15:40 ` hjl dot tools at gmail dot com
2010-02-21 20:19 ` dodji at gcc dot gnu dot org
` (14 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-18 15:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hjl dot tools at gmail dot com 2010-02-18 15:40 -------
Revision 156792:
http://gcc.gnu.org/ml/gcc-cvs/2010-02/msg00375.html
made ICE disappear. I don't know if it really fixes
the bug or just hides it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (7 preceding siblings ...)
2010-02-18 15:40 ` hjl dot tools at gmail dot com
@ 2010-02-21 20:19 ` dodji at gcc dot gnu dot org
2010-02-26 0:41 ` dodji at gcc dot gnu dot org
` (13 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dodji at gcc dot gnu dot org @ 2010-02-21 20:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from dodji at gcc dot gnu dot org 2010-02-21 20:19 -------
The resolution of PR c++/43036 seems related to array types only. So I don't
understand why it fixes this PR. I'd like to investigate a bit further.
The test case is too big for me to understand it so I am delta-reducing it and
it's taking time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (8 preceding siblings ...)
2010-02-21 20:19 ` dodji at gcc dot gnu dot org
@ 2010-02-26 0:41 ` dodji at gcc dot gnu dot org
2010-02-27 17:45 ` manu at gcc dot gnu dot org
` (12 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dodji at gcc dot gnu dot org @ 2010-02-26 0:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from dodji at gcc dot gnu dot org 2010-02-26 00:40 -------
Created an attachment (id=19963)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19963&action=view)
Reduced test case
This is a somewhat reduced test case that is still way bigger than what I'd
like, but still better than nothing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (9 preceding siblings ...)
2010-02-26 0:41 ` dodji at gcc dot gnu dot org
@ 2010-02-27 17:45 ` manu at gcc dot gnu dot org
2010-02-27 21:14 ` dodji at redhat dot com
` (11 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-02-27 17:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from manu at gcc dot gnu dot org 2010-02-27 17:44 -------
(In reply to comment #7)
> Created an attachment (id=19963)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19963&action=view) [edit]
> Reduced test case
>
> This is a somewhat reduced test case that is still way bigger than what I'd
> like, but still better than nothing.
Hi, I have reduced the testcase in around half of its size and delta is still
running. Once it is finished, I will upload it.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (10 preceding siblings ...)
2010-02-27 17:45 ` manu at gcc dot gnu dot org
@ 2010-02-27 21:14 ` dodji at redhat dot com
2010-02-27 22:26 ` manu at gcc dot gnu dot org
` (10 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dodji at redhat dot com @ 2010-02-27 21:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from dodji at gcc dot gnu dot org 2010-02-27 21:14 -------
Subject: Re: [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
> Hi, I have reduced the testcase in around half of its size and delta
> is still running. Once it is finished, I will upload it.
You mean half of the size of the reduced testcase I did attach? That's
interesting as delta was claiming it couldn't reduce it further for me.
Thank you for doing this, Manu.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (11 preceding siblings ...)
2010-02-27 21:14 ` dodji at redhat dot com
@ 2010-02-27 22:26 ` manu at gcc dot gnu dot org
2010-02-27 22:29 ` manu at gcc dot gnu dot org
` (9 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-02-27 22:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from manu at gcc dot gnu dot org 2010-02-27 22:26 -------
Reduced testcase:
template<class A> class NumericTraits{};
template<class B> class CovariantVector{};
template<class C> class Image{};
template<class H,
class E,
class D>
class F {
typedef H G;
typedef
typename NumericTraits<typename G::PixelType>::RealType
InputRealType;
};
template<typename TInputImage,
typename TOutputImage=Image<
CovariantVector<
typename NumericTraits<
typename TInputImage
::PixelType
>
::TInputImage
>
>
>
class XXX{};
XXX<Image<float> >
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (12 preceding siblings ...)
2010-02-27 22:26 ` manu at gcc dot gnu dot org
@ 2010-02-27 22:29 ` manu at gcc dot gnu dot org
2010-02-27 22:41 ` manu at gcc dot gnu dot org
` (8 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-02-27 22:29 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
------- Comment #11 from manu at gcc dot gnu dot org 2010-02-27 22:29 -------
Interestingly deleting the typedef H G; makes us give the following error:
pr43087-delta.ii:24:18: error: no type named âPixelTypeâ in âclass
Image<float>â
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (13 preceding siblings ...)
2010-02-27 22:29 ` manu at gcc dot gnu dot org
@ 2010-02-27 22:41 ` manu at gcc dot gnu dot org
2010-02-27 23:31 ` hjl dot tools at gmail dot com
` (7 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-02-27 22:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from manu at gcc dot gnu dot org 2010-02-27 22:41 -------
I meant 'expanding the typedef'.
It would be nice to have a delta tool that expanded typedefs iteratively. Also,
it sometimes good to replace spaces by new lines to give delta larger search
space. I also use the following preprocessing:
cp -f $1 $1.bak
perl -i -0 -w -p -e 's/((class|struct)\s+[_A-Za-z]+)\s*\{/$1\{/sg;' $1
perl -i -0 -w -p -e 's/\{\s+\}/\{\}/sg;' $1
perl -i -0 -w -p -e 's/\s+\{/\{/sg;' $1
perl -i -0 -w -p -e 's/=\s+/=/sg;' $1
perl -i -0 -w -p -e 's/:\s+/:/sg;' $1
perl -i -0 -w -p -e 's/\s+\(/\(/sg;' $1
perl -i -0 -w -p -e 's/<([a-zA-Z_]+)/<\n$1/sg;' $1
perl -i -0 -w -p -e 's/([a-zA-Z_])>/$1\n>/sg;' $1
perl -i -0 -w -p -e 's/\n\n/\n/sg;' $1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (14 preceding siblings ...)
2010-02-27 22:41 ` manu at gcc dot gnu dot org
@ 2010-02-27 23:31 ` hjl dot tools at gmail dot com
2010-02-27 23:45 ` manu at gcc dot gnu dot org
` (6 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-27 23:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from hjl dot tools at gmail dot com 2010-02-27 23:31 -------
(In reply to comment #10)
> Reduced testcase:
>
> template<class A> class NumericTraits{};
> template<class B> class CovariantVector{};
> template<class C> class Image{};
> template<class H,
> class E,
> class D>
> class F {
> typedef H G;
> typedef
> typename NumericTraits<typename G::PixelType>::RealType
> InputRealType;
> };
> template<typename TInputImage,
> typename TOutputImage=Image<
> CovariantVector<
> typename NumericTraits<
> typename TInputImage
> ::PixelType
> >
> ::TInputImage
> >
> >
> >
> class XXX{};
> XXX<Image<float> >
>
It may be a different issue since the original testcase
compiles with older gcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (15 preceding siblings ...)
2010-02-27 23:31 ` hjl dot tools at gmail dot com
@ 2010-02-27 23:45 ` manu at gcc dot gnu dot org
2010-02-28 0:04 ` hjl dot tools at gmail dot com
` (5 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-02-27 23:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from manu at gcc dot gnu dot org 2010-02-27 23:45 -------
(In reply to comment #13)
> It may be a different issue since the original testcase
> compiles with older gcc.
It is still a regression from gcc 4.4.1:
pr43087-delta.ii:25: error: no type named 'PixelType' in 'class Image<float>'
pr43087-delta.ii:25: error: template argument 2 is invalid
pr43087-delta.ii:25: error: expected unqualified-id at end of input
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (16 preceding siblings ...)
2010-02-27 23:45 ` manu at gcc dot gnu dot org
@ 2010-02-28 0:04 ` hjl dot tools at gmail dot com
2010-02-28 0:08 ` hjl dot tools at gmail dot com
` (4 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-28 0:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from hjl dot tools at gmail dot com 2010-02-28 00:03 -------
(In reply to comment #14)
> (In reply to comment #13)
> > It may be a different issue since the original testcase
> > compiles with older gcc.
>
> It is still a regression from gcc 4.4.1:
>
> pr43087-delta.ii:25: error: no type named 'PixelType' in 'class Image<float>'
> pr43087-delta.ii:25: error: template argument 2 is invalid
> pr43087-delta.ii:25: error: expected unqualified-id at end of input
>
This issue is caused by revision 145440:
http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg00060.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (17 preceding siblings ...)
2010-02-28 0:04 ` hjl dot tools at gmail dot com
@ 2010-02-28 0:08 ` hjl dot tools at gmail dot com
2010-03-03 14:40 ` manu at gcc dot gnu dot org
` (3 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-28 0:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from hjl dot tools at gmail dot com 2010-02-28 00:08 -------
(In reply to comment #15)
> (In reply to comment #14)
> > (In reply to comment #13)
> > > It may be a different issue since the original testcase
> > > compiles with older gcc.
> >
> > It is still a regression from gcc 4.4.1:
> >
> > pr43087-delta.ii:25: error: no type named 'PixelType' in 'class Image<float>'
> > pr43087-delta.ii:25: error: template argument 2 is invalid
> > pr43087-delta.ii:25: error: expected unqualified-id at end of input
> >
>
> This issue is caused by revision 145440:
>
> http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg00060.html
>
I opened PR 43206 for it.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |43206
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (18 preceding siblings ...)
2010-02-28 0:08 ` hjl dot tools at gmail dot com
@ 2010-03-03 14:40 ` manu at gcc dot gnu dot org
2010-03-05 20:45 ` dodji at gcc dot gnu dot org
` (2 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-03-03 14:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from manu at gcc dot gnu dot org 2010-03-03 14:40 -------
(In reply to comment #13)
> It may be a different issue since the original testcase
> compiles with older gcc.
It is much tougher to get a testcase that compiled before but I managed to get
344K. Delta is still running so it would be better to focus on the other PR for
now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (19 preceding siblings ...)
2010-03-03 14:40 ` manu at gcc dot gnu dot org
@ 2010-03-05 20:45 ` dodji at gcc dot gnu dot org
2010-03-16 10:55 ` dodji at gcc dot gnu dot org
2010-03-26 9:31 ` dodji at gcc dot gnu dot org
22 siblings, 0 replies; 24+ messages in thread
From: dodji at gcc dot gnu dot org @ 2010-03-05 20:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from dodji at gcc dot gnu dot org 2010-03-05 20:44 -------
(In reply to comment #13)
> It may be a different issue since the original testcase
> compiles with older gcc.
How about this reduced test case that compiles with older (4.4) gcc:
template<class A> struct NumericTraits{ typedef A TInputImage;};
template<class B> class CovariantVector{};
template<class C> struct Image{ typedef C PixelType;};
template<class H, class E, class D>
class F {
typedef H G;
typedef
typename NumericTraits<typename G::PixelType>::RealType
InputRealType;
};
template<typename TInputImage,
typename TOutputImage=Image<CovariantVector<typename
NumericTraits<typename TInputImage::PixelType>::TInputImage> > >
class XXX{};
XXX<Image<float> > x;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (20 preceding siblings ...)
2010-03-05 20:45 ` dodji at gcc dot gnu dot org
@ 2010-03-16 10:55 ` dodji at gcc dot gnu dot org
2010-03-26 9:31 ` dodji at gcc dot gnu dot org
22 siblings, 0 replies; 24+ messages in thread
From: dodji at gcc dot gnu dot org @ 2010-03-16 10:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from dodji at gcc dot gnu dot org 2010-03-16 10:55 -------
FWIW, I have tested the patch posted for PR c++/43206 and it fixes this one
too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
` (21 preceding siblings ...)
2010-03-16 10:55 ` dodji at gcc dot gnu dot org
@ 2010-03-26 9:31 ` dodji at gcc dot gnu dot org
22 siblings, 0 replies; 24+ messages in thread
From: dodji at gcc dot gnu dot org @ 2010-03-26 9:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #20 from dodji at gcc dot gnu dot org 2010-03-26 09:31 -------
Should be fixed in 4.5 by the commit for PR c++/43206.
--
dodji at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2010-03-26 9:31 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-16 2:48 [Bug c++/43087] New: ICE jeffrey dot donner at gmail dot com
2010-02-16 2:51 ` [Bug c++/43087] ICE jeffrey dot donner at gmail dot com
2010-02-16 5:04 ` hjl dot tools at gmail dot com
2010-02-16 5:05 ` [Bug c++/43087] [4.5 Regression] ICE hjl dot tools at gmail dot com
2010-02-16 10:31 ` [Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923 dodji at gcc dot gnu dot org
2010-02-16 19:55 ` pinskia at gcc dot gnu dot org
2010-02-17 17:42 ` mmitchel at gcc dot gnu dot org
2010-02-18 0:17 ` pinskia at gcc dot gnu dot org
2010-02-18 15:40 ` hjl dot tools at gmail dot com
2010-02-21 20:19 ` dodji at gcc dot gnu dot org
2010-02-26 0:41 ` dodji at gcc dot gnu dot org
2010-02-27 17:45 ` manu at gcc dot gnu dot org
2010-02-27 21:14 ` dodji at redhat dot com
2010-02-27 22:26 ` manu at gcc dot gnu dot org
2010-02-27 22:29 ` manu at gcc dot gnu dot org
2010-02-27 22:41 ` manu at gcc dot gnu dot org
2010-02-27 23:31 ` hjl dot tools at gmail dot com
2010-02-27 23:45 ` manu at gcc dot gnu dot org
2010-02-28 0:04 ` hjl dot tools at gmail dot com
2010-02-28 0:08 ` hjl dot tools at gmail dot com
2010-03-03 14:40 ` manu at gcc dot gnu dot org
2010-03-05 20:45 ` dodji at gcc dot gnu dot org
2010-03-16 10:55 ` dodji at gcc dot gnu dot org
2010-03-26 9:31 ` dodji 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).