From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14272 invoked by alias); 9 Jan 2010 23:27:21 -0000 Received: (qmail 14154 invoked by uid 48); 9 Jan 2010 23:27:11 -0000 Date: Sat, 09 Jan 2010 23:27:00 -0000 Message-ID: <20100109232711.14153.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/16634] arm-elf-gcc problems when generating code for __attribute__ ((interrupt ("IRQ"))) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ramana at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg01103.txt.bz2 ------- Comment #12 from ramana at gcc dot gnu dot org 2010-01-09 23:27 ------- The code generated on trunk, 4.4 and 4.3 with arm-eabi-gcc at O2 for the test in Comment #0 is int_handler: @ Interrupt Service Routine. @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 sub lr, lr, #4 stmfd sp!, {r0, r1, r2, r3, ip, lr} bl foo ldmfd sp!, {r0, r1, r2, r3, ip, pc}^ which appears to be the expected code generated. This appears to be fixed. If there is a problem please open a separate bug report. I tried the testcase in Comment #10 but that doesn't even compile . Attempting to reverse create a testcase using similar structs didn't show the problem. -- ramana at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Priority|P2 |P4 Resolution| |FIXED Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16634