[Bug target/43404] ARM: Internal compiler error when using '&foo' in naked function

2015-08-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43404 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/43404] ARM: Internal compiler error when using '&foo' in naked function

2015-08-03 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43404 --- Comment #8 from Jeffrey A. Law --- Author: law Date: Mon Aug 3 19:34:31 2015 New Revision: 226528 URL: https://gcc.gnu.org/viewcvs?rev=226528&root=gcc&view=rev Log: PR middle-end/64744 PR middle-end/48470 PR middle-e

[Bug target/43404] ARM: Internal compiler error when using '&foo' in naked function

2010-05-20 Thread torsten at debian dot org
--- Comment #7 from torsten at debian dot org 2010-05-20 20:47 --- This also hit me. I wanted to build a simple data logger for an ARM board. Of course I wanted to give gcc 4.4 a go (I used a compiler from the 3.x series before...), combined with current FreeRTOS (from www.freertos.org).

[Bug target/43404] ARM: Internal compiler error when using '&foo' in naked function

2010-03-19 Thread marti at juffo dot org
--- Comment #6 from marti at juffo dot org 2010-03-19 14:46 --- (In reply to comment #5) > I think the compiler should throw an error if there are any statements in the > naked function other than asm statements. This would break a lot of code; there are use cases where you want to save

[Bug target/43404] ARM: Internal compiler error when using '&foo' in naked function

2010-03-19 Thread rearnsha at gcc dot gnu dot org
--- Comment #5 from rearnsha at gcc dot gnu dot org 2010-03-19 13:27 --- I think the compiler should throw an error if there are any statements in the naked function other than asm statements. All such asms should be treated as volatile. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug target/43404] ARM: Internal compiler error when using '&foo' in naked function

2010-03-19 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2010-03-19 12:04 --- Yes - haven't thought about it much, maybe the backend could give an error if a frame were allocated for a naked function rather than ICE'ing in an awkward place. -- ramana at gcc dot gnu dot org changed:

[Bug target/43404] ARM: Internal compiler error when using '&foo' in naked function

2010-03-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-03-18 17:39 --- Then it should produce an error and not an internal compiler error. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/43404] ARM: Internal compiler error when using '&foo' in naked function

2010-03-18 Thread rearnsha at gcc dot gnu dot org
--- Comment #2 from rearnsha at gcc dot gnu dot org 2010-03-18 17:37 --- Native functions aren't expected to work with a 'C' body. -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added