re PR tree-optimization/46076 (constant propagation and compile-time math no longer...
authorRichard Guenther <rguenther@suse.de>
Tue, 11 Jan 2011 17:01:37 +0000 (17:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 11 Jan 2011 17:01:37 +0000 (17:01 +0000)
commit1b248907583f1cf4e02ce4168ad35cf3fe7637ba
treead4d13dcea7597523744fdf9b6ed3615f537edce
parent403c753b6f6c7b3eba00b73686bf990e3dfedf1e
re PR tree-optimization/46076 (constant propagation and compile-time math no longer happening versus 4.4 and 4.5)

2011-01-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46076
* tree-ssa.c (useless_type_conversion_p): Conversions from
unprototyped to empty argument list function types are useless.

* gcc.dg/tree-ssa/pr46076.c: New testcase.

From-SVN: r168665
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr46076.c [new file with mode: 0644]
gcc/tree-ssa.c