This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: program compiled with -ftrapv aborts in std::queue<>.size()
- From: Falk Hueffner <hueffner at informatik dot uni-tuebingen dot de>
- To: Mathieu Malaterre <mathieu dot malaterre at kitware dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 28 Aug 2004 00:49:25 +0200
- Subject: Re: program compiled with -ftrapv aborts in std::queue<>.size()
- References: <412FB89D.8030401@kitware.com>
Mathieu Malaterre <mathieu.malaterre@kitware.com> writes:
> I tried to compile one of my program using -ftrapv but it
> fails on std::vector<>.size()
>
> Looking on the web I found:
>
> http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg01623.html
>
> Is this fix somewhere ? Does the code works on any gcc flavor
> ? If yes which one ?
See http://gcc.gnu.org/PR1823
--
Falk