[Bug tree-optimization/38789] [4.4 Regression] __builtin_constant_p appears to evaluate to true for non-constant arguments.

2009-01-30 Thread hjl at gcc dot gnu dot org
--- Comment #12 from hjl at gcc dot gnu dot org 2009-01-30 17:47 --- Subject: Bug 38789 Author: hjl Date: Fri Jan 30 17:46:24 2009 New Revision: 143799 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143799 Log: 2009-01-30 H.J. Lu hongjiu...@intel.com Backport from

[Bug tree-optimization/38789] [4.4 Regression] __builtin_constant_p appears to evaluate to true for non-constant arguments.

2009-01-26 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2009-01-26 10:22 --- *** Bug 36359 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/38789] [4.4 Regression] __builtin_constant_p appears to evaluate to true for non-constant arguments.

2009-01-16 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2009-01-16 12:42 --- The correct testcase is IMHO: void baz (int v) { unsigned a = (v == 1) ? 1 : 2; if (__builtin_constant_p (a)) asm volatile (# constant %0 :: i (a)); else asm volatile (# register %0 :: r (a)); } For

[Bug tree-optimization/38789] [4.4 Regression] __builtin_constant_p appears to evaluate to true for non-constant arguments.

2009-01-16 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-01-16 12:49 --- Yes, it does. Going to bootstrap/regtest it now. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/38789] [4.4 Regression] __builtin_constant_p appears to evaluate to true for non-constant arguments.

2009-01-16 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2009-01-16 15:01 --- Subject: Bug 38789 Author: jakub Date: Fri Jan 16 15:01:24 2009 New Revision: 143435 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143435 Log: PR tree-optimization/38789 * tree-ssa-threadedge.c

[Bug tree-optimization/38789] [4.4 Regression] __builtin_constant_p appears to evaluate to true for non-constant arguments.

2009-01-16 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2009-01-16 15:02 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/38789] [4.4 Regression] __builtin_constant_p appears to evaluate to true for non-constant arguments.

2009-01-15 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38789