This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19445] 50 fold compile time increase between gcc-3,4 and gcc-4,0 on included code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2005 21:50:10 -0000
- Subject: [Bug tree-optimization/19445] 50 fold compile time increase between gcc-3,4 and gcc-4,0 on included code
- References: <20050114165235.19445.phil@fsel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 21:50 -------
Here is a short testcase for when we should dect a function throws nothing:
int g(int i);
int h(int i) throw();
inline int f(int i) { h(i);if(i<10)return 1;else return g(i-1) + i;}
inline int g(int i) { return f(i); }
int temp(int i) throw()
{
return g(i);
}
I will file a new bug about this one.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19445