public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12544] New: Large parameters used in ested functions
@ 2003-10-09  5:02 hosking at cs dot purdue dot edu
  2003-10-09  5:24 ` [Bug optimization/12544] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hosking at cs dot purdue dot edu @ 2003-10-09  5:02 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Large parameters used in ested functions
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hosking at cs dot purdue dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8

The following source program causes an ICE when compiled with optimization:

gcc -S -O test.c

The source program test.c is:

typedef struct {
  int a;
  int f;
} A;

A *b;

void x (A a) {
  void y () {
    a.a = 0;
  }

  b = &a;
  y();
}


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

* [Bug optimization/12544] Large parameters used in ested functions
  2003-10-09  5:02 [Bug c/12544] New: Large parameters used in ested functions hosking at cs dot purdue dot edu
@ 2003-10-09  5:24 ` pinskia at gcc dot gnu dot org
  2003-10-09  8:09 ` [Bug optimization/12544] [3.3/3.4 regression] ICE with large parameters used in nested functions ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-09  5:24 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |optimization
           Keywords|                            |ice-on-valid-code


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-09 05:24 -------
Can you provide the output of gcc -v?
Also provide the ICE?


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

* [Bug optimization/12544] [3.3/3.4 regression] ICE with large parameters used in nested functions
  2003-10-09  5:02 [Bug c/12544] New: Large parameters used in ested functions hosking at cs dot purdue dot edu
  2003-10-09  5:24 ` [Bug optimization/12544] " pinskia at gcc dot gnu dot org
@ 2003-10-09  8:09 ` ebotcazou at gcc dot gnu dot org
  2003-10-10 11:18 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-09  8:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|sparc-sun-solaris2.         |sparc-sun-solaris2.8
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-09 08:09:34
               date|                            |
            Summary|Large parameters used in    |[3.3/3.4 regression] ICE
                   |ested functions             |with large parameters used
                   |                            |in nested functions
   Target Milestone|---                         |3.3.3


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-10-09 08:09 -------
Confirmed on the 3.3 branch and mainline, a regression from GCC 3.2.3.


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

* [Bug optimization/12544] [3.3/3.4 regression] ICE with large parameters used in nested functions
  2003-10-09  5:02 [Bug c/12544] New: Large parameters used in ested functions hosking at cs dot purdue dot edu
  2003-10-09  5:24 ` [Bug optimization/12544] " pinskia at gcc dot gnu dot org
  2003-10-09  8:09 ` [Bug optimization/12544] [3.3/3.4 regression] ICE with large parameters used in nested functions ebotcazou at gcc dot gnu dot org
@ 2003-10-10 11:18 ` ebotcazou at gcc dot gnu dot org
  2003-10-10 11:19 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-10 11:18 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-10-10 11:18 -------
Fixing.


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

* [Bug optimization/12544] [3.3/3.4 regression] ICE with large parameters used in nested functions
  2003-10-09  5:02 [Bug c/12544] New: Large parameters used in ested functions hosking at cs dot purdue dot edu
                   ` (2 preceding siblings ...)
  2003-10-10 11:18 ` ebotcazou at gcc dot gnu dot org
@ 2003-10-10 11:19 ` ebotcazou at gcc dot gnu dot org
  2003-10-11 20:56 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-10 11:19 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


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

* [Bug optimization/12544] [3.3/3.4 regression] ICE with large parameters used in nested functions
  2003-10-09  5:02 [Bug c/12544] New: Large parameters used in ested functions hosking at cs dot purdue dot edu
                   ` (3 preceding siblings ...)
  2003-10-10 11:19 ` ebotcazou at gcc dot gnu dot org
@ 2003-10-11 20:56 ` cvs-commit at gcc dot gnu dot org
  2003-10-11 21:01 ` cvs-commit at gcc dot gnu dot org
  2003-10-11 21:05 ` ebotcazou at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-11 20:56 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-10-11 20:56 -------
Subject: Bug 12544

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2003-10-11 20:56:24

Modified files:
	gcc            : ChangeLog function.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.c-torture/compile: 20031011-1.c 

Log message:
	PR optimization/12544
	* function.c (put_var_into_stack): Don't generate ADDRESSOFs
	for DECL_NONLOCAL decls.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1383&r2=2.1384
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&r1=1.462&r2=1.463
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3111&r2=1.3112
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20031011-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1


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

* [Bug optimization/12544] [3.3/3.4 regression] ICE with large parameters used in nested functions
  2003-10-09  5:02 [Bug c/12544] New: Large parameters used in ested functions hosking at cs dot purdue dot edu
                   ` (4 preceding siblings ...)
  2003-10-11 20:56 ` cvs-commit at gcc dot gnu dot org
@ 2003-10-11 21:01 ` cvs-commit at gcc dot gnu dot org
  2003-10-11 21:05 ` ebotcazou at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-11 21:01 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-10-11 21:01 -------
Subject: Bug 12544

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	ebotcazou@gcc.gnu.org	2003-10-11 21:01:44

Modified files:
	gcc            : ChangeLog function.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.c-torture/compile: 20031011-1.c 

Log message:
	PR optimization/12544
	* function.c (put_var_into_stack): Don't generate ADDRESSOFs
	for DECL_NONLOCAL decls.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.776&r2=1.16114.2.777
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.389.2.10&r2=1.389.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.304&r2=1.2261.2.305
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20031011-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1


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

* [Bug optimization/12544] [3.3/3.4 regression] ICE with large parameters used in nested functions
  2003-10-09  5:02 [Bug c/12544] New: Large parameters used in ested functions hosking at cs dot purdue dot edu
                   ` (5 preceding siblings ...)
  2003-10-11 21:01 ` cvs-commit at gcc dot gnu dot org
@ 2003-10-11 21:05 ` ebotcazou at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-11 21:05 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|3.3.3                       |3.3.2


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-10-11 21:05 -------
See http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00904.html


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

end of thread, other threads:[~2003-10-11 21:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-09  5:02 [Bug c/12544] New: Large parameters used in ested functions hosking at cs dot purdue dot edu
2003-10-09  5:24 ` [Bug optimization/12544] " pinskia at gcc dot gnu dot org
2003-10-09  8:09 ` [Bug optimization/12544] [3.3/3.4 regression] ICE with large parameters used in nested functions ebotcazou at gcc dot gnu dot org
2003-10-10 11:18 ` ebotcazou at gcc dot gnu dot org
2003-10-10 11:19 ` ebotcazou at gcc dot gnu dot org
2003-10-11 20:56 ` cvs-commit at gcc dot gnu dot org
2003-10-11 21:01 ` cvs-commit at gcc dot gnu dot org
2003-10-11 21:05 ` ebotcazou 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).