[Bug tree-optimization/16158] New: O(N^2) in tree-ssa-pre.c

belyshev at lubercy dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 23 13:59:00 GMT 2004


#define F0(i) a[i] = 0;
#define F1(a) F0(a##0) F0(a##1) F0(a##2) F0(a##3) F0(a##4) F0(a##5) F0(a##6)
F0(a##7)
#define F2(a) F1(a##0) F1(a##1) F1(a##2) F1(a##3) F1(a##4) F1(a##5) F1(a##6)
F1(a##7)
#define F3(a) F2(a##0) F2(a##1) F2(a##2) F2(a##3) F2(a##4) F2(a##5) F2(a##6)
F2(a##7)
#define F4(a) F3(a##0) F3(a##1) F3(a##2) F3(a##3) F3(a##4) F3(a##5) F3(a##6)
F3(a##7)


void f (int a[])
{
	F4(0)
/* 	F4(1) */
/* 	F4(2) */
}

-- 
           Summary: O(N^2) in tree-ssa-pre.c
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: compile-time-hog
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: dberlin at gcc dot gnu dot org
        ReportedBy: belyshev at lubercy dot com
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list