Search the web
Sign In
New User? Sign Up
gnu-m68hc11 · GNU 68HC11/HC12
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
unable to generate reloads   Message List  
Reply | Forward Message #9261 of 9422 |
This very simple program comes from the gcc testsuite in the gcc.c-torture folder.  When I compile it I get an error: unable to generate reloads.  This error is contingent on the -O.

-----------------
unsigned sat_add (unsigned i)
{
  unsigned ret = i + 1;
  if (ret < i)
    ret = i;
  return ret;
}

int main(void){;}


---------------


$ m6811-elf-gcc.exe  -O -minmax -mshort -m68hcs12 arith1.c
arith1.c: In function `sat_add':
arith1.c:7: error: unable to generate reloads for:
(insn 35 9 23 0 7972d0 (set (reg/v:HI 0 x [55])
        (umax:HI (reg/v:HI 0 x [55])
            (reg/v:HI 2 y [54]))) 45 {umaxhi3} (insn_list 9 (nil))
    (expr_list:REG_DEAD (reg/v:HI 2 y [54])
        (nil)))
arith1.c:7: internal compiler error: in find_reloads, at reload.c:3694
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


If you have any suggestions please let me know.  Thank you for your time!
-Ben


Thu Oct 9, 2008 6:35 pm

esromneb
Offline Offline
Send Email Send Email

Forward
Message #9261 of 9422 |
Expand Messages Author Sort by Date

This very simple program comes from the gcc testsuite in the gcc.c-torture folder. When I compile it I get an error: unable to generate reloads. This error...
Ben Morse
esromneb
Offline Send Email
Oct 9, 2008
6:36 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help