From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8170 invoked by alias); 15 Feb 2007 09:40:56 -0000 Received: (qmail 7808 invoked by uid 48); 15 Feb 2007 09:40:34 -0000 Date: Thu, 15 Feb 2007 09:40:00 -0000 From: "mark at klomp dot org" To: frysk-bugzilla@sourceware.org Message-ID: <20070215094034.4048.mark@klomp.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/4048] New: fhpd cannot see volatile variables X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00386.txt.bz2 List-Id: When attaching to the following program you cannot print out i or j. Removing the volatile attribute makes them visable. #include static volatile int i; static volatile int j; int main (int argc, char *argv) { i = 0; printf("hello world\n"); while(1) { i++; j = i; j -= 1; } } -- Summary: fhpd cannot see volatile variables Product: frysk Version: unspecified Status: NEW Severity: normal Priority: P2 Component: general AssignedTo: frysk-bugzilla at sourceware dot org ReportedBy: mark at klomp dot org http://sourceware.org/bugzilla/show_bug.cgi?id=4048 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.