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 middle-end/48461] [4.7 Regression] function.c:5268:1: error: emit_use_return_register_into_block defined but not used


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48461

vries at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from vries at gcc dot gnu.org 2011-04-05 16:01:17 UTC ---
The function emit_use_return_register_into_block is only used in code guarded
with HAVE_return, and therefore the definition of
emit_use_return_register_into_block should also be guarded with HAVE_return.

Failing to do this caused the error mentioned in the description field.

This is fixed by the check-in in comment 1.


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