This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33289] [4.2 Regression] __sprintf_chk etc. not DECL_ANTICIPATED
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2007 09:52:26 -0000
- Subject: [Bug c++/33289] [4.2 Regression] __sprintf_chk etc. not DECL_ANTICIPATED
- References: <bug-33289-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jakub at gcc dot gnu dot org 2007-09-25 09:52 -------
Subject: Bug 33289
Author: jakub
Date: Tue Sep 25 09:52:15 2007
New Revision: 128754
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128754
Log:
PR c++/33289
* decl.c (builtin_function_1): Set DECL_ANTICIPATED also
on __*_chk non-__builtin_* decls.
* g++.dg/eh/builtin4.C: New test.
Added:
branches/redhat/gcc-4_1-branch/gcc/testsuite/g++.dg/eh/builtin4.C
Modified:
branches/redhat/gcc-4_1-branch/gcc/cp/ChangeLog
branches/redhat/gcc-4_1-branch/gcc/cp/decl.c
branches/redhat/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33289