[Bug tree-optimization/46302] [4.6 Regression] Program with virtual public inheritance crashes at O3

2010-12-29 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46302 --- Comment #8 from Martin Jambor 2010-12-29 08:45:43 UTC --- This still needs at least the following patch in the series (http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01215.html) in order to be considered fixed.

[Bug tree-optimization/46984] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining -flto

2011-01-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46984 --- Comment #3 from Martin Jambor 2011-01-03 13:06:58 UTC --- Author: jamborm Date: Mon Jan 3 13:06:54 2011 New Revision: 168420 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168420 Log: 2011-01-03 Martin Jambor PR tree-optimiza

[Bug tree-optimization/46984] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining -flto

2011-01-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46984 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/46801] [4.6 Regression] FAIL: gnat.dg/pack9.adb scan-tree-dump-not optimized "gnat_rcheck"

2011-01-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46801 --- Comment #9 from Martin Jambor 2011-01-03 15:43:25 UTC --- Author: jamborm Date: Mon Jan 3 15:43:23 2011 New Revision: 168431 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168431 Log: 2011-01-03 Martin Jambor PR tree-optimiza

[Bug tree-optimization/46801] [4.6 Regression] FAIL: gnat.dg/pack9.adb scan-tree-dump-not optimized "gnat_rcheck"

2011-01-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46801 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug middle-end/46823] [4.6 Regression] ICE: edge points to wrong declaration

2011-01-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46823 --- Comment #7 from Martin Jambor 2011-01-03 17:40:57 UTC --- The aforementioned patch did not do type comparisons correctly and so only hid the problem. I have already committed a subsequent patch that addresses this (http://gcc.gnu.org/ml/gcc-

[Bug lto/47162] [4.6 Regression] LTO is broken

2011-01-04 Thread jamborm at gcc dot gnu.org
||2011.01.04 09:57:00 CC||jamborm at gcc dot gnu.org AssignedTo|unassigned at gcc dot |jamborm at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1

[Bug lto/47162] [4.6 Regression] LTO is broken

2011-01-04 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47162 Martin Jambor changed: What|Removed |Added Priority|P3 |P1 Status|NEW

[Bug c/46076] [4.6 regression] constant propagation and compile-time math no longer happening versus 4.4 and 4.5

2011-01-04 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46076 --- Comment #15 from Martin Jambor 2011-01-04 17:39:45 UTC --- I'd also prefer a general solution and would not actually mind very much if we regressed in cases like this. Nevertheless, if we have a consensus that we should avoid regressing in 4

[Bug lto/47162] [4.6 Regression] LTO is broken

2011-01-04 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47162 --- Comment #5 from Martin Jambor 2011-01-04 18:49:33 UTC --- Proposed fix posted to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2011-01/msg00161.html

[Bug lto/47162] [4.6 Regression] LTO is broken

2011-01-05 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47162 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug middle-end/45505] [4.6 Regression] gfortran.dg/pr25923.f90

2011-01-06 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45505 --- Comment #15 from Martin Jambor 2011-01-06 16:41:34 UTC --- I've played around with this a bit more and came to the conclusion that we could refine SRA heuristics some more to not scalarize this if we added two more attributes to struct access

[Bug middle-end/46823] [4.6 Regression] ICE: edge points to wrong declaration

2011-01-07 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46823 Martin Jambor changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #8

[Bug middle-end/46823] [4.6 Regression] ICE: edge points to wrong declaration

2011-01-07 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46823 --- Comment #9 from Martin Jambor 2011-01-07 16:57:45 UTC --- Please disregard the previous comment, I thought that was the case because of a typo.

[Bug middle-end/46823] [4.6 Regression] ICE: edge points to wrong declaration

2011-01-10 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46823 --- Comment #16 from Martin Jambor 2011-01-10 20:34:14 UTC --- The problem seems to be a different one. During IPA decision making we decide to clone a function and the call graph node of the original one is then removed as unreachable an unnece

[Bug middle-end/46823] [4.6 Regression] ICE: edge points to wrong declaration

2011-01-12 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46823 --- Comment #18 from Martin Jambor 2011-01-12 13:50:11 UTC --- You're right, however in fact all redirections and updates should be taking place already. Either in inline_transform() for calls that are in the function from the beginning of inlin

