diff options
author | Jie Zhang <jie.zhang@analog.com> | 2010-01-17 10:19:22 +0000 |
---|---|---|
committer | Jie Zhang <jiez@gcc.gnu.org> | 2010-01-17 10:19:22 +0000 |
commit | a90110c3df1c1408e0a68d22a71b705a78680f6d (patch) | |
tree | 812b8c4586dace657567c5fb483ad563bdda378c /gcc/dwarf2out.c | |
parent | 5eb7ce918115a8c994124a5d02f4e8b6392075fe (diff) | |
download | gcc-a90110c3df1c1408e0a68d22a71b705a78680f6d.zip gcc-a90110c3df1c1408e0a68d22a71b705a78680f6d.tar.gz gcc-a90110c3df1c1408e0a68d22a71b705a78680f6d.tar.bz2 |
re PR debug/42767 (ICE in mem_loc_descriptor)
PR debug/42767
* dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE
and US_TRUNCATE.
testsuite/
PR debug/42767
* gcc.dg/debug/pr42767.c: New.
From-SVN: r155974
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 02c0afd..11a4960 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -1,6 +1,6 @@ /* Output Dwarf2 format symbol table information from GCC. Copyright (C) 1992, 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, - 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. + 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Contributed by Gary Funck (gary@intrepid.com). Derived from DWARF 1 implementation of Ron Guilmette (rfg@monkeys.com). Extensively modified by Jason Merrill (jason@cygnus.com). @@ -13438,6 +13438,8 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode, /* In theory, we could implement the above. */ /* DWARF cannot represent the unsigned compare operations natively. */ + case SS_TRUNCATE: + case US_TRUNCATE: case SS_MULT: case US_MULT: case SS_DIV: |