[Bug target/54716] Select best typed instruction for bitwise operations

2012-11-10 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54716 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/55266] New: vector expansion: 36 movs for 4 adds

2012-11-10 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55266 Bug #: 55266 Summary: vector expansion: 36 movs for 4 adds Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug target/53101] Recognize casts to sub-vectors

2012-11-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53101 --- Comment #6 from Marc Glisse glisse at gcc dot gnu.org 2012-11-11 22:18:13 UTC --- PR 48037 seems related (it was the scalar case).

[Bug tree-optimization/55281] [4.8 Regression] ICE in build_int_cst_wide, at tree.c:1217 (with Ofast, ok with O3)

2012-11-12 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55281 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2012-11-12 16:18:52 UTC --- (In reply to comment #1) [ Using ?: with a vector condition ] I was surprised only C++ handles this and not C BTW. Sorry, I didn't have time to do

[Bug tree-optimization/55281] [4.8 Regression] ICE in build_int_cst_wide, at tree.c:1217 (with Ofast, ok with O3)

2012-11-12 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55281 --- Comment #7 from Marc Glisse glisse at gcc dot gnu.org 2012-11-12 16:39:27 UTC --- (In reply to comment #6) I'm just testing that, so I know it doesn't have side-effects. I meant: instead of testing, so the optimization still occurs

[Bug middle-end/55266] vector expansion: 36 movs for 4 adds

2012-11-13 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55266 --- Comment #1 from Marc Glisse glisse at gcc dot gnu.org 2012-11-13 10:23:03 UTC --- The first copy is PR 52436. The second copy has a patch posted here: http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00900.html The last copy would

[Bug middle-end/53024] Support vector_size that is not a power of 2

2012-11-16 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53024 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Component|c |middle-end

[Bug middle-end/55359] New: [4.8 Regression] ICE in simplify_subreg accessing an unaligned subvector

2012-11-16 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55359 Bug #: 55359 Summary: [4.8 Regression] ICE in simplify_subreg accessing an unaligned subvector Classification: Unclassified Product: gcc Version: 4.8.0

[Bug middle-end/53024] Support vector_size that is not a power of 2

2012-11-16 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53024 --- Comment #6 from Marc Glisse glisse at gcc dot gnu.org 2012-11-16 20:03:05 UTC --- (In reply to comment #5) I don't think we can ever support vector size of non power 2 size. I don't think we *will* ever support them (too much work

[Bug target/53101] Recognize casts to sub-vectors

2012-11-16 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53101 --- Comment #7 from Marc Glisse glisse at gcc dot gnu.org 2012-11-16 23:03:47 UTC --- Created attachment 28713 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28713 Tweak on the patch of PR48037 This is a slight extension

[Bug c++/55382] Constant class member as alignment specifier

2012-11-18 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55382 --- Comment #1 from Marc Glisse glisse at gcc dot gnu.org 2012-11-18 22:13:37 UTC --- Seems related to PR 53017.

[Bug tree-optimization/54471] [4.8 Regression] FAIL: gcc.dg/sms-8.c execution test

2012-11-21 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54471 --- Comment #9 from Marc Glisse glisse at gcc dot gnu.org 2012-11-21 17:18:47 UTC --- Jakub, your patch makes sense to me (or min0.is_zero() and min1.is_zero()). I am ashamed I managed to get products with [0,n] (with n larger than MAX/2

[Bug c++/55425] constexpr does not work in many situations (both built-in and user supplied literals)

2012-11-21 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55425 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug c++/41233] Templated conversion operator produces symbol name that won't demangle

2012-11-26 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41233 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug c++/53094] vector literal

2012-11-26 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53094 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug middle-end/55001] Handle VEC_COND_EXPR better in tree-vect-generic.c

