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 c/49801] New: df_live_verify_transfer_functions fails with to use of CC_REGNUM and checking enabled in rx backend


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

           Summary: df_live_verify_transfer_functions fails with to use of
                    CC_REGNUM and checking enabled in rx backend
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Paulo.Matos@csr.com


Created attachment 24802
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24802
files resulting from -da -fdump-tree-all-all

Compiled the rx backend enough to get a cc1:

$ ../gcc-4.6.1/configure  --enable-languages=c --target=rx-linux-elf
--disable-libssp --disable-shared --disable-libquadmath --enable-checking=all
--prefix=$HOME/local/rx-gcc-461 && make -j5

...

<fails at libgcc>

$ cat shift.c 
unsigned long foo(unsigned int a, unsigned int b)
{
  if(a < b)
    return a << b;
  else
    return a >> b;
}

$ ~/tmp/rx-gcc461-build/gcc/cc1 -Os -da -fdump-tree-all-all shift.c 
 {GC 953k -> 896k} foo {GC 900k -> 899k}
Analyzing compilation unit
 {GC 1092k -> 959k} {GC 959k -> 959k}Performing interprocedural optimizations
 <*free_lang_data> {GC 959k -> 959k} {GC 959k -> 959k} {GC 959k -> 959k} {GC
959k -> 959k} {GC 959k -> 959k} {GC 959k -> 959k} <visibility> {GC 959k ->
959k} {GC 959k -> 959k} {GC 959k -> 959k} {GC 959k -> 959k} {GC 959k -> 959k}
{GC 959k -> 959k} <early_local_cleanups> {GC 959k -> 959k} {GC 959k -> 959k}
{GC 959k -> 959k} {GC 959k -> 959k} {GC 959k -> 959k} {GC 963k -> 963k} {GC
963k -> 963k} {GC 963k -> 963k} {GC 964k -> 963k} {GC 963k -> 963k} {GC 965k ->
963k} {GC 964k -> 963k} {GC 963k -> 963k} <emutls> {GC 963k -> 963k} {GC 963k
-> 963k} {GC 964k -> 963k} {GC 963k -> 963k} {GC 963k -> 963k} <whole-program>
{GC 963k -> 963k} {GC 963k -> 963k} {GC 963k -> 963k} {GC 963k -> 963k} {GC
963k -> 963k} {GC 963k -> 963k} <ipa-profile> {GC 963k -> 963k} {GC 963k ->
963k} {GC 963k -> 963k} {GC 963k -> 963k} {GC 963k -> 963k} <cp> {GC 963k ->
963k} {GC 963k -> 963k} {GC 963k -> 963k} {GC 963k -> 963k} {GC 963k -> 963k}
{GC 963k -> 963k} <inline> {GC 963k -> 963k} {GC 963k -> 963k} {GC 963k ->
963k} {GC 963k -> 963k} {GC 963k -> 963k} {GC 963k -> 963k} <pure-const> {GC
963k -> 963k} {GC 963k -> 963k} {GC 963k -> 963k} {GC 963k -> 963k} {GC 963k ->
963k} <static-var> {GC 963k -> 963k} {GC 963k -> 963k} {GC 963k -> 963k} {GC
963k -> 963k} {GC 963k -> 963k}Assembling functions:
 foo {GC 965k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k}
{GC 965k -> 965k} {GC 966k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k} {GC
968k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k} {GC 965k ->
965k} {GC 965k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k}
{GC 965k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k} {GC
967k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k} {GC 965k -> 965k} {GC 966k ->
966k} {GC 966k -> 966k} {GC 966k -> 966k} {GC 966k -> 966k} {GC 966k -> 965k}
{GC 972k -> 969k} {GC 969k -> 969k} {GC 970k -> 969k} {GC 969k -> 969k} {GC
969k -> 969k} {GC 969k -> 969k} {GC 974k -> 973k} {GC 973k -> 973k} {GC 973k ->
973k} {GC 973k -> 971k} {GC 971k -> 971k} {GC 972k -> 972k} {GC 972k -> 972k}
{GC 973k -> 972k} {GC 972k -> 972k} {GC 972k -> 972k} {GC 972k -> 972k} {GC
972k -> 972k} {GC 972k -> 972k} {GC 972k -> 972k} {GC 973k -> 972k} {GC 972k ->
972k} {GC 972k -> 972k} {GC 972k -> 972k} {GC 974k -> 972k} {GC 972k -> 972k}
shift.c: In function âfooâ:
shift.c:7:1: internal compiler error: in df_live_verify_transfer_functions, at
df-problems.c:1816
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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