[Bug tree-optimization/43529] G++ doesn't optimize away empty loop when index is a double

2010-06-04 Thread changpeng dot fang at amd dot com
--- Comment #2 from changpeng dot fang at amd dot com 2010-06-04 23:15 --- Interesting! What's the difference between 17 and 18? int main() { double i; for(i=0; i18; i+=1); /* gcc -O3, empty loop not removed */ } int main() { double i; for(i=0;

[Bug tree-optimization/43529] G++ doesn't optimize away empty loop when index is a double

2010-06-04 Thread changpeng dot fang at amd dot com
--- Comment #3 from changpeng dot fang at amd dot com 2010-06-04 23:29 --- (In reply to comment #2) Interesting! What's the difference between 17 and 18? int main() { double i; for(i=0; i18; i+=1); /* gcc -O3, empty loop not removed */ } The funny thing occurs

[Bug c++/44328] switch/case optimization produces an invalid lookup table index

2010-06-04 Thread eblot dot ml at gmail dot com
--- Comment #4 from eblot dot ml at gmail dot com 2010-06-04 23:41 --- (fixing up description) -- eblot dot ml at gmail dot com changed: What|Removed |Added

[Bug tree-optimization/43529] G++ doesn't optimize away empty loop when index is a double

2010-06-04 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-06-05 00:05 --- Interesting! What's the difference between 17 and 18? Exact representation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43529

[Bug bootstrap/44421] New: [4.6 Regression] Failed to bootstrap

2010-06-04 Thread hjl dot tools at gmail dot com
On Linux/ia64, revision 160300 gave: ../../src-trunk/gcc/df-problems.c: In function 'df_lr_bb_local_compute': ../../src-trunk/gcc/df-problems.c:906: error: incompatible type for argument 1 of 'bitmap_set_bit' ../../src-trunk/gcc/df-problems.c: In function 'df_byte_lr_bb_local_compute':

[Bug bootstrap/44421] [4.6 Regression] Failed to bootstrap

2010-06-04 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-06-05 00:39 --- It affects targets which define EH_USES: ia64/ia64.h:#define EH_USES(REGNO) ia64_eh_uses (REGNO) m32c/m32c.h:#define EH_USES(REGNO) 0 /* FIXME */ mips/mips.h:#define EH_USES(N) mips_eh_uses (N) -- hjl dot

[Bug bootstrap/44421] [4.6 Regression] Failed to bootstrap

2010-06-04 Thread hjl at gcc dot gnu dot org
--- Comment #2 from hjl at gcc dot gnu dot org 2010-06-05 00:49 --- Subject: Bug 44421 Author: hjl Date: Sat Jun 5 00:48:49 2010 New Revision: 160305 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=160305 Log: Update df_lr_bb_local_compute for embedded bitmaps. 2010-06-04 H.J.

<    1   2