From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3065 invoked by alias); 10 Nov 2006 23:00:56 -0000 Received: (qmail 2958 invoked by uid 48); 10 Nov 2006 23:00:42 -0000 Date: Fri, 10 Nov 2006 23:00:00 -0000 Message-ID: <20061110230042.2957.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libmudflap/19319] Mudflap produce many violations on simple, correct c++ program In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ppluzhnikov at charter dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-11/txt/msg00925.txt.bz2 List-Id: ------- Comment #21 from ppluzhnikov at charter dot net 2006-11-10 23:00 ------- I was going to say the same thing, but p.van-hoof beat me to it. Here is another trivial test case that shows 1 violation: // Reduced from ex02-04.cpp from "STL Tutorial and Reference Guide" #include using namespace std; int main() { map directory; directory["Bogart"] = 1234567; directory["Bacall"] = 9876543; } The violation was reproduced with gcc-4.3-20061104 snapshot on linux-i686. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19319