[Bug middle-end/46823] [4.6 Regression] ICE: edge points to wrong declaration

2011-01-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46823 --- Comment #20 from Martin Jambor 2011-01-13 11:00:52 UTC --- Based on Honza's comment #17 I proposed a different patch, making sure we update the statement as expected, like I described in comment #18 and I have already posted it to the mailing

[Bug middle-end/46823] [4.6 Regression] ICE: edge points to wrong declaration

2011-01-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46823 --- Comment #22 from Martin Jambor 2011-01-14 11:59:10 UTC --- Author: jamborm Date: Fri Jan 14 11:59:07 2011 New Revision: 168778 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168778 Log: 2011-01-14 Martin Jambor PR middle-end/4

[Bug tree-optimization/47283] [4.6 regression] ICE in refs_may_alias_p_1, at tree-ssa-alias.c

2011-01-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47283 --- Comment #4 from Martin Jambor 2011-01-14 12:03:51 UTC --- OK, I can reproduce this and will have a look. The first interesting observation is that -g is necessary to trigger the error.

[Bug middle-end/46823] [4.6 Regression] ICE: edge points to wrong declaration

2011-01-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46823 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/45934] [4.6 Regression] g++.old-deja/g++.other/dtor5.C FAILs with -finline-small-functions

2011-01-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45934 --- Comment #10 from Martin Jambor 2011-01-14 23:01:02 UTC --- Author: jamborm Date: Fri Jan 14 23:00:59 2011 New Revision: 168825 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168825 Log: 2011-01-14 Martin Jambor PR tree-optimiz

[Bug tree-optimization/46302] [4.6 Regression] Program with virtual public inheritance crashes at O3

2011-01-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46302 --- Comment #9 from Martin Jambor 2011-01-14 23:01:02 UTC --- Author: jamborm Date: Fri Jan 14 23:00:59 2011 New Revision: 168825 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168825 Log: 2011-01-14 Martin Jambor PR tree-optimiza

[Bug tree-optimization/47316] devirtualize calls to virtual methods that are never further overriden

2011-01-17 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47316 --- Comment #3 from Martin Jambor 2011-01-17 12:20:09 UTC --- Actually, thanks for filing the bug. Devirtualization and other optimizations (such as struct-reorg) based on type escape analysis are a debated issue and it is nice to know users hav

[Bug tree-optimization/45934] [4.6 Regression] g++.old-deja/g++.other/dtor5.C FAILs with -finline-small-functions

2011-01-17 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45934 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/46302] [4.6 Regression] Program with virtual public inheritance crashes at O3

2011-01-17 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46302 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/47283] [4.6 regression] ICE in refs_may_alias_p_1, at tree-ssa-alias.c

2011-01-17 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47283 --- Comment #5 from Martin Jambor 2011-01-17 18:12:53 UTC --- THe ICE happens because refs_may_alias_p_1 gets an ao_ref initialized from a MEM_REF of an ADDR_EXPR of a component_ref. get_ref_base_and_extent then removes the MEM_REF but the base i

[Bug tree-optimization/47355] [4.6 Regression] ICE: verify_ssa failed with -O2 -fipa-cp-clone

2011-01-19 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47355 --- Comment #3 from Martin Jambor 2011-01-19 12:48:57 UTC --- >From what I have seen, it's pass_cleanup_eh removing an SSA (names$_storage_94) name that is still being referenced in the IL (as a parameter to zfree).

[Bug tree-optimization/47382] [4.6 Regression] g++.dg/ipa/devirt-d-1.C FAILs with -finline-functions

2011-01-21 Thread jamborm at gcc dot gnu.org
||2011.01.21 10:30:47 AssignedTo|unassigned at gcc dot |jamborm at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Martin Jambor 2011-01-21 10:30:47 UTC --- Something goes wrong

[Bug tree-optimization/47382] [4.6 Regression] g++.dg/ipa/devirt-d-1.C FAILs with -finline-functions

2011-01-25 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47382 --- Comment #2 from Martin Jambor 2011-01-25 16:47:50 UTC --- Patch posted to mailing list: http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01753.html

[Bug tree-optimization/47382] [4.6 Regression] g++.dg/ipa/devirt-d-1.C FAILs with -finline-functions

