public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/101447] New: Remove legacy external declarations in toplev.h
@ 2021-07-14  9:23 ashimida at linux dot alibaba.com
  2021-07-14  9:37 ` [Bug driver/101447] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ashimida at linux dot alibaba.com @ 2021-07-14  9:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447

            Bug ID: 101447
           Summary: Remove legacy external declarations in toplev.h
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ashimida at linux dot alibaba.com
  Target Milestone: ---

External declarations in ./gcc/toplev.h is no longer used in newest version of
gcc and should be cleaned up to avoid misunderstandings :

+extern unsigned int min_align_loops_log;
+extern unsigned int min_align_jumps_log;
+extern unsigned int min_align_labels_log;
+extern unsigned int min_align_functions_log;

The history FYI:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e6de53356769e13178975c18b4ce019a800ea946;hp=118f2d8bc3e6804996ca2953b86454ec950054bf

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

* [Bug driver/101447] Remove legacy external declarations in toplev.h
  2021-07-14  9:23 [Bug driver/101447] New: Remove legacy external declarations in toplev.h ashimida at linux dot alibaba.com
@ 2021-07-14  9:37 ` redi at gcc dot gnu.org
  2021-07-14  9:52 ` ashimida at linux dot alibaba.com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2021-07-14  9:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-07-14
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, they are declared and never defined.

If you submit a patch to gcc-patches I imagine it will be approved easily.

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

* [Bug driver/101447] Remove legacy external declarations in toplev.h
  2021-07-14  9:23 [Bug driver/101447] New: Remove legacy external declarations in toplev.h ashimida at linux dot alibaba.com
  2021-07-14  9:37 ` [Bug driver/101447] " redi at gcc dot gnu.org
@ 2021-07-14  9:52 ` ashimida at linux dot alibaba.com
  2021-07-15  2:06 ` ashimida at linux dot alibaba.com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ashimida at linux dot alibaba.com @ 2021-07-14  9:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447

--- Comment #2 from ashimida <ashimida at linux dot alibaba.com> ---
(In reply to Jonathan Wakely from comment #1)
> Yes, they are declared and never defined.
> 
> If you submit a patch to gcc-patches I imagine it will be approved easily.

Thanks,I will submit this patch later.

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

* [Bug driver/101447] Remove legacy external declarations in toplev.h
  2021-07-14  9:23 [Bug driver/101447] New: Remove legacy external declarations in toplev.h ashimida at linux dot alibaba.com
  2021-07-14  9:37 ` [Bug driver/101447] " redi at gcc dot gnu.org
  2021-07-14  9:52 ` ashimida at linux dot alibaba.com
@ 2021-07-15  2:06 ` ashimida at linux dot alibaba.com
  2021-07-15 14:20 ` ashimida at linux dot alibaba.com
  2021-07-26 14:41 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ashimida at linux dot alibaba.com @ 2021-07-15  2:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447

--- Comment #3 from ashimida <ashimida at linux dot alibaba.com> ---
Submitted at https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575252.html

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

* [Bug driver/101447] Remove legacy external declarations in toplev.h
  2021-07-14  9:23 [Bug driver/101447] New: Remove legacy external declarations in toplev.h ashimida at linux dot alibaba.com
                   ` (2 preceding siblings ...)
  2021-07-15  2:06 ` ashimida at linux dot alibaba.com
@ 2021-07-15 14:20 ` ashimida at linux dot alibaba.com
  2021-07-26 14:41 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ashimida at linux dot alibaba.com @ 2021-07-15 14:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447

ashimida <ashimida at linux dot alibaba.com> changed:

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

--- Comment #4 from ashimida <ashimida at linux dot alibaba.com> ---
Submitted at https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575252.html

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

* [Bug driver/101447] Remove legacy external declarations in toplev.h
  2021-07-14  9:23 [Bug driver/101447] New: Remove legacy external declarations in toplev.h ashimida at linux dot alibaba.com
                   ` (3 preceding siblings ...)
  2021-07-15 14:20 ` ashimida at linux dot alibaba.com
@ 2021-07-26 14:41 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-07-26 14:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jeff Law <law@gcc.gnu.org>:

https://gcc.gnu.org/g:bf6d414415e14e13be16abf23375160733567d20

commit r12-2512-gbf6d414415e14e13be16abf23375160733567d20
Author: Ashimida <ashimida@linux.alibaba.com>
Date:   Mon Jul 26 10:38:50 2021 -0400

    Remove legacy external declarations in toplev.h [PR101447]

    gcc/
            PR driver/101447
            * toplev.h (min_align_loops_log): Remove declaration.
            (min_align_jumps_log, min_align_labels_log): Likewise.
            (min_align_functions_log): Likewise.

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

end of thread, other threads:[~2021-07-26 14:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14  9:23 [Bug driver/101447] New: Remove legacy external declarations in toplev.h ashimida at linux dot alibaba.com
2021-07-14  9:37 ` [Bug driver/101447] " redi at gcc dot gnu.org
2021-07-14  9:52 ` ashimida at linux dot alibaba.com
2021-07-15  2:06 ` ashimida at linux dot alibaba.com
2021-07-15 14:20 ` ashimida at linux dot alibaba.com
2021-07-26 14:41 ` cvs-commit 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).