public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/114752] New: AVR: internal compiler error. Unknown mode: const_double:DF
@ 2024-04-17  8:22 gjl at gcc dot gnu.org
  2024-04-17  8:23 ` [Bug target/114752] " gjl at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2024-04-17  8:22 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/114752] AVR: internal compiler error. Unknown mode: const_double:DF
  2024-04-17  8:22 [Bug target/114752] New: AVR: internal compiler error. Unknown mode: const_double:DF gjl at gcc dot gnu.org
@ 2024-04-17  8:23 ` gjl at gcc dot gnu.org
  2024-04-17  8:39 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2024-04-17  8:23 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
           Keywords|                            |ice-on-valid-code
             Target|                            |avr

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/114752] AVR: internal compiler error. Unknown mode: const_double:DF
  2024-04-17  8:22 [Bug target/114752] New: AVR: internal compiler error. Unknown mode: const_double:DF gjl at gcc dot gnu.org
  2024-04-17  8:23 ` [Bug target/114752] " gjl at gcc dot gnu.org
@ 2024-04-17  8:39 ` cvs-commit at gcc dot gnu.org
  2024-04-17  9:10 ` cvs-commit at gcc dot gnu.org
  2024-04-17  9:12 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-17  8:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <gjl@gcc.gnu.org>:

https://gcc.gnu.org/g:909c6faf2c726178d115726e56304eac91cff6e9

commit r14-10003-g909c6faf2c726178d115726e56304eac91cff6e9
Author: Georg-Johann Lay <avr@gjlay.de>
Date:   Wed Apr 17 10:26:05 2024 +0200

    AVR: target/114752 - Fix ICE on inline asm const 64-bit float operand

    gcc/
            PR target/114752
            * config/avr/avr.cc (avr_print_operand) [CONST_DOUBLE_P]: Handle
DFmode.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/114752] AVR: internal compiler error. Unknown mode: const_double:DF
  2024-04-17  8:22 [Bug target/114752] New: AVR: internal compiler error. Unknown mode: const_double:DF gjl at gcc dot gnu.org
  2024-04-17  8:23 ` [Bug target/114752] " gjl at gcc dot gnu.org
  2024-04-17  8:39 ` cvs-commit at gcc dot gnu.org
@ 2024-04-17  9:10 ` cvs-commit at gcc dot gnu.org
  2024-04-17  9:12 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-17  9:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Georg-Johann Lay
<gjl@gcc.gnu.org>:

https://gcc.gnu.org/g:ca7d454804045a39d10a9b1f691a940aeacdf25b

commit r13-8616-gca7d454804045a39d10a9b1f691a940aeacdf25b
Author: Georg-Johann Lay <avr@gjlay.de>
Date:   Wed Apr 17 10:26:05 2024 +0200

    AVR: target/114752 - Fix ICE on inline asm const 64-bit float operand

    gcc/
            PR target/114752
            * config/avr/avr.cc (avr_print_operand) [CONST_DOUBLE_P]: Handle
DFmode.

    (cherry picked from commit 909c6faf2c726178d115726e56304eac91cff6e9)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/114752] AVR: internal compiler error. Unknown mode: const_double:DF
  2024-04-17  8:22 [Bug target/114752] New: AVR: internal compiler error. Unknown mode: const_double:DF gjl at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-04-17  9:10 ` cvs-commit at gcc dot gnu.org
@ 2024-04-17  9:12 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2024-04-17  9:12 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.3
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Fixed in v13.3+

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-17  9:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17  8:22 [Bug target/114752] New: AVR: internal compiler error. Unknown mode: const_double:DF gjl at gcc dot gnu.org
2024-04-17  8:23 ` [Bug target/114752] " gjl at gcc dot gnu.org
2024-04-17  8:39 ` cvs-commit at gcc dot gnu.org
2024-04-17  9:10 ` cvs-commit at gcc dot gnu.org
2024-04-17  9:12 ` gjl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).