2012-11-27 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55001 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2012-11-27 23:52:58 UTC --- (In reply to comment #4) Can this be considered fixed? Not completely. It doesn't fail anymore (so I marked PR55167 as fixed), but for architectures

[Bug middle-end/55266] vector expansion: 36 movs for 4 adds

2012-11-28 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55266 --- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2012-11-28 10:11:31 UTC --- Author: glisse Date: Wed Nov 28 10:11:27 2012 New Revision: 193884 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193884 Log: 2012-11-28 Marc

[Bug c++/53094] vector literal

2012-11-28 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53094 --- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2012-11-28 17:25:51 UTC --- Created attachment 28820 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28820 Incomplete patch Slightly ridiculous: with this patch, v+v still

[Bug c++/53094] vector literal

2012-11-28 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53094 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Attachment #28820|0 |1

[Bug c++/53094] vector literal

2012-11-28 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53094 --- Comment #4 from Marc Glisse glisse at gcc dot gnu.org 2012-11-28 21:52:54 UTC --- Handling subscripts will be harder. Currently, v[1] is turned into ((const long*)v)[1]. But (const long*)v doesn't work as a constant expression. So we

[Bug c++/53094] vector literal

2012-11-29 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53094 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2012-11-29 15:40:27 UTC --- Author: glisse Date: Thu Nov 29 15:40:16 2012 New Revision: 193938 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193938 Log: 2012-11-29 Marc

[Bug c++/53094] constexpr vector subscripting

2012-11-29 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53094 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Summary|vector literal |constexpr

[Bug tree-optimization/54855] Unnecessary duplication when performing scalar operation on vector element

2012-11-29 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54855 --- Comment #7 from Marc Glisse glisse at gcc dot gnu.org 2012-11-30 01:31:25 UTC --- Created attachment 28832 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28832 simplify-rtx patch With the patch, this code takes a single

[Bug rtl-optimization/55549] New: zero_extend and vectors

2012-11-30 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55549 Bug #: 55549 Summary: zero_extend and vectors Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement Priority:

[Bug tree-optimization/45216] Rotate expressions not recognized at tree level

2012-12-01 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45216 --- Comment #8 from Marc Glisse glisse at gcc dot gnu.org 2012-12-01 08:51:12 UTC --- (In reply to comment #7) unsigned long rotate_left(unsigned long a, unsigned int shift) { return a shift | a (sizeof(a) * 8 - shift

[Bug target/50829] avx extra copy for _mm256_insertf128_pd

2012-12-01 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50829 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug middle-end/50713] SLP vs loop: code generated differs (SLP less efficient)

2012-12-01 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50713 --- Comment #8 from Marc Glisse glisse at gcc dot gnu.org 2012-12-01 16:54:08 UTC --- (In reply to comment #5) We seem to do better now. I see essentially the same code for the vector and loop versions. The main issue left is for dfma8

[Bug target/50829] avx extra copy for _mm256_insertf128_pd

2012-12-01 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50829 --- Comment #10 from Marc Glisse glisse at gcc dot gnu.org 2012-12-01 19:50:28 UTC --- Created attachment 28846 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28846 Use subreg Hmm, I don't understand why we use UNSPEC_CAST. I tried

[Bug target/44551] [missed optimization] AVX vextractf128 after vinsertf128

2012-12-01 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44551 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug c++/55573] [4.8 Regression] ICE in adjust_temp_type, at cp/semantics.c:6454

2012-12-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55573 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2012-12-03 13:38:19 UTC --- Thanks Jakub, each time I introduce a regression, you fix it before I even have time to read the PR :-) I haven't looked into it yet, but would

[Bug c++/53094] constexpr vector subscripting

2012-12-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53094 --- Comment #8 from Marc Glisse glisse at gcc dot gnu.org 2012-12-03 14:53:52 UTC --- (In reply to comment #7) typedef float __attribute__( ( vector_size( 4*sizeof(float) ) ) ) V4; constexpr V4 build(float x,float y, float z) { return (V4){x,y

[Bug c++/53094] constexpr vector subscripting

2012-12-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53094 --- Comment #10 from Marc Glisse glisse at gcc dot gnu.org 2012-12-03 19:52:39 UTC --- Created attachment 28864 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28864 minimal cumulative patch for comment #9 (In reply to comment #9

