[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-08 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #14 from Mathieu Malaterre --- @Richard I've uploaded the generated *.ii files (-save-temps), as discussed with upstream: * https://github.com/google/highway/issues/776#issuecomment-1177864014 I do not know the codebase very well

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-08 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #13 from Mathieu Malaterre --- Created attachment 53277 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53277&action=edit gcc-12 -save-temps

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-08 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 Mathieu Malaterre changed: What|Removed |Added Attachment #53271|0 |1 is obsolete|

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-07 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #10 from Mathieu Malaterre --- I did upload the bad (gcc-11) and the good (gcc-12) object files. Not sure if this is what was expected. In any case let me know if you want to provide more info. % gdb -batch -ex "disassemble/rs _ZN3

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-07 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #9 from Mathieu Malaterre --- Created attachment 53271 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53271&action=edit object files compiled using gcc or gcc12

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-05 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #8 from Mathieu Malaterre --- (In reply to Jan Wassenberg from comment #7) > The easiest way to reduce the amount of code in the binary is to comment out > from mul_test.cc all the HWY_EXPORT_AND_TEST_P except the one with > TestAllM

[Bug target/106187] armhf: Miscompilation at all optimization levels

2022-07-05 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #6 from Mathieu Malaterre --- (In reply to Andrew Pinski from comment #5) > Does it work with -fstrict-aliasing ? Yes with and without valgrind I can reproduce the assert. > Does adding -fsanitize=address report anything? When I u

[Bug c++/106187] armhf: Miscompilation at all optimization levels

2022-07-04 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #3 from Mathieu Malaterre --- > I can trigger an assertion in highway unit test suite on armhf when using -O2 > (does not happen at -O0). The above sentence is wrong, I can make the symptoms go away using: CXXFLAGS=-fsanitize=unde

[Bug c++/106187] armhf: Miscompilation with -O2

2022-07-04 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #2 from Mathieu Malaterre --- g++-10 seems affected: % g++-10 --version g++-10 (Debian 10.4.0-1) 10.4.0

[Bug c++/106187] armhf: Miscompilation with -O2

2022-07-04 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #1 from Mathieu Malaterre --- Ok it seems to be working ok using: % g++-12 --version g++-12 (Debian 12.1.0-5) 12.1.0

[Bug c++/106187] New: armhf: Miscompilation with -O2

2022-07-04 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Target Milestone: --- I can trigger an assertion in highway unit test suite on armhf when using -O2 (does not happen at -O0). Symptoms: % tests/mul_test "--gtest_filter=HwyMulTest

[Bug tree-optimization/102466] -O3 -fsanitize=undefined causes warnings (writing 2 bytes into a region of size 0)

2022-03-29 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102466 --- Comment #4 from Mathieu Malaterre --- I can reproduce it using -Wall -fsanitize=undefined -O2 * https://github.com/malaterre/PublicRep/tree/master/gcc/libjxl

[Bug tree-optimization/102466] -O3 -fsanitize=undefined causes warnings (writing 2 bytes into a region of size 0)

2022-03-29 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102466 Mathieu Malaterre changed: What|Removed |Added CC||mathieu.malaterre at gmail dot com

[Bug target/104363] hppa: __asm__ directive .global and multiple .symver not supported

2022-02-22 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104363 Mathieu Malaterre changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/104363] hppa: __asm__ directive .global and multiple .symver not supported

2022-02-07 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104363 --- Comment #9 from Mathieu Malaterre --- (In reply to Andrew Pinski from comment #5) > (In reply to Mathieu Malaterre from comment #2) > > I've downgraded binutils to version from bullseye, and I am getting the > > exact same symptoms: > > Did

[Bug target/104363] hppa: __asm__ directive .global and multiple .symver not supported

2022-02-07 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104363 --- Comment #8 from Mathieu Malaterre --- Dear John, (In reply to John David Anglin from comment #6) > For context, see: > https://github.com/smuellerDD/libkcapi/issues/133#issuecomment-1024349323 > > Note that the following commit fixes the s

