[Bug c++/12627] v_arg with short and unsigned short seg faults.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 15 19:16:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12627
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-15 19:16 -------
From bug 10719:
Please read the response to Defect Report #109. This code only yields
undefined behavior if it is ever executed, and it might not be, so GCC
must not yield an error. To quote the response:
A conforming implementation must not fail to translate a strictly
conforming program simply because _some_ possible execution of that
program would result in undefined behavior.
http://std.dkuug.dk/JTC1/SC22/WG14/www/docs/dr_109.html
*** This bug has been marked as a duplicate of 10719 ***
More information about the Gcc-bugs
mailing list