program compiled with -ftrapv aborts in std::queue<>.size()

Falk Hueffner hueffner@informatik.uni-tuebingen.de
Sat Aug 28 03:01:00 GMT 2004


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



More information about the Gcc mailing list