[Bug c++/47747] [trans-mem] unsafe virtual function not properly displayed

2011-03-07 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47747 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/47952] [trans-mem] undefined reference to transaction clone

2011-03-09 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47952 --- Comment #8 from Aldy Hernandez 2011-03-09 12:41:11 UTC --- Unless Patrick has reduced the test case, the only way I was able to reproduce it was to build the entire Glob2 benchmark which he mentions. It has lots of dependencies, but is reall

[Bug bootstrap/45700] [4.5/4.6 Regression] --enable-checking=fold bootstrap failures

2010-09-30 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45700 --- Comment #1 from Aldy Hernandez 2010-09-30 17:47:19 UTC --- If we call build[1-5] just to call protected_set_expr_location next, then by all means, use build[1-5]_loc and be done with it. Ideally we should strive to set location information i

[Bug c/45985] [trans-mem] internal compiler error: verify_cgraph_node failed

2010-11-03 Thread aldyh at gcc dot gnu.org
||2010.11.03 15:24:59 AssignedTo|unassigned at gcc dot |aldyh at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1

[Bug c/45985] [trans-mem] internal compiler error: verify_cgraph_node failed

2010-11-03 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45985 Aldy Hernandez changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/46269] [trans-mem] internal compiler error in expand_block_tm of trans-mem.c

2010-11-03 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46269 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/46270] [trans-mem] internal compiler error: verify_stmts failed

2010-11-03 Thread aldyh at gcc dot gnu.org
||2010.11.03 16:32:22 AssignedTo|unassigned at gcc dot |aldyh at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1

[Bug c++/46269] [trans-mem] internal compiler error in expand_block_tm of trans-mem.c

2010-11-09 Thread aldyh at gcc dot gnu.org
at gcc dot |aldyh at gcc dot gnu.org |gnu.org | --- Comment #3 from Aldy Hernandez 2010-11-09 17:36:00 UTC --- The problem here is that for the inline function atomic_exchange_and_add(), the user is expecting the transaction_pure to be implied because

[Bug c++/46269] [trans-mem] internal compiler error in expand_block_tm of trans-mem.c

2010-11-11 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46269 --- Comment #6 from Aldy Hernandez 2010-11-11 15:46:10 UTC --- I have submitted a fix here: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01078.html I have also submitted a fix for the additional ICE mentioned in the testcase ("XXX Commenting th

[Bug c++/46269] [trans-mem] internal compiler error in expand_block_tm of trans-mem.c

2010-11-17 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46269 Aldy Hernandez changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/46270] [trans-mem] internal compiler error: verify_stmts failed

2010-11-19 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46270 Aldy Hernandez changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug other/46026] [trans-mem] Unable to build libitm on Solaris/x86

2010-11-19 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46026 --- Comment #2 from Aldy Hernandez 2010-11-19 18:06:01 UTC --- BTW, a workaround while Alex gets his patch committed is to run make again on the partially built tree. The second time around, the build will succeed.

[Bug other/46567] New: ipa_tm_decrement_clone_counts ICE at -O2

2010-11-19 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46567 Summary: ipa_tm_decrement_clone_counts ICE at -O2 Product: gcc Version: trans-mem Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unass

[Bug other/46567] ipa_tm_decrement_clone_counts ICE at -O2

2010-11-19 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46567 --- Comment #1 from Aldy Hernandez 2010-11-19 18:11:23 UTC --- Created attachment 22460 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22460 boom

[Bug other/46567] ipa_tm_decrement_clone_counts ICE at -O2

2010-11-19 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46567 Aldy Hernandez changed: What|Removed |Added Keywords||trans-mem Status|UNCONFIRMED

[Bug other/46566] New: ipa_tm_decrement_clone_counts ICE at -O2

2010-11-19 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46566 Summary: ipa_tm_decrement_clone_counts ICE at -O2 Product: gcc Version: trans-mem Status: RESOLVED Severity: normal Priority: P3 Component: other AssignedTo: unassig.

[Bug other/46567] ipa_tm_decrement_clone_counts ICE at -O2

