public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/24079] Ada FE ICE on protected procedure with default argument (invalid?)
       [not found] <bug-24079-9458@http.gcc.gnu.org/bugzilla/>
@ 2006-10-20 17:04 ` jeff at thecreems dot com
  2008-04-12 15:09 ` sam at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: jeff at thecreems dot com @ 2006-10-20 17:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jeff at thecreems dot com  2006-10-20 17:03 -------
Still there in head

gcc -c bug.adb
+===========================GNAT BUG DETECTED==============================+
| 4.2.0 20061020 (experimental) (i686-pc-linux-gnu) Assert_Failure
atree.adb:812


-- 


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


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

* [Bug ada/24079] Ada FE ICE on protected procedure with default argument (invalid?)
       [not found] <bug-24079-9458@http.gcc.gnu.org/bugzilla/>
  2006-10-20 17:04 ` [Bug ada/24079] Ada FE ICE on protected procedure with default argument (invalid?) jeff at thecreems dot com
@ 2008-04-12 15:09 ` sam at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-12 15:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sam at gcc dot gnu dot org  2008-04-12 15:08 -------
This appears to be fixed in SVN trunk (4.4.0).


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|                            |4.3.0 4.3.1
      Known to work|                            |4.4.0
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


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

* [Bug ada/24079] Ada FE ICE on protected procedure with default argument (invalid?)
  2005-09-27  9:01 [Bug ada/24079] New: Bug box: Assert_Failure atree.adb:812 kat-zygfryd at o2 dot pl
@ 2005-09-27 18:44 ` laurent at guerby dot net
  0 siblings, 0 replies; 3+ messages in thread
From: laurent at guerby dot net @ 2005-09-27 18:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2005-09-27 18:24 -------
ICE on all versions including HEAD. I would say this is not legal Ada since RM
6.4.1(5) allows a default_expression to be a variable name but here you put a
protected object component name, so for now I set this PR as ice-on-invalid.
On the other hand, I'm not sure this would pose implementation issues (just copy
after taking the lock) or semantic constraints (once lock taken value can't
change) to allow this construct (may be AI?).

| 3.3.5 20050117 (prerelease) (SUSE Linux) (i586-suse-linux-gnu)           |
| Assert_Failure atree.adb:677                                             |
| Error detected at bug.adb:15:50                                          |

| 3.4.4 (i686-pc-linux-gnu) Assert_Failure atree.adb:703                   |
| Error detected at bug.adb:15:50                                          |

| 4.0.1 (i686-pc-linux-gnu) Assert_Failure atree.adb:812                   |
| Error detected at bug.adb:15:50                                          |

| 4.1.0 20050925 (experimental) (i686-pc-linux-gnu) Assert_Failure atree.adb:812|
| Error detected at bug.adb:15:50                                          |


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-27 18:24:22
               date|                            |
            Summary|Bug box: Assert_Failure     |Ada FE ICE on protected
                   |atree.adb:812               |procedure with default
                   |                            |argument (invalid?)


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


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

end of thread, other threads:[~2008-04-12 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24079-9458@http.gcc.gnu.org/bugzilla/>
2006-10-20 17:04 ` [Bug ada/24079] Ada FE ICE on protected procedure with default argument (invalid?) jeff at thecreems dot com
2008-04-12 15:09 ` sam at gcc dot gnu dot org
2005-09-27  9:01 [Bug ada/24079] New: Bug box: Assert_Failure atree.adb:812 kat-zygfryd at o2 dot pl
2005-09-27 18:44 ` [Bug ada/24079] Ada FE ICE on protected procedure with default argument (invalid?) laurent at guerby dot net

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