[Bug target/104363] hppa: __asm__ directive .global and multiple .symver not supported

2022-02-03 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104363 --- Comment #3 from Mathieu Malaterre --- Original description states: > Steps using gcc-10 (Debian/buster): This is a typo, it should states: > Steps using gcc-10 (Debian/bullseye):

[Bug target/104363] hppa: __asm__ directive .global and multiple .symver not supported

2022-02-03 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104363 --- Comment #2 from Mathieu Malaterre --- I've downgraded binutils to version from bullseye, and I am getting the exact same symptoms: ``` libtool: link: ( cd ".libs" && rm -f "libkcapi.la" && ln -s "../libkcapi.la" "libkcapi.la" ) /bin/bash ./

[Bug c/104363] New: hppa: __asm__ directive .global and multiple .symver not supported

2022-02-03 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Target Milestone: --- It looks like there is a regression on gcc/11 branch on hppa. Steps using gcc-10 (Debian/buster): % sudo apt-get install g

[Bug driver/104248] armel: C11 atomics requires to be linked with libatomic.a explicitly

2022-01-26 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104248 --- Comment #3 from Mathieu Malaterre --- @Andreas the specific issue I am raising is the difference between the approach of riscv vs armel. The riscv team is taking the responsability for putting the missing `-latomic`, while armel expect the u

[Bug c/104248] armel: C11 atomics requires to be linked with libatomic.a explicitly

2022-01-26 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104248 --- Comment #1 from Mathieu Malaterre --- In case that help, cmake instructions for the test case is: ``` project(p C) set(CMAKE_C_STANDARD 11) add_library(foo STATIC foo.c) add_executable(prog prog.c) target_link_libraries(prog foo) ```

[Bug c/104248] New: armel: C11 atomics requires to be linked with libatomic.a explicitly

2022-01-26 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Target Milestone: --- Consider the following c11 code (lib + executable): ``` :: foo.c :: _Atomic(long long) ll; int foo

[Bug c++/103629] Possible miscompilation triggered by pthread + exception

2021-12-10 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 --- Comment #9 from Mathieu Malaterre --- Compiling the reduce test case without pthread lead to some kind of exception: ``` (gdb) bt full #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49 set = {__val = {0 , 824

[Bug c++/103629] Possible miscompilation triggered by -fvisibility=hidden

2021-12-10 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 --- Comment #8 from Mathieu Malaterre --- % more CMakeLists.txt main.cc Module.cc openvdb.cc Tree.h :: CMakeLists.txt :: cmake_minimum_required(VERSION 3.13) project(p) # only export limited set of symbols set(CMAKE_C_V

[Bug c++/103629] Possible miscompilation triggered by -fvisibility=hidden

2021-12-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 --- Comment #7 from Mathieu Malaterre --- (In reply to Andrew Pinski from comment #6) > (In reply to Mathieu Malaterre from comment #5) > > (In reply to Andrew Pinski from comment #4) > > > (In reply to Mathieu Malaterre from comment #3) > > > >

[Bug c++/103629] Possible miscompilation triggered by -fvisibility=hidden

2021-12-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 --- Comment #5 from Mathieu Malaterre --- (In reply to Andrew Pinski from comment #4) > (In reply to Mathieu Malaterre from comment #3) > > $ export CXXFLAGS=-fvisibility=hidden > > Yes you can't just use -fvisibility=hidden without the source

[Bug c++/103629] Possible miscompilation triggered by -fvisibility=hidden

2021-12-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 --- Comment #3 from Mathieu Malaterre --- Steps to reproduce without a full Debian environement: ``` $ wget http://deb.debian.org/debian/pool/main/o/openvdb/openvdb_8.1.0.orig.tar.xz $ tar xf openvdb_8.1.0.orig.tar.xz $ cd openvdb-8.1.0 $ mkdir

