[Bug c++/28349] [4.0/4.1/4.2 regression] ICE with "undefined" va_arg and references

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 30 04:33:00 GMT 2006



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-08-30 04:33 -------
Subject: Bug 28349

Author: pinskia
Date: Wed Aug 30 04:33:10 2006
New Revision: 116577

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116577
Log:
2006-08-29  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/28349
        * testsuite/g++.dg/warn/var-args1.C: New test.
2006-08-29  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28349
        * call.c (build_x_va_arg): Remove the reference type
        from the type before creating the pointer type.


Added:
    trunk/gcc/testsuite/g++.dg/warn/var-args1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28349



More information about the Gcc-bugs mailing list