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
* [Bug other/46745] '#'mem_ref' not supported by dump_expr#<expression error>'
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 ` rguenth at gcc dot gnu.org
2010-12-01 15:39 ` [Bug middle-end/46745] [4.6 Regression] " pinskia at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-01 14:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46745
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2010.12.01 14:01:02
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-01 14:01:02 UTC ---
Mine.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/46745] [4.6 Regression] '#'mem_ref' not supported by dump_expr#<expression error>'
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 ` 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
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-12-01 15:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46745
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|other |middle-end
Target Milestone|--- |4.6.0
Summary|'#'mem_ref' not supported |[4.6 Regression]
|by dump_expr#<expression |'#'mem_ref' not supported
|error>' |by dump_expr#<expression
| |error>'
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/46745] [4.6 Regression] '#'mem_ref' not supported by dump_expr#<expression error>'
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
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-03 16:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46745
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-03 16:10:43 UTC ---
Author: rguenth
Date: Fri Dec 3 16:10:36 2010
New Revision: 167433
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167433
Log:
2010-12-03 Richard Guenther <rguenther@suse.de>
PR c/46745
* c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
(pp_c_unary_expression): Likewise.
(pp_c_expression): Likewise.
cp/
* error.c (dump_expr): Handle MEM_REF.
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-pretty-print.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/error.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/46745] [4.6 Regression] '#'mem_ref' not supported by dump_expr#<expression error>'
2010-12-01 13:41 [Bug other/46745] New: '#'mem_ref' not supported by dump_expr#<expression error>' marc.glisse at normalesup dot org
` (2 preceding siblings ...)
2010-12-03 16:11 ` rguenth at gcc dot gnu.org
@ 2010-12-03 16:23 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-03 16:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46745
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-03 16:23:00 UTC ---
Fixed.
^ 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).