This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/19885] [4.0/4.1 Regression] avr dwarf-2 support is broken for head 4.0/4.1
- From: "bjoern dot m dot haase at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2005 07:44:49 -0000
- Subject: [Bug debug/19885] [4.0/4.1 Regression] avr dwarf-2 support is broken for head 4.0/4.1
- References: <20050210232514.19885.bjoern.m.haase@web.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bjoern dot m dot haase at web dot de 2005-05-06 07:44 -------
It seems that when disabling two sanity checks, one again gets head to compile
also with dwarf2 support. The following patch might be a workaround until the
problem is solved by addressing it's roots.
Yours,
Björn
Index: simplify-rtx.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/simplify-rtx.c,v
retrieving revision 1.237
diff -u -r1.237 simplify-rtx.c
--- simplify-rtx.c 13 Apr 2005 19:47:28 -0000 1.237
+++ simplify-rtx.c 6 May 2005 07:41:08 -0000
@@ -3737,8 +3737,8 @@
gcc_assert (innermode != BLKmode);
gcc_assert (outermode != BLKmode);
- gcc_assert (GET_MODE (op) == innermode
- || GET_MODE (op) == VOIDmode);
+// gcc_assert (GET_MODE (op) == innermode
+// || GET_MODE (op) == VOIDmode);
gcc_assert ((byte % GET_MODE_SIZE (outermode)) == 0);
gcc_assert (byte < GET_MODE_SIZE (innermode));
Index: varasm.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/varasm.c,v
retrieving revision 1.498
diff -u -r1.498 varasm.c
--- varasm.c 13 Apr 2005 14:34:13 -0000 1.498
+++ varasm.c 6 May 2005 07:41:17 -0000
@@ -2212,7 +2212,7 @@
gcc_assert (!i);
}
- gcc_assert (!force);
+ //gcc_assert (!force);
return false;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19885