public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds
       [not found] <bug-22052-227@http.gcc.gnu.org/bugzilla/>
@ 2005-10-02 19:00 ` pinskia at gcc dot gnu dot org
  2005-10-04 19:41 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-02 19:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from pinskia at gcc dot gnu dot org  2005-10-02 19:00 -------
Patch posted here:
http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00050.html


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |10/msg00050.html
           Keywords|                            |patch


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


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

* [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds
       [not found] <bug-22052-227@http.gcc.gnu.org/bugzilla/>
  2005-10-02 19:00 ` [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds pinskia at gcc dot gnu dot org
  2005-10-04 19:41 ` pinskia at gcc dot gnu dot org
@ 2005-10-04 19:41 ` cvs-commit at gcc dot gnu dot org
  2005-11-03 15:30 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-04 19:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #24 from cvs-commit at gcc dot gnu dot org  2005-10-04 19:41 -------
Subject: Bug 22052

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gcc-4_0-branch
Changes by:     pinskia@gcc.gnu.org     2005-10-04 19:41:47

Modified files:
        gcc            : ChangeLog c-decl.c 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/gcc.dg: inline1.c inline2.c inline3.c inline4.c 

Log message:
        2005-10-04  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/22052
        PR c/21975
        * c-decl.c (diagnose_mismatched_decls): Fix check for both
        decls being "extern inline".
        2005-10-04  Eric Christopher  <echristo@apple.com>

        PR c/22052
        PR c/21975
        * gcc.dg/inline1.c: New test.
        * gcc.dg/inline2.c: Ditto.
        * gcc.dg/inline3.c: Ditto.
        * gcc.dg/inline4.c: Ditto.
        * gcc.dg/inline5.c: Ditto.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.445&r2=2.7592.2.446
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.630.6.20&r2=1.630.6.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.424&r2=1.5084.2.425
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/inline1.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.18.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/inline2.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.18.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/inline3.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.18.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/inline4.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.18.1


-- 


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


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

* [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds
       [not found] <bug-22052-227@http.gcc.gnu.org/bugzilla/>
  2005-10-02 19:00 ` [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds pinskia at gcc dot gnu dot org
@ 2005-10-04 19:41 ` pinskia at gcc dot gnu dot org
  2005-10-04 19:41 ` cvs-commit at gcc dot gnu dot org
  2005-11-03 15:30 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-04 19:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from pinskia at gcc dot gnu dot org  2005-10-04 19:41 -------
Fixed the correct way in 4.0.3 which does not expose PR 23104.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds
       [not found] <bug-22052-227@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-04 19:41 ` cvs-commit at gcc dot gnu dot org
@ 2005-11-03 15:30 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-03 15:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #25 from pinskia at gcc dot gnu dot org  2005-11-03 15:30 -------
*** Bug 24656 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akim at lrde dot epita dot
                   |                            |fr


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


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

* [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds
  2005-06-13 19:02 [Bug c/22052] New: " echristo at redhat dot com
                   ` (4 preceding siblings ...)
  2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org
@ 2005-09-30 11:47 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-30 11:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-30 11:46 -------
*** Bug 24140 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at debian dot org


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


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

* [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds
  2005-06-13 19:02 [Bug c/22052] New: " echristo at redhat dot com
                   ` (3 preceding siblings ...)
  2005-09-16 18:43 ` pinskia at gcc dot gnu dot org
@ 2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org
  2005-09-30 11:47 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:20 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

* [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds
  2005-06-13 19:02 [Bug c/22052] New: " echristo at redhat dot com
                   ` (2 preceding siblings ...)
  2005-08-19  2:37 ` pinskia at gcc dot gnu dot org
@ 2005-09-16 18:43 ` pinskia at gcc dot gnu dot org
  2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org
  2005-09-30 11:47 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-16 18:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-16 18:43 -------
I have a fix for the mainline which also fixes this and 23104 and reverting back to the old code which 
was added for 19152.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|echristo at redhat dot com  |pinskia at gcc dot gnu dot
                   |                            |org


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


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

* [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds
  2005-06-13 19:02 [Bug c/22052] New: " echristo at redhat dot com
  2005-06-29  1:59 ` [Bug c/22052] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2005-08-19  2:37 ` pinskia at gcc dot gnu dot org
@ 2005-08-19  2:37 ` pinskia at gcc dot gnu dot org
  2005-09-16 18:43 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-19  2:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-19 02:37 -------
*** Bug 21975 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |j at bitron dot ch


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


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

* [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds
  2005-06-13 19:02 [Bug c/22052] New: " echristo at redhat dot com
  2005-06-29  1:59 ` [Bug c/22052] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-08-19  2:37 ` pinskia at gcc dot gnu dot org
  2005-08-19  2:37 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-19  2:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-19 02:36 -------
*** Bug 23474 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ecc at cmu dot edu


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


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

* [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds
  2005-06-13 19:02 [Bug c/22052] New: " echristo at redhat dot com
@ 2005-06-29  1:59 ` pinskia at gcc dot gnu dot org
  2005-08-19  2:37 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-29  1:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-29 01:59 -------
This is now rejected like it should on the mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.0.0 4.1.0                 |4.0.0
      Known to work|3.4.4                       |3.4.4 4.1.0
            Summary|[4.0/4.1 Regression]        |[4.0 Regression]
                   |redefinition of inline      |redefinition of inline
                   |function succeeds           |function succeeds
   Target Milestone|4.0.1                       |4.0.2


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


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

end of thread, other threads:[~2005-11-03 15:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22052-227@http.gcc.gnu.org/bugzilla/>
2005-10-02 19:00 ` [Bug c/22052] [4.0 Regression] redefinition of inline function succeeds pinskia at gcc dot gnu dot org
2005-10-04 19:41 ` pinskia at gcc dot gnu dot org
2005-10-04 19:41 ` cvs-commit at gcc dot gnu dot org
2005-11-03 15:30 ` pinskia at gcc dot gnu dot org
2005-06-13 19:02 [Bug c/22052] New: " echristo at redhat dot com
2005-06-29  1:59 ` [Bug c/22052] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-08-19  2:37 ` pinskia at gcc dot gnu dot org
2005-08-19  2:37 ` pinskia at gcc dot gnu dot org
2005-09-16 18:43 ` pinskia at gcc dot gnu dot org
2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org
2005-09-30 11:47 ` 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).