2010-11-19 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46567 --- Comment #2 from Aldy Hernandez 2010-11-19 18:14:07 UTC --- *** Bug 46566 has been marked as a duplicate of this bug. ***

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-11-19 Thread aldyh at gcc dot gnu.org
||2010.11.19 18:17:31 AssignedTo|unassigned at gcc dot |aldyh at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #2 from Aldy Hernandez 2010-11-19 18:17:31 UTC --- Mine

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-11-23 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #3 from Aldy Hernandez 2010-11-23 13:44:45 UTC --- I have a patch to fix this problem, but I also see that the provided testcase has another error message which I think is correct: In file included from src/Building.cpp:77:0: src/Bui

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-11-23 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Status|NEW |WAITING --- Comment #5 from Aldy Hernand

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-11-24 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug other/46567] [trans-mem] ipa_tm_decrement_clone_counts ICE at -O2

2010-11-24 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46567 --- Comment #3 from Aldy Hernandez 2010-11-24 14:43:53 UTC --- ipa_tm_decrement_clone_counts() is dying because we are decrementing the clone count for a caller that was not marked as being in a transaction in the first place. The problem here i

[Bug c++/46653] [trans-mem] ICE with volatile int in transactional constructor using -O1

2010-11-29 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46653 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/46653] [trans-mem] ICE with volatile int in transactional constructor using -O1

2010-11-29 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46653 --- Comment #3 from Aldy Hernandez 2010-11-29 14:41:20 UTC --- Fixed here: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02793.html Pending approval.

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-11-29 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #8 from Aldy Hernand

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-11-29 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #9 from Aldy Hernandez 2010-11-29 16:04:18 UTC --- The -O1 ICE is due to the fact that we have an inline function that has been marked as transaction_pure, but contains an inline asm. The following code sets the 'saw_unsafe' bit, reg

[Bug c++/46653] [trans-mem] ICE with volatile int in transactional constructor using -O1

2010-11-29 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46653 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P1

[Bug other/46567] [trans-mem] ipa_tm_decrement_clone_counts ICE at -O2

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46567 --- Comment #4 from Aldy Hernandez 2010-12-13 11:12:08 UTC --- [Comments from Richard.] There are two possible solutions: (1) Teach inlining to propagate the in_transaction_p bit to every call within the function that gets inlined, (

[Bug other/46567] [trans-mem] ipa_tm_decrement_clone_counts ICE at -O2

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46567 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P1

[Bug c++/46654] [trans-mem] "volatile" objects must not be allowed in a safe statement

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46654 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P5

[Bug c/46480] [trans-mem] Uninstrumented code path is missing

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46480 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P5

[Bug c++/46300] Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46300 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P2

[Bug c++/46646] [trans-mem] __cxa_rethrow and __builtin_eh_pointer are unsafe

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46646 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P2

[Bug c++/46714] [trans-mem] aliased to undefined symbol with -O1

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46714 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P2

[Bug c++/46714] [trans-mem] aliased to undefined symbol with -O1

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46714 Aldy Hernandez changed: What|Removed |Added Priority|P2 |P1

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #10 from Aldy Hernandez 2010-12-13 14:15:49 UTC --- [offline rth notes] In function_attribute_inlinable_p, if fndecl is tm_pure and current_function_decl is tm_safe, deny the inlining. This is because tm_pure is the only escape

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #11 from Aldy Hernandez 2010-12-13 14:48:50 UTC --- Fixed on mainline, but I will leave the PR open until a more thorough fix is committed.

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Priority|P1 |P4

[Bug c++/46646] [trans-mem] __cxa_rethrow and __builtin_eh_pointer are unsafe

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46646 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/46300] Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46300 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/46300] Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46300 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/46300] Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46300 Aldy Hernandez changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #3 from Aldy Hernande

[Bug c++/46714] [trans-mem] aliased to undefined symbol with -O1

2010-12-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46714 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2010-12-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/46714] [trans-mem] aliased to undefined symbol with -O1

2010-12-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46714 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/46646] [trans-mem] __cxa_rethrow and __builtin_eh_pointer are unsafe

2010-12-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46646 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug middle-end/46923] [trans-mem] thread-local memory variable not properly logged

2010-12-14 Thread aldyh at gcc dot gnu.org
||aldyh at gcc dot gnu.org Resolution||FIXED --- Comment #1 from Aldy Hernandez 2010-12-14 15:31:34 UTC --- Fixed by: http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01101.html