[Bug c++/53094] constexpr vector subscripting

2012-12-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53094 --- Comment #13 from Marc Glisse glisse at gcc dot gnu.org 2012-12-03 22:30:53 UTC --- typedef float __attribute__( ( vector_size( 4*sizeof(float) ) ) ) V4; constexpr V4 v = {1,1,1,0}; constexpr V4 r = v[0]+v; is enough to reproduce

[Bug target/55583] Extended shift instruction on x86-64 is not used, producing unoptimal code

2012-12-04 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55583 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug c++/55576] Fails to compile a call to template member function

2012-12-04 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2012-12-04 10:47:38 UTC --- For the example of comment #3, clang compiles it happily, and comeau gives this message: ComeauTest.c, line 12: error: type name is not allowed

[Bug c/15376] shift and modulo operators not usable for integral vector types

2012-12-04 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15376 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/27109] Simplify a - 10 150 into a 160 when range of a is known (in VRP or somewhere else)

2012-12-04 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27109 --- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2012-12-04 18:48:27 UTC --- This seems to be well handled in reassoc1 now: Optimizing range tests a_2(D) -[0, 99] and +[0, 200] and -[10, 160] into a_2(D) + 4294967135 = 39

[Bug target/53435] (ix86_expand_vec_perm) and (ix86_expand_vec_perm) do not pass arguments to avx2_permvar8s[f,i] correctly

2012-12-04 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53435 --- Comment #6 from Marc Glisse glisse at gcc dot gnu.org 2012-12-04 19:18:26 UTC --- Can we close this one?

[Bug rtl-optimization/55611] New: Operand swapping for commutative operators

2012-12-06 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55611 Bug #: 55611 Summary: Operand swapping for commutative operators Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement

[Bug c++/55619] [4.8 Regression] Chromium build fails with: error: memory input is not directly addressable

2012-12-08 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55619 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2012-12-08 08:49:35 UTC --- Indeed I got it down to this code, which fails just the same with an int instead of a vector. I didn't know it was forbidden to pass constants with the m

[Bug other/53313] Add warning levels

