: target
Assignee: unassigned at gcc dot gnu.org
Reporter: awygle at gmail dot com
Target Milestone: ---
Created attachment 37853
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37853&action=edit
A nearly minimal example of code producing the bug
When compiling msp4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70063
--- Comment #1 from Andrew Wygle ---
A quick correction - as my example above accidentally shows, compiling with
optimizations isn't a guarantee of avoiding this problem, it just sometimes
helps if the arguments are unused, as the optimizer will
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: awygle at gmail dot com
Target Milestone: ---
Because the interrupt attribute in the msp430 port creates a .word directive
inside of the generated assembly, thus:
test.c:
__attribute__
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70063
--- Comment #3 from Andrew Wygle ---
This appears to be fixed in GCC 6.1
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: awygle at gmail dot com
Target Milestone: ---
Enabling link-time optimization on the MSP430 causes any interrupt handlers
which are not called directly to be cheerfully eaten
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: awygle at gmail dot com
Target Milestone: ---
When compiling code for an MSP430 using large model (-mlarge) and any
optimization above 0, assigning the address of a global variable to
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: awygle at gmail dot com
Target Milestone: ---
The MS430 variable attribute "persistent" places variables in a special section
.persistent so that they will not be re-init
Version: 6.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: awygle at gmail dot com
Target Milestone: ---
On the msp430 target, when using -mcode-region with
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: awygle at gmail dot com
Target Milestone: ---
The following code (constructor_bug.i) produces an internal compiler error when
compiled for the msp430-elf target:
# 1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78818
--- Comment #1 from Andrew Wygle ---
Compiling with -mdata-region=either also causes this problem, with variables
ending up in either .either.data or .either.bss.
10 matches
Mail list logo