[Bug c++/103629] New: Possible miscompilation triggered by -fvisibility=hidden

2021-12-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Target Milestone: --- Executive summary: --- ``` % LD_LIBRARY_PATH=./openvdb/openvdb ./openvdb/openvdb/cmd/vdb_view zsh: segmentation fault

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-11-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 103159, which changed state. Bug 103159 Summary: Some -Wuninitialized warnings still depend on optimization level - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103159 What|Removed |Add

[Bug c++/103159] Some -Wuninitialized warnings still depend on optimization level -

2021-11-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103159 Mathieu Malaterre changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/103159] -Wuninitialized should not depend on optimization level

2021-11-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103159 --- Comment #3 from Mathieu Malaterre --- Please note that the documentation currently does not detail the need/impact of optimization for this flag: * https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wuninitialized Maybe just upd

[Bug c++/103159] -Wuninitialized should not depend on optimization level

2021-11-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103159 --- Comment #1 from Mathieu Malaterre --- Just to be sure, here is the actual command I had been starring at for a while: ``` % g++ -o undef -fsanitize=undefined -Wuninitialized undef.cxx && ./undef 21845 ``` Maybe I got confused with `-fsanit

[Bug c++/103159] New: -Wuninitialized should not depend on optimization level

2021-11-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Target Milestone: --- Consider the following: ``` % cat undef.cxx #include class C { int I; public: int getI() { return I; } }; int main

[Bug web/103077] New: This flag is enabled by default at -O3 and by -ftree-vectorize

2021-11-04 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Target Milestone: --- The online documentation for `-ftree-vectorize` is a bit misleading. Reading it today: * https://gcc.gnu.org/onlinedocs/gcc

gcc-bugs@gcc.gnu.org

2021-11-04 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68891 --- Comment #1 from Mathieu Malaterre --- Here is the output from clang++: error: cannot specify any part of a return type in the declaration of a conversion function; use a typedef to declare a conversion to 'double (&)[3]' % clang++ --versio

[Bug target/71617] rs6000.c:8483:32: warning: comparison is always true due to limited range of data type [-Wtype-limits]

2021-11-04 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71617 Mathieu Malaterre changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/88273] [8/9 Regression] warning: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union ' [-Warray-bounds]

2019-01-02 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88273 --- Comment #8 from Mathieu Malaterre --- For reference: $ cat ptrace2.c #include #define CREATE_TRACE_POINTS #include void a(int b, int c, void *d) { void *e = 0; int g = user_regset_copyout(&b, &c, d, e, g, 0, sizeof(vector128)); union

[Bug middle-end/88273] [8/9 Regression] warning: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union ' [-Warray-bounds]

2019-01-02 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88273 --- Comment #7 from Mathieu Malaterre --- Here is the new creduced test case: $ cat bug.c #include typedef struct { int b[4] } c; void* d; unsigned e; inline int h(void *i, int p2, int j) { if (j < 0 || e < j) { int copy = ({ typ

[Bug middle-end/88273] warning: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union ' [-Warray-bounds]

2018-11-29 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88273 --- Comment #5 from Mathieu Malaterre --- Created attachment 45128 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45128&action=edit save-temps

[Bug c/88273] New: warning: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union ' [-Warray-bounds]

2018-11-29 Thread mathieu.malaterre at gmail dot com
ounds] Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Target Milestone: --- Created attachment 4

[Bug c++/85091] Compiler generates different code depending on whether -Wnonnull -Woverloaded-virtual given or not

2018-03-27 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85091 --- Comment #20 from Mathieu Malaterre --- (In reply to Martin Liška from comment #19) > (In reply to Mathieu Malaterre from comment #18) > > The first diff seems to be here: > > > > +Use of uninitialised value of size 8 > > + at 0x98CBD7: spa

[Bug c++/85091] Compiler generates different code depending on whether -Wnonnull -Woverloaded-virtual given or not

2018-03-27 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85091 --- Comment #18 from Mathieu Malaterre --- The first diff seems to be here: +Use of uninitialised value of size 8 + at 0x98CBD7: sparseset_bit_p (sparseset.h:147) + by 0x98CBD7: process_bb_node_lives(ira_loop_tree_node*) (ira-lives.c:1226) +

[Bug c++/85091] Compiler generates different code depending on whether -Wnonnull -Woverloaded-virtual given or not

2018-03-27 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85091 --- Comment #17 from Mathieu Malaterre --- Here is what I did over here: # debootstrap --arch amd64 sid /srv/chroot/sid-amd64 http://httpredir.debian.org/debian # mount -t proc proc /srv/chroot/sid-amd64/proc # chroot /srv/chroot/sid-amd64 apt i

[Bug c++/85091] Compiler generates different code depending on whether -Wnonnull -Woverloaded-virtual given or not

2018-03-27 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85091 Mathieu Malaterre changed: What|Removed |Added CC||mathieu.malaterre at gmail dot com

[Bug c++/85091] Compiler generates different code depending on whether -Wnonnull -Woverloaded-virtual given or not

2018-03-27 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85091 --- Comment #15 from Mathieu Malaterre --- Created attachment 43773 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43773&action=edit valgrind output (not ok)

[Bug target/71777] __builtin_cpu_supports() doesn't work on powerpc

2016-07-06 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71777 Mathieu Malaterre changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/71777] New: __builtin_cpu_supports() doesn't work on powerpc

2016-07-05 Thread mathieu.malaterre at gmail dot com
onent: c Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Target Milestone: --- Created attachment 38839 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38839&action=edit demo code I've been trying to test __builtin_cpu_su

[Bug c/71617] New: rs6000.c:8483:32: warning: comparison is always true due to limited range of data type [-Wtype-limits]

2016-06-22 Thread mathieu.malaterre at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Target Milestone: --- The following code should be cleaned up: powerpc64-linux-gnu-g++-5 -std=gnu++98 -fno-PIE -c

gcc-bugs@gcc.gnu.org

2015-12-14 Thread mathieu.malaterre at gmail dot com
verity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Target Milestone: --- Per my understanding of C++ standard section §12.3.2, the following piece of code should not compile: $ cat c.cxx #i

[Bug c/63368] Provide an implementation for `__sync_val_compare_and_swap_8' on powerpc (32bits)