2012-12-08 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53313 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2012-12-08 17:59:31 UTC --- Created attachment 28901 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28901 -Weverything A very basic implementation of -Weverything (I don't

[Bug tree-optimization/55645] skipping unlike branch in vectorized loops using movmsk or equivalent

2012-12-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55645 --- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2012-12-11 10:03:27 UTC --- (In reply to comment #0) // possible syntax void compute() { for (int i=0;i!=1024;++i) { if likely(a[i]b[i]) // very often c[i]=a[i]+b

[Bug c++/53094] constexpr vector subscripting

2012-12-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53094 --- Comment #14 from Marc Glisse glisse at gcc dot gnu.org 2012-12-11 20:20:34 UTC --- Author: glisse Date: Tue Dec 11 20:20:23 2012 New Revision: 194421 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194421 Log: 2012-12-11 Marc

[Bug rtl-optimization/55611] Operand swapping for commutative operators

2012-12-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55611 --- Comment #1 from Marc Glisse glisse at gcc dot gnu.org 2012-12-11 22:12:01 UTC --- Created attachment 28931 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28931 Use tree code to determine the canonical order In this patch, I

[Bug libstdc++/55713] std::tupleElementType incorrectly is convertible to ElementType when it is an empty class

2012-12-16 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55713 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug c++/55726] assignment of a scalar to a vector

2012-12-18 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55726 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC|marc.glisse at ens dot fr |glisse

[Bug c++/55726] assignment of a scalar to a vector

2012-12-22 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55726 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2012-12-22 08:57:14 UTC --- (In reply to comment #4) templatetypename Float inline Float atan(Float t) { constexpr float PIO4F = 0.7853981633974483096f; constexpr Float zero = {0

[Bug tree-optimization/55796] New: Comparison with a negated number vs sum

2012-12-23 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55796 Bug #: 55796 Summary: Comparison with a negated number vs sum Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords:

[Bug target/55803] New: SSE2 double negation less efficient than explicit xor

2012-12-24 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55803 Bug #: 55803 Summary: SSE2 double negation less efficient than explicit xor Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords:

[Bug target/55803] SSE2 double negation less efficient than explicit xor

2012-12-24 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55803 --- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2012-12-24 18:37:47 UTC --- (In reply to comment #1) movsd reads 64bit value from memory, but xorps reads 128bit value. True. If the size of the memory read is more important

[Bug tree-optimization/55812] New: Unnecessary TLS accesses

2012-12-26 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55812 Bug #: 55812 Summary: Unnecessary TLS accesses Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug tree-optimization/55812] Unnecessary TLS accesses

2012-12-26 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55812 --- Comment #1 from Marc Glisse glisse at gcc dot gnu.org 2012-12-26 15:43:50 UTC --- More precisely, the following seems equivalent to me and gets back all the performance, so it would be good if gcc could turn the original code

[Bug tree-optimization/55812] thread_local with either a ctor or dtor causes a function call every time through a loop

2012-12-27 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55812 --- Comment #4 from Marc Glisse glisse at gcc dot gnu.org 2012-12-27 09:38:15 UTC --- (In reply to comment #3) I think Jason had proposed an attribute for these function calls but it was rejected IIRC. http://gcc.gnu.org/ml/gcc/2012

[Bug middle-end/55832] [4.8 Regression] ICE in fold_convert_loc, at fold-const.c:1967

2012-12-31 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55832 --- Comment #4 from Marc Glisse glisse at gcc dot gnu.org 2013-01-01 03:15:46 UTC --- (In reply to comment #2) 0x6fa26f fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) ../../gcc/fold-const.c:13522

[Bug c++/55842] C++11 ICE with boost multi-precision and boost variant

2013-01-01 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55842 --- Comment #3 from Marc Glisse glisse at gcc dot gnu.org 2013-01-01 18:30:52 UTC --- template class=void struct number { number() noexcept(noexcept(0)) { } }; const int z=__has_nothrow_constructor(number);

[Bug c++/55843] New: ICE after exceeding template instantiation depth

2013-01-01 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55843 Bug #: 55843 Summary: ICE after exceeding template instantiation depth Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords:

[Bug middle-end/55832] [4.8 Regression] ICE in fold_convert_loc, at fold-const.c:1967

2013-01-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55832 --- Comment #6 from Marc Glisse glisse at gcc dot gnu.org 2013-01-03 08:56:47 UTC --- (In reply to comment #5) I've slightly adjusted the testcase, so that it at least doesn't violate strict aliasing, unfortunately without

[Bug tree-optimization/55860] New: Turn segmented iteration into nested loops

2013-01-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55860 Bug #: 55860 Summary: Turn segmented iteration into nested loops Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords:

[Bug bootstrap/50177] libcpp reallocator a C or C++ function?

2013-01-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50177 --- Comment #1 from Marc Glisse glisse at gcc dot gnu.org 2013-01-03 20:06:57 UTC --- Author: glisse Date: Thu Jan 3 20:06:49 2013 New Revision: 194868 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194868 Log: 2013-01-03 Marc

[Bug bootstrap/50167] gmp memory functions are extern C (graphite)

2013-01-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50167 --- Comment #3 from Marc Glisse glisse at gcc dot gnu.org 2013-01-03 20:06:56 UTC --- Author: glisse Date: Thu Jan 3 20:06:49 2013 New Revision: 194868 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194868 Log: 2013-01-03 Marc

[Bug bootstrap/50167] gmp memory functions are extern C (graphite)

2013-01-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50167 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug bootstrap/50177] libcpp reallocator a C or C++ function?

2013-01-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50177 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/55894] New: No constant propagation in Intel intrinsics

2013-01-07 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55894 Bug #: 55894 Summary: No constant propagation in Intel intrinsics Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug target/55894] No constant propagation in Intel intrinsics

2013-01-07 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55894 --- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2013-01-07 13:48:17 UTC --- (In reply to comment #1) Usually target built-in folders are missing (targetm.fold_builtin). That's one possibility. But I was wondering (and almost

[Bug target/55894] No constant propagation in Intel intrinsics

2013-01-07 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55894 --- Comment #4 from Marc Glisse glisse at gcc dot gnu.org 2013-01-07 20:17:15 UTC --- Two more versions: __m128d f(){ union { long long t[2]; __m128d d; } a = {{ 0x7fff, 0x7fff }}; return a.d

[Bug tree-optimization/55760] scalar code non using rsqrtss and rcpss

2013-01-08 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55760 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug tree-optimization/55912] missing optimization of x/x and x/std::abs(x)

2013-01-09 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55912 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug fortran/55916] Alignment issues with real(16) on i686

