[Bug c++/26011] References to const pointers to const objects don't work as expected.

2006-01-29 Thread ciprian dot craciun at gmail dot com
--- Comment #4 from ciprian dot craciun at gmail dot com 2006-01-29 09:31 --- (In reply to comment #3) > int t1; > int t2; > > int * a = &t1; > int const * const & b = a; > > This does something different than you think. > It creates a temparory v

[Bug c++/26011] References to const pointers to const objects don't work as expected.

2006-01-28 Thread ciprian dot craciun at gmail dot com
--- Comment #2 from ciprian dot craciun at gmail dot com 2006-01-29 00:42 --- Created an attachment (id=10753) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10753&action=view) The original source code file that exemplifies the bug. -- http://gcc.gnu.org/bugzilla/show_

[Bug c++/26011] References to const pointers to const objects don't work as expected.

2006-01-28 Thread ciprian dot craciun at gmail dot com
--- Comment #1 from ciprian dot craciun at gmail dot com 2006-01-29 00:41 --- Created an attachment (id=10752) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10752&action=view) The preprocessed file that exemplifies the bug. -- http://gcc.gnu.org/bugzilla/show_bug

[Bug c++/26011] New: References to const pointers to const objects don't work as expected.

2006-01-28 Thread ciprian dot craciun at gmail dot com
To: unassigned at gcc dot gnu dot org ReportedBy: ciprian dot craciun at gmail dot com GCC build triplet: 4.0.3 GCC target triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26011