[Bug treelang/55412] New: pr47276.c fails with -fpic option.

2012-11-20 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55412 Bug #: 55412 Summary: pr47276.c fails with -fpic option. Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug treelang/55412] pr47276.c fails with -fpic option.

2012-11-20 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55412 --- Comment #2 from Alexander Ivchenko aivchenk at gmail dot com 2012-11-21 07:46:20 UTC --- Created attachment 28751 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28751 Simple reproducer

[Bug treelang/55412] pr47276.c fails with -fpic option.

2012-11-20 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55412 --- Comment #3 from Alexander Ivchenko aivchenk at gmail dot com 2012-11-21 07:48:23 UTC --- I tried to narrow down the problem and changed the test a little bit. (The relative order of declarations remains the same; Just grouped

[Bug target/55816] New: Options from command line are added to target arch attribute eventhough they are in contradiction with that target

2012-12-27 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55816 Bug #: 55816 Summary: Options from command line are added to target arch attribute eventhough they are in contradiction with that target Classification: Unclassified

[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2013-10-10 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525 --- Comment #3 from Alexander Ivchenko aivchenk at gmail dot com --- thanks. I have sent it to gcc-paches: http://gcc.gnu.org/ml/gcc-patches/2013-10/msg00402.html

[Bug regression/59086] New: error: ‘asm’ operand has impossible constraints

2013-11-12 Thread aivchenk at gmail dot com
: regression Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com Android image build with trunk gcc failed after the following commit: Author: hubicka hubicka@138bc75d-0d04-0410-961f-82ee72b054a4 Date: Thu Oct 3 17:25:42 2013 + * i386.c

[Bug rtl-optimization/59086] [4.9 Regression] error: ‘asm’ operand has impossible constraints

2013-11-24 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59086 --- Comment #5 from Alexander Ivchenko aivchenk at gmail dot com --- I understand the technical reasons of the complexity of the correct and efficient register allocation here, but what I don't understand is this: $ gcc_4.7 test.c -c -fPIC

[Bug rtl-optimization/59086] [4.9 Regression] error: ‘asm’ operand has impossible constraints

2013-12-04 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59086 --- Comment #7 from Alexander Ivchenko aivchenk at gmail dot com --- Do we have any documentation that states how many registers can be used in inline assembler for a particular arch and optset? almost all is not good enough for that. If the user

[Bug ipa/59226] [4.9 Regression] ICE: in record_target_from_binfo, at ipa-devirt.c:661

2013-12-06 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59226 Alexander Ivchenko aivchenk at gmail dot com changed: What|Removed |Added CC||aivchenk

[Bug ipa/59226] [4.9 Regression] ICE: in record_target_from_binfo, at ipa-devirt.c:661

2013-12-17 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59226 --- Comment #10 from Alexander Ivchenko aivchenk at gmail dot com --- Patch from comment #7 didn't cure Android build as well..

[Bug ipa/59226] [4.9 Regression] ICE: in record_target_from_binfo, at ipa-devirt.c:661

2013-12-17 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59226 --- Comment #12 from Alexander Ivchenko aivchenk at gmail dot com --- (In reply to Markus Trippelsdorf from comment #11) (In reply to Alexander Ivchenko from comment #10) Patch from comment #7 didn't cure Android build as well.. Can you try

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

2012-05-21 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53435 Bug #: 53435 Summary: (ix86_expand_vec_perm) and (ix86_expand_vec_perm) do not pass arguments to avx2_permvar8s[f,i] correctly Classification: Unclassified Product: gcc Version:

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

2012-05-21 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53435 --- Comment #1 from Alexander Ivchenko aivchenk at gmail dot com 2012-05-21 11:46:35 UTC --- Created attachment 27460 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27460 proposed patch for fixing

[Bug tree-optimization/57385] New: [tree-ssa] Possible segfault in fully_constant_vn_reference_p

2013-05-23 Thread aivchenk at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com CC: aivchenk at gmail dot com The following code crashes android ndk gcc-4.6 on 64 bit windows with segfault on at least -O1: int c

[Bug tree-optimization/57385] [tree-ssa] Possible segfault in fully_constant_vn_reference_p

2013-05-23 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57385 --- Comment #1 from Alexander Ivchenko aivchenk at gmail dot com --- Following fix could solve the problem: diff --git a/gcc-4.6/gcc/tree-ssa-sccvn.c b/gcc-4.6/gcc/tree-ssa-sccvn.c index eb88969..704a86c 100644 --- a/gcc-4.6/gcc/tree-ssa-sccvn.c

[Bug tree-optimization/57385] [tree-ssa] Possible segfault in fully_constant_vn_reference_p

2013-05-23 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57385 --- Comment #3 from Alexander Ivchenko aivchenk at gmail dot com --- Testing is in progress, will send to gcc-patches rigth after that.

[Bug tree-optimization/57385] [tree-ssa] Possible segfault in fully_constant_vn_reference_p

2013-05-24 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57385 --- Comment #4 from Alexander Ivchenko aivchenk at gmail dot com --- Bootstrapped and tested on x86_64 linux, sent to gcc-patches. http://patchwork.ozlabs.org/patch/246036/

[Bug tree-optimization/57385] [tree-ssa] Possible segfault in fully_constant_vn_reference_p

2013-05-24 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57385 --- Comment #5 from Alexander Ivchenko aivchenk at gmail dot com --- btw it indeed gives a segfault for 4.7 on linux_64 if we change the index from -1 to some -1. g++ .../src/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr57385.c -O1 -S -o pr57385.s

[Bug tree-optimization/57385] [tree-ssa] Possible segfault in fully_constant_vn_reference_p

2013-05-24 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57385 --- Comment #6 from Alexander Ivchenko aivchenk at gmail dot com --- On Fri, May 24, 2013 at 1:15 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: Ok for trunk and 4.8 after 4.8.1 is out. Checked in to trunk: http://gcc.gnu.org/ml/gcc-cvs

[Bug regression/58165] New: [4.8/4.9 regression] internal compiler error: verify_flow_info

2013-08-15 Thread aivchenk at gmail dot com
Priority: P3 Component: regression Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com extern C { float sqrtf(float); } class V { public: double length2 () const {} double length () const { return sqrtf(length2()); } V

[Bug regression/58165] [4.8/4.9 regression] internal compiler error: verify_flow_info

2013-08-15 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58165 --- Comment #4 from Alexander Ivchenko aivchenk at gmail dot com --- I firstly did something like that: diff --git a/gcc/tree-call-cdce.c b/gcc/tree-call-cdce.c index 9b6186e..5862ebf 100644 --- a/gcc/tree-call-cdce.c +++ b/gcc/tree-call-cdce.c

[Bug regression/58165] [4.8/4.9 regression] internal compiler error: verify_flow_info

2013-08-15 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58165 --- Comment #7 from Alexander Ivchenko aivchenk at gmail dot com --- Well, that wouldn't be sufficient, you'd need to also remove the EH edges from the other bb. But not splitting the block means you don't have to bother with that. Well

[Bug c++/58201] New: [g++] Undefined reference to `B::B(void const**)'

2013-08-20 Thread aivchenk at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com Testcase: ABC.h- class A { protected: A(); virtual ~A(); }; class B : virtual public A { public: B(); virtual ~B(); }; class C { private: class C2 : public B { public

[Bug bootstrap/58242] [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux

2013-09-05 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58242 --- Comment #3 from Alexander Ivchenko aivchenk at gmail dot com --- Should be fixed now by r202274

[Bug c++/58525] New: __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2013-09-25 Thread aivchenk at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com When I compile the following code (modified version of g++.dg/cpp0x/bad_array_new1.C without try/catch): // { dg-options -std=c++11 } // { dg-do run } #include

[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2013-09-25 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525 --- Comment #1 from Alexander Ivchenko aivchenk at gmail dot com --- Created attachment 30891 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30891action=edit Proposed untested fix Proposed untested fix is attached

[Bug tree-optimization/62053] [4.10 Regression] ICE: in remap_type_1, at tree-inline.c:540

2014-08-08 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62053 Alexander Ivchenko aivchenk at gmail dot com changed: What|Removed |Added CC||aivchenk

[Bug tree-optimization/62053] [5 Regression] ICE: in remap_type_1, at tree-inline.c:540

2014-09-09 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62053 --- Comment #3 from Alexander Ivchenko aivchenk at gmail dot com --- Jan, by any chance, do you have any progress on that? May be we should revert the patch until the proper fix?

[Bug tree-optimization/62053] [5 Regression] ICE: in remap_type_1, at tree-inline.c:540

2014-10-08 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62053 --- Comment #5 from Alexander Ivchenko aivchenk at gmail dot com --- Ping.. any updates? We cannot build Android since the beginning of Jul, and, hence, cannot evaluate 5.0 candidate for it. I find it very unfortunate

[Bug tree-optimization/62053] [5 Regression] ICE: in remap_type_1, at tree-inline.c:540

2014-10-14 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62053 --- Comment #7 from Alexander Ivchenko aivchenk at gmail dot com --- The patch fixed the issue for me, thanks!

[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2014-01-08 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525 --- Comment #6 from Alexander Ivchenko aivchenk at gmail dot com --- (In reply to Volker Reichelt from comment #5) Alexander, Jason, can this bug be closed as fixed? Yes, it is fixed now in trunk.

[Bug target/59789] New: [4.9 Regression] ICE in in convert_move, at expr.c:333

2014-01-13 Thread aivchenk at gmail dot com
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com Android build is currently broken due to this bug: gcc expr_ice.c -c -O2 -fPIC -m32 -march=i686 expr_ice.c:9:13: internal compiler error: in convert_move, at expr.c:333 __m128i bar

[Bug target/59789] [4.9 Regression] ICE in in convert_move, at expr.c:333

2014-01-13 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59789 --- Comment #2 from Alexander Ivchenko aivchenk at gmail dot com --- lets just say that my code is valid and I forgot to add -msse2 :). (In reply to H.J. Lu from comment #1) The code is invalid since -march=i686 doesn't support SSE. The older

[Bug tree-optimization/59789] [4.9 Regression] ICE in in convert_move, at expr.c:333

2014-01-13 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59789 --- Comment #7 from Alexander Ivchenko aivchenk at gmail dot com --- (In reply to H.J. Lu from comment #3) (In reply to Alexander Ivchenko from comment #2) lets just say that my code is valid and I forgot to add -msse2 :). Does GCC ICE

[Bug bootstrap/60634] New: [4.9] Build x86_64-unknown-linux-gnu with --disable-libstdc__-v3 is broken

2014-03-24 Thread aivchenk at gmail dot com
: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com Build of x86_64-unknown-linux-gnu with --disable-libstdc__-v3 is broken now: $ ../gcc_mainline/configure --disable-bootstrap --disable-libstdc__

[Bug bootstrap/60634] [4.9] Build x86_64-unknown-linux-gnu with --disable-libstdc__-v3 is broken

2014-03-24 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60634 --- Comment #2 from Alexander Ivchenko aivchenk at gmail dot com --- (In reply to Jakub Jelinek from comment #1) What is it useful for to configure gcc that way? The stdc++ library is built and shipped separately from the compiler. And, both

[Bug bootstrap/60644] New: [4.9 Regression] Build of i686-pc-linux-android is broken

2014-03-25 Thread aivchenk at gmail dot com
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com ../gcc_mainline/configure --target=i686-linux-android --disable-bootstrap --enable-languages=c,c++ --with-sysroot=[..]ndk/android-ndk-r9d/platforms/android-19

[Bug bootstrap/60644] [4.9 Regression] Build of i686-pc-linux-android is broken

2014-03-25 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60644 --- Comment #4 from Alexander Ivchenko aivchenk at gmail dot com --- That (In reply to Andrew Pinski from comment #2) Well pthread_yield should be replaced with the POSIX version: sched_yield() instead. Right.. the attached patch cured

[Bug bootstrap/60644] [4.9 Regression] Build of i686-pc-linux-android is broken

2014-03-25 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60644 --- Comment #3 from Alexander Ivchenko aivchenk at gmail dot com --- Created attachment 32443 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32443action=edit Renaming ANDROID to __ANDROID__

[Bug bootstrap/60644] [4.9 Regression] Build of i686-pc-linux-android is broken

2014-03-31 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60644 --- Comment #7 from Alexander Ivchenko aivchenk at gmail dot com --- The fix in gcc-patches: http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01428.html

[Bug bootstrap/60644] [4.9/4.10 Regression] Build of i686-pc-linux-android is broken

2014-04-14 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60644 --- Comment #9 from Alexander Ivchenko aivchenk at gmail dot com --- Confirm fixing

[Bug tree-optimization/63915] New: gomp/pr60823-2.c:31:1: error: dead STMT in EH table

2014-11-17 Thread aivchenk at gmail dot com
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com g++ gcc/testsuite/c-c++-common/gomp/pr60823-2.c -O1 -fopenmp-simd -fPIC -m32 gcc/testsuite/c-c++-common/gomp/pr60823-2.c: In function ‘int main()’: gcc/testsuite/c-c++-common/gomp

[Bug tree-optimization/64277] New: [4.9/5.0 Regression] Incorrect warning array subscript is above array bounds

2014-12-11 Thread aivchenk at gmail dot com
: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com cat test.c void foo(short a[], short m

[Bug tree-optimization/64277] [4.9/5.0 Regression] Incorrect warning array subscript is above array bounds

2014-12-23 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64277 --- Comment #3 from Alexander Ivchenko aivchenk at gmail dot com --- You need to specify -mssse3 (not -msse3). Warning about array bounds is not correct, because gcc does not know how this function is being called.

[Bug libstdc++/65118] New: Android target build is broken with guard.cc:36:22: fatal error: syscall.h: No such file or directory

2015-02-19 Thread aivchenk at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com configured with: /users/aivchenk/toolchain_3/gcc/gcc-5.0/libstdc++-v3/configure - --enable-multilib --with-cross-host

[Bug target/77267] New: MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)

2016-08-16 Thread aivchenk at gmail dot com
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com Target Milestone: --- When compiling with -Wl,-as-needed libmpx.so and libmpxwrappers.so are not linked: >gcc -fcheck-pointer

[Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)

2016-09-19 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267 --- Comment #8 from Alexander Ivchenko --- Thanks, Matthias, that's a valid point about changing linker on a runtime. In my defense, I see that right now MPX does not work with '-fuse-ld=bfd' anyways: >gcc test.c -fcheck-pointer-bounds -mmpx

[Bug middle-end/77383] -fcheck-pointer-bounds -mmpx ICE with VLA struct return type

2016-11-15 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77383 --- Comment #2 from Alexander Ivchenko --- I debugged it and I suspect that the problem is in tree_function_versioning (which is used for making instrumented clones of all functions in MPX). Deep inside the logic of tree_function_versioning we

[Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)

2016-10-10 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267 --- Comment #9 from Alexander Ivchenko --- Looks like exactly the same discussion happened when '-z bndplt' option was discussed. Here is the reference: https://patchwork.ozlabs.org/patch/456557/ . It's a long one, but seems that the consensus

[Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)

2016-10-10 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267 --- Comment #10 from Alexander Ivchenko --- Matthias, could you apply the fix for that bug (https://gcc.gnu.org/viewcvs?rev=240057=gcc=rev) to the Ubuntu version of gcc?

[Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)

2016-12-02 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267 Alexander Ivchenko changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/65530] [meta-bug] -mmpx -fcheck-pointer-bounds failures

2016-12-02 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65530 Bug 65530 depends on bug 77267, which changed state. Bug 77267 Summary: MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267 What|Removed

[Bug middle-end/68270] [MPX] Common pattern for variable sized data clashes with MPX bound checks

2016-12-27 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68270 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com

[Bug target/65705] ICE: SIGSEGV in contains_struct_check with -fsanitize=null -fcheck-pointer-bounds

2016-12-27 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65705 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com

[Bug target/78631] [Intel MPX] libmpxwrappers shared library leads to a non-bounds-preserving memcpy()

2016-12-27 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com

[Bug middle-end/63994] Ada bootstrap fails with -fcheck-pointer-bounds -mmpx

2016-12-26 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63994 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com

[Bug other/67520] libmpx should abort() instead of exit(255) on bound violation detection

2016-12-26 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67520 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com

[Bug rtl-optimization/80173] New: ICE in store_bit_field_1, at expmed.c:787

2017-03-24 Thread aivchenk at gmail dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com Target Milestone: --- > cat ../struct_asm.c /* { dg-do compile } */ typedef int v8 __attribute__ ((vector_size(8))); struct U { v8 a; v8 b; }; int foo (int i) { register struct

[Bug middle-end/79990] [CHKP] ICE in expand_expr_addr_expr_1, at expr.c:7790

2017-03-23 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79990 --- Comment #2 from Alexander Ivchenko --- I proposed a fix for this: https://gcc.gnu.org/ml/gcc-patches/2017-03/msg01222.html

[Bug tree-optimization/80270] New: ICE in extract_bit_field_1 at gcc/expmed.c:1798

2017-03-31 Thread aivchenk at gmail dot com
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com Target Milestone: --- > cat struct_hard_reg.c #include typedef int v8 __attribute__((vector_size(8))); struct S1 { v8 s1f; }; struct S2 { struct S1 s2f1; v8 s2f2; }; v

[Bug middle-end/79788] ICE in expand_expr_real_2, at expr.c:9557

2017-04-05 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79788 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com

[Bug ipa/79765] [CHKP] ICE in create_target_clone in multiple_target.c:211

2017-04-21 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79765 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com

[Bug middle-end/80270] ICE in extract_bit_field_1 at gcc/expmed.c:1798

2017-04-19 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80270 --- Comment #2 from Alexander Ivchenko --- Another test that fails similarly, but already at "-O0": typedef int v8 __attribute__ ((vector_size (8))); struct S2 { v8 s2f2; int* f3; }; int foo (int i) { register struct S2 b asm ("xmm0");

[Bug middle-end/79990] [CHKP] ICE in expand_expr_addr_expr_1, at expr.c:7790

2017-03-21 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79990 --- Comment #1 from Alexander Ivchenko --- The problem here is that chkp creates bounds for register variable: vsdump.c.025t.chkp: Building bounds for address of decl u Made bounds: __bound_tmp.0_4 =

[Bug target/79634] ICE in expand_builtin_with_bounds, at builtins.c:7490

2017-05-11 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79634 --- Comment #3 from Alexander Ivchenko --- The problem here is that when CHKP is instrumenting call statement "i();" it doesn't know that it's a builtin call. When optimizations come into play, namely ccp pass, it becomes known that the call is

[Bug ipa/79787] ICE in remove_unreachable_nodes, at ipa.c:469

2017-05-11 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79787 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com

[Bug target/79634] ICE in expand_builtin_with_bounds, at builtins.c:7490

2017-05-11 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79634 --- Comment #5 from Alexander Ivchenko --- (In reply to Ilya Enkovich from comment #4) > We hit function pointer propagation issues before and chkp_redirect_edge > with corresponding code in redirect_call_stmt_to_callee appeared to handle >

[Bug fortran/79929] [7/8 Regression] Bogus Warning: '__builtin_memset': specified size 4294967291 exceeds maximum object size 2147483647

2017-05-09 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com

[Bug target/85595] New: __atomic_is_lock_free(sizeof(unsigned long long), ) returns true on i686

2018-05-01 Thread aivchenk at gmail dot com
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: aivchenk at gmail dot com Target Milestone: --- in gcc __atomic_is_lock_free(sizeof(unsigned long long), ) returns true (in clang it is left as a call) int main

[Bug libstdc++/65118] Android target build is broken with "guard.cc:36:22: fatal error: syscall.h: No such file or directory"

2020-12-15 Thread aivchenk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65118 --- Comment #3 from Alexander Ivchenko --- I'm afraid I don't have an ability to reproduce it anymore. As nobody complained over the years, I think it makes sense to close it