2011-01-25 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47382 --- Comment #3 from Martin Jambor 2011-01-25 17:08:51 UTC --- Author: jamborm Date: Tue Jan 25 17:08:47 2011 New Revision: 169245 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169245 Log: 2011-01-25 Martin Jambor PR tree-optimiza

[Bug tree-optimization/47462] New: g++.dg/opt/devirt1.C no longer devirtualized

2011-01-25 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47462 Summary: g++.dg/opt/devirt1.C no longer devirtualized Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assig

[Bug tree-optimization/47462] g++.dg/opt/devirt1.C no longer devirtualized

2011-01-25 Thread jamborm at gcc dot gnu.org
||2011.01.25 17:37:18 CC||jamborm at gcc dot gnu.org Ever Confirmed|0 |1

[Bug tree-optimization/47382] [4.6 Regression] g++.dg/ipa/devirt-d-1.C FAILs with -finline-functions

2011-01-26 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47382 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/47228] [4.6 Regression] wrong code with loop

2011-01-26 Thread jamborm at gcc dot gnu.org
at gcc dot |jamborm at gcc dot gnu.org |gnu.org | --- Comment #5 from Martin Jambor 2011-01-26 18:28:17 UTC --- OK, let me have a look at it then...

[Bug tree-optimization/47228] [4.6 Regression] wrong code with loop

2011-01-26 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47228 --- Comment #6 from Martin Jambor 2011-01-26 20:28:37 UTC --- Created attachment 23137 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23137 untested patch

[Bug tree-optimization/47228] [4.6 Regression] wrong code with loop

2011-01-27 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47228 --- Comment #7 from Martin Jambor 2011-01-27 13:41:54 UTC --- Author: jamborm Date: Thu Jan 27 13:41:51 2011 New Revision: 169331 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169331 Log: 2011-01-27 Martin Jambor PR tree-optimiza

[Bug tree-optimization/47228] [4.6 Regression] wrong code with loop

2011-01-27 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47228 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug middle-end/45505] [4.6 Regression] gfortran.dg/pr25923.f90

2011-02-08 Thread jamborm at gcc dot gnu.org
at gcc dot |jamborm at gcc dot gnu.org |gnu.org | --- Comment #19 from Martin Jambor 2011-02-08 14:15:53 UTC --- I have posted a proposed fix to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00538.html

[Bug middle-end/45505] [4.6 Regression] gfortran.dg/pr25923.f90

2011-02-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45505 --- Comment #20 from Martin Jambor 2011-02-09 11:48:11 UTC --- Author: jamborm Date: Wed Feb 9 11:48:09 2011 New Revision: 169964 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169964 Log: 2011-02-09 Martin Jambor PR middle-end/4

[Bug middle-end/45505] [4.6 Regression] gfortran.dg/pr25923.f90

2011-02-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45505 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-02-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #40 from Martin Jambor 2011-02-09 14:12:57 UTC --- (In reply to comment #39) > That could well be https://bugzilla.mozilla.org/show_bug.cgi?id=629638 > Can you check with a changeset newer than > http://hg.mozilla.org/mozilla-central/

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-02-10 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #42 from Martin Jambor 2011-02-10 17:35:36 UTC --- (In reply to comment #41) > > Segfaults or aborts ? Segfaults: === === If you get failures below, please file a bug describing the error === and your environment (compiler and link

[Bug tree-optimization/47714] New: verify_ssa fails with error: invalid argument to gimple call

2011-02-12 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47714 Summary: verify_ssa fails with error: invalid argument to gimple call Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/47714] verify_ssa fails with error: invalid argument to gimple call

2011-02-12 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47714 --- Comment #1 from Martin Jambor 2011-02-13 00:54:24 UTC --- Created attachment 23324 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23324 Testcase minimized with multidelta Testcase minimized with multidelta, also fails at any optimizatio

[Bug tree-optimization/47714] verify_ssa fails with error: invalid argument to gimple call

