Assignee: unassigned at gcc dot gnu.org
Reporter: daniel.oertwig at gmail dot com
Target: avr51
Created attachment 30450
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30450action=edit
Source code relating to the problem
Hi, I assume this to be a bug in how the compiler
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57813
--- Comment #1 from Daniel Oertwig daniel.oertwig at gmail dot com ---
Created attachment 30451
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30451action=edit
Disassembly of the relating parts (from *.elf file, i.e. after linking)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57813
--- Comment #2 from Daniel Oertwig daniel.oertwig at gmail dot com ---
Oh, I am compiling with:
CFLAGS :=
CFLAGS += -Os
CFLAGS += -funsigned-char
CFLAGS += -funsigned-bitfields
CFLAGS += -fpack-struct
CFLAGS += -fshort-enums
CFLAGS
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57813
Daniel Oertwig daniel.oertwig at gmail dot com changed:
What|Removed |Added
Status|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57813
--- Comment #5 from Daniel Oertwig daniel.oertwig at gmail dot com ---
(In reply to Andrew Pinski from comment #3)
taskInfo.ready[priority]-wakeTime = Task_enforceTimeslice(priority);
This is the same as:
(*taskInfo.ready[priority
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57813
--- Comment #8 from Daniel Oertwig daniel.oertwig at gmail dot com ---
Ok, so: Is this behaviour part of the language or a bug in gcc?
I could not find any documentation specifying that a sequence point should be
inbetween the (side-effect