This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/63360] New: Does not retore f31 at -O0 across function calls


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63360

            Bug ID: 63360
           Summary: Does not retore f31 at -O0 across function calls
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: camm at debian dot org

Created attachment 33551
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33551&action=edit
invert.c, invert.cpp, and invert.gdb gdb session

Register variable stored in f31 is stored on the stack, but not restored and
thus clobbered, after a function call.

Compiled with 

gcc -c -g  -Wall -fsigned-char -Wno-unused-but-set-variable -pipe -g -mlongcall


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]