public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/16417] New: tree ssa regression
@ 2004-07-07 23:14 echristo at redhat dot com
  2004-07-07 23:16 ` [Bug regression/16417] " pinskia at gcc dot gnu dot org
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: echristo at redhat dot com @ 2004-07-07 23:14 UTC (permalink / raw)
  To: gcc-bugs

/dzur/sourceware/builds-mips/build-mips/gcc/xgcc
-B/dzur/sourceware/builds-mips/build-mips/gcc/ -O1 -w -c -isystem
/dzur/sourceware/builds-mips/build-mips/mips-elf/./newlib/targ-include -isystem
/dzur/sourceware/combined-mips/newlib/libc/include -o 20020210-1.o
/dzur/sourceware/combined-mips/gcc/testsuite/gcc.c-torture/compile/20020210-1.c
/dzur/sourceware/combined-mips/gcc/testsuite/gcc.c-torture/compile/20020210-1.c:
In function `f':
/dzur/sourceware/combined-mips/gcc/testsuite/gcc.c-torture/compile/20020210-1.c:2:
internal compiler error: in make_decl_rtl, at varasm.c:758
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
/dzur/sourceware/combined-mips/gcc/testsuite/gcc.c-torture/compile/20020210-1.c:
In function `f':
/dzur/sourceware/combined-mips/gcc/testsuite/gcc.c-torture/compile/20020210-1.c:2:
internal compiler error: in make_decl_rtl, at varasm.c:758
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
                                                                                
FAIL: gcc.c-torture/compile/20020210-1.c (test for excess errors)

-- 
           Summary: tree ssa regression
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: regression
        AssignedTo: dnovillo at gcc dot gnu dot org
        ReportedBy: echristo at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux
GCC target triplet: mips-unknown-elf


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


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

* [Bug regression/16417] tree ssa regression
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
@ 2004-07-07 23:16 ` pinskia at gcc dot gnu dot org
  2004-07-07 23:26 ` [Bug regression/16417] [3.5 Regression] crappy code in arguments causes ICE pinskia at gcc dot gnu dot org
                   ` (21 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-07 23:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-07 23:16 -------
Actually I think this is a RTH bug :).

-- 


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


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

* [Bug regression/16417] [3.5 Regression] crappy code in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
  2004-07-07 23:16 ` [Bug regression/16417] " pinskia at gcc dot gnu dot org
@ 2004-07-07 23:26 ` pinskia at gcc dot gnu dot org
  2004-07-08  1:55 ` [Bug middle-end/16417] " pinskia at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-07 23:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|dnovillo at gcc dot gnu dot |rth at gcc dot gnu dot org
                   |org                         |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   GCC host triplet|i686-pc-linux               |
 GCC target triplet|mips-unknown-elf            |
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-07 23:26:43
               date|                            |
            Summary|tree ssa regression         |[3.5 Regression] crappy code
                   |                            |in arguments causes ICE
   Target Milestone|---                         |3.5.0


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
  2004-07-07 23:16 ` [Bug regression/16417] " pinskia at gcc dot gnu dot org
  2004-07-07 23:26 ` [Bug regression/16417] [3.5 Regression] crappy code in arguments causes ICE pinskia at gcc dot gnu dot org
@ 2004-07-08  1:55 ` pinskia at gcc dot gnu dot org
  2004-07-29 21:14 ` pinskia at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-08  1:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-08 01:54 -------
*** Bug 16428 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (2 preceding siblings ...)
  2004-07-08  1:55 ` [Bug middle-end/16417] " pinskia at gcc dot gnu dot org
@ 2004-07-29 21:14 ` pinskia at gcc dot gnu dot org
  2004-07-29 22:59 ` [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) " dave at hiauly1 dot hia dot nrc dot ca
                   ` (18 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-29 21:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-29 21:14 -------
*** Bug 16821 has been marked as a duplicate of this bug. ***

-- 


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (3 preceding siblings ...)
  2004-07-29 21:14 ` pinskia at gcc dot gnu dot org
