This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49471] cactusADM/dealII build with autopar fails on x86, and fails on power7 when -m32 is enabled.
- From: "spop at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Jul 2011 16:54:24 +0000
- Subject: [Bug tree-optimization/49471] cactusADM/dealII build with autopar fails on x86, and fails on power7 when -m32 is enabled.
- Auto-submitted: auto-generated
- References: <bug-49471-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49471
--- Comment #7 from Sebastian Pop <spop at gcc dot gnu.org> 2011-07-27 16:53:15 UTC ---
Author: spop
Date: Wed Jul 27 16:53:09 2011
New Revision: 176838
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176838
Log:
Fix PR49471: canonicalize_loop_ivs should not generate unsigned types.
2011-07-27 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/49471
* tree-ssa-loop-manip.c (canonicalize_loop_ivs): Build an unsigned
iv only when the largest type is unsigned. Do not call
lang_hooks.types.type_for_size.
* testsuite/libgomp.graphite/force-parallel-1.c: Un-xfail.
* testsuite/libgomp.graphite/force-parallel-2.c: Adjust pattern.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-loop-manip.c
trunk/libgomp/ChangeLog
trunk/libgomp/testsuite/libgomp.graphite/force-parallel-1.c
trunk/libgomp/testsuite/libgomp.graphite/force-parallel-2.c