public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/32164] [4.3/4.6 Regression] Ada ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-07 10:09 ` ebotcazou at gcc dot gnu.org
  2011-05-10  9:28 ` [Bug ada/32164] [4.3/4.6/4.7 Regression] " ludovic@ludovic-brenta.org
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-07 10:09 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |ice-on-invalid-code
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
      Known to work|                            |4.4.6, 4.5.3
            Summary|[4.3/4.4/4.5/4.6            |[4.3/4.6 Regression] Ada
                   |Regression] Ada ICE when    |ICE when renaming
                   |renaming predefined "=" and |predefined "=" and "/="
                   |"/="                        |
      Known to fail|4.2.0, 4.1.2                |4.3.6, 4.6.0

--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-07 09:59:37 UTC ---
This works with 4.4.x and 4.5.x:

pak1.ads:2:09: prefix of "Unrestricted_Access" attribute cannot be intrinsic

but fails again with 4.6.0:

+===========================GNAT BUG DETECTED==============================+
| 4.6.0 20110106 (experimental) [trunk revision 168535] (i586-suse-linux-gnu) |
| Assert_Failure einfo.adb:904                                             |
| Error detected at pak1.ads:1:1


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

* [Bug ada/32164] [4.3/4.6/4.7 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
  2011-01-07 10:09 ` [Bug ada/32164] [4.3/4.6 Regression] Ada ICE when renaming predefined "=" and "/=" ebotcazou at gcc dot gnu.org
@ 2011-05-10  9:28 ` ludovic@ludovic-brenta.org
  2011-06-27 13:11 ` [Bug ada/32164] [4.3/4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: ludovic@ludovic-brenta.org @ 2011-05-10  9:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Ludovic Brenta <ludovic@ludovic-brenta.org> 2011-05-10 08:48:53 UTC ---
(In reply to comment #9)
> This works with 4.4.x and 4.5.x:
> 
> pak1.ads:2:09: prefix of "Unrestricted_Access" attribute cannot be intrinsic

I wouldn't qualify this as "working".  The test program does not use
Unrestricted_Access and I think it is legal, so GCC should not reject it.  I
think this is in fact another bug which hides PR32164.


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

* [Bug ada/32164] [4.3/4.4/4.5/4.6/4.7 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
  2011-01-07 10:09 ` [Bug ada/32164] [4.3/4.6 Regression] Ada ICE when renaming predefined "=" and "/=" ebotcazou at gcc dot gnu.org
  2011-05-10  9:28 ` [Bug ada/32164] [4.3/4.6/4.7 Regression] " ludovic@ludovic-brenta.org
@ 2011-06-27 13:11 ` rguenth at gcc dot gnu.org
  2011-08-31 15:24 ` [Bug ada/32164] [4.4/4.5/4.6/4.7 " nicolas.boulenguez at free dot fr
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-27 13:11 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.6                       |4.4.7

--- Comment #11 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-27 12:13:05 UTC ---
4.3 branch is being closed, moving to 4.4.7 target.


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

* [Bug ada/32164] [4.4/4.5/4.6/4.7 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-06-27 13:11 ` [Bug ada/32164] [4.3/4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.org
@ 2011-08-31 15:24 ` nicolas.boulenguez at free dot fr
  2012-03-13 13:37 ` [Bug ada/32164] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: nicolas.boulenguez at free dot fr @ 2011-08-31 15:24 UTC (permalink / raw)
  To: gcc-bugs

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

nicolas.boulenguez at free dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.boulenguez at free
                   |                            |dot fr

--- Comment #12 from nicolas.boulenguez at free dot fr 2011-08-31 14:50:51 UTC ---
We now have two distinct assertion failures.

First version with T1 Eq Neq gives:
4.6.1 (x86_64-pc-linux-gnu) Assert_Failure einfo.adb:904
Error detected at pak1.ads:1:1

Second version with T1 Eq and T2 Eq gives:
4.6.1 (x86_64-pc-linux-gnu) Assert_Failure einfo.adb:910
Error detected at pak2.ads:6:43


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

* [Bug ada/32164] [4.5/4.6/4.7/4.8 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-08-31 15:24 ` [Bug ada/32164] [4.4/4.5/4.6/4.7 " nicolas.boulenguez at free dot fr
@ 2012-03-13 13:37 ` jakub at gcc dot gnu.org
  2012-07-02 13:32 ` [Bug ada/32164] [4.6/4.7/4.8 " rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-13 13:37 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.7                       |4.5.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-13 12:45:55 UTC ---
4.4 branch is being closed, moving to 4.5.4 target.


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

* [Bug ada/32164] [4.6/4.7/4.8 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2012-03-13 13:37 ` [Bug ada/32164] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
@ 2012-07-02 13:32 ` rguenth at gcc dot gnu.org
  2013-04-12 15:16 ` [Bug ada/32164] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-02 13:32 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.4                       |4.6.4


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

* [Bug ada/32164] [4.7/4.8/4.9 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2012-07-02 13:32 ` [Bug ada/32164] [4.6/4.7/4.8 " rguenth at gcc dot gnu.org
@ 2013-04-12 15:16 ` jakub at gcc dot gnu.org
  2014-06-12 13:45 ` [Bug ada/32164] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-04-12 15:16 UTC (permalink / raw)
  To: gcc-bugs


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.4                       |4.7.4

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-12 15:16:09 UTC ---
GCC 4.6.4 has been released and the branch has been closed.


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

* [Bug ada/32164] [4.7/4.8/4.9/4.10 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2013-04-12 15:16 ` [Bug ada/32164] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
@ 2014-06-12 13:45 ` rguenth at gcc dot gnu.org
  2014-08-13 12:35 ` [Bug ada/32164] [4.8/4.9/4.10 " georggcc at googlemail dot com
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 13:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32164

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.4                       |4.8.4

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
The 4.7 branch is being closed, moving target milestone to 4.8.4.


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

* [Bug ada/32164] [4.8/4.9/4.10 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2014-06-12 13:45 ` [Bug ada/32164] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
@ 2014-08-13 12:35 ` georggcc at googlemail dot com
  2014-08-13 15:29 ` [Bug ada/32164] [4.8/4.9/5 " nicolas.boulenguez at free dot fr
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: georggcc at googlemail dot com @ 2014-08-13 12:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32164

Georg <georggcc at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |georggcc at googlemail dot com

--- Comment #16 from Georg <georggcc at googlemail dot com> ---
works for me with some more recent compilers. Example:

$ gnatchop -w pak1.ada && gnatmake -gnatvl pak1_1.ads pak1_2.ads
splitting pak1.ada into:
   pak1_1.ads
   pak1_2.ads
gcc -c -gnatvl pak1_1.ads

GNAT 4.8.0 20130208 (experimental) [trunk revision 195897]
Copyright 1992-2013, Free Software Foundation, Inc.


Compiling: pak1_1.ads (source file time stamp: 2014-08-13 12:33:11)

     1. package Pak1_1 is
     2.    type T1 is tagged null record;
     3.    function  Eq(X, Y : T1) return Boolean renames "=";
     4.    function Neq(X, Y : T1) return Boolean renames "/="; -- line 4
     5. end Pak1_1;

 5 lines: No errors
gcc -c -gnatvl pak1_2.ads

GNAT 4.8.0 20130208 (experimental) [trunk revision 195897]
Copyright 1992-2013, Free Software Foundation, Inc.


Compiling: pak1_2.ads (source file time stamp: 2014-08-13 12:33:11)

     1.
     2. package Pak1_2 is
     3.    type T1 is tagged null record;
     4.    function Eq (X, Y : T1) return Boolean renames "=";
     5.
     6.    type T2 is new T1 with null record;
     7.    function Eq (X, Y : T2) return Boolean renames "="; -- line 6
     8. end Pak1_2;

 8 lines: No errors

Same for GNAT GPL 2014 (20140331) ; both on Mac OS X 10.9


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

* [Bug ada/32164] [4.8/4.9/5 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2014-08-13 12:35 ` [Bug ada/32164] [4.8/4.9/4.10 " georggcc at googlemail dot com
@ 2014-08-13 15:29 ` nicolas.boulenguez at free dot fr
  2014-12-19 13:36 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: nicolas.boulenguez at free dot fr @ 2014-08-13 15:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32164

--- Comment #17 from nicolas.boulenguez at free dot fr ---
4.8.2 and 4.9.1 behave well too.


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

* [Bug ada/32164] [4.8/4.9/5 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2014-08-13 15:29 ` [Bug ada/32164] [4.8/4.9/5 " nicolas.boulenguez at free dot fr
@ 2014-12-19 13:36 ` jakub at gcc dot gnu.org
  2015-06-23  8:22 ` [Bug ada/32164] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32164

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.4                       |4.8.5

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.4 has been released.


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

* [Bug ada/32164] [4.8/4.9/5/6 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2014-12-19 13:36 ` jakub at gcc dot gnu.org
@ 2015-06-23  8:22 ` rguenth at gcc dot gnu.org
  2015-06-26 20:11 ` [Bug ada/32164] [4.9/5/6 " jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23  8:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32164

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.5                       |4.9.3

--- Comment #19 from Richard Biener <rguenth at gcc dot gnu.org> ---
The gcc-4_8-branch is being closed, re-targeting regressions to 4.9.3.


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

* [Bug ada/32164] [4.9/5/6 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2015-06-23  8:22 ` [Bug ada/32164] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
@ 2015-06-26 20:11 ` jakub at gcc dot gnu.org
  2015-06-26 20:35 ` jakub at gcc dot gnu.org
  2015-10-10 13:56 ` aoliva at gcc dot gnu.org
  14 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32164

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.


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

* [Bug ada/32164] [4.9/5/6 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2015-06-26 20:11 ` [Bug ada/32164] [4.9/5/6 " jakub at gcc dot gnu.org
@ 2015-06-26 20:35 ` jakub at gcc dot gnu.org
  2015-10-10 13:56 ` aoliva at gcc dot gnu.org
  14 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32164

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.3                       |4.9.4


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

* [Bug ada/32164] [4.9/5/6 Regression] ICE when renaming predefined "=" and "/="
       [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2015-06-26 20:35 ` jakub at gcc dot gnu.org
@ 2015-10-10 13:56 ` aoliva at gcc dot gnu.org
  14 siblings, 0 replies; 15+ messages in thread
From: aoliva at gcc dot gnu.org @ 2015-10-10 13:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32164

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |aoliva at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #21 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
This is fixed in all active branches.


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

end of thread, other threads:[~2015-10-10 13:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-32164-4@http.gcc.gnu.org/bugzilla/>
2011-01-07 10:09 ` [Bug ada/32164] [4.3/4.6 Regression] Ada ICE when renaming predefined "=" and "/=" ebotcazou at gcc dot gnu.org
2011-05-10  9:28 ` [Bug ada/32164] [4.3/4.6/4.7 Regression] " ludovic@ludovic-brenta.org
2011-06-27 13:11 ` [Bug ada/32164] [4.3/4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.org
2011-08-31 15:24 ` [Bug ada/32164] [4.4/4.5/4.6/4.7 " nicolas.boulenguez at free dot fr
2012-03-13 13:37 ` [Bug ada/32164] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
2012-07-02 13:32 ` [Bug ada/32164] [4.6/4.7/4.8 " rguenth at gcc dot gnu.org
2013-04-12 15:16 ` [Bug ada/32164] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
2014-06-12 13:45 ` [Bug ada/32164] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
2014-08-13 12:35 ` [Bug ada/32164] [4.8/4.9/4.10 " georggcc at googlemail dot com
2014-08-13 15:29 ` [Bug ada/32164] [4.8/4.9/5 " nicolas.boulenguez at free dot fr
2014-12-19 13:36 ` jakub at gcc dot gnu.org
2015-06-23  8:22 ` [Bug ada/32164] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
2015-06-26 20:11 ` [Bug ada/32164] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:35 ` jakub at gcc dot gnu.org
2015-10-10 13:56 ` aoliva at gcc dot gnu.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).