Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 21078
Product:  
Component:  
Status: RESOLVED
Resolution: DUPLICATE of bug 21080
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: Björn Haase <bjoern.m.haase@web.de>
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 21078 depends on: Show dependency tree
Show dependency graph
Bug 21078 blocks: 21080

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: Opened: 2005-04-17 22:32
Test case gcc.c-torture/excecute/20010122-1.c fails the execution tests for 
optimization levels -O1, -O2, -O3-g and -Os while passing for -O0. Tests were 
run with simulavr for the atmega128. 
 
I do not have a clear opinion about what is going wrong. The fact that the test 
passes for -O0 is reason for being suspicious, however. 
 
Yours, 
 
Björn

------- Comment #1 From Eric Weddington 2007-05-30 23:20 -------
Also fails -O0 in latest 4.3 HEAD:
http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg01434.html

but -O0 still passes in 4.2.1 20070525:
http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg01304.html

------- Comment #2 From Andy Hutchinson 2009-10-31 15:27 -------

*** This bug has been marked as a duplicate of 21080 ***

------- Comment #3 From Andy Hutchinson 2009-11-15 04:10 -------
Subject: Bug 21078

Author: hutchinsonandy
Date: Sun Nov 15 04:10:20 2009
New Revision: 154188

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154188
Log:
PR target/21078, 21080
* config/avr/avr.c (avr_return_addr_rtx): New function for
builtin_return_address.
(expand_prologue): Calculate stack usage.
(avr_asm_function_end_prologue): Output stack size and offset label.
* config/avr/avr.h (RETURN_ADDR_RTX): Replace.
(machine_function): Add stack_usage.
* config/avr/avr-protos.h (avr_return_addr_rtx): New function.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/avr/avr-protos.h
    trunk/gcc/config/avr/avr.c
    trunk/gcc/config/avr/avr.h

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug