This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/8396: optimizer ICE on SPARC
- From: Dimitri Papadopoulos <papadopo at REMOVE dot shfj dot DECOY dot cea dot fr>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 30 Oct 2002 09:16:01 -0000
- Subject: Re: optimization/8396: optimizer ICE on SPARC
- Reply-to: Dimitri Papadopoulos <papadopo at REMOVE dot shfj dot DECOY dot cea dot fr>
The following reply was made to PR optimization/8396; it has been noted by GNATS.
From: Dimitri Papadopoulos <papadopo@REMOVE.shfj.DECOY.cea.fr>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
papadopo@shfj.REMOVE.cea.DECOY.fr.cea.fr, gcc-bugs@gcc.gnu.org
Cc:
Subject: Re: optimization/8396: optimizer ICE on SPARC
Date: Wed, 30 Oct 2002 10:09:27 +0100
This is a multi-part message in MIME format.
--------------060007050009070405090207
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8396
Attached is a much shorter example that reproduces the bug.
--------------060007050009070405090207
Content-Type: text/plain;
name="didispfn.cc"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="didispfn.cc"
template <typename T1>
struct Foo
{
static void bar(const T1 xs, const T1 xe)
{
void *a;
void *b;
void *c;
if (a && b && c && (xs < xe))
;
}
};
int main()
{
short xe;
Foo<short>::bar(0, xe);
}
--------------060007050009070405090207--