[Bug c++/53900] New: Too optimistic on a alignment assert

2012-07-09 Thread gael.guennebaud at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 Bug #: 53900 Summary: Too optimistic on a alignment assert Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2012-07-09 Thread gael.guennebaud at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 --- Comment #2 from Gael Guennebaud gael.guennebaud at gmail dot com 2012-07-09 16:12:07 UTC --- The problem is that it is not guaranteed to be effectively aligned, and it is nice to be able to detect when this happens to either abort

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2012-07-10 Thread gael.guennebaud at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 --- Comment #4 from Gael Guennebaud gael.guennebaud at gmail dot com 2012-07-10 11:09:16 UTC --- Created attachment 27770 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27770 Another demonstration of the issue using std::vector Note

[Bug c++/61808] New: Linking error with explicit template instantiation and default template param

2014-07-15 Thread gael.guennebaud at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gael.guennebaud at gmail dot com Created attachment 33124 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33124action=edit Tarball of the files to reproduce the issue

[Bug c++/57709] -Wshadow is too strict / has false positives

2015-06-09 Thread gael.guennebaud at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 Gael Guennebaud gael.guennebaud at gmail dot com changed: What|Removed |Added CC

[Bug c++/66472] New: -Wshadow gets confused by using statements in template classes

2015-06-09 Thread gael.guennebaud at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gael.guennebaud at gmail dot com Target Milestone: --- This is a followup to bug 57709 that disabled shadow warnings between variables and class functions. However, -Wshadow still trigger

[Bug c++/66472] -Wshadow gets confused by using statements in template classes

2015-06-09 Thread gael.guennebaud at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66472 --- Comment #2 from Gael Guennebaud gael.guennebaud at gmail dot com --- But with the same reasoning you would end up reintroducing shadow warnings between local variables and *any* functions, not only the ones visible from a using statement

[Bug libstdc++/87544] alloc-size-larger-than incorrectly triggered

2018-10-07 Thread gael.guennebaud at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87544 --- Comment #2 from Gael Guennebaud --- Indeed, if I redefine max_size as follows instead of relying on std::allocator then the warning is gone: size_type max_size() const { return std::numeric_limits::max()/sizeof(T); }

[Bug c++/87544] New: alloc-size-larger-than incorrectly triggered

2018-10-07 Thread gael.guennebaud at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: gael.guennebaud at gmail dot com Target Milestone: --- Created attachment 44800 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44800=edit self-contained test case The attached example incorrectly trigger the alloc-s

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2019-02-07 Thread gael.guennebaud at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 --- Comment #10 from Gael Guennebaud --- I created a simplified example that has no dependencies at all: https://godbolt.org/z/uIy1Uu You can workaround the compilation issue by either: #1 - commenting line 16 and uncommenting line 15,

[Bug target/89101] [Aarch64] vfmaq_laneq_f32 generates unnecessary dup instrcutions

2019-01-29 Thread gael.guennebaud at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 --- Comment #2 from Gael Guennebaud --- Indeed, it fails to remove the dup only if the coefficient is used multiple times as in the following reduced exemple: (https://godbolt.org/z/hmSaE0) #include void foo(const float* a, const float * b,

[Bug target/89101] [Aarch64] vfmaq_laneq_f32 generates unnecessary dup instrcutions

2019-01-29 Thread gael.guennebaud at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 --- Comment #4 from Gael Guennebaud --- Good to know this is fixed in trunk! Thank you, and sorry for the false alarm then.

[Bug target/89101] New: [Aarch64] vfmaq_laneq_f32 generates unnecessary dup instrcutions

2019-01-29 Thread gael.guennebaud at gmail dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gael.guennebaud at gmail dot com Target Milestone: --- vfmaq_laneq_f32 is currently implemented as: __extension__ static __inline float32x4_t __attribute__ ((__always_inline__