public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/44716]  New: Bootstrap fails with partial inlining (r161382)
@ 2010-06-29 17:51 sje at cup dot hp dot com
  2010-06-29 20:33 ` [Bug middle-end/44716] " sje at cup dot hp dot com
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-06-29 17:51 UTC (permalink / raw)
  To: gcc-bugs

The ia64-hp-hpux11.23 platform fails when building the C++ library during a
bootstrap build with r161382.  r161381 works. r161521, which has some bug
fixes, still fails.  The failure only occurs with bootstrap, the compiler
faults when building the libstdc++ library.

/proj/opensrc_nobackup/sje/reg3/build-ia64-hp-hpux11.23-trunk/obj_gcc/ia64-hp-hpux11.23/libstdc++-v3/include/bits/postypes.h:123:12:
internal compiler error: Illegal instruction
Please submit a full bug report,  
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [ia64-hp-hpux11.23/bits/stdc++.h.gch/O2ggnu++0x.gch] Error

Running under gdb didn't give me a complete backtrace but did show:

#0  0x42c88b0:2 in cplus_expand_constant (cst=0x6432d880)
    at /proj/opensrc_nobackup/sje/reg3/src/trunk/gcc/cp/expr.c:70

I will try turning off partial inlining and see if that fixes the
problem using the r161382 sources.  This bug doesn't appear to be
the same as PR44671 (fixed in r161521) or PR44687 (an ICE error in tree_nrv).


-- 
           Summary: Bootstrap fails with partial inlining (r161382)
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sje at cup dot hp dot com
 GCC build triplet: ia64-hp-hpux11.23
  GCC host triplet: ia64-hp-hpux11.23
GCC target triplet: ia64-hp-hpux11.23


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
@ 2010-06-29 20:33 ` sje at cup dot hp dot com
  2010-06-30  8:36 ` [Bug middle-end/44716] [4.6 Regression] " rguenth at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-06-29 20:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from sje at cup dot hp dot com  2010-06-29 20:32 -------
I have verified that the bootstrap works if I set flag_partial_inlining to 0.
I also did a build with --disable-libstdcxx-pch to see if the build failed when
I didn't build pre-compiled C++ headers and it does.  It dies while compiling
libstdc++-v3/libsupc++/array_type_info.cc with the same error.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
  2010-06-29 20:33 ` [Bug middle-end/44716] " sje at cup dot hp dot com
@ 2010-06-30  8:36 ` rguenth at gcc dot gnu dot org
  2010-07-07  0:46 ` hubicka at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-30  8:36 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
            Summary|Bootstrap fails with partial|[4.6 Regression] Bootstrap
                   |inlining (r161382)          |fails with partial inlining
                   |                            |(r161382)
   Target Milestone|---                         |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
  2010-06-29 20:33 ` [Bug middle-end/44716] " sje at cup dot hp dot com
  2010-06-30  8:36 ` [Bug middle-end/44716] [4.6 Regression] " rguenth at gcc dot gnu dot org
@ 2010-07-07  0:46 ` hubicka at gcc dot gnu dot org
  2010-07-07 15:31 ` sje at cup dot hp dot com
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-07-07  0:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hubicka at gcc dot gnu dot org  2010-07-07 00:46 -------
Hi,
can I have a testcase that reproduce on cross compiler?  The backtrace seems
rather odd.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (2 preceding siblings ...)
  2010-07-07  0:46 ` hubicka at gcc dot gnu dot org
@ 2010-07-07 15:31 ` sje at cup dot hp dot com
  2010-07-07 17:22 ` sje at cup dot hp dot com
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-07-07 15:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sje at cup dot hp dot com  2010-07-07 15:30 -------
I haven't been able to come up with a test case other then bootstrapping.  If I
build a non-bootstrap compiler and run the testsuite I don't get any unexpected
failures due to this problem.  It is only when, during bootstrap, I run the
cc1plus executable that was built by the stage1 cc1 that I get a failure.  At
that point trying to compile any C++ program with cc1plus results in cc1plus
aborting.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (3 preceding siblings ...)
  2010-07-07 15:31 ` sje at cup dot hp dot com
@ 2010-07-07 17:22 ` sje at cup dot hp dot com
  2010-07-07 22:48 ` sje at cup dot hp dot com
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-07-07 17:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from sje at cup dot hp dot com  2010-07-07 17:22 -------
The problem seems to happen when compiling cp/decl.c.  If I compile this file
at -O1 instead of -O2 the resulting C++ compiler will work.  I am trying to see
if I can track it down to one function within cp/decl.c.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (4 preceding siblings ...)
  2010-07-07 17:22 ` sje at cup dot hp dot com
@ 2010-07-07 22:48 ` sje at cup dot hp dot com
  2010-07-07 23:02 ` hubicka at ucw dot cz
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-07-07 22:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from sje at cup dot hp dot com  2010-07-07 22:48 -------
If I put __attribute__ ((noinline)) on check_class_member_definition_namespace
in cp/decl.c, I don't see the bug.  I don't see anything special about this
function so I don't know why it is having problems being (partially)
inlined when nothing else seems to cause problems.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (5 preceding siblings ...)
  2010-07-07 22:48 ` sje at cup dot hp dot com
