public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marc.glisse at normalesup dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/46745] New: '#'mem_ref' not supported by dump_expr#<expression error>'
Date: Wed, 01 Dec 2010 13:41:00 -0000	[thread overview]
Message-ID: <bug-46745-4@http.gcc.gnu.org/bugzilla/> (raw)

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.


             reply	other threads:[~2010-12-01 13:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 13:41 marc.glisse at normalesup dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-46745-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).