2011-02-12 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47714 --- Comment #2 from Martin Jambor 2011-02-13 00:59:04 UTC --- Backtrace always leads to SSA verification: (gdb) bt #0 verify_gimple_call (stmt=0x76970aa0) at /home/mjambor/gcc/trunk/src/gcc/tree-cfg.c:3137 #1 0x0095bcc7 in verify_s

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-02-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #46 from Martin Jambor 2011-02-13 12:41:29 UTC --- (In reply to comment #45) > Can you try mozilla-central revision 19f13dea4d4a? With that revision the elfhack problems are gone. Thanks!

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-02-16 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #47 from Martin Jambor 2011-02-16 16:30:31 UTC --- With the elfhack issues gone, the build now fails with: -- /home/mjambor/gcc/icln/inst/bin/g++ -o js -fno-rtti -

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-02-17 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #49 from Martin Jambor 2011-02-17 13:15:48 UTC --- (In reply to comment #48) > Updated mozilla patch fixing the undefined symbols Martin reported. > Sorry, had it in tree for a while, but didn't noticed PR is out of date. Thanks, th

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-02-18 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #51 from Martin Jambor 2011-02-18 12:30:08 UTC --- I tried again on a machine with more RAM and LTO build succeeded for me as well. Thanks a lot.

[Bug lto/47943] New: PRE fails to move a load before a loop with LTO

2011-03-01 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47943 Summary: PRE fails to move a load before a loop with LTO Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unas

[Bug lto/47943] PRE fails to move a load before a loop with LTO

2011-03-01 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47943 --- Comment #1 from Martin Jambor 2011-03-01 13:11:23 UTC --- Created attachment 23499 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23499 Testcase The testcase.

[Bug lto/47943] PRE fails to move a load before a loop with LTO

2011-03-01 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47943 Martin Jambor changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug lto/47924] [4.6 Regression] Missed optimization with LTO

2011-03-01 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47924 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug tree-optimization/47714] verify_ssa fails with error: invalid argument to gimple call

2011-03-02 Thread jamborm at gcc dot gnu.org
||2011.03.02 15:16:29 AssignedTo|unassigned at gcc dot |jamborm at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #4 from Martin Jambor 2011-03-02 15:16:29 UTC --- Mine. It's not

[Bug tree-optimization/57289] [4.9 Regression] ICE during 454.calculix compilation with -O3 -flto

2013-05-15 Thread jamborm at gcc dot gnu.org
||2013-05-15 CC|mjambor at suse dot cz |jamborm at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin Jambor --- I can

[Bug middle-end/57276] Waste work in cgraph_edge_brings_all_agg_vals_for_node()

2013-05-15 Thread jamborm at gcc dot gnu.org
||http://gcc.gnu.org/ml/gcc-p ||atches/2013-05/msg00846.htm ||l Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #3 from Martin Jambor --- I

[Bug tree-optimization/57294] [4.9 Regression] ice in remove_described_reference

2013-05-16 Thread jamborm at gcc dot gnu.org
, ||jamborm at gcc dot gnu.org --- Comment #4 from Martin Jambor --- We do not have a reference recorded from bar.isra.0 to func and then abort when we try to remove it. It's most probably a failure of cgraph_function_versioning during IPA-SRA because -fno-ip

[Bug fortran/57297] FAIL: gfortran.dg/select_type_4.f90 -O2 execution test

2013-05-16 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57297 --- Comment #4 from Martin Jambor --- So far I have not attempted to reproduce this myself and so do not quite follow all the previous comments but... (In reply to Richard Biener from comment #2) > > build_ref_for_offset ends up creating a MEM_R

[Bug tree-optimization/57294] [4.9 Regression] ice in remove_described_reference

2013-05-17 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #5 from Martin Jambor --- Actually, the interactions are a bit more convoluted, what happens is the following: 1. Early passes are run on function baz, references are computed for that function. 2. Early passes are run on

[Bug middle-end/57276] Waste work in cgraph_edge_brings_all_agg_vals_for_node()

2013-05-17 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57276 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/57289] [4.9 Regression] ICE during 454.calculix compilation with -O3 -flto

2013-05-17 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57289 --- Comment #3 from Martin Jambor --- The problem is that the controlled_uses in descriptors of parameters of function prespooles is streamed incorrectly.

[Bug lto/57289] [4.9 Regression] ICE during 454.calculix compilation with -O3 -flto

