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

            Bug ID: 114752
           Summary: AVR: internal compiler error. Unknown mode:
                    const_double:DF
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gjl at gcc dot gnu.org
  Target Milestone: ---

Inline asm does not accept 64-bit float constants:

void func (void)
{
    __asm ("; %0" :: "EF" (1.0L));
}


foo.c: In function 'func':
foo.c: error: internal compiler error.  Unknown mode:
      | }
      | ^
(const_double:DF 1.0e+0 [0x0.8p+1])
during RTL pass: final
foo.c:4:1: internal compiler error: in avr_print_operand, at
config/avr/avr.cc:3937

Reply via email to