[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/27094] [4.0/4.1/4.2 Regression] tree check: expected tree_list, have omp_return in build_call




------- Comment #4 from reichelt at gcc dot gnu dot org  2006-04-10 11:34 -------
Confirmed. Reduced testcase
(compile with "g++ --param ggc-min-expand=0 --param ggc-min-heapsize=0"):

=============================
struct A
{
    ~A();
};

struct B : A
{
    B();
};

template<int> struct C
{
    C(const B& = B());
};

C<0> c;
=============================

The regression appeared in GCC 4.0.2.

On mainline the error message reads:

PR27094.cc: In constructor 'C<<anonymous> >::C(const B&) [with int <anonymous>
= 0]':
PR27094.cc:16: internal compiler error: tree check: expected tree_list, have
omp_return in build_call, at cp/call.c:329
Please submit a full bug report, [etc.]

On the 4.0 and 4.1 branch we have:

PR27094.cc: In constructor 'C<<anonymous> >::C(const B&) [with int <anonymous>
= 0]':
PR27094.cc:16: internal compiler error: tree check: expected tree_list, have
dl_expr in build_call, at cp/call.c:330
Please submit a full bug report, [etc.]


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |monitored
      Known to fail|                            |4.0.2 4.1.0 4.1.1 4.2.0
      Known to work|                            |3.4.6 4.0.0 4.0.1
   Last reconfirmed|0000-00-00 00:00:00         |2006-04-10 11:34:47
               date|                            |
            Summary|[4.2 Regression] tree check:|[4.0/4.1/4.2 Regression]
                   |expected tree_list, have    |tree check: expected
                   |omp_return in build_call    |tree_list, have omp_return
                   |                            |in build_call
   Target Milestone|4.2.0                       |4.1.1


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: