public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29109]  New: bad code produced when compiling qt-3.3.6
@ 2006-09-16 16:41 kalium at gmx dot de
  2006-09-16 16:42 ` [Bug c++/29109] " kalium at gmx dot de
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: kalium at gmx dot de @ 2006-09-16 16:41 UTC (permalink / raw)
  To: gcc-bugs

The problem becomes visible when one tries to execute kdesktop_lock in KDE
3.5.2. No problem with gcc 4.1.1.

The attached patch for qt-3.3.6 fixes the problem.

I'm running Gentoo Linux with CFLAGS="-march=athlon-xp -O2 -pipe". The
corresponding Gentoo ebuild is qt-3.3.6-r1.


-- 
           Summary: bad code produced when compiling qt-3.3.6
           Product: gcc
           Version: 3.4.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kalium at gmx dot de
  GCC host triplet: i686-pc-linux-gnu


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


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

* [Bug c++/29109] bad code produced when compiling qt-3.3.6
  2006-09-16 16:41 [Bug c++/29109] New: bad code produced when compiling qt-3.3.6 kalium at gmx dot de
@ 2006-09-16 16:42 ` kalium at gmx dot de
  2006-09-16 16:43 ` [Bug middle-end/29109] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kalium at gmx dot de @ 2006-09-16 16:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from kalium at gmx dot de  2006-09-16 16:42 -------
Created an attachment (id=12283)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12283&action=view)
qt-3.3.6-gcc3.patch


-- 


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


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

* [Bug middle-end/29109] bad code produced when compiling qt-3.3.6
  2006-09-16 16:41 [Bug c++/29109] New: bad code produced when compiling qt-3.3.6 kalium at gmx dot de
  2006-09-16 16:42 ` [Bug c++/29109] " kalium at gmx dot de
@ 2006-09-16 16:43 ` pinskia at gcc dot gnu dot org
  2006-09-16 16:52 ` kalium at gmx dot de
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-16 16:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-09-16 16:43 -------
We need a self contained testcase for this issue.
Really reporting 3.4.x bugs means you will not see this fixed as 3.4.x is no
longer supported.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|c++                         |middle-end


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


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

* [Bug middle-end/29109] bad code produced when compiling qt-3.3.6
  2006-09-16 16:41 [Bug c++/29109] New: bad code produced when compiling qt-3.3.6 kalium at gmx dot de
  2006-09-16 16:42 ` [Bug c++/29109] " kalium at gmx dot de
  2006-09-16 16:43 ` [Bug middle-end/29109] " pinskia at gcc dot gnu dot org
@ 2006-09-16 16:52 ` kalium at gmx dot de
  2006-09-16 16:54 ` kalium at gmx dot de
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kalium at gmx dot de @ 2006-09-16 16:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from kalium at gmx dot de  2006-09-16 16:52 -------
So you have a long-developed and relatively stable and good compiler and you
don't  develop it any more? Not good. The 4+ branch is pretty unstable. I had
to downgrade the gcc 4.1.1 compiler on my Athlon XP and on my VIA C3 systems
because the systems randomly just hard-locked since the upgrade and the
recompilation of the packages.

I will not give an isolated test case, but the information on
http://bugs.gentoo.org/show_bug.cgi?id=133301 may even help more.


-- 

kalium at gmx dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED


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


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

* [Bug middle-end/29109] bad code produced when compiling qt-3.3.6
  2006-09-16 16:41 [Bug c++/29109] New: bad code produced when compiling qt-3.3.6 kalium at gmx dot de
                   ` (2 preceding siblings ...)
  2006-09-16 16:52 ` kalium at gmx dot de
@ 2006-09-16 16:54 ` kalium at gmx dot de
  2006-09-16 21:13 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kalium at gmx dot de @ 2006-09-16 16:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from kalium at gmx dot de  2006-09-16 16:54 -------
Note: the words "under hardened" in the title of the Gentoo Linux bug report
are wrong -- the problem also occurs with a plain vanilla/non-hardened gcc.


-- 


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


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

* [Bug middle-end/29109] bad code produced when compiling qt-3.3.6
  2006-09-16 16:41 [Bug c++/29109] New: bad code produced when compiling qt-3.3.6 kalium at gmx dot de
                   ` (3 preceding siblings ...)
  2006-09-16 16:54 ` kalium at gmx dot de
@ 2006-09-16 21:13 ` pinskia at gcc dot gnu dot org
  2006-09-16 21:18 ` kalium at gmx dot de
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-16 21:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-09-16 21:13 -------
(In reply to comment #3)
> I will not give an isolated test case, but the information on
> http://bugs.gentoo.org/show_bug.cgi?id=133301 may even help more.

SSP is not part of GCC until 4.x so we really cannot support that.  And it was
rewritten to be better anyways.  So this is not a bug.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/29109] bad code produced when compiling qt-3.3.6
  2006-09-16 16:41 [Bug c++/29109] New: bad code produced when compiling qt-3.3.6 kalium at gmx dot de
                   ` (4 preceding siblings ...)
  2006-09-16 21:13 ` pinskia at gcc dot gnu dot org
@ 2006-09-16 21:18 ` kalium at gmx dot de
  2006-09-16 21:20 ` pinskia at gcc dot gnu dot org
  2006-12-16  5:48 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: kalium at gmx dot de @ 2006-09-16 21:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from kalium at gmx dot de  2006-09-16 21:17 -------
Like I already said, this has nothing to do with hardened extensions. Look at
my patch. It is a problem related to the parser: bad code gets produced when
"XWindowAttributes a;" is not at the beginning.


-- 

kalium at gmx dot de changed:

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


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


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

* [Bug middle-end/29109] bad code produced when compiling qt-3.3.6
  2006-09-16 16:41 [Bug c++/29109] New: bad code produced when compiling qt-3.3.6 kalium at gmx dot de
                   ` (5 preceding siblings ...)
  2006-09-16 21:18 ` kalium at gmx dot de
@ 2006-09-16 21:20 ` pinskia at gcc dot gnu dot org
  2006-12-16  5:48 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-16 21:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-09-16 21:20 -------
Waiting for a real testcase then.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug middle-end/29109] bad code produced when compiling qt-3.3.6
  2006-09-16 16:41 [Bug c++/29109] New: bad code produced when compiling qt-3.3.6 kalium at gmx dot de
                   ` (6 preceding siblings ...)
  2006-09-16 21:20 ` pinskia at gcc dot gnu dot org
@ 2006-12-16  5:48 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-16  5:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2006-12-16 05:48 -------
No testcase in 3 months so closing.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2006-12-16  5:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-16 16:41 [Bug c++/29109] New: bad code produced when compiling qt-3.3.6 kalium at gmx dot de
2006-09-16 16:42 ` [Bug c++/29109] " kalium at gmx dot de
2006-09-16 16:43 ` [Bug middle-end/29109] " pinskia at gcc dot gnu dot org
2006-09-16 16:52 ` kalium at gmx dot de
2006-09-16 16:54 ` kalium at gmx dot de
2006-09-16 21:13 ` pinskia at gcc dot gnu dot org
2006-09-16 21:18 ` kalium at gmx dot de
2006-09-16 21:20 ` pinskia at gcc dot gnu dot org
2006-12-16  5:48 ` 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).