2015-05-28 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63368 --- Comment #7 from Mathieu Malaterre --- For anyone reading this. the comment "-latomic is there already." means: replace __sync_val_compare_and_swap(ptr, oldval, newval) in your code with __atomic_compare_exchange(ptr, &oldval, &newval, false,

[Bug c++/64631] New: error: ‘lgammal_r’ was not declared in this scope

2015-01-16 Thread mathieu.malaterre at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com Created attachment 34464 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34464&action=edit demo I cannot compile the following pseudo code (see attachment) it fails wit

[Bug c++/63452] New: Cross class calling (pure virtual)

2014-10-03 Thread mathieu.malaterre at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com You'll find a small c++ project I gather to demonstrate how a class A `foo` function can be called using class B `foo` function. I believe gcc confuse the two separate implementations inste

[Bug c/63368] Provide an implementation for `__sync_val_compare_and_swap_8' on powerpc (32bits)

2014-09-30 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63368 Mathieu Malaterre changed: What|Removed |Added Status|RESOLVED|VERIFIED Resolution|INVALID

[Bug c/63368] Provide an implementation for `__sync_val_compare_and_swap_8' on powerpc (32bits)

2014-09-25 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63368 --- Comment #4 from Mathieu Malaterre --- As stated in my original report I am running a PowerPC/32bits machine (not an ARM based one). AFAIK gcc 4.9.1 does not provide such implementation [*]. Could you please clarify what you mean by 'libatomi

