This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/16477] New: [3.5 Regression] Failure of gcc.c-torture/execute/strct-stdarg-1.c


Executing on host: /xxx/gnu/gcc-3.3/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.3/objdir/gc
c/ /xxx/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/execute/strct-stdarg-1.c  -w
  -O0   -lm   -o /xxx/gnu/gcc-3.3/objdir/gcc/testsuite/strct-stdarg-1.x0    (tim
eout = 300)
PASS: gcc.c-torture/execute/strct-stdarg-1.c compilation,  -O0
Setting LD_LIBRARY_PATH to :
FAIL: gcc.c-torture/execute/strct-stdarg-1.c execution,  -O0

Looking at this with gdb, I see that x[0] is no longer correctly
padded in the call to function f.  The struct tiny has been
incorrectly left justified.

The regression occurred between July 3 and 7.  The most likely
casuse is the following patch since we use a PARALLEL to obtain
the correct justification for 5-7 byte structs on these targets.

2004-07-05  Roger Sayle  <roger@eyesopen.com>

        * calls.c (load_register_parameters): Call expand_shift instead
        of expand_binop with ashl_optab (or other shift optab) directly.
        * expr.c (emit_group_load, emit_group_store): Likewise.
        * function.c (assign_parm_setup_block): Likewise.
        * stmt.c (shift_return_value): Likewise.

Reverting the expr.c portion of the above change appears to correct
the regression.

-- 
           Summary: [3.5 Regression] Failure of gcc.c-torture/execute/strct-
                    stdarg-1.c
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,roger at eyesopen dot
                    com
 GCC build triplet: hppa2.0w-hp-hpux11*, hppa-unknown-linux-gnu
  GCC host triplet: hppa2.0w-hp-hpux11*, hppa-unknown-linux-gnu
GCC target triplet: hppa2.0w-hp-hpux11*, hppa-unknown-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]