[Bug c++/46654] [trans-mem] "volatile" objects must not be allowed in a safe statement

2010-12-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46654 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug middle-end/49875] FAIL: c-c++-common/cxxbitfields-4.c

2011-07-27 Thread aldyh at gcc dot gnu.org
||aldyh at gcc dot gnu.org Resolution||FIXED AssignedTo|unassigned at gcc dot |aldyh at gcc dot gnu.org |gnu.org | --- Comment #1 from Aldy Hernandez 2011-07-27 19:15:04 UTC --- fixed http

[Bug middle-end/49875] FAIL: c-c++-common/cxxbitfields-4.c

2011-07-27 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49875 --- Comment #2 from Aldy Hernandez 2011-07-27 19:51:09 UTC --- Author: aldyh Date: Wed Jul 27 19:51:04 2011 New Revision: 176848 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176848 Log: PR middle-end/49875 * c-c++-common/

[Bug target/49985] [4.7 Regression] Cannot compile on s390x

2011-08-05 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49985 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-19 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment

[Bug c/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-19 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 Aldy Hernandez changed: What|Removed |Added Target||x86-64-Linux Status|UNCONFI

[Bug c/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-19 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 Aldy Hernandez changed: What|Removed |Added Version|6.1.0 |7.0 --- Comment #5 from Aldy Hernandez

[Bug debug/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-19 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 --- Comment #6 from Aldy Hernandez --- Some idiot wrote this: commit 3a1c9df24981c5068334726a0d92fd80c455eb6e Author: aldyh Date: Fri Jun 5 18:44:53 2015 + Merge debug-early branch into mainline. ... And that's where it all started

[Bug debug/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-19 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 --- Comment #7 from Aldy Hernandez --- Created attachment 38935 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38935&action=edit patch being tested gen_unspecified_parameters_die() is being called in early dwarf and again for the same pare

[Bug debug/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-19 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 Aldy Hernandez changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #8 from Aldy Herna

[Bug debug/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-19 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 --- Comment #9 from Aldy Hernandez --- Author: aldyh Date: Tue Jul 19 19:29:42 2016 New Revision: 238488 URL: https://gcc.gnu.org/viewcvs?rev=238488&root=gcc&view=rev Log: PR debug/71855 * dwarf2out.c (gen_subprogram_die): Only c

[Bug debug/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-19 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 --- Comment #10 from Aldy Hernandez --- Author: aldyh Date: Tue Jul 19 19:31:24 2016 New Revision: 238489 URL: https://gcc.gnu.org/viewcvs?rev=238489&root=gcc&view=rev Log: PR debug/71855 * dwarf2out.c (gen_subprogram_die): Only

[Bug debug/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-19 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 Aldy Hernandez changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/61409] [5/6/7 regression] -Wmaybe-uninitialized false-positive with -O2

2016-08-23 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61409 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment

[Bug middle-end/61409] [5/6/7 regression] -Wmaybe-uninitialized false-positive with -O2

2016-08-23 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61409 --- Comment #19 from Aldy Hernandez --- Also, unless I'm missing something, in Jeff's analysis, I see no reference to j, which plays a pivotal role. In the testcase in comment 14, we can see that the guard for ptr_14 is actually [i && j==0]:

[Bug middle-end/61409] [5/6/7 regression] -Wmaybe-uninitialized false-positive with -O2

2016-08-23 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61409 --- Comment #21 from Aldy Hernandez --- Created attachment 39487 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39487&action=edit even more^2 reduced testcase Smaller testcase without any structure nonsense and even less variables.

[Bug middle-end/61409] [5/6/7 regression] -Wmaybe-uninitialized false-positive with -O2

2016-08-23 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61409 --- Comment #20 from Aldy Hernandez --- If anyone is interested, here is an even smaller testcase: int *rw; int line_height; int pixel_width; int text_cols; int width1, width2, width3; void *pointer; void f (int i, int j) { void *ptr; if (

[Bug middle-end/61409] [5/6/7 regression] -Wmaybe-uninitialized false-positive with -O2

2016-08-25 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61409 --- Comment #22 from Aldy Hernandez --- Created attachment 39499 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39499&action=edit untested patch v1 I think I see what Jeff is getting at. Here is an untested patch exploring the idea of ign

[Bug tree-optimization/99296] [11 Regression] ICE:in irange_set_anti_range, at value-range.cc:205 with "-Os -fno-toplevel-reorder -fno-tree-bit-ccp" since r11-5105-ga5f9c27bfc441722

2021-03-16 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99296 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org

[Bug tree-optimization/99296] [11 Regression] ICE:in irange_set_anti_range, at value-range.cc:205 with "-Os -fno-toplevel-reorder -fno-tree-bit-ccp" since r11-5105-ga5f9c27bfc441722

2021-03-18 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99296 --- Comment #5 from Aldy Hernandez --- Created attachment 50420 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50420&action=edit proposed patch As Jakub has mentioned, this is a problem with signed 1-bit precision. Legacy anti-ranges has

[Bug tree-optimization/99296] [11 Regression] ICE:in irange_set_anti_range, at value-range.cc:205 with "-Os -fno-toplevel-reorder -fno-tree-bit-ccp" since r11-5105-ga5f9c27bfc441722

2021-03-22 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99296 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/100081] [11 Regression] Compile time hog in irange since r11-4135-ge864d395b4e862ce

2021-04-16 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100081 --- Comment #5 from Aldy Hernandez --- (In reply to Richard Biener from comment #4) > Or > > bool > irange::symbolic_p () const > { > return (!varying_p () > && !undefined_p () > && (!is_gimple_min_invariant (min ()) >

[Bug tree-optimization/100081] [11 Regression] Compile time hog in irange since r11-4135-ge864d395b4e862ce

2021-04-16 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100081 --- Comment #6 from Aldy Hernandez --- BTW, we're looking as to why there are so many calls to varying_p. Something seems off.

[Bug tree-optimization/97359] [11 Regression] ice in logical_combine, at gimple-range-gori.cc:754

2020-10-09 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97359 --- Comment #4 from Aldy Hernandez --- Created attachment 49340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49340&action=edit untested proposed patch Untested.

[Bug tree-optimization/97359] [11 Regression] ice in logical_combine, at gimple-range-gori.cc:754

2020-10-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97359 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/97371] [11 Regression] evrp problem with gcc.target/s390/pr77822-2.c and -O3

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC||amacleod at redhat dot com --- Comment #2 from Aldy Hernandez --- Confirmed

[Bug tree-optimization/97371] [11 Regression] evrp problem with gcc.target/s390/pr77822-2.c and -O3

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97371 --- Comment #3 from Aldy Hernandez --- Created attachment 49348 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49348&action=edit proposed patch untested

[Bug tree-optimization/97371] [11 Regression] evrp problem with gcc.target/s390/pr77822-2.c and -O3

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97371 Aldy Hernandez changed: What|Removed |Added Attachment #49348|0 |1 is obsolete|

[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 Aldy Hernandez changed: What|Removed |Added Status|NEW |WAITING --- Comment #6 from Aldy Hernan

[Bug target/97312] [11 regression] aarch64/pr90838.c fails

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97312 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug tree-optimization/97371] [11 Regression] evrp problem with gcc.target/s390/pr77822-2.c and -O3

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97371 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/97378] [11 Regression] ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 since r11-3685-gfcae5121154d1c

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97378 --- Comment #2 from Aldy Hernandez --- (In reply to David Binderman from comment #1) > I have similar for the following C code: > > int a, b, c; > void d() { > e : { > long f; > long *g = &f; > if ((a != 0) - (b = 0)) > ; > else >

[Bug tree-optimization/97381] [11 Regression] ice error: invalid types in nop conversion

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97381 --- Comment #4 from Aldy Hernandez --- (In reply to David Binderman from comment #2) > Reduced C code is: > > int a; > void b() { > char c = 27; > for (; c <= 85; c += 1) { > a /= 148372120 * c; > if (a) > for (;;) > ;

[Bug tree-optimization/97381] [11 Regression] ice error: invalid types in nop conversion

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97381 Bug 97381 depends on bug 97378, which changed state. Bug 97378 Summary: [11 Regression] ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 since r11-3685-gfcae5121154d1c33

[Bug tree-optimization/97378] [11 Regression] ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 since r11-3685-gfcae5121154d1c

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97378 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/97381] [11 Regression] ice error: invalid types in nop conversion

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97381 --- Comment #5 from Aldy Hernandez --- Created attachment 49354 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49354&action=edit propsed patch in testing

[Bug tree-optimization/97381] [11 Regression] ice error: invalid types in nop conversion

2020-10-12 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97381 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/97396] [11 Regression] ICE: Segmentation fault (in bounds_of_var_in_loop)

2020-10-13 Thread aldyh at gcc dot gnu.org via Gcc-bugs
|1 Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org Status|UNCONFIRMED |NEW --- Comment #1 from Aldy Hernandez --- confirmed

[Bug tree-optimization/97396] [11 Regression] ICE: Segmentation fault (in bounds_of_var_in_loop)

2020-10-13 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97396 Aldy Hernandez changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug tree-optimization/97379] [11 Regression] Invalid read of size 8 at outgoing_range::calc_switch_ranges(gswitch*) (gimple-range-edge.cc:140) since r11-3685-gfcae5121154d1c33

2020-10-13 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97379 --- Comment #2 from Aldy Hernandez --- There's a read of a freed block while accessing the default_slot in calc_switch_ranges. default_slot->intersect (def_range); It seems the default_slot got swiped from under us, and the valgrind dump

[Bug tree-optimization/97379] [11 Regression] Invalid read of size 8 at outgoing_range::calc_switch_ranges(gswitch*) (gimple-range-edge.cc:140) since r11-3685-gfcae5121154d1c33

2020-10-13 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97379 --- Comment #3 from Aldy Hernandez --- Created attachment 49361 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49361&action=edit proposed patch in testing

[Bug tree-optimization/97379] [11 Regression] Invalid read of size 8 at outgoing_range::calc_switch_ranges(gswitch*) (gimple-range-edge.cc:140) since r11-3685-gfcae5121154d1c33

2020-10-13 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97379 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2020-10-13 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 97379, which changed state. Bug 97379 Summary: [11 Regression] Invalid read of size 8 at outgoing_range::calc_switch_ranges(gswitch*) (gimple-range-edge.cc:140) since r11-3685-gfcae5121154d1c33 https://gcc.gnu.org/bugzil

[Bug tree-optimization/97396] [11 Regression] ICE: Segmentation fault (in bounds_of_var_in_loop)

2020-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97396 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/96822] [11 regression] Starting with r11-2883 ICE in decompose, at wide-int.h:984

