public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27721]  New: [4.1/4.2 regression] ICE using += with a function
@ 2006-05-22 13:28 reichelt at gcc dot gnu dot org
  2006-05-22 13:54 ` [Bug c/27721] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-22 13:28 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE in the C frontend
since GCC 4.1.0:

======================
void foo()
{
    int i();
    i += 0;
}
======================

bug.c: In function 'foo':
bug.c:4: internal compiler error: in default_conversion, at c-typeck.c:1619
Please submit a full bug report, [etc.]


-- 
           Summary: [4.1/4.2 regression] ICE using += with a function
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug c/27721] [4.1/4.2 regression] ICE using += with a function
  2006-05-22 13:28 [Bug c/27721] New: [4.1/4.2 regression] ICE using += with a function reichelt at gcc dot gnu dot org
@ 2006-05-22 13:54 ` pinskia at gcc dot gnu dot org
  2006-05-25  2:42 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-22 13:54 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |minor
   Target Milestone|---                         |4.1.1


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


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

* [Bug c/27721] [4.1/4.2 regression] ICE using += with a function
  2006-05-22 13:28 [Bug c/27721] New: [4.1/4.2 regression] ICE using += with a function reichelt at gcc dot gnu dot org
  2006-05-22 13:54 ` [Bug c/27721] " pinskia at gcc dot gnu dot org
@ 2006-05-25  2:42 ` mmitchel at gcc dot gnu dot org
  2006-06-04 19:20 ` mmitchel at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25  2:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mmitchel at gcc dot gnu dot org  2006-05-25 02:35 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.1                       |4.1.2


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


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

* [Bug c/27721] [4.1/4.2 regression] ICE using += with a function
  2006-05-22 13:28 [Bug c/27721] New: [4.1/4.2 regression] ICE using += with a function reichelt at gcc dot gnu dot org
  2006-05-22 13:54 ` [Bug c/27721] " pinskia at gcc dot gnu dot org
  2006-05-25  2:42 ` mmitchel at gcc dot gnu dot org
@ 2006-06-04 19:20 ` mmitchel at gcc dot gnu dot org
  2006-07-20  1:00 ` reichelt at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 19:20 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c/27721] [4.1/4.2 regression] ICE using += with a function
  2006-05-22 13:28 [Bug c/27721] New: [4.1/4.2 regression] ICE using += with a function reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-06-04 19:20 ` mmitchel at gcc dot gnu dot org
@ 2006-07-20  1:00 ` reichelt at gcc dot gnu dot org
  2006-07-20 14:55 ` patchapp at dberlin dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-20  1:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from reichelt at gcc dot gnu dot org  2006-07-20 01:00 -------
Testing a patch.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |reichelt at gcc dot gnu dot
                   |dot org                     |org


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


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

* [Bug c/27721] [4.1/4.2 regression] ICE using += with a function
  2006-05-22 13:28 [Bug c/27721] New: [4.1/4.2 regression] ICE using += with a function reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-07-20  1:00 ` reichelt at gcc dot gnu dot org
@ 2006-07-20 14:55 ` patchapp at dberlin dot org
  2006-08-05 23:26 ` reichelt at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: patchapp at dberlin dot org @ 2006-07-20 14:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from patchapp at dberlin dot org  2006-07-20 14:55 -------
Subject: Bug number PR c/27721

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00855.html


-- 


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


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

* [Bug c/27721] [4.1/4.2 regression] ICE using += with a function
  2006-05-22 13:28 [Bug c/27721] New: [4.1/4.2 regression] ICE using += with a function reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-07-20 14:55 ` patchapp at dberlin dot org
@ 2006-08-05 23:26 ` reichelt at gcc dot gnu dot org
  2006-08-05 23:34 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-08-05 23:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from reichelt at gcc dot gnu dot org  2006-08-05 23:26 -------
Subject: Bug 27721

Author: reichelt
Date: Sat Aug  5 23:26:38 2006
New Revision: 115955

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115955
Log:
        PR c/27721
        * c-typeck.c (build_modify_expr): Test earlier for non-lvalues.

        * gcc.dg/lvalue-4.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/lvalue-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c/27721] [4.1/4.2 regression] ICE using += with a function
  2006-05-22 13:28 [Bug c/27721] New: [4.1/4.2 regression] ICE using += with a function reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-08-05 23:26 ` reichelt at gcc dot gnu dot org
@ 2006-08-05 23:34 ` reichelt at gcc dot gnu dot org
  2006-08-05 23:35 ` reichelt at gcc dot gnu dot org
  2006-09-25 21:25 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-08-05 23:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from reichelt at gcc dot gnu dot org  2006-08-05 23:34 -------
Subject: Bug 27721

Author: reichelt
Date: Sat Aug  5 23:33:54 2006
New Revision: 115956

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115956
Log:
        PR c/27721
        * c-typeck.c (build_modify_expr): Test earlier for non-lvalues.

        * gcc.dg/lvalue-4.c: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/lvalue-4.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/c-typeck.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c/27721] [4.1/4.2 regression] ICE using += with a function
  2006-05-22 13:28 [Bug c/27721] New: [4.1/4.2 regression] ICE using += with a function reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2006-08-05 23:34 ` reichelt at gcc dot gnu dot org
@ 2006-08-05 23:35 ` reichelt at gcc dot gnu dot org
  2006-09-25 21:25 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-08-05 23:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from reichelt at gcc dot gnu dot org  2006-08-05 23:34 -------
Fixed on mainline and 4.1 branch.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug c/27721] [4.1/4.2 regression] ICE using += with a function
  2006-05-22 13:28 [Bug c/27721] New: [4.1/4.2 regression] ICE using += with a function reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2006-08-05 23:35 ` reichelt at gcc dot gnu dot org
@ 2006-09-25 21:25 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-25 21:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-09-25 21:24 -------
*** Bug 29220 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmlpz at t-online dot de


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


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

end of thread, other threads:[~2006-09-25 21:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-22 13:28 [Bug c/27721] New: [4.1/4.2 regression] ICE using += with a function reichelt at gcc dot gnu dot org
2006-05-22 13:54 ` [Bug c/27721] " pinskia at gcc dot gnu dot org
2006-05-25  2:42 ` mmitchel at gcc dot gnu dot org
2006-06-04 19:20 ` mmitchel at gcc dot gnu dot org
2006-07-20  1:00 ` reichelt at gcc dot gnu dot org
2006-07-20 14:55 ` patchapp at dberlin dot org
2006-08-05 23:26 ` reichelt at gcc dot gnu dot org
2006-08-05 23:34 ` reichelt at gcc dot gnu dot org
2006-08-05 23:35 ` reichelt at gcc dot gnu dot org
2006-09-25 21:25 ` 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).