public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37450]  New: [4.4 Regression] IRA miscompiled gcc
@ 2008-09-09 19:35 hjl dot tools at gmail dot com
  2008-09-09 20:35 ` [Bug middle-end/37450] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-09-09 19:35 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]

On Linux/x86, trunk revision 140155 is miscompiled. The
following test timed out

[hjl@gnu-33 gcc]$ cat /tmp/x.ii
void foo (int a, int a) { }
[hjl@gnu-33 gcc]$ ./xgcc -B./  -ansi -pedantic-errors -Wno-long-long  -S
/tmp/x.ii
/tmp/x.ii:1: error: redefinition of ‘int a’
/tmp/x.ii:1: error: ‘int a’ previously declared here
Ctrl-C
[hjl@gnu-33 gcc]$

"make check" shows

Executing on host:
/export/gnu/import/svn/gcc-test/bld/gcc/testsuite/g++/../../g++
-B/export/gnu/import/svn/gcc-test/bld/gcc/testsuite/g++/../../  -nostdinc++
-I/export/gnu/import/svn/gcc-test/bld/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/export/gnu/import/svn/gcc-test/bld/x86_64-unknown-linux-gnu/32/libstdc++-v3/include
-I/export/gnu/import/svn/gcc-test/src-trunk/libstdc++-v3/libsupc++
-I/export/gnu/import/svn/gcc-test/src-trunk/libstdc++-v3/include/backward
-I/export/gnu/import/svn/gcc-test/src-trunk/libstdc++-v3/testsuite/util
-fmessage-length=0   -ansi -pedantic-errors -Wno-long-long  -c  -m32 -o warn4.o
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.old-deja/g++.mike/warn4.C
   (timeout = 300)
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.old-deja/g++.mike/warn4.C:2:
error: redefinition of 'int a'^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.old-deja/g++.mike/warn4.C:2:
error: 'int a' previously declared here^M
WARNING: program timed out.
compiler exited with status 1

Patch for PR 37377 seems to fix this.


-- 
           Summary: [4.4 Regression] IRA miscompiled gcc
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
 BugsThisDependsOn: 37377


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


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

* [Bug middle-end/37450] [4.4 Regression] IRA miscompiled gcc
  2008-09-09 19:35 [Bug middle-end/37450] New: [4.4 Regression] IRA miscompiled gcc hjl dot tools at gmail dot com
@ 2008-09-09 20:35 ` pinskia at gcc dot gnu dot org
  2008-09-13  7:27 ` hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-09 20:35 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
           Keywords|                            |ra, wrong-code
   Target Milestone|---                         |4.4.0


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


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

* [Bug middle-end/37450] [4.4 Regression] IRA miscompiled gcc
  2008-09-09 19:35 [Bug middle-end/37450] New: [4.4 Regression] IRA miscompiled gcc hjl dot tools at gmail dot com
  2008-09-09 20:35 ` [Bug middle-end/37450] " pinskia at gcc dot gnu dot org
@ 2008-09-13  7:27 ` hjl dot tools at gmail dot com
  2008-09-13 23:01 ` [Bug c++/37450] [4.4 Regression] C++ FE times out on duplicated parameter hjl dot tools at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-09-13  7:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2008-09-13 07:26 -------
As of revision 140333, this bug is still not fixed although
patch for PR 37377 has been applied.


-- 


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


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

* [Bug c++/37450] [4.4 Regression] C++ FE times out on duplicated parameter
  2008-09-09 19:35 [Bug middle-end/37450] New: [4.4 Regression] IRA miscompiled gcc hjl dot tools at gmail dot com
  2008-09-09 20:35 ` [Bug middle-end/37450] " pinskia at gcc dot gnu dot org
  2008-09-13  7:27 ` hjl dot tools at gmail dot com
@ 2008-09-13 23:01 ` hjl dot tools at gmail dot com
  2008-09-17 17:59 ` hjl at gcc dot gnu dot org
  2008-09-17 18:00 ` hjl dot tools at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-09-13 23:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2008-09-13 22:59 -------
It is a C++ bug. A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2008-09/msg01041.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |c++
           Keywords|ra, wrong-code              |
            Summary|[4.4 Regression] IRA        |[4.4 Regression] C++ FE
                   |miscompiled gcc             |times out on duplicated
                   |                            |parameter


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


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

* [Bug c++/37450] [4.4 Regression] C++ FE times out on duplicated parameter
  2008-09-09 19:35 [Bug middle-end/37450] New: [4.4 Regression] IRA miscompiled gcc hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2008-09-13 23:01 ` [Bug c++/37450] [4.4 Regression] C++ FE times out on duplicated parameter hjl dot tools at gmail dot com
@ 2008-09-17 17:59 ` hjl at gcc dot gnu dot org
  2008-09-17 18:00 ` hjl dot tools at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: hjl at gcc dot gnu dot org @ 2008-09-17 17:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl at gcc dot gnu dot org  2008-09-17 17:58 -------
Subject: Bug 37450

Author: hjl
Date: Wed Sep 17 17:57:24 2008
New Revision: 140425

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140425
Log:
2008-09-17  H.J. Lu  <hongjiu.lu@intel.com>

        PR c++/37450
        * name-lookup.c (pushdecl_maybe_friend): Don't return the old
        parameter for duplicate.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c


-- 


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


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

* [Bug c++/37450] [4.4 Regression] C++ FE times out on duplicated parameter
  2008-09-09 19:35 [Bug middle-end/37450] New: [4.4 Regression] IRA miscompiled gcc hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2008-09-17 17:59 ` hjl at gcc dot gnu dot org
@ 2008-09-17 18:00 ` hjl dot tools at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-09-17 18:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hjl dot tools at gmail dot com  2008-09-17 17:59 -------
Fixed.


-- 

hjl dot tools at gmail dot com changed:

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


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


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

end of thread, other threads:[~2008-09-17 18:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-09 19:35 [Bug middle-end/37450] New: [4.4 Regression] IRA miscompiled gcc hjl dot tools at gmail dot com
2008-09-09 20:35 ` [Bug middle-end/37450] " pinskia at gcc dot gnu dot org
2008-09-13  7:27 ` hjl dot tools at gmail dot com
2008-09-13 23:01 ` [Bug c++/37450] [4.4 Regression] C++ FE times out on duplicated parameter hjl dot tools at gmail dot com
2008-09-17 17:59 ` hjl at gcc dot gnu dot org
2008-09-17 18:00 ` hjl dot tools at gmail dot com

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).