This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2007 19:35:16 -0000
- Subject: [Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA
- References: <bug-31529-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla 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 getline(){}
$ gcc-4.2 -c -o pr.o one.i one.i -combine -fdump-tree-all
$ mv one.i.001t.tu one.i.001t.tu-4.2
$ gcc-4.3-HEAD -c -o pr.o one.i one.i -combine -fdump-tree-all
one.i:1: internal compiler error: in cgraph_expand_function, at
cgraphunit.c:1146
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ mv one.i.001t.tu one.i.001t.tu-4.3
$ grep -A5 getline one.i.001t.tu-4.?
one.i.001t.tu-4.2:@2611 identifier_node strg: getline lngt: 7
one.i.001t.tu-4.2-@2612 bind_expr type: @115 body: @2619
one.i.001t.tu-4.2-@2613 tree_list valu: @51 chan: @129
one.i.001t.tu-4.2-@2614 tree_list valu: @25 chan: @2620
one.i.001t.tu-4.2-@2615 tree_list valu: @2435 chan: @2621
one.i.001t.tu-4.2-@2616 identifier_node strg:
__sync_bool_compare_and_swap_16
--
one.i.001t.tu-4.3:@2698 identifier_node strg: getline lngt: 7
one.i.001t.tu-4.3-@2699 tree_list valu: @51 chan: @130
one.i.001t.tu-4.3-@2700 tree_list valu: @25 chan: @2704
one.i.001t.tu-4.3-@2701 tree_list valu: @2549 chan: @2705
one.i.001t.tu-4.3-@2702 identifier_node strg: __sync_val_compare_and_swap
one.i.001t.tu-4.3- lngt: 27
--
aldot at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2 Regression] ICE in |[4.3 Regression] ICE in
|cgraph_expand_function with |cgraph_expand_function with
|IMA |IMA
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31529