[Bug ada/45003] VTA issues with sign/zero extension and debug temporaries

2010-07-20 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-07-20 12:58 --- Subject: Bug 45003 Author: jakub Date: Tue Jul 20 12:58:03 2010 New Revision: 162336 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162336 Log: PR debug/45003 * cfgexpand.c (expand_debug_expr)

[Bug ada/45003] VTA issues with sign/zero extension and debug temporaries

2010-07-20 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-07-20 10:42 --- Created an attachment (id=21259) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21259&action=view) gcc46-pr45003.patch Here is a fix for the first issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45003

[Bug ada/45003] VTA issues with sign/zero extension and debug temporaries

2010-07-20 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-07-20 10:40 --- /* PR debug/45003 */ /* { dg-do run { target { x86_64-*-* && lp64 } } } */ /* { dg-options "-g" } */ int __attribute__((noinline)) foo (unsigned short *p) { int a = *p; asm volatile ("nop" : : "D" ((int) *p)); a