public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
@ 2001-11-07  3:29 Tanmoy Bhattacharya
  0 siblings, 0 replies; 6+ messages in thread
From: Tanmoy Bhattacharya @ 2001-11-07  3:29 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/3906; it has been noted by GNATS.

From: Tanmoy Bhattacharya <tanmoy@qcd.lanl.gov>
To: rodrigc@gcc.gnu.org
Cc: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
Date: Mon, 13 Aug 2001 16:43:57 -0600 (MDT)

 In <20010813222421.24786.qmail@sourceware.cygnus.com>
  dated 22:24:21 -0000  August 13, 2001,
  rodrigc@gcc.gnu.org writes
  > Synopsis: Internal compiler error in change_address, at emit-rtl.c:1635
  >     Your example does not even compile.
  >     With, gcc version 3.0.1 20010813 (prerelease),
  >     I get many compilation errors, like:
  >     
  >     example.c:13: `p' was not declared in this scope
  >     example.c:14: ISO C++ forbids declaration of `setlim' with no type
 
 etc.
 
 I did not claim my example was valid C++.  And the command line I
 supplied was for invoking a C compiler, not a C++ one.
 
 Apart from the missing `line' directive after the # in the first line,
 it is a valid ISO standard C translaion unit, both according to C89
 and C9x (which got approved last year, I do not know what it is called
 now).
 
 I could probably provide a C++ example, but I do not have the time to
 test right now.  But a C compiler *must* compile every strictly
 conforming C program, which this one becomes if one supplies
 definitions for main and setloglim, possibly in a separate translation
 unit. 
 
 Tanmoy


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

* Re: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
@ 2001-11-25  5:14 rodrigc
  0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2001-11-25  5:14 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/3906; it has been noted by GNATS.

From: rodrigc@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  nobody@gcc.gnu.org, rodrigc@gcc.gnu.org, tanmoy@lanl.gov
Cc:  
Subject: Re: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
Date: 1 Dec 2001 07:33:53 -0000

 Synopsis: Internal compiler error in change_address, at emit-rtl.c:1635
 
 State-Changed-From-To: feedback->closed
 State-Changed-By: rodrigc
 State-Changed-When: Fri Nov 30 23:33:53 2001
 State-Changed-Why:
     Fixed.  http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00591.html
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3906&database=gcc


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

* Re: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
@ 2001-11-25  4:26 rodrigc
  0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2001-11-25  4:26 UTC (permalink / raw)
  To: gcc-bugs, gcc-gnats, gcc-prs, nobody, rodrigc, tanmoy

Synopsis: Internal compiler error in change_address, at emit-rtl.c:1635

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Nov 30 23:33:53 2001
State-Changed-Why:
    Fixed.  http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00591.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3906&database=gcc


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

* Re: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
@ 2001-11-07  6:17 Craig Rodrigues
  0 siblings, 0 replies; 6+ messages in thread
From: Craig Rodrigues @ 2001-11-07  6:17 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/3906; it has been noted by GNATS.

From: Craig Rodrigues <rodrigc@mediaone.net>
To: Tanmoy Bhattacharya <tanmoy@qcd.lanl.gov>
Cc: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
Date: Mon, 13 Aug 2001 18:52:41 -0400

 On Mon, Aug 13, 2001 at 04:43:57PM -0600, Tanmoy Bhattacharya wrote:
 > I could probably provide a C++ example, but I do not have the time to
 > test right now.  But a C compiler *must* compile every strictly
 > conforming C program, which this one becomes if one supplies
 > definitions for main and setloglim, possibly in a separate translation
 > unit. 
 
 OK,
 
 If I compile your example with:
 gcc version 3.0.1 20010813 (prerelease)
 
 and use:
 gcc -O -c example.i
 
 I do not get any compiler errors.
 
 Can you try again, perhaps with a newer Solaris 8 gcc snapshot from:
 http://www.codesourcery.com/gcc_binary_snapshots/
 -- 
 Craig Rodrigues        
 http://www.gis.net/~craigr    
 rodrigc@mediaone.net          


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

* Re: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
@ 2001-08-13 15:24 rodrigc
  0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2001-08-13 15:24 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, rodrigc, tanmoy

Synopsis: Internal compiler error in change_address, at emit-rtl.c:1635

State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Mon Aug 13 15:24:20 2001
State-Changed-Why:
    Your example does not even compile.
    With, gcc version 3.0.1 20010813 (prerelease),
    I get many compilation errors, like:
    
    example.c:13: `p' was not declared in this scope
    example.c:14: ISO C++ forbids declaration of `setlim' with no type
    example.c:14: syntax error before `register'
    example.c:22: ISO C++ forbids declaration of `lb' with no type
    example.c:22: conflicting types for `int lb'
    
    Can you submit a better preprocessed example?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3906&database=gcc


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

* optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
@ 2001-07-31 17:16 tanmoy
  0 siblings, 0 replies; 6+ messages in thread
From: tanmoy @ 2001-07-31 17:16 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3906
>Category:       optimization
>Synopsis:       Internal compiler error in change_address, at emit-rtl.c:1635
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 31 17:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tanmoy Bhattacharya
>Release:        gcc version 3.0 (thread model: posix)
>Organization:
>Environment:
SunOS 5.8 Generic_108528-06 sun4u sparc SUNW,Sun-Blade-100
configured by .../configure --prefix=... (i.e. all defaults)
>Description:
gcc -O -c example.c produces i.c.e as reported in synopsis.

I supply a trimmed down example.  Any further trimming
makes the problem either go away, or leaves a code that
uses variables without properly initializing them. 
>How-To-Repeat:
gcc -O -c example.i
>Fix:
Turn off optimization!!!!
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="example.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="example.i"

IyAxICJleGFtcGxlLmMiCmRvdWJsZSBsb2cxMCgpOwpzdHJ1Y3QgeHkgewogICAgaW50IHhsYmYs
IHh1YmY7CiAgICBpbnQgeHFmOwogICAgZG91YmxlICgqeGYpICgpOwogICAgZG91YmxlIHhsYiwg
eHViOwp9OwoKc3RydWN0IHogewogICAgZG91YmxlIGxiLCB1YiwgbXVsdCwgcXVhbnQ7Cn07Cgpz
ZXRsaW0ocCkKICAgIHJlZ2lzdGVyIHN0cnVjdCB4eSAqcDsKewogICAgZG91YmxlIHQsIGRlbHRh
LCBzaWduOwogICAgc3RydWN0IHogeiA9IHswfTsKICAgIGludCBsbWFya1s1MTJdLCBtYXJrWzUx
Ml07CiAgICBkb3VibGUgbGIsIHViOwogICAgaW50IGxiZiwgdWJmOwoKICAgIGxiID0gcC0+eGxi
OwogICAgdWIgPSBwLT54dWI7CiAgICBkZWx0YSA9IHViIC0gbGI7CiAgICBzaWduID0gMTsKICAg
IGxiZiA9IHAtPnhsYmY7CiAgICB1YmYgPSBwLT54dWJmOwogICAgaWYgKGRlbHRhIDwgMCkgewog
ICAgICAgIHNpZ24gPSAtMTsKICAgIH0KICAgIGlmIChwLT54ZiA9PSBsb2cxMCAmJiBsYiA+IDAg
JiYgdWIgPiBsYikgewogICAgICAgIHNldGxvZ2xpbShsYmYsIHViZiwgbGIsIHViLCAmeik7CiAg
ICB9CiAgICBpZiAoc2lnbiA+IDApIHsKICAgICAgICBwLT54dWIgPSB6LnViOwogICAgfQp9Cg==


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

end of thread, other threads:[~2001-12-01  7:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-07  3:29 optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635 Tanmoy Bhattacharya
  -- strict thread matches above, loose matches on Subject: below --
2001-11-25  5:14 rodrigc
2001-11-25  4:26 rodrigc
2001-11-07  6:17 Craig Rodrigues
2001-08-13 15:24 rodrigc
2001-07-31 17:16 tanmoy

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).