From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22808 invoked by alias); 24 Dec 2003 21:12:08 -0000 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 Received: (qmail 22801 invoked by uid 48); 24 Dec 2003 21:12:08 -0000 Date: Wed, 24 Dec 2003 21:16:00 -0000 Message-ID: <20031224211208.22800.qmail@sources.redhat.com> From: "kazu at cs dot umass dot edu" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031218064547.13428.ken@realtronix.net> References: <20031218064547.13428.ken@realtronix.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/13428] gcc-avr doesn't work properly with __attribute__((__progmem__)) X-Bugzilla-Reason: CC X-SW-Source: 2003-12/txt/msg02577.txt.bz2 List-Id: ------- Additional Comments From kazu at cs dot umass dot edu 2003-12-24 21:12 ------- What is your compiler options? Could you explain the bug a little more and/or provide a shorter testcase? Does your testcase expose a bug even if you remove the first two strcpy_P? Which address is wrong? The destination or the source? What if you get 'i' from some function call instead of a for loop like so? i = baz (); strcpy_P(buf[i], Langs[i]); -- What |Removed |Added ---------------------------------------------------------------------------- CC| |kazu at cs dot umass dot edu Summary|gcc-avr doesn't work |gcc-avr doesn't work |properly with PGM string |properly with | |__attribute__((__progmem__)) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13428