2013-05-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57289 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug rtl-optimization/57347] [4.8/4.9 Regression] wrong code for bitfield on x86_64-linux at -Os and above

2013-05-21 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #3 from Martin Jambor --- Right, even though IPA-CP was intended to ignore bit-fields, this testcase shows there are quite good reasons to do so, but apparently I somehow lost or forgot to add the code to actually check for this. For

[Bug lto/57289] [4.9 Regression] ICE during 454.calculix compilation with -O3 -flto

2013-05-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57289 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/57347] [4.8/4.9 Regression] wrong code for bitfield on x86_64-linux at -Os and above

2013-05-22 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57347 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug middle-end/57347] [4.8/4.9 Regression] wrong code for bitfield on x86_64-linux at -Os and above

2013-05-23 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57347 --- Comment #5 from Martin Jambor --- Author: jamborm Date: Thu May 23 13:20:41 2013 New Revision: 199252 URL: http://gcc.gnu.org/viewcvs?rev=199252&root=gcc&view=rev Log: 2013-05-22 Martin Jambor PR middle-end/57347 * tree.h (contain

[Bug middle-end/57347] [4.8/4.9 Regression] wrong code for bitfield on x86_64-linux at -Os and above

2013-05-23 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57347 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/57294] [4.9 Regression] ice in remove_described_reference

2013-05-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57294 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug tree-optimization/57294] [4.9 Regression] ice in remove_described_reference

2013-05-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57294 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/57539] [4.9 Regression] ice in ipa_edge_duplication_hook

2013-06-06 Thread jamborm at gcc dot gnu.org
||2013-06-06 CC|mjambor at suse dot cz |jamborm at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Jambor --- Confirmed

[Bug tree-optimization/57539] [4.9 Regression] ice in ipa_edge_duplication_hook

2013-06-07 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57539 Martin Jambor changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/57539] [4.9 Regression] ice in ipa_edge_duplication_hook

2013-06-10 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57539 --- Comment #3 from Martin Jambor --- Created attachment 30286 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30286&action=edit Proposed fix I'm currently bootstrapping and testing this patch to fix the issue. I'll give one more thought to

[Bug tree-optimization/57358] segmentation fault with attribute(optimize(O0))

2013-06-11 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57358 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug tree-optimization/57358] segmentation fault with attribute(optimize(O0))

2013-06-11 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57358 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/57358] segmentation fault with attribute(optimize(O0))

2013-06-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57358 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug tree-optimization/57539] [4.9 Regression] ice in ipa_edge_duplication_hook

2013-06-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57539 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug middle-end/57670] New: Member-pointer calls should not be redirected to builtin_unreachable

2013-06-21 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Created attachment 30335 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30335&action=edit Testcase We redirect calls to non-funct

[Bug middle-end/57670] Member-pointer calls should not be redirected to builtin_unreachable

2013-06-21 Thread jamborm at gcc dot gnu.org
||2013-06-21 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Jambor --- Mine.

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-06-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug tree-optimization/57539] [4.9 Regression] ice in ipa_edge_duplication_hook

2013-06-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57539 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/57358] segmentation fault with attribute(optimize(O0))

2013-06-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57358 --- Comment #5 from Martin Jambor --- Author: jamborm Date: Mon Jun 24 12:51:43 2013 New Revision: 200369 URL: http://gcc.gnu.org/viewcvs?rev=200369&root=gcc&view=rev Log: 2013-06-24 Martin Jambor PR tree-optimization/57358 * ipa-prop

[Bug tree-optimization/57358] segmentation fault with attribute(optimize(O0))

2013-06-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57358 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-06-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 --- Comment #27 from Martin Jambor --- Created attachment 30355 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30355&action=edit Proposed patch I'd suggest this (yet untested) patch.

[Bug middle-end/57670] Member-pointer calls should not be redirected to builtin_unreachable

2013-06-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57670 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-06-25 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 --- Comment #29 from Martin Jambor --- (In reply to Martin Liška from comment #28) > Patch solved the problem for chromium ;) I will test libreoffice tomorrow. Great, I have submitted the patch to the mailing list then: http://gcc.gnu.org/ml/gcc

[Bug middle-end/57670] Member-pointer calls should not be redirected to builtin_unreachable

