]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cfgexpand.c
re PR debug/41248 (VTA: Assertion at 2910 of cfgexpand.c (expand_debug_locations))
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 23 Sep 2009 16:29:38 +0000 (16:29 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Wed, 23 Sep 2009 16:29:38 +0000 (16:29 +0000)
commitdda2da581957d0c0614197a7f0021c95c707f005
treee387ca644e57ba37c6ba41648c7681b7f3ae5c2a
parentb646ba3f1c134c4fc22b000caff77725ccec1791
re PR debug/41248 (VTA: Assertion at 2910 of cfgexpand.c (expand_debug_locations))

gcc/ChangeLog:
PR debug/41248
* cfgexpand.c (convert_debug_memory_address): New.
(expand_debug_expr): Convert base address and offset to the same
mode.  Use it to convert addresses to other modes.  Accept
ptr_mode addresses.
gcc/testsuite/ChangeLog:
PR debug/41248
* gcc.dg/pr41248.c: New.

From-SVN: r152087
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr41248.c [new file with mode: 0644]