@ 2010-07-07 23:02 ` hubicka at ucw dot cz
  2010-07-07 23:43 ` sje at cup dot hp dot com
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: hubicka at ucw dot cz @ 2010-07-07 23:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hubicka at ucw dot cz  2010-07-07 23:01 -------
Subject: Re:  [4.6 Regression] Bootstrap fails with
        partial inlining (r161382)

great work!  Could you, please, post me the fnsplit, einline2 and inline dumps?
Perhaps I can work out what is wrong there.
(and preprocessed source so I can try on cross if possible too)

Honza


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (6 preceding siblings ...)
  2010-07-07 23:02 ` hubicka at ucw dot cz
@ 2010-07-07 23:43 ` sje at cup dot hp dot com
  2010-07-07 23:44 ` sje at cup dot hp dot com
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-07-07 23:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from sje at cup dot hp dot com  2010-07-07 23:43 -------
Created an attachment (id=21129)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21129&action=view)
Compressed preprocessed cp/decl.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (7 preceding siblings ...)
  2010-07-07 23:43 ` sje at cup dot hp dot com
@ 2010-07-07 23:44 ` sje at cup dot hp dot com
  2010-07-07 23:44 ` sje at cup dot hp dot com
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-07-07 23:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from sje at cup dot hp dot com  2010-07-07 23:44 -------
Created an attachment (id=21130)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21130&action=view)
Compressed decl.c.015t.inline_param1 file


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (8 preceding siblings ...)
  2010-07-07 23:44 ` sje at cup dot hp dot com
@ 2010-07-07 23:44 ` sje at cup dot hp dot com
  2010-07-07 23:45 ` sje at cup dot hp dot com
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-07-07 23:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from sje at cup dot hp dot com  2010-07-07 23:44 -------
Created an attachment (id=21131)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21131&action=view)
Compressed decl.c.025t.einline2 file


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (9 preceding siblings ...)
  2010-07-07 23:44 ` sje at cup dot hp dot com
@ 2010-07-07 23:45 ` sje at cup dot hp dot com
  2010-07-07 23:46 ` sje at cup dot hp dot com
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-07-07 23:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from sje at cup dot hp dot com  2010-07-07 23:45 -------
Created an attachment (id=21132)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21132&action=view)
Compressed decl.c.041t.fnsplit file


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (10 preceding siblings ...)
  2010-07-07 23:45 ` sje at cup dot hp dot com
@ 2010-07-07 23:46 ` sje at cup dot hp dot com
  2010-08-11 17:20 ` sje at cup dot hp dot com
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-07-07 23:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from sje at cup dot hp dot com  2010-07-07 23:45 -------
Created an attachment (id=21133)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21133&action=view)
Compressed decl.c.043t.inline_param3 file


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (11 preceding siblings ...)
  2010-07-07 23:46 ` sje at cup dot hp dot com
@ 2010-08-11 17:20 ` sje at cup dot hp dot com
  2010-08-11 17:24 ` sje at cup dot hp dot com
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-08-11 17:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from sje at cup dot hp dot com  2010-08-11 17:20 -------
I have a slightly smaller test case for this, but it still needs to bootstrap
to fail.  If I bootstrap just the C part of the compiler I get a successful
build (with partial inlining enabled) but when I use that compiler to compile
this test case (with -O2) I get a segfault in the compiler:

char *s4;
test2_sub (int i, ...)
{
  __builtin_va_list ap;
  __builtin___vsprintf_chk (s4, 0, __builtin_object_size (s4, 0), "%s %d", ap);
}


If I modify the gimple_rewrite_call_expr call in builtins.c and replace the
call to gimple_call_num_args with a new function that I don't inline (or that I
inline completely) the segfault goes away.

Looking at some of the dump files, builtins.c.041t.fnsplit shows
gimple_call_num_args getting split but I don't see any indication of inlining
in builtins.c.015/025/043.  fnsplit creates gimple_call_num_args.part.22 and
changes gimple_call_num_args to call that routine the dump doesn't show
imple_rewrite_call_expr calling part.22 but later dumps do show this.  I will
attach builtins.c.041t.fnsplit.

Any help on this bug would be appreciated, IA64 HP-UX has not bootstrapped with
ToT sources in some time now.


-- 

sje at cup dot hp dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-08-11 17:20:41
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (12 preceding siblings ...)
  2010-08-11 17:20 ` sje at cup dot hp dot com
@ 2010-08-11 17:24 ` sje at cup dot hp dot com
  2010-08-11 19:51 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-08-11 17:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from sje at cup dot hp dot com  2010-08-11 17:23 -------
Created an attachment (id=21455)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21455&action=view)
compressed builtins.c.041t.fnsplit dump file

I believe that the splitting and inlining of gimple_call_num_args into
gimple_rewrite_call_expr is causing the failure but I do not know why.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (13 preceding siblings ...)
  2010-08-11 17:24 ` sje at cup dot hp dot com
@ 2010-08-11 19:51 ` rguenth at gcc dot gnu dot org
  2010-08-19 15:53 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-11 19:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from rguenth at gcc dot gnu dot org  2010-08-11 19:51 -------
I will have a look tomorrow.


-- 

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                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-08-11 17:20:41         |2010-08-11 19:51:09
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (14 preceding siblings ...)
  2010-08-11 19:51 ` rguenth at gcc dot gnu dot org
@ 2010-08-19 15:53 ` rguenth at gcc dot gnu dot org
  2010-09-02 10:49 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-19 15:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from rguenth at gcc dot gnu dot org  2010-08-19 15:53 -------
I didn't get a chance to look.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|rguenth at gcc dot gnu dot  |hubicka at gcc dot gnu dot
                   |org                         |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (15 preceding siblings ...)
  2010-08-19 15:53 ` rguenth at gcc dot gnu dot org
@ 2010-09-02 10:49 ` rguenth at gcc dot gnu dot org
  2010-09-20 22:12 ` sje at cup dot hp dot com
  2010-09-23 16:28 ` sje at cup dot hp dot com
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-02 10:49 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (16 preceding siblings ...)
  2010-09-02 10:49 ` rguenth at gcc dot gnu dot org
@ 2010-09-20 22:12 ` sje at cup dot hp dot com
  2010-09-23 16:28 ` sje at cup dot hp dot com
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-09-20 22:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from sje at cup dot hp dot com  2010-09-20 22:12 -------
Honza, have you had a chance to look at this failure recently?  It is still
happening and I can only build GCC on ia64-hp-hpux11.23 using workarounds to
stop some of the inlining.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)
  2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
                   ` (17 preceding siblings ...)
  2010-09-20 22:12 ` sje at cup dot hp dot com
@ 2010-09-23 16:28 ` sje at cup dot hp dot com
  18 siblings, 0 replies; 20+ messages in thread
From: sje at cup dot hp dot com @ 2010-09-23 16:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from sje at cup dot hp dot com  2010-09-23 16:27 -------
It looks like GCC on IA64 HP-UX has a problem when a routine in .text.unlikely
calls a function in .text.  If I define UNLIKELY_EXECUTED_TEXT_SECTION_NAME and
HOT_TEXT_SECTION_NAME to just be '.text' then I can bootstrap with partial
inlining enabled.  I think the bug that is causing the abort is probably in the
GNU assembler or the HP linker or some combination of the two.

There is still a GCC bug here because the partial inlining change shouldn't
have triggered the use of .text.unlikely.  Particularly since it appears that
it is the caller of the partially inlined function that is getting put into
.text.unlikely, not the 'remainder' of the partially inlined function.

On IA64 Linux, we do not appear to be using .text.unlikely, and that is
probably why I see this bug on HP-UX but not Linux.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44716


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-09-23 16:28 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-29 17:51 [Bug middle-end/44716] New: Bootstrap fails with partial inlining (r161382) sje at cup dot hp dot com
2010-06-29 20:33 ` [Bug middle-end/44716] " sje at cup dot hp dot com
2010-06-30  8:36 ` [Bug middle-end/44716] [4.6 Regression] " rguenth at gcc dot gnu dot org
2010-07-07  0:46 ` hubicka at gcc dot gnu dot org
2010-07-07 15:31 ` sje at cup dot hp dot com
2010-07-07 17:22 ` sje at cup dot hp dot com
2010-07-07 22:48 ` sje at cup dot hp dot com
2010-07-07 23:02 ` hubicka at ucw dot cz
2010-07-07 23:43 ` sje at cup dot hp dot com
2010-07-07 23:44 ` sje at cup dot hp dot com
2010-07-07 23:44 ` sje at cup dot hp dot com
2010-07-07 23:45 ` sje at cup dot hp dot com
2010-07-07 23:46 ` sje at cup dot hp dot com
2010-08-11 17:20 ` sje at cup dot hp dot com
2010-08-11 17:24 ` sje at cup dot hp dot com
2010-08-11 19:51 ` rguenth at gcc dot gnu dot org
2010-08-19 15:53 ` rguenth at gcc dot gnu dot org
2010-09-02 10:49 ` rguenth at gcc dot gnu dot org
2010-09-20 22:12 ` sje at cup dot hp dot com
2010-09-23 16:28 ` sje at cup dot hp dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).