@ 2004-07-29 22:59 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-09-02  7:33 ` rth at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-07-29 22:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-07-29 22:59 -------
Subject: Re:  [3.5 Regression] crappy code (gcc.c-tortur

Appears to have been introduced by:

2004-07-02  Richard Henderson  <rth@redhat.com>

	* c-decl.c (grokdeclarator): Don't frob current_function_decl
	around variable_size.
	(set_decl_nonlocal): Remove.
	(store_parm_decls): Add stmts for pending sizes.
	* calls.c (calls_function, calls_function_1): Remove.
	(precompute_arguments): Don't call it.
	...

Dave


-- 


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (4 preceding siblings ...)
  2004-07-29 22:59 ` [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) " dave at hiauly1 dot hia dot nrc dot ca
@ 2004-09-02  7:33 ` rth at gcc dot gnu dot org
  2004-09-02 23:26 ` echristo at redhat dot com
                   ` (16 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-09-02  7:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-09-02 07:33 -------
I think this has been fixed since?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (5 preceding siblings ...)
  2004-09-02  7:33 ` rth at gcc dot gnu dot org
@ 2004-09-02 23:26 ` echristo at redhat dot com
  2004-09-04 13:40 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (15 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: echristo at redhat dot com @ 2004-09-02 23:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From echristo at redhat dot com  2004-09-02 23:26 -------
Yup.

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


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (6 preceding siblings ...)
  2004-09-02 23:26 ` echristo at redhat dot com
@ 2004-09-04 13:40 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-09-07 20:33 ` rth at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-09-04 13:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-09-04 13:40 -------
Subject: Re:  [3.5 Regression] crappy code (gcc.c-tortur

> ------- Additional Comments From rth at gcc dot gnu dot org  2004-09-02
> 07:33 -------
> I think this has been fixed since?

It's not been fixed on the PA.  I still see the following fails as of
2004-09-02:

FAIL: gcc.c-torture/compile/20020210-1.c  -O1  (test for excess errors)
FAIL: gcc.c-torture/compile/20020210-1.c  -O2  (test for excess errors)
FAIL: gcc.c-torture/compile/20020210-1.c  -O3 -fomit-frame-pointer  (test for ex
cess errors)
FAIL: gcc.c-torture/compile/20020210-1.c  -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/compile/20020210-1.c  -Os  (test for excess errors)

Dave


-- 


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (7 preceding siblings ...)
  2004-09-04 13:40 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-09-07 20:33 ` rth at gcc dot gnu dot org
  2004-09-08 20:51 ` rth at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-09-07 20:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-09-07 20:33 -------
Bah.

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


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (8 preceding siblings ...)
  2004-09-07 20:33 ` rth at gcc dot gnu dot org
@ 2004-09-08 20:51 ` rth at gcc dot gnu dot org
  2004-09-09  2:01 ` echristo at redhat dot com
                   ` (12 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-09-08 20:51 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |WAITING


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (9 preceding siblings ...)
  2004-09-08 20:51 ` rth at gcc dot gnu dot org
@ 2004-09-09  2:01 ` echristo at redhat dot com
  2004-09-09  3:28 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (11 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: echristo at redhat dot com @ 2004-09-09  2:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From echristo at redhat dot com  2004-09-09 02:01 -------
This fixes the mipsisa64-elf problem I was seeing with eabi. (I can't confirm a
full testrun since the toolchain doesn't build at the moment.)

-- 


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (10 preceding siblings ...)
  2004-09-09  2:01 ` echristo at redhat dot com
