http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54606
Bug #: 54606
Summary: reference assignment failing/points at previous object
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54606
--- Comment #3 from Troy 2012-09-25 09:13:34 UTC ---
I think more to the point, and a better mnemonic, is to say that "there are no
references in C++." What is called a reference in C++ is really just a
rename/alias for the variable. To rei
: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc at gyw dot com
Target Milestone: ---
Created attachment 36629
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36629&action=edit
Test file to reproduce bug
When a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68171
--- Comment #1 from Troy ---
As an aside, the test is based on an example in the Ada 2012 Rationale. The
original uses Static_Predicate, but fails to compile with gnat 4.9.2. That is
why I used Dynamic_Predicate instead.
: UNCONFIRMED
Severity: major
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc at gyw dot com
Target Milestone: ---
Created attachment 36634
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36634&action=edit
Samp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68179
--- Comment #1 from Troy ---
Command line to build sample code:
gnatmake -gnat12 -gnatE -gnatf -gnatn -gnato -gnatX -gnatwa -gnatVa ada2012bug2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68179
--- Comment #3 from Troy ---
RM 3.6. 22.2/3 says that Default_Component_Value should only be specified for a
full_type_declaration. I.e. not for derived types. Is this not correct?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68179
--- Comment #4 from Troy ---
You are correct that RM 3.5. 56.3/3 says the same for Default_Value, that it
shall only be applied to full_type_declaration. So obviously
full_type_declaration here must include derived types, or the whole feature
wou