public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38018]  New: gcc.dg/pr37106-1.c doesn't work
@ 2008-11-05  6:06 hjl dot tools at gmail dot com
  2008-11-05  6:10 ` [Bug c/38018] " hjl dot tools at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-11-05  6:06 UTC (permalink / raw)
  To: gcc-bugs

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

With revision 141596, on Linux/ia64, I got

[hjl@gnu-12 gcc]$ ./xgcc -B./ -O1 -fpic -S
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37106-1.c
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37106-1.c: In
function âopt3â:
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37106-1.c:18:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-12 gcc]$


-- 
           Summary: gcc.dg/pr37106-1.c doesn't work
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: ia64-unknown-linux-gnu


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


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

* [Bug c/38018] gcc.dg/pr37106-1.c doesn't work
  2008-11-05  6:06 [Bug c/38018] New: gcc.dg/pr37106-1.c doesn't work hjl dot tools at gmail dot com
@ 2008-11-05  6:10 ` hjl dot tools at gmail dot com
  2008-11-13 16:58 ` [Bug target/38018] " sje at cup dot hp dot com
  2009-10-29 16:44 ` sje at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-11-05  6:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2008-11-05 06:09 -------
I think it is another instance of PR 37565.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnu at the-meissners dot org
  BugsThisDependsOn|                            |37565


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


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

* [Bug target/38018] gcc.dg/pr37106-1.c doesn't work
  2008-11-05  6:06 [Bug c/38018] New: gcc.dg/pr37106-1.c doesn't work hjl dot tools at gmail dot com
  2008-11-05  6:10 ` [Bug c/38018] " hjl dot tools at gmail dot com
@ 2008-11-13 16:58 ` sje at cup dot hp dot com
  2009-10-29 16:44 ` sje at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: sje at cup dot hp dot com @ 2008-11-13 16:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from sje at cup dot hp dot com  2008-11-13 16:57 -------
This seems to be the first non-386 specific test to use
__attribute__((optimize)).
It doesn't look like a regression, it has never worked but was never tested
before.

The problem is that normally ia64_override_options resets
flag_schedule_insns_after_reload to 0 (and saves the value in
ia64_flag_schedule_insns2).  handle_optimize_attribute calls parse_options and
sets flag_schedule_insns_after_reload to 1 but I don't see where it calls the
target override_options function to reset/check/change flags for specific
targets.


-- 

sje at cup dot hp dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sje at cup dot hp dot com


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


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

* [Bug target/38018] gcc.dg/pr37106-1.c doesn't work
  2008-11-05  6:06 [Bug c/38018] New: gcc.dg/pr37106-1.c doesn't work hjl dot tools at gmail dot com
  2008-11-05  6:10 ` [Bug c/38018] " hjl dot tools at gmail dot com
  2008-11-13 16:58 ` [Bug target/38018] " sje at cup dot hp dot com
@ 2009-10-29 16:44 ` sje at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: sje at gcc dot gnu dot org @ 2009-10-29 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sje at gcc dot gnu dot org  2009-10-29 16:44 -------
Subject: Bug 38018

Author: sje
Date: Thu Oct 29 16:44:02 2009
New Revision: 153714

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153714
Log:
2009-10-29  Steve Ellcey  <sje@cup.hp.com>

        PR middle-end/37565
        PR target/38018
        * doc/tm.texi (OVERRIDE_OPTIONS): Update.
        (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
        * optc-gen.awk (cl_target_option_restore): Include call to 
        targetm.override_options_after_change.
        * target-def.h (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
        * target.h (override_options_after_change): New.
        * c-common.c (parse_optimize_options): Call
        targetm.override_options_after_change.
        * config/ia64/ia64.c (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
        (ia64_override_options_after_change): New.
        (ia64_override_options) Add call to above.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.c
    trunk/gcc/config/ia64/ia64.c
    trunk/gcc/doc/tm.texi
    trunk/gcc/optc-gen.awk
    trunk/gcc/target-def.h
    trunk/gcc/target.h


-- 


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


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

* [Bug target/38018] gcc.dg/pr37106-1.c doesn't work
       [not found] <bug-38018-4@http.gcc.gnu.org/bugzilla/>
  2011-10-13 23:19 ` sje at cup dot hp.com
@ 2021-11-29  6:47 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-29  6:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38018
Bug 38018 depends on bug 37565, which changed state.

Bug 37565 Summary: __optimize__  attribute doesn't work correctly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565

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

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

* [Bug target/38018] gcc.dg/pr37106-1.c doesn't work
       [not found] <bug-38018-4@http.gcc.gnu.org/bugzilla/>
@ 2011-10-13 23:19 ` sje at cup dot hp.com
  2021-11-29  6:47 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 6+ messages in thread
From: sje at cup dot hp.com @ 2011-10-13 23:19 UTC (permalink / raw)
  To: gcc-bugs

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

Steve Ellcey <sje at cup dot hp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |4.5.0
         Resolution|                            |FIXED

--- Comment #4 from Steve Ellcey <sje at cup dot hp.com> 2011-10-13 23:18:16 UTC ---
This test no longer fails on IA64.  It looks like the fix was put on the
mainline in time for 4.5.0.  I don't think it is worth porting it back to
the 4.4.* line or earlier releases so I am closing it.


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

end of thread, other threads:[~2021-11-29  6:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-05  6:06 [Bug c/38018] New: gcc.dg/pr37106-1.c doesn't work hjl dot tools at gmail dot com
2008-11-05  6:10 ` [Bug c/38018] " hjl dot tools at gmail dot com
2008-11-13 16:58 ` [Bug target/38018] " sje at cup dot hp dot com
2009-10-29 16:44 ` sje at gcc dot gnu dot org
     [not found] <bug-38018-4@http.gcc.gnu.org/bugzilla/>
2011-10-13 23:19 ` sje at cup dot hp.com
2021-11-29  6:47 ` pinskia 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).