2020-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96822 Bug 96822 depends on bug 96818, which changed state. Bug 96818 Summary: [11 Regression] ICE: in decompose, at wide-int.h:984 at -O since r11-2883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 What|Removed

[Bug tree-optimization/96818] [11 Regression] ICE: in decompose, at wide-int.h:984 at -O since r11-2883

2020-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug bootstrap/96813] [11 Regression] Broken bootstrap-lto-lean profiled bootstrap since r11-2883-gbf19cbc9cea6161f3deb63040601090828c44c53

2020-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96813 Bug 96813 depends on bug 96818, which changed state. Bug 96818 Summary: [11 Regression] ICE: in decompose, at wide-int.h:984 at -O since r11-2883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 What|Removed

[Bug tree-optimization/97467] [11 Regression] ICE in verify_range, at value-range.cc:369 (-Os and above) since r11-3685-gfcae5121154d1c33

2020-10-19 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97467 --- Comment #2 from Aldy Hernandez --- Ranger can figure out that the RHS operand of a shift is a zero and feeds it to operator_lshift::op1_range, which then uses it to create a swapped [1,0] range. Testing the following patch: diff --git a/gcc

[Bug tree-optimization/97467] [11 Regression] ICE in verify_range, at value-range.cc:369 (-Os and above) since r11-3685-gfcae5121154d1c33

2020-10-19 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97467 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/97488] [11 Regression] ICE: Segmentation fault (in wi::set_bit_large)

2020-10-19 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97488 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/97488] [11 Regression] ICE: Segmentation fault (in wi::set_bit_large)

2020-10-19 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97488 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/97501] [11 Regression] ICE in verify_range, at value-range.cc:369, -O2 on dead overflowing nested loops since r11-3685-gfcae5121154d1c33

2020-10-20 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97501 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

<    6   7   8   9   10   11   12   13   14   15   >