http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46745
Summary: '#'mem_ref' not supported by dump_expr#<expression
error>'
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 22586
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22586
testcase
Hello,
with the attached testcase, I currently get (-Wall -O1):
a.cc: In member function 'void CGAL::Envelope_divide_and_conquer_2<Traits_,
Diagram_>::_construct_envelope_non_vertical(CGAL::Envelope_divide_and_conquer_2<Traits_,
Diagram_>::Curve_pointer_iterator, CGAL::Envelope_divide_and_conquer_2<Traits_,
Diagram_>::Curve_pointer_iterator, CGAL::Envelope_divide_and_conquer_2<Traits_,
Diagram_>::Envelope_diagram_1&) [with Traits_ =
CGAL::Arr_curve_data_traits_2<CGAL::Arr_segment_traits_2<CGAL::Cartesian<CGAL::Gmpq>
>, int>, Diagram_ =
CGAL::Env_default_diagram_1<CGAL::Arr_curve_data_traits_2<CGAL::Arr_segment_traits_2<CGAL::Cartesian<CGAL::Gmpq>
>, int> >, CGAL::Envelope_divide_and_conquer_2<Traits_,
Diagram_>::Curve_pointer_iterator =
__gnu_cxx::__normal_iterator<CGAL::Arr_segment_2<CGAL::Cartesian<CGAL::Gmpq>
>**, std::vector<CGAL::Arr_segment_2<CGAL::Cartesian<CGAL::Gmpq> >*,
std::allocator<CGAL::Arr_segment_2<CGAL::Cartesian<CGAL::Gmpq> >*> > >,
CGAL::Envelope_divide_and_conquer_2<Traits_, Diagram_>::Envelope_diagram_1 =
CGAL::Env_default_diagram_1<CGAL::Arr_curve_data_traits_2<CGAL::Arr_segment_traits_2<CGAL::Cartesian<CGAL::Gmpq>
>, int> >]':
a.cc:291:3: warning: 'new_v' is used uninitialized in this function
[-Wuninitialized]
a.cc:112:20: warning: '#'mem_ref' not supported by dump_expr#<expression
error>' is used uninitialized in this function [-Wuninitialized]
a.cc:287:40: note: '#'mem_ref' not supported by dump_expr#<expression error>'
was declared here
a.cc:112:20: warning: 'intersection_point' is used uninitialized in this
function [-Wuninitialized]
a.cc:288:29: note: 'intersection_point' was declared here
Older g++ didn't have the two mem_ref lines. The closest bug I could find is
PR22238.