[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] reproducable gcc error: unrecognizable insn
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] reproducable gcc error: unrecognizable insn |
Date: |
Tue, 10 Sep 2002 18:12:37 +0200 |
User-agent: |
Mutt/1.2.5i |
As Denis Chertykov wrote:
> > Unfortunately, gcc doesn't compile anymore for me when this fix has
> > been applied, regardless whether i use the source from current CVS
> > (which needs a hack in gcc/output.h in order to compile at all, as has
> > been discussed here), or whether i apply the patch to the sources from
> > 2002-09-01 which compiles cleanly without the patch.
>
> The fix:
>
> Index: avr.md
Thanks, that makes it compile again.
Do you perchance have an estimation whether someone's working on a fix
for the default_assemble_visibility problem? If not, can you perhaps
tell whether this ad-hoc workaround would do something harmful? (It
just moves the declaration of default_assemble_visibility() out of the
#ifdef TREE_CODE conditional.)
--- gcc/output.h.orig Mon Sep 9 11:49:00 2002
+++ gcc/output.h Tue Sep 10 11:07:19 2002
@@ -248,6 +248,8 @@
Prefixes such as % are optional. */
extern int decode_reg_name PARAMS ((const char *));
+extern void default_assemble_visibility PARAMS ((tree, const char *));
+
#ifdef TREE_CODE
/* Make the rtl for variable VAR be volatile.
Use this only for static variables. */
@@ -257,8 +259,6 @@
extern void assemble_constant_align PARAMS ((tree));
extern void assemble_alias PARAMS ((tree, tree));
-
-extern void default_assemble_visibility PARAMS ((tree, const char *));
/* Output a string of literal assembler code
for an `asm' keyword used between functions. */
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org