public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g)
@ 2010-10-03  4:00 gary at intrepid dot com
  2010-10-03  4:04 ` [Bug debug/45870] " gary at intrepid dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: gary at intrepid dot com @ 2010-10-03  4:00 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: note: non-delegitimized UNSPEC 5 found (-O1 -g)
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gary@intrepid.com


The attached C source file will generate the following notes when compiled with
(-01 -g, checks enabled):

non-delegit-uspec-5-g-O1.c: In function 'main':
non-delegit-uspec-5-g-O1.c:41:1: note: non-delegitimized UNSPEC 5 found in
variable location
non-delegit-uspec-5-g-O1.c:41:1: note: non-delegitimized UNSPEC 5 found in
variable location


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

* [Bug debug/45870] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
@ 2010-10-03  4:04 ` gary at intrepid dot com
  2010-10-03  4:10 ` gary at intrepid dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gary at intrepid dot com @ 2010-10-03  4:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Gary Funck <gary at intrepid dot com> 2010-10-03 04:04:48 UTC ---
reghunt on the 4.5 branch indicates that the following update produces the
notes described above (-O1 -g, checks enabled):

r161414 | aoliva | 2010-06-25 21:11:56 +0000 (Fri, 25 Jun 2010) | 3 lines

PR debug/44610
* simplify-rtx.c (delegitimize_mem_from_attrs): Don't use a base
address if the offset is unknown.


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

* [Bug debug/45870] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
  2010-10-03  4:04 ` [Bug debug/45870] " gary at intrepid dot com
@ 2010-10-03  4:10 ` gary at intrepid dot com
  2010-10-03 16:00 ` [Bug debug/45870] [4.5/4.6 Regression] " pinskia at gcc dot gnu.org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gary at intrepid dot com @ 2010-10-03  4:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Gary Funck <gary at intrepid dot com> 2010-10-03 04:10:32 UTC ---
This bug can also be reproduced in the 4.6 snapshot, gcc-4.6-20100925 (svn
revision 164623).


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

* [Bug debug/45870] [4.5/4.6 Regression] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
  2010-10-03  4:04 ` [Bug debug/45870] " gary at intrepid dot com
  2010-10-03  4:10 ` gary at intrepid dot com
@ 2010-10-03 16:00 ` pinskia at gcc dot gnu.org
  2010-10-03 16:03 ` [Bug target/45870] " pinskia at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-10-03 16:00 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu.org
   Target Milestone|---                         |4.5.2
            Summary|note: non-delegitimized     |[4.5/4.6 Regression] note:
                   |UNSPEC 5 found (-O1 -g)     |non-delegitimized UNSPEC 5
                   |                            |found (-O1 -g)
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.03 05:47:21
                 CC|                            |hjl.tools at gmail dot com
     Ever Confirmed|0                           |1

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21945|text/x-c                    |text/plain
          mime type|                            |

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-03 05:47:21 UTC ---
Confirmed on Linux/x86-64.


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

* [Bug target/45870] [4.5/4.6 Regression] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
                   ` (2 preceding siblings ...)
  2010-10-03 16:00 ` [Bug debug/45870] [4.5/4.6 Regression] " pinskia at gcc dot gnu.org
@ 2010-10-03 16:03 ` pinskia at gcc dot gnu.org
  2010-10-03 18:00 ` jakub at gcc dot gnu.org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-10-03 16:03 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|                            |x86-linux-gnu
          Component|debug                       |target

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-03 16:03:11 UTC ---
This is a target issue dealing with TLS I think.  UNSPEC in general with what
is called non-delegitimized is always a target issue.


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

* [Bug target/45870] [4.5/4.6 Regression] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
                   ` (3 preceding siblings ...)
  2010-10-03 16:03 ` [Bug target/45870] " pinskia at gcc dot gnu.org
@ 2010-10-03 18:00 ` jakub at gcc dot gnu.org
  2010-10-11  6:18 ` jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-03 18:00 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-03 17:59:58 UTC ---
I guess just
        (const_ok_for_output_1): Don't complain about TLS UNSPECs.
hunk from my http://gcc.gnu.org/ml/gcc-patches/2010-08/msg01475.html
should be applied separately, unless the whole patch is approved soon.


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

* [Bug target/45870] [4.5/4.6 Regression] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
                   ` (4 preceding siblings ...)
  2010-10-03 18:00 ` jakub at gcc dot gnu.org
