This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: optimization/8396: optimizer ICE on SPARC


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--
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]