@ 2004-09-09  3:28 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-09-09  4:45 ` echristo at redhat dot com
                   ` (10 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-09-09  3:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-09-09 03:28 -------
Subject: Re:  [3.5 Regression] crappy code (gcc.c-tortur

> ------- Additional Comments From echristo at redhat dot com  2004-09-09
> 02:01 -------
> This fixes the mipsisa64-elf problem I was seeing with eabi. (I can't
> confirm a
> full testrun since the toolchain doesn't build at the moment.)

GCC also fails to build on hppa-unknown-linux-gnu.

stage1/xgcc -Bstage1/ -B/home/dave/opt/gnu/gcc/gcc-3.5.0/hppa-linux/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libbanshee/libcompat -I../../gcc/gcc/../libbanshee -I../../gcc/gcc/../libbanshee/points-to  ../../gcc/gcc/tree-cfg.c -o tree-cfg.o
../../gcc/gcc/tree-cfg.c: In function `cleanup_tree_cfg':
../../gcc/gcc/tree-cfg.c:2000: internal compiler error: in make_decl_rtl, at varasm.c:855

Dave


-- 


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (11 preceding siblings ...)
  2004-09-09  3:28 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-09-09  4:45 ` echristo at redhat dot com
  2004-09-09  4:53 ` rth at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: echristo at redhat dot com @ 2004-09-09  4:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From echristo at redhat dot com  2004-09-09 04:45 -------
My failure is different and because (likely) of Nathan's fold_convert ->
build_int_cst patches.

-- 


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (12 preceding siblings ...)
  2004-09-09  4:45 ` echristo at redhat dot com
@ 2004-09-09  4:53 ` rth at gcc dot gnu dot org
  2004-09-09  9:46 ` rth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-09-09  4:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-09-09 04:53 -------
Assuming this failure doesn't occur without the patch, you'll need to
give me a .i file.

-- 


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


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

* [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (13 preceding siblings ...)
  2004-09-09  4:53 ` rth at gcc dot gnu dot org
@ 2004-09-09  9:46 ` rth at gcc dot gnu dot org
  2004-11-06 21:38 ` [Bug middle-end/16417] [4.0 " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-09-09  9:46 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED
   Last reconfirmed|2004-07-07 23:26:43         |2004-09-09 09:46:53
               date|                            |


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


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

* [Bug middle-end/16417] [4.0 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (14 preceding siblings ...)
  2004-09-09  9:46 ` rth at gcc dot gnu dot org
@ 2004-11-06 21:38 ` pinskia at gcc dot gnu dot org
  2004-12-10 20:55 ` echristo at redhat dot com
                   ` (6 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-06 21:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-06 21:38 -------
*** Bug 18319 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu dot org


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


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

* [Bug middle-end/16417] [4.0 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (15 preceding siblings ...)
  2004-11-06 21:38 ` [Bug middle-end/16417] [4.0 " pinskia at gcc dot gnu dot org
@ 2004-12-10 20:55 ` echristo at redhat dot com
  2004-12-15 23:28 ` rth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: echristo at redhat dot com @ 2004-12-10 20:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From echristo at redhat dot com  2004-12-10 20:55 -------
I just retried the attached patch and get a different failure in:

#1  0x080f188d in gimple_add_tmp_var (tmp=0xf6d5cba0)
    at /lyorn/sourceware/combined/gcc/gimplify.c:531
531       gcc_assert (!TREE_CHAIN (tmp) && !DECL_SEEN_IN_BIND_EXPR_P (tmp));
(gdb) list
526     }
527
528     void
529     gimple_add_tmp_var (tree tmp)
530     {
531       gcc_assert (!TREE_CHAIN (tmp) && !DECL_SEEN_IN_BIND_EXPR_P (tmp));
532
533       DECL_CONTEXT (tmp) = current_function_decl;
534       DECL_SEEN_IN_BIND_EXPR_P (tmp) = 1;
535

backtrace:

(gdb) bt
#0  fancy_abort (file=0x84fa090 "/lyorn/sourceware/combined/gcc/gimplify.c",
    line=531, function=0x84fa1e5 "gimple_add_tmp_var")
    at /lyorn/sourceware/combined/gcc/diagnostic.c:556
#1  0x080f188d in gimple_add_tmp_var (tmp=0xf6d5cba0)
    at /lyorn/sourceware/combined/gcc/gimplify.c:531
#2  0x080f3889 in gimplify_decl_expr (stmt_p=0xf6d56458)
    at /lyorn/sourceware/combined/gcc/gimplify.c:1046
#3  0x080ff432 in gimplify_expr (expr_p=0xf6d56458, pre_p=0xfee46310,
    post_p=0xfee4630c, gimple_test_f=0x80ef92a <is_gimple_stmt>,
    fallback=fb_none) at /lyorn/sourceware/combined/gcc/gimplify.c:3671
#4  0x080fea2f in gimplify_stmt (stmt_p=0xf6d56458)
    at /lyorn/sourceware/combined/gcc/gimplify.c:3430

And I'll attach the preprocessed file for 20020210-1.c for mipsisa64-elf.

-- 


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


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

* [Bug middle-end/16417] [4.0 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (16 preceding siblings ...)
  2004-12-10 20:55 ` echristo at redhat dot com
@ 2004-12-15 23:28 ` rth at gcc dot gnu dot org
  2004-12-16 13:13 ` hp at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-12-15 23:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-12-15 23:28 -------
cft: http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01174.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


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


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

* [Bug middle-end/16417] [4.0 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (17 preceding siblings ...)
  2004-12-15 23:28 ` rth at gcc dot gnu dot org
@ 2004-12-16 13:13 ` hp at gcc dot gnu dot org
  2004-12-16 14:40 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (3 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-12-16 13:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2004-12-16 13:12 -------
The patch at <URL:http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01174.html>
works for the test-case but gives regressions for mmix-knuth-mmixware compared
to a pristine "Thu Dec 16 00:49:58 UTC 2004".  I'm not too worried about the
fortran failures (since libgfortran still doesn't cross-compile for 64-bit
newlib targets with further missing functions when that's worked around),
but thought they were worth mentioning because they look easier to diagnose
than the execution failures.  Mike Stump:s contrib/compare_tests script says:

Tests that now fail, but worked before:

g++.dg/other/crash-2.C (test for excess errors)
g++.old-deja/g++.other/incomplete.C  (test for errors, line 14)
g++.old-deja/g++.other/incomplete.C  (test for errors, line 15)
g++.old-deja/g++.other/incomplete.C  (test for errors, line 16)

Tests that now fail, but worked before:

gcc.c-torture/execute/20040703-1.c execution,  -O0
gcc.c-torture/execute/complex-2.c execution,  -O0

Tests that now work, but didn't before:

gcc.c-torture/compile/20020210-1.c  -O1  (test for excess errors)
gcc.c-torture/compile/20020210-1.c  -O2  (test for excess errors)
gcc.c-torture/compile/20020210-1.c  -O3 -fomit-frame-pointer  (test for excess
errors)
gcc.c-torture/compile/20020210-1.c  -O3 -g  (test for excess errors)
gcc.c-torture/compile/20020210-1.c  -Os  (test for excess errors)

Tests that now fail, but worked before:

gfortran.dg/entry_1.f90  -O  (test for excess errors)
gfortran.dg/entry_2.f90  -O  (test for excess errors)
gfortran.dg/g77/19990218-0.f  -O  (test for excess errors)
gfortran.dg/g77/19990218-1.f  -O  (test for excess errors)
gfortran.dg/g77/19990305-0.f  -O  (test for excess errors)
gfortran.dg/g77/19990502-0.f  -O  (test for excess errors)
gfortran.dg/g77/19990502-1.f  -O  (test for excess errors)
gfortran.dg/g77/19990826-3.f  -O  (test for excess errors)
gfortran.dg/g77/19990905-1.f  -O  (test for excess errors)
gfortran.dg/g77/19990905-2.f  -O  (test for excess errors)
gfortran.dg/g77/20000412-1.f  -O  (test for excess errors)
gfortran.dg/g77/20000511-1.f  -O  (test for excess errors)
gfortran.dg/g77/20000511-2.f  -O  (test for excess errors)
gfortran.dg/g77/20000518.f  -O  (test for excess errors)
gfortran.dg/g77/20000601-1.f  -O  (test for excess errors)
gfortran.dg/g77/20000601-2.f  -O  (test for excess errors)
gfortran.dg/g77/20000629-1.f  -O  (test for excess errors)
gfortran.dg/g77/20000630-2.f  -O  (test for excess errors)
gfortran.dg/g77/20010426.f  -O  (test for excess errors)
gfortran.dg/g77/20010519-1.f  -O  (test for excess errors)
gfortran.dg/g77/20030115-1.f  -O  (test for excess errors)
gfortran.dg/g77/970625-2.f  -O  (test for excess errors)
gfortran.dg/g77/980310-2.f  -O  (test for excess errors)
gfortran.dg/g77/980310-2.f  -O  (test for excess errors)
gfortran.dg/g77/980310-3.f  -O  (test for excess errors)
gfortran.dg/g77/980310-4.f  -O  (test for excess errors)
gfortran.dg/g77/980310-6.f  -O  (test for excess errors)
gfortran.dg/g77/980310-7.f  -O  (test for excess errors)
gfortran.dg/g77/980310-8.f  -O  (test for excess errors)
gfortran.dg/g77/980419-2.f  -O  (test for excess errors)
gfortran.dg/g77/980424-0.f  -O  (test for excess errors)
gfortran.dg/g77/980519-2.f  -O  (test for excess errors)
gfortran.dg/g77/980729-0.f  -O  (test for excess errors)
gfortran.dg/g77/990115-1.f  -O  (test for excess errors)
gfortran.dg/g77/cpp.F  -O  (test for excess errors)
gfortran.dg/g77/cpp2.F  -O  (test for excess errors)
gfortran.dg/g77/pr9258.f  -O  (test for excess errors)
gfortran.dg/g77/toon_1.f  -O  (test for excess errors)
gfortran.dg/generic_1.f90  -O  (test for excess errors)
gfortran.dg/generic_2.f90  -O  (test for excess errors)
gfortran.dg/generic_3.f90  -O  (test for excess errors)
gfortran.dg/pr15164.f90  -O  (test for excess errors)
gfortran.dg/pr17615.f90  -O  (test for excess errors)
gfortran.fortran-torture/compile/actual.f90,  "-O"
gfortran.fortran-torture/compile/ambig.f90,  "-O"
gfortran.fortran-torture/compile/contained_1.f90,  "-O"
gfortran.fortran-torture/compile/contained_5.f90,  "-O"
gfortran.fortran-torture/compile/dummyfn.f90,  "-O"
gfortran.fortran-torture/compile/implicit_1.f90,  "-O"
gfortran.fortran-torture/compile/inquiry_1.f90,  "-O"
gfortran.fortran-torture/compile/module_expr.f90,  "-O"
gfortran.fortran-torture/compile/module_proc.f90,  "-O"
gfortran.fortran-torture/compile/strparm_1.f90,  "-O"

g++.log shows:
/gcc/testsuite/g++.dg/other/crash-2.C: In function 'void foo(A)':^M
/home/hp/combined/combined/gcc/testsuite/g++.dg/other/crash-2.C:7: error: 'a'
has incomplete type^M
/gcc/testsuite/g++.dg/other/crash-2.C:6: error: forward declaration of 'struct
A'^M
/gcc/testsuite/g++.dg/other/crash-2.C:7: internal compiler error: Segmentation
fault^M

/gcc/testsuite/g++.old-deja/g++.other/incomplete.C: In function 'void f(S)':^M
/gcc/testsuite/g++.old-deja/g++.other/incomplete.C:10: error: 's' has incomplete
type^M
/gcc/testsuite/g++.old-deja/g++.other/incomplete.C:7: error: forward declaration
of 'struct S'^M
/gcc/testsuite/g++.old-deja/g++.other/incomplete.C: In function 'void f(S)':^M
/gcc/testsuite/g++.old-deja/g++.other/incomplete.C:10: internal compiler error:
Segmentation fault^M

gfortran.log shows:
/gcc/testsuite/gfortran.dg/entry_1.f90: In function 'foo':^M
/gcc/testsuite/gfortran.dg/entry_1.f90:18: internal compiler error: Segmentation
fault^M
and similar for the next four regressions there.
(These tests weren't error tests.)


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED


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


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

* [Bug middle-end/16417] [4.0 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (18 preceding siblings ...)
  2004-12-16 13:13 ` hp at gcc dot gnu dot org
@ 2004-12-16 14:40 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-12-17  1:55 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (2 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-12-16 14:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-12-16 14:40 -------
Subject: Re:  [4.0 Regression] crappy code (gcc.c-tortur

> cft: http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01174.html
> 
> -- 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|ASSIGNED                    |WAITING

On hppa-unknown-linux-gnu and hpp2.0w-hp-hpux11.11, this leads to a
bootstrap comparison failure:

Bootstrap comparison failure!
./alias.o differs
./bb-reorder.o differs
./bt-load.o differs
./builtins.o differs
./c-aux-info.o differs
./c-common.o differs
./c-cppbuiltin.o differs
./c-decl.o differs
...

On hppa64-hp-hpux11.11, we don't get as far:

/test/gnu/gcc-3.3/objdir/gcc/gfortran -B/test/gnu/gcc-3.3/objdir/gcc/ -B/opt/gnu
64/gcc/gcc-4.0.0/hppa64-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-4.0.0/hppa64-hp-h
pux11.11/lib/ -isystem /opt/gnu64/gcc/gcc-4.0.0/hppa64-hp-hpux11.11/include -isy
stem /opt/gnu64/gcc/gcc-4.0.0/hppa64-hp-hpux11.11/sys-include -g -O2 -Wall -fno-
repack-arrays -fno-underscoring -c ../../../gcc/libgfortran/intrinsics/selected_
int_kind.f90  -fPIC -DPIC -o .libs/selected_int_kind.o
../../../gcc/libgfortran/intrinsics/selected_int_kind.f90: In function 'selected
_int_kind':
../../../gcc/libgfortran/intrinsics/selected_int_kind.f90:22: internal compiler
error: Segmentation fault

I can try look at these problems tonight.

Dave


-- 


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


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

* [Bug middle-end/16417] [4.0 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (19 preceding siblings ...)
  2004-12-16 14:40 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-12-17  1:55 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-12-19  4:42 ` cvs-commit at gcc dot gnu dot org
  2004-12-19  4:45 ` rth at gcc dot gnu dot org
  22 siblings, 0 replies; 24+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-12-17  1:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-12-17 01:54 -------
Subject: Re:  [4.0 Regression] crappy code (gcc.c-tortur

> On hppa64-hp-hpux11.11, we don't get as far:
> 
> /test/gnu/gcc-3.3/objdir/gcc/gfortran -B/test/gnu/gcc-3.3/objdir/gcc/ -B/opt/gnu
> 64/gcc/gcc-4.0.0/hppa64-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-4.0.0/hppa64-hp-h
> pux11.11/lib/ -isystem /opt/gnu64/gcc/gcc-4.0.0/hppa64-hp-hpux11.11/include -isy
> stem /opt/gnu64/gcc/gcc-4.0.0/hppa64-hp-hpux11.11/sys-include -g -O2 -Wall -fno-
> repack-arrays -fno-underscoring -c ../../../gcc/libgfortran/intrinsics/selected_
> int_kind.f90  -fPIC -DPIC -o .libs/selected_int_kind.o
> ../../../gcc/libgfortran/intrinsics/selected_int_kind.f90: In function 'selected
> _int_kind':
> ../../../gcc/libgfortran/intrinsics/selected_int_kind.f90:22: internal compiler
> error: Segmentation fault

This one is caused by the following:

Program received signal SIGSEGV, Segmentation fault.
0x400000000033ac24 in assign_parm_find_data_types (all=Variable "all" is not available.
)
    at ../../gcc/gcc/function.c:2128
2128      if (current_function_stdarg)
(gdb) p cfun
$1 = (struct function *) 0x0
(gdb) bt
#0  0x400000000033ac24 in assign_parm_find_data_types (all=Variable "all" is not available.
)
    at ../../gcc/gcc/function.c:2128
#1  0x400000000033bae8 in gimplify_callee_copies ()
    at ../../gcc/gcc/function.c:3181
#2  0x400000000019a818 in gimplify_body (body_p=Variable "body_p" is not available.
)
    at ../../gcc/gcc/gimplify.c:4236
#3  0x400000000019aa14 in gimplify_function_tree (fndecl=Variable "fndecl" is not available.
)
    at ../../gcc/gcc/gimplify.c:4295
#4  0x400000000014cbdc in gfc_gimplify_function (fndecl=Variable "fndecl" is not available.
)
    at ../../gcc/gcc/fortran/trans-decl.c:1268
#5  0x400000000014efb4 in gfc_generate_function_code (ns=Variable "ns" is not available.
)
    at ../../gcc/gcc/fortran/trans-decl.c:2298
#6  0x400000000013dba4 in gfc_generate_code (ns=Variable "ns" is not available.
)
    at ../../gcc/gcc/fortran/trans.c:679
#7  0x400000000011ce98 in gfc_parse_file ()
    at ../../gcc/gcc/fortran/parse.c:2628
#8  0x4000000000139664 in gfc_be_parse_file (set_yydebug=Variable "set_yydebug" is not available.
)
    at ../../gcc/gcc/fortran/f95-lang.c:266
#9  0x400000000043c0a8 in toplev_main (argc=Variable "argc" is not available.
)
    at ../../gcc/gcc/toplev.c:992
