[Bug middle-end/92096] [10 Regression] segmentation fault in 'example_labels' building gcc trunk on cygwin

2020-03-10 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92096 --- Comment #5 from Roger Orr --- Hello Jakub, I've checked; I no longer see this fault.

[Bug lto/89358] [8 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings

2020-01-16 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358 --- Comment #23 from Roger Orr --- That's good to hear -- thank you very much!

[Bug c/92096] segmentation fault in 'example_labels' building gcc trunk on cygwin

2019-10-19 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92096 --- Comment #3 from Roger Orr --- A binary chop shows the fault starts with r276878.

[Bug c/92096] segmentation fault in 'example_labels' building gcc trunk on cygwin

2019-10-15 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92096 --- Comment #2 from Roger Orr --- Hello Richard, PR92037 appears to be resolved in revision 276804, which precedes the first of my failing revisions (276902). FWIW it was still failing last night with 276968

[Bug c/92096] New: segmentation fault in 'example_labels' building gcc trunk on cygwin

2019-10-14 Thread rogero at howzatt dot demon.co.uk
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Target Milestone: --- I using this invocation: ../gcc-trunk/configure --disable-bootstrap --enable-languages=c,c++ --enable-threads=posix --prefix

[Bug c++/68957] Wrong overload resolution for unscoped enums with fixed underlying type

2019-10-09 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68957 --- Comment #3 from Roger Orr --- Thanks Jon.

[Bug c++/68957] Wrong overload resolution for unscoped enums with fixed underlying type

2019-07-31 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68957 Roger Orr changed: What|Removed |Added CC||rogero at howzatt dot demon.co.uk

[Bug lto/89358] New: Combining -std=c++14 and -std=c++17 objects gives ODR warnings

2019-02-14 Thread rogero at howzatt dot demon.co.uk
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk CC: marxin at gcc dot gnu.org Target Milestone: --- When object modules compiled with -std=c+14 and -std=c++17 are linked together

[Bug c++/78948] New: constexpr if instantiating too eagerly

2016-12-29 Thread rogero at howzatt dot demon.co.uk
++ Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Target Milestone: --- The following code fails to compile: CODE template void sizeof_mismatch() { static_assert(T == 0, "sizeof mismatch"); } int main() { if constexpr(s

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-26 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 --- Comment #14 from Roger Orr --- Confirmed: valgrind now builds successfully with revision 236769.

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-26 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #15 from Roger Orr --- Sorry for the noise; I'd not noticed there had been a relevant commit. I'll re-check against trunk.

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-26 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 --- Comment #13 from Roger Orr --- Ok, I'll try with trunk (I'd not noticed a relevant change had already been submitted)

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-26 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #13 from Roger Orr --- The patch sadly does not appear to fix the (very similar looking) valgrind compilation failure I posted in pr71269. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269#c7

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-25 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 --- Comment #7 from Roger Orr --- I've got a very similar problem, building valgrind with trunk revision 236644: m_mallocfree.c: In function 'sanity_check_malloc_arena': m_mallocfree.c:1055:13: internal compiler error: Segmentation fault

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-25 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 --- Comment #6 from Roger Orr --- Created attachment 38563 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38563=edit compiler invocation and output

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-25 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 Roger Orr changed: What|Removed |Added CC||rogero at howzatt dot demon.co.uk

[Bug tree-optimization/71240] [7 Regression] ICE on valid code at -O2 and above on x86_64-linux-gnu: verify_gimple failed

2016-05-24 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71240 --- Comment #11 from Roger Orr --- Thanks. I can confirm this also successfully compiles the original code from which I derived the simplified example.

[Bug c++/71240] ICE on valid code at -O2 and above on x86_64-linux-gnu: verify_gimple failed

2016-05-23 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71240 --- Comment #1 from Roger Orr --- (The example code compiles with gcc revision 236175, dated 20160512)

[Bug c++/71240] New: ICE on valid code at -O2 and above on x86_64-linux-gnu: verify_gimple failed

2016-05-23 Thread rogero at howzatt dot demon.co.uk
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Target Milestone: --- Created attachment 38545 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38545=edit Example code, fails with

[Bug ipa/71015] [7 Regression] ICE in inline_small_functions, at ipa-inline.c:1881

2016-05-13 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71015 Roger Orr changed: What|Removed |Added CC||rogero at howzatt dot demon.co.uk

[Bug tree-optimization/71059] [7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "vn_nary_op_insert_into"

2016-05-13 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71059 --- Comment #4 from Roger Orr --- Thanks, fixes the ICE I had.

[Bug libstdc++/53984] iostream operation throwing exception when exceptions not enabled

2016-05-05 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984 --- Comment #5 from Roger Orr --- Still fails with gcc 6.1 Are there any plans on how (and when) to fix this, fairly serious, fault?

[Bug sanitizer/70712] False positive from AddressSanitizer with use of 'alignas'

2016-04-25 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70712 --- Comment #5 from Roger Orr --- Thank you. I can confirm that the fix also resolves the original problem from which I derived the sample program.

[Bug sanitizer/70712] New: False positive from memory sanitizer with use of 'alignas'

2016-04-18 Thread rogero at howzatt dot demon.co.uk
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Target

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-14 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #60 from Roger Orr --- Thanks; I can now confirm that a full build of our application with distcc works without problems.

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-11 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #57 from Roger Orr --- Created attachment 38232 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38232=edit Stripped down intermediate file I've managed to reproduce the problem without including any proprietary code - code

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-11 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #55 from Roger Orr --- Note - I should have added that I am not at all sure the fix above is *correct*, simply that it prevents accessing the freed entry. I don't know enough about how the code works to know whether the value

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-11 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #54 from Roger Orr --- Unfortunately the patch does not help: the cached 'from' pointer is a pointer into the old maps entry -- the one which has now been deallocated. The first test, main_file_p, now (correctly) fails. The second

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-08 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #52 from Roger Orr --- Ah - added print of *pfile->line_table at line 978 and compared with the value when we error. 978 struct line_maps *line_table = pfile->line_table; $3702 = {info_ordinary = {maps = 0x7fffec65d000,

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-08 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #51 from Roger Orr --- Thanks, I hope to try that on Monday. The function gets called multiple times, so I need to identify the last time. The memory must have changed *during* the call to do_linemarker as the new_file variable is

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-08 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #49 from Roger Orr --- Alas, valgrind finds nothing untoward. make MAKEINFO=true STAGE1_CXXFLAGS="-g -O0" clean-stage1 make MAKEINFO=true STAGE1_CXXFLAGS="-g -O0" all-stage1 valgrind /var/tmp/gcc-trunk-234481/build/gcc/cc1plus

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-08 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #47 from Roger Orr --- Sorry, I wasn't clear enough. I'm unfortunately not at present able to post the whole source file. The file I posted *only* contains the line directives, so people can confirm whether there were any problems

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-08 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #45 from Roger Orr --- While investigating the problem I am experiencing I have found it is stable across g++ builds - I have tried a build using revision 234741 which has the identical diagnostic output from the compilation.

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-08 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #44 from Roger Orr --- Created attachment 38218 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38218=edit Intermediate file I am as yet unable to upload the code for an example. However, I've attached a file containing the

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-07 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #41 from Roger Orr --- I have seen the message before: for example from a build with revision line-map.c: file "/usr/include/asm/sockios.h" left but not entered I've only noticed it with builds from gcc-trunk, which I tested with

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-04-07 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #39 from Roger Orr --- The resolution of this issue causes a problem for me as it results in compilation errors in our build. We are compiling with distcc which AIUI distributes the pre-processed intermediate output. With revision

[Bug bootstrap/69506] [6 Regression] check-in 232454 seems to cause problems with cygwin builds

2016-01-28 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69506 --- Comment #3 from Roger Orr --- Tested: bootstrap build on cygwin with your patch completed successfully. I used: ../gcctrunk/configure --enable-languages=c,c++ --prefix=/usr/share/gcc-trunk make -j5 make install Thank you :-)

[Bug c++/69487] New: Unexpected VLA initialization of char[] from ""

2016-01-26 Thread rogero at howzatt dot demon.co.uk
mponent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Target Milestone: --- The initialization of a VLA char array from a string literal in C++ mode is surprising: the code appears to copy a string literal starting with the NUL

[Bug c++/69487] Unexpected VLA initialization of char[] from ""

2016-01-26 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69487 --- Comment #2 from Roger Orr --- A braced initializer of characters appears to work consistently with both compile time and run time arrays. char buffer[size] = { 'a', 'b' }; produces a buffer with 'a', 'b' and zero padded whether size is a

[Bug target/66655] [5/6 Regression] miscompilation due to ipa-ra on MinGW

2016-01-26 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66655 --- Comment #32 from Roger Orr --- (In reply to Nick Clifton from comment #26) > Hi Roger, > > > I've tried the patch (applied to 232400 as trunk seems to have other > > problems on cygwin) and the build now completes successfully. > >

[Bug bootstrap/69506] check-in 232454 seems to cause problems with cygwin builds

2016-01-26 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69506 --- Comment #1 from Roger Orr --- See also http://permalink.gmane.org/gmane.os.cygwin/156987

[Bug bootstrap/69506] New: check-in 232454 seems to cause problems with cygwin builds

2016-01-26 Thread rogero at howzatt dot demon.co.uk
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Target Milestone: --- A complete build of gcc on cygwin, with change 232071 backed out (see pr66655), works with revision 232453 but fails with revision

[Bug target/66655] [5/6 Regression] miscompilation due to ipa-ra on MinGW

2016-01-25 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66655 --- Comment #24 from Roger Orr --- Thanks Nick. I've tried the patch (applied to 232400 as trunk seems to have other problems on cygwin) and the build now completes successfully. Additionally, the test case no longer crashes. $

[Bug target/66655] [5/6 Regression] miscompilation due to ipa-ra on MinGW

2016-01-25 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66655 --- Comment #18 from Roger Orr --- What is the correct way forward with this issue? Should we reopen this issue, or open a fresh one? (I'm not familiar enough with the gcc use of bugzilla to know.)

[Bug target/66655] [5/6 Regression] miscompilation due to ipa-ra on MinGW

2016-01-21 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66655 --- Comment #17 from Roger Orr --- As you say, there seems to be another, unrelated, problem with the current trunk and cygwin. However, I have now successfully built gcc version 232300 under cygwin with this patch. Unfortunately, if I try to

[Bug target/66655] [5/6 Regression] miscompilation due to ipa-ra on MinGW

2016-01-20 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66655 --- Comment #14 from Roger Orr --- I don't know I'm afraid: I'm a very occasional mingw user and I haven't (yet...) tried building gcc on mingw...

[Bug target/66655] [5/6 Regression] miscompilation due to ipa-ra on MinGW

2016-01-20 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66655 Roger Orr changed: What|Removed |Added CC||rogero at howzatt dot demon.co.uk

[Bug sanitizer/67515] crash from ubsan for non-virtual call in initializer list with an invalid vtable

2016-01-15 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67515 --- Comment #10 from Roger Orr --- Hello Yury, yes the problem with boost was reported as https://svn.boost.org/trac/boost/ticket/11632 and the ticket contains a proposed solution.

[Bug libstdc++/68982] [6 Regression] Missing explicit qualification for std::forward in functional

2015-12-21 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68982 --- Comment #5 from Roger Orr --- Thank you ;-)

[Bug c++/69000] New: regression: internal compiler error: Segmentation fault

2015-12-21 Thread rogero at howzatt dot demon.co.uk
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Target Milestone: --- Created attachment 37093 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37093=edit ice-example.cpp: Example program demonstrat

[Bug c++/69000] regression: internal compiler error: Segmentation fault

2015-12-21 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69000 --- Comment #2 from Roger Orr --- Thanks: apologies that my bugzilla-fu failed to find the duplicate.

[Bug c++/66808] tree check fail in symbol_table::decl_assembler_name_hash

2015-12-21 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808 --- Comment #8 from Roger Orr --- Thank you. I've tested the fix and it successfully compiles works both the sample program uploaded to my duplicate pr69000 and also my original presenting case.

[Bug libstdc++/68982] New: Missing explicit qualification for std::forward in functional

2015-12-18 Thread rogero at howzatt dot demon.co.uk
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Target Milestone: --- I notice that is no longer consistently prefixing forward with std:: and this means ADL gets invoked, which causes trouble when

[Bug libstdc++/68982] Missing explicit qualification for std::forward in functional

2015-12-18 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68982 --- Comment #2 from Roger Orr --- Created attachment 37082 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37082=edit Example of failure, against code using boost 1.57.0

[Bug other/66259] Combined gcc and binutils build from git-master fails, with gas/as-new not existing

2015-12-15 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66259 Roger Orr changed: What|Removed |Added CC||rogero at howzatt dot demon.co.uk

[Bug sanitizer/67515] New: "invalid vptr" false positive or crash from ubsan for non-virtual call in initializer list

2015-09-09 Thread rogero at howzatt dot demon.co.uk
NCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gn

[Bug sanitizer/67515] "invalid vptr" false positive or crash from ubsan for non-virtual call in initializer list

2015-09-09 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67515 --- Comment #4 from Roger Orr --- Ah - apologies -- I'd got the example by stripping down a call in boost::format and didn't do a full enough check that the code was well formed: I'll report that UB to boost. However as Markus says the seg

[Bug lto/67357] -Wodr warnings from types in anonymous namespace

2015-08-27 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67357 --- Comment #3 from Roger Orr rogero at howzatt dot demon.co.uk --- The following code block also gives an ODR violation with the same versions of gcc; in this case only a *single* translation unit is involved. $ cat test.cxx #include memory

[Bug lto/67357] New: -Wodr warnings from types in anonymous namespace

2015-08-26 Thread rogero at howzatt dot demon.co.uk
: lto Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Target Milestone: --- The following code generates -Wodr warnings wih gcc 5.2.0 $ cat common.hxx template typename T struct values{ typedef T const CT; }; $ cat test1.cxx #include

[Bug lto/67357] -Wodr warnings from types in anonymous namespace

2015-08-26 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67357 --- Comment #2 from Roger Orr rogero at howzatt dot demon.co.uk --- The fault still occurs on gcc-5-branch, does not occur on gcc trunk. I have also found that making a small change to the example in comment 5 of PR 66180 makes that fail

[Bug sanitizer/66343] Error: .Lubsan_type3 already defined with UBSan and precompiled headers

2015-08-24 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66343 --- Comment #1 from Roger Orr rogero at howzatt dot demon.co.uk --- Fails for me (with a very slightly different label: Lubsan_type0) on gcc-trunk (as of 2015-08-22) without needing the -m32: $ /usr/share/gcc-trunk/bin/gcc -v Using built

[Bug c++/65152] Several friend function definitions break lookup

2015-08-22 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65152 --- Comment #3 from Roger Orr rogero at howzatt dot demon.co.uk --- Note that this has been fixed in gcc-trunk (tested 22-Aug-2015)

[Bug c++/66364] New: poor optimization of packed structs containing bitfields

2015-06-01 Thread rogero at howzatt dot demon.co.uk
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Target Milestone: --- Target: x86_64-redhat-linux Created attachment 35667 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35667action=edit

[Bug c++/64181] 'noexcept' on a lambda sometimes appears to get optimised away at -O2 (or above).

2015-03-28 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64181 --- Comment #1 from Roger Orr rogero at howzatt dot demon.co.uk --- The optimization is also broken in the 5.0 head (5.0.0.20150328)

[Bug c++/65525] [5 Regression] ICE: sorry, unimplemented: unexpected AST of kind mem_ref (-std=c++14, ICE: in potential_constant_expression_1, at cp/constexpr.c:4432)

2015-03-27 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65525 --- Comment #7 from Roger Orr rogero at howzatt dot demon.co.uk --- Thanks!

[Bug c++/64181] New: 'noexcept' on a lambda sometimes appears to get optimised away at -O2 (or above).

2014-12-04 Thread rogero at howzatt dot demon.co.uk
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Created attachment 34188 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34188action=edit Demonstration of the problem In some cases

[Bug libstdc++/55917] Impossible to find/debug unhandled exceptions in an std::thread

2014-11-24 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55917 Roger Orr rogero at howzatt dot demon.co.uk changed: What|Removed |Added CC||rogero

[Bug sanitizer/63627] New: thread sanitizer does not instrument __atomic_test_and_set or __atomic_clear

2014-10-23 Thread rogero at howzatt dot demon.co.uk
: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot

[Bug sanitizer/63627] thread sanitizer does not instrument __atomic_test_and_set or __atomic_clear

2014-10-23 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63627 --- Comment #1 from Roger Orr rogero at howzatt dot demon.co.uk --- Created attachment 33792 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33792action=edit Example using __atomic_exchange_n that does not generate tsan warnings

[Bug sanitizer/63559] New: -fsanitize=thread sets no preprocessor flags

2014-10-16 Thread rogero at howzatt dot demon.co.uk
: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org When -fsanitize=address is supplied

[Bug sanitizer/63559] -fsanitize=thread sets no preprocessor flags

2014-10-16 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63559 --- Comment #2 from Roger Orr rogero at howzatt dot demon.co.uk --- Hi Dmitry, the false positives I've investigated seem to be down to spin-locked queues and use of intel tbb concurrency data structures - AFAICT we don't have source

[Bug c++/60361] New: unexpected 'use of parameter outside function body' error

2014-02-27 Thread rogero at howzatt dot demon.co.uk
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk When declaring a variable with a bracketed constructor call, and using the same external name for the first argument and a template instantiation used

[Bug c++/58071] New: Premature instantiation of default argument

2013-08-03 Thread rogero at howzatt dot demon.co.uk
++ Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk If a function is declared with a default argument of a template type the compiler fails if the constructor cannot be instantiated at the point of definition of the function. As I understand

[Bug c++/57973] New: incorrect access check for protected member of template base with using

2013-07-24 Thread rogero at howzatt dot demon.co.uk
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rogero at howzatt dot demon.co.uk Created attachment 30547 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30547action=edit sample program -- I believe this should compile

[Bug c++/57973] incorrect access check for protected member of template base with using

2013-07-24 Thread rogero at howzatt dot demon.co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57973 --- Comment #2 from Roger Orr rogero at howzatt dot demon.co.uk --- Thank you. Aoplogies for the noise.