public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/46745] New: '#'mem_ref' not supported by dump_expr#<expression error>'
@ 2010-12-01 13:41 marc.glisse at normalesup dot org
  2010-12-01 14:01 ` [Bug other/46745] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marc.glisse at normalesup dot org @ 2010-12-01 13:41 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: marc.glisse@normalesup.org


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-03 16:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-01 13:41 [Bug other/46745] New: '#'mem_ref' not supported by dump_expr#<expression error>' marc.glisse at normalesup dot org
2010-12-01 14:01 ` [Bug other/46745] " rguenth at gcc dot gnu.org
2010-12-01 15:39 ` [Bug middle-end/46745] [4.6 Regression] " pinskia at gcc dot gnu.org
2010-12-03 16:11 ` rguenth at gcc dot gnu.org
2010-12-03 16:23 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).