#10 0x400000000016aa1c in main (argc=-16838720, argv=0x800003fffedbf000)
    at ../../gcc/gcc/main.c:35

Dave


-- 


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


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

* [Bug middle-end/16417] [4.0 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (20 preceding siblings ...)
  2004-12-17  1:55 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-12-19  4:42 ` cvs-commit at gcc dot gnu dot org
  2004-12-19  4:45 ` rth at gcc dot gnu dot org
  22 siblings, 0 replies; 24+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-19  4:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-19 04:42 -------
Subject: Bug 16417

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2004-12-19 04:42:15

Modified files:
	gcc            : ChangeLog Makefile.in c-decl.c c-objc-common.c 
	                 c-tree.h function.c gimplify.c tree-gimple.h 
	                 tree-inline.c tree.h 

Log message:
	PR middle-end/16417
	* c-decl.c (store_parm_decls): Clarify get_pending_sizes insertion
	comment.
	* c-objc-common.c (c_cannot_inline_tree_fn): Remove pending sizes
	checks.
	* c-tree.h (struct lang_decl): Remove pending_sizes.
	* function.c: Include tree-gimple.h
	(assign_parm_setup_reg): Remove callee-copies code.
	(gimplify_parm_type, gimplify_parameters): New functions.
	(expand_pending_sizes): Remove.
	(expand_function_start): Don't call it.
	* gimplify.c (gimplify_expr): Examine DECL_VALUE_EXPR for PARM_DECL.
	(gimplify_body): Add do_parms argument.  Use gimplify_parameters.
	(gimplify_function_tree): Setup cfun.  Update gimplify_body call.
	* tree-gimple.h (gimplify_body): Update decl.
	* tree-inline.c (initialize_inlined_parameters): Update gimplify_body
	call.
	* tree.h (gimplify_parameters): Declare.
	* Makefile.in (function.o): Depend on TREE_GIMPLE_H.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6886&r2=2.6887
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&r1=1.1434&r2=1.1435
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&r1=1.615&r2=1.616
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-objc-common.c.diff?cvsroot=gcc&r1=1.59&r2=1.60
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcc&r1=1.189&r2=1.190
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&r1=1.592&r2=1.593
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&r1=2.92&r2=2.93
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-gimple.h.diff?cvsroot=gcc&r1=2.19&r2=2.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&r1=1.158&r2=1.159
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.666&r2=1.667



-- 


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


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

* [Bug middle-end/16417] [4.0 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE
  2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
                   ` (21 preceding siblings ...)
  2004-12-19  4:42 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-19  4:45 ` rth at gcc dot gnu dot org
  22 siblings, 0 replies; 24+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-12-19  4:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-12-19 04:45 -------
fixed: http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01375.html

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


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


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

end of thread, other threads:[~2004-12-19  4:45 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-07 23:14 [Bug regression/16417] New: tree ssa regression echristo at redhat dot com
2004-07-07 23:16 ` [Bug regression/16417] " pinskia at gcc dot gnu dot org
2004-07-07 23:26 ` [Bug regression/16417] [3.5 Regression] crappy code in arguments causes ICE pinskia at gcc dot gnu dot org
2004-07-08  1:55 ` [Bug middle-end/16417] " pinskia at gcc dot gnu dot org
2004-07-29 21:14 ` pinskia at gcc dot gnu dot org
2004-07-29 22:59 ` [Bug middle-end/16417] [3.5 Regression] crappy code (gcc.c-torture/compile/20020210-1.c) " dave at hiauly1 dot hia dot nrc dot ca
2004-09-02  7:33 ` rth at gcc dot gnu dot org
2004-09-02 23:26 ` echristo at redhat dot com
2004-09-04 13:40 ` dave at hiauly1 dot hia dot nrc dot ca
2004-09-07 20:33 ` rth at gcc dot gnu dot org
2004-09-08 20:51 ` rth at gcc dot gnu dot org
2004-09-09  2:01 ` echristo at redhat dot com
2004-09-09  3:28 ` dave at hiauly1 dot hia dot nrc dot ca
2004-09-09  4:45 ` echristo at redhat dot com
2004-09-09  4:53 ` rth at gcc dot gnu dot org
2004-09-09  9:46 ` rth at gcc dot gnu dot org
2004-11-06 21:38 ` [Bug middle-end/16417] [4.0 " pinskia at gcc dot gnu dot org
2004-12-10 20:55 ` echristo at redhat dot com
2004-12-15 23:28 ` rth at gcc dot gnu dot org
2004-12-16 13:13 ` hp at gcc dot gnu dot org
2004-12-16 14:40 ` dave at hiauly1 dot hia dot nrc dot ca
2004-12-17  1:55 ` dave at hiauly1 dot hia dot nrc dot ca
2004-12-19  4:42 ` cvs-commit at gcc dot gnu dot org
2004-12-19  4:45 ` rth 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).