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 middle-end/20524] New: [4.0, 4.1 regression] cris-axis-elf testsuite failures: gcc.c-torture/compile/20011119-1.c and -2


With LAST_UPDATED "Wed Mar 16 14:54:19 UTC 2005" the tests passed.
With LAST_UPDATED "Wed Mar 16 21:10:54 UTC 2005"
(plus patch at <URL:http://sourceware.org/ml/newlib/2005/msg00179.html>)
the tests fail on trunk.  Similarly for 4.0, LAST_UPDATED
"Wed Mar 16 03:34:07 UTC 2005" (passes) "Thu Mar 17 06:05:21 UTC 2005" (fails)
respectively.

Running
/home/hp/combined/combined/gcc/testsuite/gcc.c-torture/compile/compile.exp ...
FAIL: gcc.c-torture/compile/20011119-1.c  -O0  (test for excess errors)
FAIL: gcc.c-torture/compile/20011119-1.c  -O1  (test for excess errors)
FAIL: gcc.c-torture/compile/20011119-1.c  -O2  (test for excess errors)
FAIL: gcc.c-torture/compile/20011119-1.c  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: gcc.c-torture/compile/20011119-1.c  -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/compile/20011119-1.c  -Os  (test for excess errors)
FAIL: gcc.c-torture/compile/20011119-2.c  -O0  (test for excess errors)
FAIL: gcc.c-torture/compile/20011119-2.c  -O1  (test for excess errors)
FAIL: gcc.c-torture/compile/20011119-2.c  -O2  (test for excess errors)
FAIL: gcc.c-torture/compile/20011119-2.c  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: gcc.c-torture/compile/20011119-2.c  -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/compile/20011119-2.c  -Os  (test for excess errors)
Running
/home/hp/combined/combined/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp
...

The messages in gcc.log are:
x/gcc/testsuite/gcc.c-torture/compile/20011119-1.c:4: error: 'foo' aliased to
undefined symbol 'xxx'^

(both tests) except:

Executing on host: /home/hp/combined/cris-sim/gcc/xgcc
-B/home/hp/combined/cris-sim/gcc/   -O1  -w -c   -isystem /home/hp/combine\
d/cris-sim/cris-elf/./newlib/targ-include -isystem
/home/hp/combined/combined/newlib/libc/include  -o 20011119-2.o /home/hp/combi\
ned/combined/gcc/testsuite/gcc.c-torture/compile/20011119-2.c    (timeout = 300)
/home/hp/combined/combined/gcc/testsuite/gcc.c-torture/compile/20011119-2.c:4:
internal compiler error: in cgraph_expand_function\
, at cgraphunit.c:837^M
Please submit a full bug report,^M

Looks like only the alias change could be the culprit.  Maybe
related to this target having a leading underscore on symbols.
(BTW, the 4.0 ChangeLog entry has cutnpaste TAB/linebreak typos.)

+ 2005-03-16  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/15700
+       * varasm.c (struct alias_pair): Rename from struct output_def_pair.
+       (alias_pairs): Rename from output_defs.
+       (find_decl_and_mark_needed): Split out from assemble_alias.
+       (do_assemble_alias): New.
+       (assemble_output_def): Remove.
+       (finish_aliases_1, finish_aliases_2): New.
+       (process_pending_assemble_output_defs): Remove.
+       (assemble_alias): Defer aliases for which we don't yet have a
+       non-external decl for the target symbol.
+       * passes.c (rest_of_decl_compilation): Register variables with cgraph.
+       * cgraphunit.c (cgraph_finalize_compilation_unit): Use finish_aliases_1.
+       * toplev.c (compile_file): Use finish_aliases_2 instead of
+       process_pending_assemble_output_defs.
+       * tree.h (finish_aliases_1, finish_aliases_2): Declare.
+       (process_pending_assemble_output_defs): Remove.

-- 
           Summary: [4.0, 4.1 regression] cris-axis-elf testsuite failures:
                    gcc.c-torture/compile/20011119-1.c and -2
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
                    org
GCC target triplet: cris-axis-elf


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


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