public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/33138]  New: [4.3 Regression] rejects valid? assembler, segfaults
@ 2007-08-21 15:32 tbm at cyrius dot com
  2007-08-21 15:33 ` [Bug target/33138] " tbm at cyrius dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2007-08-21 15:32 UTC (permalink / raw)
  To: gcc-bugs

There are two issues here:
 - the inline assembly is rejected at -O.  I don't know if the assembler
   code is valid, but fwiw it's accepted by gcc 4.1 and 4.2.
 - gcc segfaults.

I see this with current trunk and with trunk from 20070720.


(sid)27576:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O
samhain-sh_tiger1_64.c
samhain-sh_tiger1_64.c: In function 'tiger_compress':
samhain-sh_tiger1_64.c:12: error: can't find a register in class 'GENERAL_REGS'
while reloading 'asm'
samhain-sh_tiger1_64.c:12: error: 'asm' operand has impossible constraints
samhain-sh_tiger1_64.c: In function 'tiger_t':
samhain-sh_tiger1_64.c:23: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
zsh: exit 1     /usr/lib/gcc-snapshot/bin/gcc -c -O samhain-sh_tiger1_64.c
(sid)27577:tbm@em64t: ~] gcc-4.1 -c -O samhain-sh_tiger1_64.c
(sid)27578:tbm@em64t: ~] gcc-4.2 -c -O samhain-sh_tiger1_64.c
(sid)27579:tbm@em64t: ~]


-- 
           Summary: [4.3 Regression] rejects valid? assembler, segfaults
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


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


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

end of thread, other threads:[~2007-10-10  7:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-21 15:32 [Bug target/33138] New: [4.3 Regression] rejects valid? assembler, segfaults tbm at cyrius dot com
2007-08-21 15:33 ` [Bug target/33138] " tbm at cyrius dot com
2007-08-21 15:33 ` tbm at cyrius dot com
2007-08-28 23:57 ` pinskia at gcc dot gnu dot org
2007-09-05  2:17 ` mmitchel at gcc dot gnu dot org
2007-09-05 15:42 ` jakub at gcc dot gnu dot org
2007-09-05 18:39 ` tbm at cyrius dot com
2007-10-09 14:58 ` rguenth at gcc dot gnu dot org
2007-10-10  7:35 ` tbm at cyrius dot com

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).