public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/31787]  New: bfin: Dreg expected for CLI. Input text was P0.
@ 2007-05-02 14:03 ralf_corsepius at rtems dot org
  2007-05-02 16:05 ` [Bug target/31787] " ralf_corsepius at rtems dot org
  2007-05-03  9:47 ` ralf_corsepius at rtems dot org
  0 siblings, 2 replies; 6+ messages in thread
From: ralf_corsepius at rtems dot org @ 2007-05-02 14:03 UTC (permalink / raw)
  To: gcc-bugs

Building RTEMS for the bfin using gcc-4.2.0-20070430 raises the following
error:

bfin-rtems4.8-gcc --pipe -DHAVE_CONFIG_H   -I.. -I../../lib/include
-D__RTEMS_INSIDE__  -Wall -fasm -g -O2 -MT src/librtems_a-eventsurrender.o -MD
-MP -MF src/.deps/librtems_a-eventsurrender.Tpo -c -o
src/librtems_a-eventsurrender.o `test -f 'src/eventsurrender.c' || echo
'../../../../../rtems.orig/cpukit/rtems/'`src/eventsurrender.c
{standard input}: Assembler messages:
{standard input}:31: Error: Dreg expected for CLI. Input text was P0.
{standard input}:83: Error: Dreg expected for STI. Input text was P0.
{standard input}:154: Error: Dreg expected for STI. Input text was P0.
{standard input}:173: Error: Dreg expected for STI. Input text was P0.
make: *** [src/librtems_a-eventsurrender.o] Error 1

Changing the optimization level to -O0 causes the error to vanish.


-- 
           Summary: bfin: Dreg expected for CLI. Input text was P0.
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ralf_corsepius at rtems dot org
GCC target triplet: bfin-rtems4.8


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


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

* [Bug target/31787] bfin: Dreg expected for CLI. Input text was P0.
  2007-05-02 14:03 [Bug target/31787] New: bfin: Dreg expected for CLI. Input text was P0 ralf_corsepius at rtems dot org
@ 2007-05-02 16:05 ` ralf_corsepius at rtems dot org
  2007-05-03  9:47 ` ralf_corsepius at rtems dot org
  1 sibling, 0 replies; 6+ messages in thread
From: ralf_corsepius at rtems dot org @ 2007-05-02 16:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ralf_corsepius at rtems dot org  2007-05-02 17:05 -------
I've been trying to attach the *.i of this breakdown, but creating attachments
seems to be broken right now. I am always receiving this:

undef error - Undefined subroutine Fh::slice at
data/template/template/en/default/global/hidden-fields.html.tmpl line 58


-- 

ralf_corsepius at rtems dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dberlin at gcc dot gnu dot
                   |                            |org


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


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

* [Bug target/31787] bfin: Dreg expected for CLI. Input text was P0.
  2007-05-02 14:03 [Bug target/31787] New: bfin: Dreg expected for CLI. Input text was P0 ralf_corsepius at rtems dot org
  2007-05-02 16:05 ` [Bug target/31787] " ralf_corsepius at rtems dot org
@ 2007-05-03  9:47 ` ralf_corsepius at rtems dot org
  1 sibling, 0 replies; 6+ messages in thread
From: ralf_corsepius at rtems dot org @ 2007-05-03  9:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ralf_corsepius at rtems dot org  2007-05-03 10:47 -------
Created an attachment (id=13503)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13503&action=view)
*.i of the breakdown above


-- 


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


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

* [Bug target/31787] bfin: Dreg expected for CLI. Input text was P0.
       [not found] <bug-31787-4@http.gcc.gnu.org/bugzilla/>
  2023-03-20 22:53 ` pinskia at gcc dot gnu.org
  2023-03-20 22:55 ` pinskia at gcc dot gnu.org
@ 2023-03-20 23:05 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-03-20 23:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in RTEMS by
https://devel.rtems.org/changeset/008171099d817f4745ab55a68121d5dba7b66181/rtems
.

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

* [Bug target/31787] bfin: Dreg expected for CLI. Input text was P0.
       [not found] <bug-31787-4@http.gcc.gnu.org/bugzilla/>
  2023-03-20 22:53 ` pinskia at gcc dot gnu.org
@ 2023-03-20 22:55 ` pinskia at gcc dot gnu.org
  2023-03-20 23:05 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-03-20 22:55 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(define_register_constraint "d" "DREGS"
  "A Rn register.")

Yes this is a bug in the inline-asm.

https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Machine-Constraints.html#Machine-Constraints

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

* [Bug target/31787] bfin: Dreg expected for CLI. Input text was P0.
       [not found] <bug-31787-4@http.gcc.gnu.org/bugzilla/>
@ 2023-03-20 22:53 ` pinskia at gcc dot gnu.org
  2023-03-20 22:55 ` pinskia at gcc dot gnu.org
  2023-03-20 23:05 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-03-20 22:53 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |inline-asm

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---

  do { { asm volatile ("cli %0 \n" : "=r" (level) ); }; asm volatile("" :::
"memory"); } while (0);

Hmm, this might not be a GCC bug ...

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

end of thread, other threads:[~2023-03-20 23:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-02 14:03 [Bug target/31787] New: bfin: Dreg expected for CLI. Input text was P0 ralf_corsepius at rtems dot org
2007-05-02 16:05 ` [Bug target/31787] " ralf_corsepius at rtems dot org
2007-05-03  9:47 ` ralf_corsepius at rtems dot org
     [not found] <bug-31787-4@http.gcc.gnu.org/bugzilla/>
2023-03-20 22:53 ` pinskia at gcc dot gnu.org
2023-03-20 22:55 ` pinskia at gcc dot gnu.org
2023-03-20 23:05 ` pinskia 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).