2013-01-09 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55916 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug web/32927] Online installation instructions only for mainline

2013-01-10 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32927 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2013-01-10 13:08:43 UTC --- This has caused quite a bit of confusion lately with people installing ISL instead of PPL for gcc-4.7.

[Bug target/55941] New: [4.8 Regression] Strange copy of double (in struct) to stack

2013-01-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55941 Bug #: 55941 Summary: [4.8 Regression] Strange copy of double (in struct) to stack Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug rtl-optimization/55950] New: Invalid sqrt constant propagation with -frounding-mode

2013-01-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55950 Bug #: 55950 Summary: Invalid sqrt constant propagation with -frounding-mode Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity:

[Bug target/55953] hand loop faster then builtin memset

2013-01-12 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55953 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2013-01-12 11:16:01 UTC --- See this patch: http://gcc.gnu.org/ml/gcc-patches/2011-12/msg00336.html (the thread continues in earlier and later months)

[Bug tree-optimization/55955] [4.8 Regression] ICE in optab_for_tree_code, at optabs.c:402

2013-01-12 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55955 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c/19820] How to get results from a V2SF ?

2013-01-13 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19820 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/19820] How to get results from a V2SF ?

2013-01-13 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19820 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|NEW

[Bug c/55967] rightshift an unsigned value (X) by it's number of bits does not always yield 0, when X is an unsigned that's leftshifted by it's number of bits and offset

2013-01-15 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55967 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2013-01-15 16:38:36 UTC --- Note that clang has -fsanitize=shift which produces a runtime message every time a is executed with an out of bounds argument.

[Bug c++/55993] [C++11] derived-to-base conversion fails in constant expression

2013-01-15 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993 --- Comment #7 from Marc Glisse glisse at gcc dot gnu.org 2013-01-15 19:34:17 UTC --- struct A {}; struct B:A {}; struct C:A {}; struct D:B,C {}; constexpr D d; constexpr const C e=d; // OK constexpr auto f=static_castconst C(d

[Bug c++/55993] [C++11] derived-to-base conversion fails in constant expression

2013-01-15 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993 --- Comment #8 from Marc Glisse glisse at gcc dot gnu.org 2013-01-15 19:38:46 UTC --- (In reply to comment #7) e.cc:9:41: error: the value of 'd' is not usable in a constant expression constexpr auto g=static_castconst B(d); // FAIL

[Bug libstdc++/55043] [4.7 Regression] issue with nesting unordered_map containing unique_ptr into vector

2013-01-16 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55043 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug target/56027] New: ldmxcsr permuted with asm

2013-01-18 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027 Bug #: 56027 Summary: ldmxcsr permuted with asm Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/56027] ldmxcsr permuted with asm

2013-01-18 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027 --- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2013-01-18 11:14:53 UTC --- (In reply to comment #1) I think you want a pass-thru: #define opaque(x) __asm volatile (# x : =g (x) : 0 (x)) (opaque returns a value in my

[Bug target/56027] ldmxcsr permuted with asm

2013-01-18 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027 --- Comment #4 from Marc Glisse glisse at gcc dot gnu.org 2013-01-18 12:08:52 UTC --- (In reply to comment #3) I am mostly wondering what guarantees I have there won't be re-ordering. *mxcsr are unspec_volatile and thus can commute

[Bug target/56027] ldmxcsr permuted with asm

2013-01-18 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug c/56051] Wrong expression evaluation