@ 2010-10-11  6:18 ` jakub at gcc dot gnu.org
  2010-10-26  3:52 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-11  6:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-11 06:17:48 UTC ---
Author: jakub
Date: Mon Oct 11 06:17:45 2010
New Revision: 165270

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165270
Log:
    PR target/45870
    * config/i386/i386.c (ix86_delegitimize_tls_address): New function.
    (ix86_delegitimize_address): Use it.

    * gcc.dg/tls/pr45870.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tls/pr45870.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/45870] [4.5/4.6 Regression] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
                   ` (5 preceding siblings ...)
  2010-10-11  6:18 ` jakub at gcc dot gnu.org
@ 2010-10-26  3:52 ` jakub at gcc dot gnu.org
  2010-11-17  6:01 ` aoliva at gcc dot gnu.org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-26  3:52 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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


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

* [Bug target/45870] [4.5/4.6 Regression] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
                   ` (6 preceding siblings ...)
  2010-10-26  3:52 ` jakub at gcc dot gnu.org
@ 2010-11-17  6:01 ` aoliva at gcc dot gnu.org
  2010-11-19  7:36 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: aoliva at gcc dot gnu.org @ 2010-11-17  6:01 UTC (permalink / raw)
  To: gcc-bugs

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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

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

--- Comment #9 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2010-11-17 05:42:26 UTC ---
Jakub, this was originally reported on 4.5, do you have plans on backporting
the change to the 4.5 branch?


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

* [Bug target/45870] [4.5/4.6 Regression] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
                   ` (7 preceding siblings ...)
  2010-11-17  6:01 ` aoliva at gcc dot gnu.org
@ 2010-11-19  7:36 ` jakub at gcc dot gnu.org
  2010-11-19  7:50 ` [Bug target/45870] [4.5 " jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-19  7:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-19 07:22:27 UTC ---
Author: jakub
Date: Fri Nov 19 07:22:22 2010
New Revision: 166932

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166932
Log:
    PR target/45870
    * dwarf2out.c (const_ok_for_output_1): Don't complain about
    non-delegitimized TLS UNSPECs.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c


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

* [Bug target/45870] [4.5 Regression] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
                   ` (8 preceding siblings ...)
  2010-11-19  7:36 ` jakub at gcc dot gnu.org
@ 2010-11-19  7:50 ` jakub at gcc dot gnu.org
  2010-12-07 15:13 ` jakub at gcc dot gnu.org
  2010-12-07 15:43 ` jakub at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-19  7:50 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
            Summary|[4.5/4.6 Regression] note:  |[4.5 Regression] note:
                   |non-delegitimized UNSPEC 5  |non-delegitimized UNSPEC 5
                   |found (-O1 -g)              |found (-O1 -g)

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-19 07:41:56 UTC ---
Fixed for trunk so far, for 4.5 I plan to apply just the const_ok_for_output_1
change.


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

* [Bug target/45870] [4.5 Regression] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
                   ` (9 preceding siblings ...)
  2010-11-19  7:50 ` [Bug target/45870] [4.5 " jakub at gcc dot gnu.org
@ 2010-12-07 15:13 ` jakub at gcc dot gnu.org
  2010-12-07 15:43 ` jakub at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-07 15:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 15:12:48 UTC ---
Author: jakub
Date: Tue Dec  7 15:12:45 2010
New Revision: 167541

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167541
Log:
    Backport from mainline
    2010-11-19  Jakub Jelinek  <jakub@redhat.com>

    PR target/45870
    * dwarf2out.c (const_ok_for_output_1): Don't complain about
    non-delegitimized TLS UNSPECs.

Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/dwarf2out.c


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

* [Bug target/45870] [4.5 Regression] note: non-delegitimized UNSPEC 5 found (-O1 -g)
  2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
                   ` (10 preceding siblings ...)
  2010-12-07 15:13 ` jakub at gcc dot gnu.org
@ 2010-12-07 15:43 ` jakub at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-07 15:43 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 15:43:00 UTC ---
Fixed.


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

end of thread, other threads:[~2010-12-07 15:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-03  4:00 [Bug debug/45870] New: note: non-delegitimized UNSPEC 5 found (-O1 -g) gary at intrepid dot com
2010-10-03  4:04 ` [Bug debug/45870] " gary at intrepid dot com
2010-10-03  4:10 ` gary at intrepid dot com
2010-10-03 16:00 ` [Bug debug/45870] [4.5/4.6 Regression] " pinskia at gcc dot gnu.org
2010-10-03 16:03 ` [Bug target/45870] " pinskia at gcc dot gnu.org
2010-10-03 18:00 ` jakub at gcc dot gnu.org
2010-10-11  6:18 ` jakub at gcc dot gnu.org
2010-10-26  3:52 ` jakub at gcc dot gnu.org
2010-11-17  6:01 ` aoliva at gcc dot gnu.org
2010-11-19  7:36 ` jakub at gcc dot gnu.org
2010-11-19  7:50 ` [Bug target/45870] [4.5 " jakub at gcc dot gnu.org
2010-12-07 15:13 ` jakub at gcc dot gnu.org
2010-12-07 15:43 ` jakub at gcc dot gnu.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).