[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2008-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #18 from pinskia at gcc dot gnu dot org 2008-01-26 19:04 --- Changing this back to the bug about the ICE. >But now we accept the IMHO invalid version: This is PR 23104. Closing this bug as fixed as the original bug was fixed and the accepts invalid has been around for a w

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2008-01-26 Thread reichelt at gcc dot gnu dot org
--- Comment #14 from reichelt at gcc dot gnu dot org 2008-01-26 14:32 --- But now we accept the IMHO invalid version: file1.c: void foo() {} file2.c: void foo() {} GCC 4.0.x used to produce an error: file2.c:1: error: redefinition of 'foo' file1.c:1: error: previous definition of

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2008-01-23 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2008-01-23 14:20 --- Subject: Bug 31529 Author: rguenth Date: Wed Jan 23 14:20:07 2008 New Revision: 131758 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131758 Log: 2008-01-23 Richard Guenther <[EMAIL PROTECTED]>

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2008-01-23 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2008-01-23 14:20 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2008-01-23 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2008-01-11 Thread hubicka at gcc dot gnu dot org
--- Comment #11 from hubicka at gcc dot gnu dot org 2008-01-11 15:39 --- The problem here is really how we handle extern inline functions redefining non-extern inline functions. What forntend does is to handle all extern inline or extern functions of same name in all units as single f

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2008-01-11 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2008-01-11 09:14 --- Actually, I don't know if --combine is really that obscure. People seem to use it with some success, see e.g. http://lwn.net/Articles/197097/. Also, others seem to think IMA is importan enough to upgrade bugs to P1

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2008-01-09 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2008-01-09 15:04 --- IMHO this shouldn't be P1, IMA is too obscure for that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31529

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2007-12-15 Thread aldot at gcc dot gnu dot org
--- Comment #8 from aldot at gcc dot gnu dot org 2007-12-15 17:23 --- Two disfunctional testcases: pr31529_1a.i: extern getline(){} pr31529_1b.i: extern getline(){} pr31529_2a.i: extern getline(){} pr31529_2a.i: extern __inline getline(){} Trying to fix this in cfg led to verify_curr_p

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2007-12-05 Thread aldot at gcc dot gnu dot org
--- Comment #7 from aldot at gcc dot gnu dot org 2007-12-05 22:48 --- Sounds like this was introduced by the ipa pass reordering in r120527 ff. Jakub, can you confirm this? -- aldot at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2007-12-04 Thread aldot at gcc dot gnu dot org
--- Comment #6 from aldot at gcc dot gnu dot org 2007-12-04 12:28 --- Testing a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31529

[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA

2007-12-02 Thread aldot at gcc dot gnu dot org
--- Comment #5 from aldot at gcc dot gnu dot org 2007-12-02 19:35 --- Works: $ cat one.i extern getline(); $ gcc-4.2 -c -o pr.o one.i one.i -combine -fdump-tree-all $ gcc-4.3-HEAD -c -o pr.o one.i one.i -combine -fdump-tree-all 4.3 doesn't seem to see the body? $ cat one.i extern getli