forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* decl.c (components_to_record): Defer emitting debug info for the record type associated with the variant until after we are sure to actually use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116928 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
ebotcazou
committed
Sep 13, 2006
1 parent
60c8389
commit 9f31d8d
Showing
4 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
2006-09-13 Eric Botcazou <[email protected]> | ||
|
||
PR ada/28591 | ||
* decl.c (components_to_record): Defer emitting debug info for the | ||
record type associated with the variant until after we are sure to | ||
actually use it. | ||
|
||
2006-09-13 Eric Botcazou <[email protected]> | ||
|
||
PR ada/21952 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
2006-09-13 Eric Botcazou <[email protected]> | ||
|
||
* gnat.dg/specs/unchecked_union.ads: New test. | ||
|
||
2006-09-13 Richard Sandiford <[email protected]> | ||
|
||
PR rtl-optimization/28982 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- PR ada/28591 | ||
-- Reported by Martin Michlmayr <[email protected]> | ||
|
||
-- { dg-do compile } | ||
-- { dg-options "-g" } | ||
|
||
with Interfaces; use Interfaces; | ||
|
||
package Unchecked_Union is | ||
type Mode_Type is (Mode_B2); | ||
|
||
type Value_Union (Mode : Mode_Type := Mode_B2) is record | ||
case Mode is | ||
when Mode_B2 => | ||
B2 : Integer_32; | ||
end case; | ||
end record; | ||
pragma Unchecked_Union (Value_Union); | ||
|
||
end Unchecked_Union; |