2013-06-27 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57670 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/57748] ICE on ARM with -mfloat-abi=softfp -mfpu=neo

2013-06-28 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-07-02 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 --- Comment #30 from Martin Jambor --- Author: jamborm Date: Thu Jun 27 13:49:28 2013 New Revision: 200468 URL: http://gcc.gnu.org/viewcvs?rev=200468&root=gcc&view=rev Log: 2013-06-27 Martin Jambor PR lto/57208 * ipa-ref.h (ipa_maybe_

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-07-02 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/57904] Bogus(?) "invokes undefined behavior" warning with Fortran's finalization wrapper (gfortran.dg/class_48.f90)

2013-07-23 Thread jamborm at gcc dot gnu.org
||2013-07-23 CC||jakub at gcc dot gnu.org, ||jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Jambor --- I'm not really sure wha

[Bug tree-optimization/55334] [4.8/4.9 Regression] mgrid regression (ipa-cp disables vectorization)

2013-07-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #33 from Martin Jambor --- I can confirm that one call of resid now gets inlined on the branch even on x86_64 (I'm confused why, the dump seems to suggest all call sites would violate param max-inline-insns-auto limit but then one gets

[Bug fortran/57987] New: Fortran finalizers considered extern-inline by middle-end

2013-07-25 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org When looking at PR 57904, I found out that inliner refused to even consider __final_test2_T/0 because, according to the dump, "redefined extern inline function

[Bug fortran/57987] Fortran finalizers considered extern-inline by middle-end

2013-07-26 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57987 --- Comment #1 from Martin Jambor --- Created attachment 30558 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30558&action=edit An unsuccessful attempt to fix this I attempted to fix this with the attached patch but it fails some Fortran tes

[Bug middle-end/57748] [4.8/4.9 Regression] ICE on ARM with -mfloat-abi=softfp -mfpu=neon

2013-07-26 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 --- Comment #5 from Martin Jambor --- So I only got to this and I definitely won't be able to finish it today or even this week but here is what I have figured out so far. We ICE when expanding statement MEM[(struct resolved_chain *)_19].ips[j

[Bug fortran/57987] Fortran finalizers considered extern-inline by middle-end

2013-07-29 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57987 --- Comment #3 from Martin Jambor --- Uh oh, but I do not really feel comfortable submitting a patch like this that I do not understand at all but happens to pass the testsuite :-)

[Bug middle-end/57748] [4.8/4.9 Regression] ICE on ARM with -mfloat-abi=softfp -mfpu=neon

2013-07-30 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 --- Comment #7 from Martin Jambor --- (In reply to Bernd Edlinger from comment #6) > hhmm.. > > set_ptr_info_alignment is always called with align=4, > and by the way, the crash goes away if I change this line > (but I cannot tell if the code is

[Bug middle-end/57748] [4.8/4.9 Regression] ICE on ARM with -mfloat-abi=softfp -mfpu=neon

2013-07-31 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 --- Comment #9 from Martin Jambor --- Created attachment 30577 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30577&action=edit Simple x86_64 testcase Simple x86_64 testcase triggering the ICE.

[Bug middle-end/57748] [4.8/4.9 Regression] ICE on ARM with -mfloat-abi=softfp -mfpu=neon

2013-07-31 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 --- Comment #10 from Martin Jambor --- The problem is that the type of the record that contains the scalar data we are accessing has non-BLK mode despite that we are not accessing a part of it. This is because it has a zero sized trailing array:

[Bug middle-end/57748] [4.8/4.9 Regression] ICE on ARM with -mfloat-abi=softfp -mfpu=neon

2013-07-31 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 --- Comment #11 from Martin Jambor --- (In reply to Bernd Edlinger from comment #8) > (In reply to Martin Jambor from comment #7) > > In any event, it is clear that > > the code in expand_assignment cannot cope with unaligned tem and non-NULL > >

[Bug middle-end/57748] [4.8/4.9 Regression] ICE when expanding assignment to unaligned zero-sized array

2013-08-01 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 --- Comment #13 from Martin Jambor --- Created attachment 30583 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30583&action=edit Untested fix This is how I'd like to fix the problem if the patch passes bootstrap and testing (on x86_64-linux,

<    1   2   3   4   5   6   7   8   9   10   >