2013-01-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug tree-optimization/56051] Wrong expression evaluation

2013-01-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 --- Comment #4 from Marc Glisse glisse at gcc dot gnu.org 2013-01-20 18:09:40 UTC --- (In reply to comment #3) Untested fix. As the testcase shows, also a widening conversion can be a problem, if it extends from signed integral type

[Bug tree-optimization/56051] Wrong expression evaluation

2013-01-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 --- Comment #6 from Marc Glisse glisse at gcc dot gnu.org 2013-01-20 20:17:31 UTC --- (In reply to comment #5) Yeah, I'm afraid assuming you never do 1 31 is going to break simply way too much code in the wild. I noticed that clang

[Bug middle-end/56077] volatile ignored when function inlined

2013-01-22 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 --- Comment #3 from Marc Glisse glisse at gcc dot gnu.org 2013-01-22 23:13:44 UTC --- (In reply to comment #1) I thought I fixed this already via PR54494 Did you check? It looks like I can reproduce the issue with trunk from last week

[Bug libstdc++/56085] New: Unsafe negation in C++03 pow(complex,int)

2013-01-23 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56085 Bug #: 56085 Summary: Unsafe negation in C++03 pow(complex,int) Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug c/56083] Vectorizer uses xor/movlps/movhps rather than movups

2013-01-23 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56083 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug c++/56084] poor error recovery for missing ;

2013-01-23 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56084 --- Comment #6 from Marc Glisse glisse at gcc dot gnu.org 2013-01-23 17:17:53 UTC --- (In reply to comment #5) Of course, the color output makes much easier to spot the note:. Er, not here, bold black (the color they chose for note

[Bug libstdc++/56103] New: Overwrite classes on destruction for debug

2013-01-25 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56103 Bug #: 56103 Summary: Overwrite classes on destruction for debug Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement

[Bug libstdc++/56106] New: complex pow improvements

2013-01-25 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56106 Bug #: 56106 Summary: complex pow improvements Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/56111] {float,double} complex not accepted by g++-4.8 anymore

2013-01-25 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56111 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse

[Bug libstdc++/56111] {float,double,long double} complex not accepted anymore

2013-01-26 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56111 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Component|c++ |libstdc

[Bug libstdc++/56111] {float,double,long double} complex not accepted anymore

2013-01-26 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56111 --- Comment #6 from Marc Glisse glisse at gcc dot gnu.org 2013-01-26 11:35:52 UTC --- (In reply to comment #5) Ok, I understand. Looks like, however, we are back to my original observation in PR54112 that in C++03 mode we have less

[Bug tree-optimization/56118] New: No constant propagation in vector field assignment

2013-01-26 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56118 Bug #: 56118 Summary: No constant propagation in vector field assignment Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/56118] No constant propagation in vector field assignment

2013-01-26 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56118 --- Comment #1 from Marc Glisse glisse at gcc dot gnu.org 2013-01-26 17:57:13 UTC --- Note that the case I am most interested in is actually when r is not initialized: __m128d r; gimple_assign real_cst, BIT_FIELD_REF r, 64, 0, 1.0e

[Bug middle-end/56120] built-in SIMD with statement expression causes ICE: in iterative_hash_expr, at tree.c:6990 when optimization is on

2013-01-27 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56120 --- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2013-01-27 09:56:12 UTC --- I see it with 4.7, but not with trunk, it may already be fixed there.

[Bug tree-optimization/56125] -O2 -ffast-math generates bad code when dividing a double by the square of another double.

2013-01-27 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56125 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug tree-optimization/56125] [4.7/4.8 Regression] -O2 -ffast-math generates bad code when dividing a double by the square of another double.

2013-01-27 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56125 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Summary|-O2 -ffast-math generates |[4.7/4.8

  1   2   3   4   5   6   7   8   9   10   >