public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/50632] New: [4.7 Regression] New test failures
@ 2011-10-06 15:59 hjl.tools at gmail dot com
  2011-10-06 17:12 ` [Bug middle-end/50632] " hjl.tools at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2011-10-06 15:59 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50632
           Summary: [4.7 Regression] New test failures
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


On Linux/x86-64, revision 179566 gave

FAIL: gcc.dg/pr50132.c (internal compiler error)
FAIL: gcc.dg/pr50132.c (test for excess errors)
FAIL: gfortran.fortran-torture/execute/entry_4.f90 execution,  -O2 
FAIL: gfortran.fortran-torture/execute/entry_4.f90 execution,  -O2
-fbounds-check 
FAIL: gfortran.fortran-torture/execute/entry_4.f90 execution,  -O2
-fomit-frame-pointer -finline-functions 
FAIL: gfortran.fortran-torture/execute/entry_4.f90 execution,  -O2
-fomit-frame-pointer -finline-functions -funroll-loops 
FAIL: gfortran.fortran-torture/execute/entry_4.f90 execution,  -O3 -g 
FAIL: gfortran.fortran-torture/execute/entry_4.f90 execution, -O2
-ftree-vectorize -msse2 

Revision 179528 is OK.


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

* [Bug middle-end/50632] [4.7 Regression] New test failures
  2011-10-06 15:59 [Bug middle-end/50632] New: [4.7 Regression] New test failures hjl.tools at gmail dot com
@ 2011-10-06 17:12 ` hjl.tools at gmail dot com
  2011-10-06 19:05 ` [Bug middle-end/50632] [4.7 Regression] FAIL: gcc.dg/pr50132.c rth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2011-10-06 17:12 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernds at gcc dot gnu.org

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-10-06 17:11:53 UTC ---
gcc.dg/pr50132.c is caused by shrink wrap:

/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/
/export/gnu/import/git/gcc/gcc/testsuite/gcc.dg/pr50132.c -Os
-fno-asynchronous-unwind-tables -g -S -m64 -o pr50132.s
/export/gnu/import/git/gcc/gcc/testsuite/gcc.dg/pr50132.c: In function ‘foo’:
/export/gnu/import/git/gcc/gcc/testsuite/gcc.dg/pr50132.c:10:1: internal
compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2243
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug middle-end/50632] [4.7 Regression] FAIL: gcc.dg/pr50132.c
  2011-10-06 15:59 [Bug middle-end/50632] New: [4.7 Regression] New test failures hjl.tools at gmail dot com
  2011-10-06 17:12 ` [Bug middle-end/50632] " hjl.tools at gmail dot com
@ 2011-10-06 19:05 ` rth at gcc dot gnu.org
  2011-10-06 19:16 ` rth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu.org @ 2011-10-06 19:05 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-10-06
         AssignedTo|unassigned at gcc dot       |rth at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.7.0
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Henderson <rth at gcc dot gnu.org> 2011-10-06 19:04:34 UTC ---
The problem is that the CSA pass is dropping a note when combining


(insn 13 12 16 3 (parallel [
            (set (reg/f:DI 7 sp)
                (plus:DI (reg/f:DI 7 sp)
                    (const_int 16 [0x10])))
            (clobber (reg:CC 17 flags))
        ]) z.c:9 254 {*adddi_1}
     (expr_list:REG_ARGS_SIZE (const_int 0 [0])
        (nil)))

(insn/f 31 30 35 4 (parallel [
            (set (reg/f:DI 7 sp)
                (plus:DI (reg/f:DI 7 sp)
                    (const_int 8 [0x8])))
            (clobber (reg:CC 17 flags))
            (clobber (mem:BLK (scratch) [0 A8]))
        ]) z.c:10 -1
     (expr_list:REG_CFA_ADJUST_CFA (set (reg/f:DI 7 sp)
            (plus:DI (reg/f:DI 7 sp)
                (const_int 8 [0x8])))
        (nil)))

to

(insn/f 31 30 35 3 (parallel [
            (set (reg/f:DI 7 sp)
                (plus:DI (reg/f:DI 7 sp)
                    (const_int 24 [0x18])))
            (clobber (reg:CC 17 flags))
            (clobber (mem:BLK (scratch) [0 A8]))
        ]) z.c:10 921 {pro_epilogue_adjust_stack_di_add}
     (expr_list:REG_UNUSED (reg:CC 17 flags)
        (expr_list:REG_CFA_ADJUST_CFA (set (reg/f:DI 7 sp)
                (plus:DI (reg/f:DI 7 sp)
                    (const_int 8 [0x8])))
            (nil))))

We've lost the REG_ARGS_SIZE note, which also affects the CFA
given that we're not using a frame pointer.


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

* [Bug middle-end/50632] [4.7 Regression] FAIL: gcc.dg/pr50132.c
  2011-10-06 15:59 [Bug middle-end/50632] New: [4.7 Regression] New test failures hjl.tools at gmail dot com
  2011-10-06 17:12 ` [Bug middle-end/50632] " hjl.tools at gmail dot com
  2011-10-06 19:05 ` [Bug middle-end/50632] [4.7 Regression] FAIL: gcc.dg/pr50132.c rth at gcc dot gnu.org
@ 2011-10-06 19:16 ` rth at gcc dot gnu.org
  2011-10-06 22:23 ` rth at gcc dot gnu.org
  2011-10-06 22:34 ` rth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu.org @ 2011-10-06 19:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2011-10-06 19:15:48 UTC ---
Created attachment 25433
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25433
proposed patch

Testing this patch now.


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

* [Bug middle-end/50632] [4.7 Regression] FAIL: gcc.dg/pr50132.c
  2011-10-06 15:59 [Bug middle-end/50632] New: [4.7 Regression] New test failures hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2011-10-06 19:16 ` rth at gcc dot gnu.org
@ 2011-10-06 22:23 ` rth at gcc dot gnu.org
  2011-10-06 22:34 ` rth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu.org @ 2011-10-06 22:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Henderson <rth at gcc dot gnu.org> 2011-10-06 22:22:15 UTC ---
Author: rth
Date: Thu Oct  6 22:22:11 2011
New Revision: 179637

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179637
Log:
PR 50632

        * combine-stack-adjust.c (maybe_move_args_size_note): Add after
        parameter; use it to decide whether to merge two notes.
        (combine_stack_adjustments_for_block): Use maybe_move_args_size_note
        for the deallocation case as well.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine-stack-adj.c


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

* [Bug middle-end/50632] [4.7 Regression] FAIL: gcc.dg/pr50132.c
  2011-10-06 15:59 [Bug middle-end/50632] New: [4.7 Regression] New test failures hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2011-10-06 22:23 ` rth at gcc dot gnu.org
@ 2011-10-06 22:34 ` rth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu.org @ 2011-10-06 22:34 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Richard Henderson <rth at gcc dot gnu.org> 2011-10-06 22:34:17 UTC ---
Fixed.


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

end of thread, other threads:[~2011-10-06 22:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-06 15:59 [Bug middle-end/50632] New: [4.7 Regression] New test failures hjl.tools at gmail dot com
2011-10-06 17:12 ` [Bug middle-end/50632] " hjl.tools at gmail dot com
2011-10-06 19:05 ` [Bug middle-end/50632] [4.7 Regression] FAIL: gcc.dg/pr50132.c rth at gcc dot gnu.org
2011-10-06 19:16 ` rth at gcc dot gnu.org
2011-10-06 22:23 ` rth at gcc dot gnu.org
2011-10-06 22:34 ` rth at gcc dot gnu.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).