public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR [not found] <bug-22419-6528@http.gcc.gnu.org/bugzilla/> @ 2005-10-21 15:46 ` cvs-commit at gcc dot gnu dot org 2005-10-21 15:49 ` cvs-commit at gcc dot gnu dot org 2005-10-21 15:56 ` ebotcazou at gcc dot gnu dot org 2 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-21 15:46 UTC (permalink / raw) To: gcc-bugs [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1375 bytes --] ------- Comment #3 from cvs-commit at gcc dot gnu dot org 2005-10-21 15:46 ------- Subject: Bug 22419 CVSROOT: /cvs/gcc Module name: gcc Changes by: ebotcazou@gcc.gnu.org 2005-10-21 15:46:19 Modified files: gcc/ada : ChangeLog utils2.c gigi.h trans.c Log message: PR ada/21937 PR ada/22328 PR ada/22381 PR ada/22383 PR ada/22419 PR ada/22420 * utils2.c (build_return_expr): New helper function. * gigi.h (build_return_expr): Declare it. * trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead of manually building the RETURN_EXPR tree. (call_to_gnu): Pass MODIFY_EXPR through build_binary_op. (gnat_to_gnu) <N_Return_Statement>: Pass MODIFY_EXPR through build_binary_op for the "target pointer" case. Use build_return_expr instead of manually building the RETURN_EXPR tree. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcc&r1=1.685&r2=1.686 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gcc&r1=1.50&r2=1.51 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gcc&r1=1.38&r2=1.39 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcc&r1=1.102&r2=1.103 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22419 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR [not found] <bug-22419-6528@http.gcc.gnu.org/bugzilla/> 2005-10-21 15:46 ` [Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR cvs-commit at gcc dot gnu dot org @ 2005-10-21 15:49 ` cvs-commit at gcc dot gnu dot org 2005-10-21 15:56 ` ebotcazou at gcc dot gnu dot org 2 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-21 15:49 UTC (permalink / raw) To: gcc-bugs [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1556 bytes --] ------- Comment #4 from cvs-commit at gcc dot gnu dot org 2005-10-21 15:48 ------- Subject: Bug 22419 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: ebotcazou@gcc.gnu.org 2005-10-21 15:47:47 Modified files: gcc/ada : ChangeLog utils2.c gigi.h trans.c Log message: PR ada/21937 PR ada/22328 PR ada/22381 PR ada/22383 PR ada/22419 PR ada/22420 * utils2.c (build_return_expr): New helper function. * gigi.h (build_return_expr): Declare it. * trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead of manually building the RETURN_EXPR tree. (call_to_gnu): Pass MODIFY_EXPR through build_binary_op. (gnat_to_gnu) <N_Return_Statement>: Pass MODIFY_EXPR through build_binary_op for the "target pointer" case. Use build_return_expr instead of manually building the RETURN_EXPR tree. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.638.4.16&r2=1.638.4.17 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.44.6.1&r2=1.44.6.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.33.10.1&r2=1.33.10.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.90.6.3&r2=1.90.6.4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22419 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR [not found] <bug-22419-6528@http.gcc.gnu.org/bugzilla/> 2005-10-21 15:46 ` [Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR cvs-commit at gcc dot gnu dot org 2005-10-21 15:49 ` cvs-commit at gcc dot gnu dot org @ 2005-10-21 15:56 ` ebotcazou at gcc dot gnu dot org 2 siblings, 0 replies; 5+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-10-21 15:56 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from ebotcazou at gcc dot gnu dot org 2005-10-21 15:56 ------- See http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01309.html -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22419 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/22419] New: Ada produces mis-match (non compatible) types in MODIFY_EXPR @ 2005-07-11 23:41 pinskia at gcc dot gnu dot org 2005-07-11 23:50 ` [Bug ada/22419] " pinskia at gcc dot gnu dot org 2005-09-06 8:34 ` ebotcazou at gcc dot gnu dot org 0 siblings, 2 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-07-11 23:41 UTC (permalink / raw) To: gcc-bugs Another case: with C392014_2; package body C392014_0 is function Create return T'Class is begin return C392014_2.Create ; end Create; end C392014_0; package C392014_0 is type T (D : natural) is abstract tagged null record; function Create return T'Class; end C392014_0; with C392014_0; with C392014_1; package C392014_2 is type T is new C392014_1.T with record C2 : natural; end record; function Create return T'Class; end C392014_2; with C392014_0; package C392014_1 is type T is new C392014_0.T with record C1 : natural; end record; end C392014_1; Again see PR 22368 for the patch which I used to find this. c392014_2.ads: In function 'C392014_0.Create': c392014_2.ads:9: error: statement types mismatch D.865 = D.866; struct c392014_0__tD.395 * struct c392014_2__tD.827 * -- Summary: Ada produces mis-match (non compatible) types in MODIFY_EXPR Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: bosch at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22419 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR 2005-07-11 23:41 [Bug ada/22419] New: " pinskia at gcc dot gnu dot org @ 2005-07-11 23:50 ` pinskia at gcc dot gnu dot org 2005-09-06 8:34 ` ebotcazou at gcc dot gnu dot org 1 sibling, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-07-11 23:50 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |22368 nThis| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22419 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR 2005-07-11 23:41 [Bug ada/22419] New: " pinskia at gcc dot gnu dot org 2005-07-11 23:50 ` [Bug ada/22419] " pinskia at gcc dot gnu dot org @ 2005-09-06 8:34 ` ebotcazou at gcc dot gnu dot org 1 sibling, 0 replies; 5+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-09-06 8:34 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-09-06 08:33 ------- Investigating. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-09-06 08:33:57 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22419 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-21 15:56 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-22419-6528@http.gcc.gnu.org/bugzilla/> 2005-10-21 15:46 ` [Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR cvs-commit at gcc dot gnu dot org 2005-10-21 15:49 ` cvs-commit at gcc dot gnu dot org 2005-10-21 15:56 ` ebotcazou at gcc dot gnu dot org 2005-07-11 23:41 [Bug ada/22419] New: " pinskia at gcc dot gnu dot org 2005-07-11 23:50 ` [Bug ada/22419] " pinskia at gcc dot gnu dot org 2005-09-06 8:34 ` ebotcazou at gcc dot gnu dot 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).