This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/14863] [3.4 regression] unit-at-a-time causes miscompilation
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2004 07:38:53 -0000
- Subject: [Bug rtl-optimization/14863] [3.4 regression] unit-at-a-time causes miscompilation
- References: <20040406114325.14863.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2004-06-02 07:38 -------
Subject: Re: [3.4 regression] unit-at-a-time
causes miscompilation
> Why gcc does not print 'warning: returning reference to temporary' in
> reverse_iterator::operator* () ?
>
> btw, this is from bits/stl_iterator.h:148:
> reference
> operator*() const
> {
> _Iterator __tmp = current;
> return *--__tmp;
> }
Pobably because its in a system header. Ugh.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14863