[Bug c/63368] Provide an implementation for `__sync_val_compare_and_swap_8' on powerpc (32bits)

2014-09-25 Thread mathieu.malaterre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63368 Mathieu Malaterre changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVAL

[Bug c/63368] New: undefined reference to `__sync_val_compare_and_swap_8'

2014-09-25 Thread mathieu.malaterre at gmail dot com
y: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com If I am reading the online documentation properly: https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/_005f_005fsync-Builtins.html#_005f_005fsync-Builtins __sync_val_compare_and_sw

[Bug c++/62280] New: Symbols visibility not equivalent to class visibility (-fvisibility=hidden)

2014-08-27 Thread mathieu.malaterre at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com I am trying to compile a project that is written in portable C++. It does compile fine with Visual Studio 2010 on Windows 7 and makes uses of

[Bug c++/59324] New: C++11: -Wsequence-point

2013-11-28 Thread mathieu.malaterre at gmail dot com
: unassigned at gcc dot gnu.org Reporter: mathieu.malaterre at gmail dot com It would be nice to remove the following warning about UB when compiling in C++11 mode: $ cat t.cxx int main() { int b = 1; int m = (b++) + (++b); (void)m; return 0; } $ g++ -std=c++11 -Wsequence

[Bug c++/56497] comparison is always true due to limited range of data type

2013-03-01 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56497 Mathieu Malaterre changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/56497] New: comparison is always true due to limited range of data type

2013-03-01 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56497 Bug #: 56497 Summary: comparison is always true due to limited range of data type Classification: Unclassified Product: gcc Version: unknown Status: UNCONFI

[Bug c/52617] New: -Wconversion does not work for strlen

2012-03-19 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52617 Bug #: 52617 Summary: -Wconversion does not work for strlen Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority:

[Bug c++/50990] vector.tcc:373:5: internal compiler error:

2011-11-05 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50990 Mathieu Malaterre changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/50990] vector.tcc:373:5: internal compiler error:

2011-11-04 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50990 --- Comment #2 from Mathieu Malaterre 2011-11-04 10:50:30 UTC --- Once I get the -save-temps output, I'll post them ASAP here: http://lists.debian.org/debian-sparc/2011/11/msg8.html I do not have direct access to this box. Thanks.

[Bug c++/50990] New: vector.tcc:373:5: internal compiler error:

2011-11-04 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50990 Bug #: 50990 Summary: vector.tcc:373:5: internal compiler error: Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priorit

[Bug c++/49759] New: std::streampos == int should be ambiguous

2011-07-16 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49759 Summary: std::streampos == int should be ambiguous Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...

[Bug c++/49745] New: error: ‘int truncate’ redeclared as different kind of symbol

2011-07-14 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745 Summary: error: ‘int truncate’ redeclared as different kind of symbol Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: major Priority: P3 Compone

[Bug c++/49387] t.cxx:140: error: too many initializers for ‘const __class_type_info_pseudo’

2011-06-13 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49387 --- Comment #4 from Mathieu Malaterre 2011-06-13 09:49:41 UTC --- Test was done a on a debian/squeeze system: $ g++ --version g++ (Debian 4.4.5-8) 4.4.5 $ apt-cache policy libboost1.42-dev libboost1.42-dev: Installed: 1.42.0-4 Candidate: 1

[Bug c++/49387] t.cxx:140: error: too many initializers for ‘const __class_type_info_pseudo’

2011-06-13 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49387 --- Comment #2 from Mathieu Malaterre 2011-06-13 09:09:15 UTC --- Created attachment 24505 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24505 Test case

[Bug c++/49387] New: t.cxx:140: error: too many initializers for ‘const __class_type_info_pseudo’

2011-06-13 Thread mathieu.malaterre at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49387 Summary: t.cxx:140: error: too many initializers for ‘const __class_type_info_pseudo’ Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: