public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/41501]  New: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation,  -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails  with '-02'
@ 2009-09-29 13:20 jason dot vas dot dias at gmail dot com
  2009-09-29 14:59 ` [Bug tree-optimization/41501] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jason dot vas dot dias at gmail dot com @ 2009-09-29 13:20 UTC (permalink / raw)
  To: gcc-bugs

gcc-4.4.2 testsuite failures:
FAIL: gcc.dg/tree-prof/bb-reorg.c compilation,  -fprofile-use -D_PROFILE_USE
FAIL: gcc.dg/tree-prof/pr34999.c compilation,  -fprofile-use -D_PROFILE_USE

using binutils 2.20.51.20090927

Copying sources to a temporary directory and repeating commands used by
testsuite produces this log:

$ ${GCC_BUILD}/gcc/xgcc bb-reorg.c -B${GCC_BUILD}/gcc/ -O2
-freorder-blocks-and-partition -fprofile-generate -D_PROFILE_GENERATE -lm -o
bb-reorg.x01
$ ./bb-reorg.x01
$ ${GCC_BUILD}/gcc/xgcc bb-reorg.c -B${GCC_BUILD}/gcc/ -O2
-freorder-blocks-and-partition -fprofile-use -D_PROFILE_USE -lm -o bb-reorg.x02
/tmp/ccFSvybE.s: Assembler messages:
/tmp/ccFSvybE.s:98: Error: .cfi_endproc without corresponding .cfi_startproc
/tmp/ccFSvybE.s:116: Error: open CFI at the end of file; missing .cfi_endproc
directive

Omitting '-O2' fixes :
$ ${GCC_BUILD}/gcc/xgcc bb-reorg.c -B${GCC_BUILD}/gcc/ 
-freorder-blocks-and-partition -fprofile-generate -D_PROFILE_GENERATE -lm -o
bb-reorg.x01
$ ./bb-reorg.x01
$ ${GCC_BUILD}/gcc/xgcc bb-reorg.c -B${GCC_BUILD}/gcc/
-freorder-blocks-and-partition -fprofile-use -D_PROFILE_USE -lm -o bb-reorg.x02
$ ./bb-reorg.x02

The same problem occurs with 
gcc/testsuite/gcc.dg/tree-prof/pr34999.c .


-- 
           Summary: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation,  -
                    fprofile-use -D_PROFILE_USE - `-fprofile-use' fails
                    with '-02'
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jason dot vas dot dias at gmail dot com
 GCC build triplet: x86_64-pc-linux-gnu
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

* [Bug tree-optimization/41501] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation,  -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails  with '-02'
  2009-09-29 13:20 [Bug tree-optimization/41501] New: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails with '-02' jason dot vas dot dias at gmail dot com
@ 2009-09-29 14:59 ` pinskia at gcc dot gnu dot org
  2009-09-29 18:47 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-09-29 14:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-09-29 14:58 -------
This was fixed on the trunk, I don't have the changelog entry handy though, but
it was done by Jakub IIRC.


-- 


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


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

* [Bug tree-optimization/41501] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation,  -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails  with '-02'
  2009-09-29 13:20 [Bug tree-optimization/41501] New: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails with '-02' jason dot vas dot dias at gmail dot com
  2009-09-29 14:59 ` [Bug tree-optimization/41501] " pinskia at gcc dot gnu dot org
@ 2009-09-29 18:47 ` ubizjak at gmail dot com
  2009-11-16 15:57 ` ghazi at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2009-09-29 18:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ubizjak at gmail dot com  2009-09-29 18:47 -------
(In reply to comment #1)
> This was fixed on the trunk, I don't have the changelog entry handy though, but
> it was done by Jakub IIRC.

2009-08-07  Jakub Jelinek  <jakub@redhat.com>

        * dwarf2out.c (output_fde): When doing hot/cold partitioning, use
        fde->dw_fde_begin as begin label instead of hot/cold label.
        Use LLSDAC label instead of LLSDA for second section lsda.
        (dwarf2out_do_cfi_startproc): Add SECOND argument.  Use LLSDAC
        label instead of LLSDA if it is true.
        (dwarf2out_begin_prologue, dwarf2out_switch_text_section): Adjust
        callers.
        * except.c (add_call_site, dw2_size_of_call_site_table): Add
        SECTION argument.  Use it as index into crtl->eh.call_site_record
        array.
        (dw2_output_call_site_table): Likewise.  Add CS_FORMAT argument,
        use it to determine how to print table entries instead of using
        #ifdef HAVE_AS_LEB128.  For SECTION > 0 use hot resp. cold
        label instead of normal begin label as base.
        (sjlj_assign_call_site_values): Adjust add_call_site caller.
        (convert_to_eh_region_ranges): When doing hot/cold partitioning,
        ensure no EH range spans between sections and that landing pads
        are always in the corresponding section.
        (sjlj_size_of_call_site_table, sjlj_output_call_site_table): Adjust
        for crtl->eh.call_site_record being an array rather than scalar.
        (output_one_function_exception_table): New function, copied
        from output_function_exception_table.  Adjust
        dw2_size_of_call_site_table, dw2_output_call_site_table
        callers.  For SECOND section use *C suffixed labels.
        (output_function_exception_table): Call
        output_one_function_exception_table and, when doing hot/cold
        partitioning, also another time for the second section.
        * opts.c: Include except.h.
        (decode_options): Allow -freorder-blocks-and-partition with
        exceptions, unless SJLJ or TARGET_UNWIND_INFO.
        * Makefile.in (opts.o): Depend on $(EXCEPT_H).
        * function.h (struct rtl_eh): Change call_site_record from
        scalar into array of 2 elements.


-- 


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


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

* [Bug tree-optimization/41501] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation,  -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails  with '-02'
  2009-09-29 13:20 [Bug tree-optimization/41501] New: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails with '-02' jason dot vas dot dias at gmail dot com
  2009-09-29 14:59 ` [Bug tree-optimization/41501] " pinskia at gcc dot gnu dot org
  2009-09-29 18:47 ` ubizjak at gmail dot com
@ 2009-11-16 15:57 ` ghazi at gcc dot gnu dot org
  2009-11-22 17:24 ` ghazi at gcc dot gnu dot org
  2009-12-01 15:17 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-11-16 15:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ghazi at gcc dot gnu dot org  2009-11-16 15:57 -------
See PR34999


-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-16 15:57:29
               date|                            |


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


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

* [Bug tree-optimization/41501] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation,  -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails  with '-02'
  2009-09-29 13:20 [Bug tree-optimization/41501] New: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails with '-02' jason dot vas dot dias at gmail dot com
                   ` (2 preceding siblings ...)
  2009-11-16 15:57 ` ghazi at gcc dot gnu dot org
@ 2009-11-22 17:24 ` ghazi at gcc dot gnu dot org
  2009-12-01 15:17 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-11-22 17:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ghazi at gcc dot gnu dot org  2009-11-22 17:23 -------
Patch on mainline needs to be backported to 4.4.x branch.


-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |34999
   Last reconfirmed|2009-11-16 15:57:29         |2009-11-22 17:23:56
               date|                            |


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


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

* [Bug tree-optimization/41501] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation,  -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails  with '-02'
  2009-09-29 13:20 [Bug tree-optimization/41501] New: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails with '-02' jason dot vas dot dias at gmail dot com
                   ` (3 preceding siblings ...)
  2009-11-22 17:24 ` ghazi at gcc dot gnu dot org
@ 2009-12-01 15:17 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-01 15:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-12-01 15:17 -------
Too big for backporting (and not a regression?).


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|                            |4.4.3
      Known to work|                            |4.5.0
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


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

end of thread, other threads:[~2009-12-01 15:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-29 13:20 [Bug tree-optimization/41501] New: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails with '-02' jason dot vas dot dias at gmail dot com
2009-09-29 14:59 ` [Bug tree-optimization/41501] " pinskia at gcc dot gnu dot org
2009-09-29 18:47 ` ubizjak at gmail dot com
2009-11-16 15:57 ` ghazi at gcc dot gnu dot org
2009-11-22 17:24 ` ghazi at gcc dot gnu dot org
2009-12-01 15:17 ` rguenth at gcc dot gnu dot org

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).