public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/22371] New: C front-end produces mis-match types in MODIFY_EXPR
@ 2005-07-08 15:48 pinskia at gcc dot gnu dot org
  2005-07-15 19:18 ` [Bug c/22371] " jsm28 at gcc dot gnu dot org
  2005-07-15 19:44 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-08 15:48 UTC (permalink / raw)
  To: gcc-bugs

Reduced from gcc.dg/debug/redecl-2.c:
typedef int IA[];
typedef int A5[5];
int array10[10];
A5 *ap;
void
f (void)
{
  int ap;
  {
    extern IA *ap;
    ap = &array10;
  }
}

See PR 22368 for the patch which catches this.

-- 
           Summary: C front-end produces mis-match types in MODIFY_EXPR
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 22368
             nThis:


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


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

* [Bug c/22371] C front-end produces mis-match types in MODIFY_EXPR
  2005-07-08 15:48 [Bug c/22371] New: C front-end produces mis-match types in MODIFY_EXPR pinskia at gcc dot gnu dot org
@ 2005-07-15 19:18 ` jsm28 at gcc dot gnu dot org
  2005-07-15 19:44 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-07-15 19:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jsm28 at gcc dot gnu dot org  2005-07-15 19:12 -------
I have a candidate patch.  I'll test it once enough of the bugs are fixed that
it's possible to get a baseline for mainline with the patches from PR 22368
applied (at present attempting to get such a baseline fails building libjava).


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jsm28 at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-15 19:12:15
               date|                            |


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


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

* [Bug c/22371] C front-end produces mis-match types in MODIFY_EXPR
  2005-07-08 15:48 [Bug c/22371] New: C front-end produces mis-match types in MODIFY_EXPR pinskia at gcc dot gnu dot org
  2005-07-15 19:18 ` [Bug c/22371] " jsm28 at gcc dot gnu dot org
@ 2005-07-15 19:44 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-15 19:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-15 19:18 -------
(In reply to comment #1)
> I have a candidate patch.  I'll test it once enough of the bugs are fixed that
> it's possible to get a baseline for mainline with the patches from PR 22368
> applied (at present attempting to get such a baseline fails building libjava).
The failure in libjava is PR 22460.  There is also a C++ failure which is PR 22358.  Both of which have 
patches posted.

-- 


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


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

end of thread, other threads:[~2005-07-15 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-08 15:48 [Bug c/22371] New: C front-end produces mis-match types in MODIFY_EXPR pinskia at gcc dot gnu dot org
2005-07-15 19:18 ` [Bug c/22371] " jsm28 at gcc dot gnu dot org
2005-07-15 19:44 ` pinskia 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).